neffos.js
neffos.js copied to clipboard
Reconnecting issue when using a reverse proxy
I am using Neffos behind a reverse proxy like Apache. If for any reason I need to restart the Neffos service, the clients that were already connected to the websocket via the browser, will just fail on the first reconnect attempt with error 5xx and the reconnection loop will be cancelled.
I expect the client to continue the reconnecting loop attempt indefinitely until the backend is back online.