@pummelchen Thanks for the response.
Ok for the solution, but If that's true, it's still strange behavior. My forum is in a test period so indeed it doesn't have much traffic, but I come by at least once a day to see just how frequent the error is. It means that if we go on vacation and nobody visits our forum for a few days, when we get back all the owners of a forum under nodeBB have chances to see this error? That's annoying.
Problem with Redis
10/12 21:41  - info: Now configuring redis database:
Host IP or address of your Redis instance (...)
Host port of your Redis instance (22)
Password of your Redis database
Which database to use (0..n) (1)
Configuration Saved OK
Populating database with default configs, if not already set...
10/12 21:41  - error: Error: Auth error: 2.0-OpenSSH_6.0p1 Debian-4+deb7u2
at Command.callback (/root/nodebb/node_modules/redis/index.js:212:43)
at RedisClient.return_error (/root/nodebb/node_modules/redis/index.js:558:25)
at ReplyParser.<anonymous> (/root/nodebb/node_modules/redis/index.js:305:18)
at ReplyParser.emit (events.js:95:17)
at RedisClient.on_data (/root/nodebb/node_modules/redis/index.js:534:27)
at Socket.<anonymous> (/root/nodebb/node_modules/redis/index.js:91:14)
at Socket.emit (events.js:95:17)
at Socket.<anonymous> (_stream_readable.js:748:14)
Someone can help me ? I don't understand my error ...
Jacob Moen last edited by
Auth error suggests that there is a problem with username/password - check config.json
If that is not the case, then check that you can connect to redis as that user, using that password.
Ok i think it's the password, but i don't know what is my Redis Database password, where i can find it?
Robert last edited by
Are you connecting to the right IP & port? (According to the installer you have used port 22 before)
This is the IP and the port of my VPS, i think it is good ^^
Robert last edited by Kowlin
So your Redis install is locally installed? As on your own VPS.
I think yes
Robert last edited by
@Noksouls What host do you use?
VPS on OVH, i use PuTTY for control ^^
@Noksouls port 22 is for SSH (default anyways). Don't think your redis is running on port 22. Check the port and specify the correct port in the NodeBB config file.
I try the port 80
$ Populating database with default configs, if not already set...
$ 11/12 18:47  - error: NodeBB could not connect to your Redis database. Redis returned the following error: Redis connection to XX.XXX.XXX.XX:80 failed - connect ECONNREFUSED
The IP it's the IP of my VPS, i don't know if it's good
@Noksouls it won't be running on port 80. Default port for redis is 6379. First check if you have redis installed.
Enter this at the prompt
redis-cli. If redis is installed and running, the prompt will change and will most likely show you the port number redis is running on.
It's good !!! Thank you very much
But when i'm connecting to the adress there is a problem :ERR_CONNECTION_REFUSED
I think it's a problem with my VPS but i don't know where it is.
I do "forum IN A XX.XXX.XXX.XX" on my NDD (the IP is the IP of my VPS)
My NodeBB config :
$ URL used to access this NodeBB (forum.guilde-arkadia.fr)
$ Please enter a NodeBB secret (X)
$ Wich database to use (redis)
$ Host IP or adress of your Redis instance (127.0.0.1)
$ Host port of your Redis instance (6379)
$ Password of your Redis database
$ Wich database to use (0..n) (1)
But when i try to connect to the adress forum.guilde-arkadia.fr i have the message : ERR_PROXY_CONNECTION_FAILED
You think it's a problem with the config or with the VPS?