Problem with Redis
-
10/12 21:41 [18540] - 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[email protected] node_modules/connect-redis
[email protected] node_modules/redis
Populating database with default configs, if not already set...
10/12 21:41 [18540] - 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 ReplyParser.send_error (/root/nodebb/node_modules/redis/lib/parser/javascript.js:296:10)
at ReplyParser.execute (/root/nodebb/node_modules/redis/lib/parser/javascript.js:181:22)
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) -
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.
-
Are you connecting to the right IP & port? (According to the installer you have used port 22 before)
-
So your Redis install is locally installed? As on your own VPS.
-
I try the port 80
$ Populating database with default configs, if not already set...
$ 11/12 18:47 [19110] - error: NodeBB could not connect to your Redis database. Redis returned the following error: Redis connection to XX.XXX.XXX.XX:80 failed - connect ECONNREFUSEDThe 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?