Cannot seem to get connected to my Upstash Redis instance no matter what I try. Is anyone else having troubles with this?
This is the error that my app which is also on fly.io is throwing when attempting to connect to redis.
"2022-12-30T21":"24":38.176 app[
10771b5c
]"ord"[
"info"
]{
"level":50,
"time":1672435478174,
"pid":560,
"hostname":"10771b5c",
"module":"redis-connect",
"err":{
"type":"MaxRetriesPerRequestError",
"message":"Reached the max retries per request limit (which is 20). Refer to \"maxRetriesPerRequest\" option for details.",
"stack":"MaxRetriesPerRequestError: Reached the max retries per request limit (which is 20). Refer to \"maxRetriesPerRequest\" option for details.\n at Socket.<anonymous> (/app/node_modules/ioredis/built/redis/event_handler.js:175:37)\n at Object.onceWrapper (node:events:628:26)\n at Socket.emit (node:events:513:28)\n at Socket.emit (node:domain:489:12)\n at TCP.<anonymous> (node:net:301:12)"
},
"msg":"connect to REDIS failed"
}
Additionally if I attempt to connect via shell using fly redis connect
it finds the list of redis instances to select from but when I select either of my production or staging instances it won’t connect.
Any ideas?