These are chat archives for BVNK/bank

15th
Aug 2016
Heman
@hemangd
Aug 15 2016 10:13
Hello Kyle, Got this error with auth/login request "error": "appauth.CreateToken: Could not set token. dial tcp 127.0.0.1:6379: connectex: No connection could be made because the target machine actively refused it."
I did try to disable firewall and it didn't help. Are you familiar with this? Tnx
Kyle Redelinghuys
@ksred
Aug 15 2016 10:17
Hi! Is the redis server running?
Can you test by telnet to see if it's happy and accepting connections?
Heman
@hemangd
Aug 15 2016 10:24
I'm sorry , not sure about the port number
how do I check this?
Kyle Redelinghuys
@ksred
Aug 15 2016 10:33
The port number is correct, default for redis
Have you got redis installed?
Heman
@hemangd
Aug 15 2016 10:33
yep
Kyle Redelinghuys
@ksred
Aug 15 2016 10:33
Check if the server is running. Are you Linux?
Heman
@hemangd
Aug 15 2016 10:33
nope on windows.
Kyle Redelinghuys
@ksred
Aug 15 2016 10:34
Is redis installed on the Windows machine?
Heman
@hemangd
Aug 15 2016 10:34
yes it is.
Kyle Redelinghuys
@ksred
Aug 15 2016 10:34
Ok I'll have to check how to see redis status
You can try:
Telnet 127.0.0.1 6379
Heman
@hemangd
Aug 15 2016 10:36
It should be ping 127.0.0.1:6369 right?
if redis is not running non of the api calls should have worked right
Kyle Redelinghuys
@ksred
Aug 15 2016 10:37
Redis is used to store the session token
Which is returned only when you do the auth login
Account creation does not hit redis
Heman
@hemangd
Aug 15 2016 10:38
I see ok then something wrong there
Kyle Redelinghuys
@ksred
Aug 15 2016 10:39
Ya so unfortunately I'm not familiar with redis on Windows
But basically you need to find the IP and port and then put that in the config.json file
Heman
@hemangd
Aug 15 2016 10:40
Ok no prob, let me follow some docs. Do I need to update this too "PasswordSalt" : "80F3lulVxs0kQ6MO81d5Ni9d6N7F0q"
?
Kyle Redelinghuys
@ksred
Aug 15 2016 10:40
Ya just make it a 32 char string
Heman
@hemangd
Aug 15 2016 10:40
Anyway, I'm documenting all these steps, I'll create a wiki for that
cool
Kyle Redelinghuys
@ksred
Aug 15 2016 10:41
I think it's 32. You can keep default if it's a dev install but better to change
Awesome thanks
Heman
@hemangd
Aug 15 2016 10:41
No worries. I'll keep you posted
Heman
@hemangd
Aug 15 2016 10:47
All good man. It's working now
Redis wasn't running :)