NodeBB connection has been lost, attempting to reconnect
-
Hi,
I paid somebody to install nodebb for me and all was going fine, i had a subdomain setup on my site so it would point to my vps with nodebb installed on it. Everything was fine until I tried to post another post and It told me that connection had been lost. I've tried restarting it multiple times and it still won't work.What do i do?
-
Do you have any server-side experience? Can you log into the VPS and check if there are any errors?
You'll have to run
./nodebb log
in the base nodebb directory. -
Chances are you either have a reverse proxy misconfigured in front of NodeBB, or your config.json file is not set up for the subdomain that you are using to pass websockets. This is pretty common.
-
@Lewis-Adams said in NodeBB connection has been lost, attempting to reconnect:
I paid somebody to install nodebb for me and all was going fine...
Did they set it up and then drop you? Or are they unable to complete setting it up and you discovered that they had never done this before and didn't know how to do it?
-
@Lewis-Adams when you added the subdomain did you make sure to edit the url in config.json and on NGINX?
as @scottalanmiller mentioned this will be the main cause for the disconnection