Can the n8n Docker container reach redis? So did you configure it accordingly? For example setting network=host or having both containers in the same “Docker-Network”?
The extra s in rediss:// implies a TLS connection, which the Redis node currently does not support.
However, we just created a PR yesterday to add TLS support, and simply haven’t gotten around to testing it properly yet.
If you want to help us expedite this PR, you could test the docker image n8nio/n8n:redis-node-tls-support and let us know if this fixes the issue for you.
The error ECONNREFUSED ::1:6379 implies that not only is the port incorrect, but also the host (::1 is localhost in IPv6).
Unfortunately I’m not able to reproduce this issue.
Can you please try creating a new Redis credential, and see if you can still reproduce this?
BTW, for SSL to work, you also need to use the hostname of the Redis instance to make sure that the hostname matches the domain in the TLS certificate. using just the IP will likely return a TLS error.
Sorry, this was due to a stupid mistake on my part.
When SSL was enabled, the code I changed was overwriting the host and port values being passed into the redis client options.
I’ve updated the PR, and also create a new docker image with the same tag.
Can you please pull the docker image, and try again ?
It’s good to hear that it’s working now.
I’ve updated the PR and added some tests. Unfortunately this won’t make it into today’s release, but you should be able to use this via the nightly image soon, and the change should be in the 1.41 release scheduled for next Wednesday.