Cannot successfully connect presence on selfhosted when using a reverse proxy to handle SSL. #993
Open
2 tasks done
Labels
bug
Something isn't working
Bug report
Describe the bug
I am unable to successfully run the supabase/realtime server behind an nginx-proxy nor the AWS ALB, I have other websocket applications deployed and working behind both of these environments.
If I connect to the server directly via ip:port it works just fine, however when I connect over https using the load balancer endpoint I get the following logs.
The subscribe call emits a
SUBSCRIBED
thenCHANNEL_ERROR
state on thesubscribe
handler.This is effectively the boilerplate demo found in the realtime-js repo: https://github.com/supabase/realtime-js?tab=readme-ov-file#presence
My nginx setup is using nginx-proxy-manager for testing, ideally I would use the ALB in aws, here's my config file for that
I duplicated my "realtime" config to "52" so I can test connecting via IP, which works but obviously isn't through the reverse proxy.
System information
The text was updated successfully, but these errors were encountered: