SocketIO disconnects behind proxy #2117
TannerGabriel
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a SocketIO setup with a Javascript server that runs behind
nginx-proxy
and theletsencrypt-nginx-proxy-companion
. The server has two clients (one in JS and one in Python). The python client occasionally disconnects when connected over HTTPS and domain e.g.wss://DOMAIN/socket.io
(sometimes up to 100 disconnects an hour). This does not happen when running usingws://IP:PORT
; therefore, I reason that it has something to do with my proxy configuration.Here is the extra configuration for the Nginx proxy:
Are there any configuration changes to fix this issue?
Beta Was this translation helpful? Give feedback.
All reactions