Connection seems to get lost, although accessing the site is fully possible
-
Just spent half a day getting set up with NodeBB (wonderful forum software you got here), and have finally gotten to the destination of having a working website. I'm running it on DigitalOcean, and it seems that although I am able to browse the forums, connect to it and no issues with that, I seem to lose connection to it (and the error shows) as well as not being to open some dropdown menus and whatnot as they're empty.
The site is temporary located here if you want to have a look at it http://146.185.143.199:4567/
I used this small tutorial alongside the official one (to set up MongoDB) and everything else seems to work smoothly
Hope anyone knows what's going on here, thanks beforehand!
-
I am experiencing the exact same issue, although mine resulted after upgrading from v1.4.3 to v1.4.4. I posted a similar topic here but have yet to get a response.
I am also using DigitalOcean, if that's the issue.
Have you tried running your site with "./nodebb dev"? I find that this strangely fixes the issue but the site will stop running if you end the process, so it's not a permanent fix.
-
That also fixed it for me, yeah. At least it's great to have a temporary fix meanwhile we can try to resolve the real issue
-
This sounds like a socket issue. Have you looked for errors in your browser console?
-
@btw6391 said in Connection seems to get lost, although accessing the site is fully possible:
Curious, did you set up NGINX as a proxy server?
Not yet, no.
@PitaJ said in Connection seems to get lost, although accessing the site is fully possible:
This sounds like a socket issue. Have you looked for errors in your browser console?
http://95.85.33.222:4567/socket.io/?EIO=3&transport=polling&t=Lg3ouvK Failed to load resource: the server responded with a status of 400 (Bad Request)
-
related issues on github
https://github.com/NodeBB/NodeBB/issues/5486
https://github.com/NodeBB/NodeBB/issues/5472 -
@Authorjames that's not the complete error