Everything should load without showing any "Unable to connect" message.
The "Unable to connect" message is shown but after a few seconds (typically ~10) everything loads just fine.
It is not a huge issue but requires me to point this out to every user/collaborator to ignore that message at startup and just be patient. It also renders the message useless when there really is a problem connecting.
Note: If I first SSH onto the server and then do the same steps from within the server network the message does not appear and everything loads just fine (using the same browsers).
I can't find anything out of the ordinary in any of the log files, but would be happy to provide any if helpful.
Hello,
I had also this issue, it was related to websocket.
If you open the network dev tool of your navigator you'll see that there is some request that gets 404.
Do you enable websocket in your (reverse) proxy ? You need to add this to the config:
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
See : https://github.com/overleaf/overleaf/wiki/HTTPS-reverse-proxy-using-Nginx
Hi, thanks for bringing this to our attention. Given @Zeawiel 's comment, I suspect this has something to do with the local network, especially as a direct connection works fine.
Can you try adding the configuration @Zeawiel posted? If this fixes the problem we can add this to th e general documentation.
Sorry for the delay, yes, adding these two lines to the reverse proxy config does indeed solve the issue! Thanks @Zeawiel!
Excellent!
Most helpful comment
Sorry for the delay, yes, adding these two lines to the reverse proxy config does indeed solve the issue! Thanks @Zeawiel!