Skip to content

Conversation

@PatrickRogg
Copy link
Contributor

What kind of change does this PR introduce?

The current kong config for realtime doesn't forward requests to the /api routes. This PR addresses this.

What is the current behavior?

Current behaviour is that everything is forwarded to /socket. This leads to the problem that rest broadcast requests are resulting in a 404, since they are hitting /socket/api/broadcast, which doesn't exist.

What is the new behavior?

Requests to the api route are forwarded correctly

Additional context

Found this in the official docker config in the supabase repo: https://github.com/supabase/supabase/blob/master/docker/volumes/api/kong.yml#L134-L174

@luizfelmach
Copy link
Contributor

This is great. Thanks @PatrickRogg.
This contains a few issues that need to be fixed, but it can be merged and I’ll follow up shortly with a fix PR.

CC @aantti

@aantti aantti merged commit e70c314 into supabase-community:main Jan 24, 2026
@luizfelmach luizfelmach mentioned this pull request Jan 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants