Connection to NodeBB has been lost, attempting to reconnect...
-
Seems like this is a classical problem... I've already read the other threads like this, but couldn't find a solution?
I've installed a locally hosted nodeBB and the installation so far has gone fine, yet when I try to post or register a user or any other actions, the form is unresponsive, and this message shows up.
Here's a snapshot of the log:
and here's config.json
{
"url": "http://localhost:4567",
"secret": "nooope no no no no",
"database": "redis",
"port": 4567,
"redis": {
"host": "127.0.0.1",
"port": "6379",
"database": "0"
},
"type": "literal"
}What could be happening? how to solve it? I'd also appreciate an explanation to learn a bit, more than just a simple solution haha.
Thanks!!!
-
-
The
url
value must be set to exactly the URL at which you access nodebb. -
Is there a reason you are using such an old version of NodeBB?
-
@downunder what have you tried?
-
Try removing the port from the url.
And if you are using a domain name, set it to the www.example.com version, as in:
"url" : "http:www.example.com",
(Within the config.json file in nodebb.)