You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I take the connection string from DO, and it is correct. But when I try to connect, I get an error:
var err = new errorClasses.AbortError(error_attributes);
^
AbortError: Redis connection lost and command aborted. It might have been processed.
at RedisClient.flush_and_error (/Users/***/Desktop/server/node_modules/redis/index.js:298:23)
at RedisClient.connection_gone (/Users/***/Desktop/server/node_modules/redis/index.js:603:14)
at Socket.<anonymous> (/Users/***/Desktop/server/node_modules/redis/index.js:231:14)
at Object.onceWrapper (node:events:641:28)
at Socket.emit (node:events:539:35)
at endReadableNT (node:internal/streams/readable:1345:12)
at processTicksAndRejections (node:internal/process/task_queues:83:21)
at new Command (/Users/***/Desktop/server/node_modules/redis/lib/command.js:12:22)
at RedisClient.info (/Users/***/Desktop/server/node_modules/redis/lib/individualCommands.js:169:39)
at RedisClient.ready_check (/Users/***/Desktop/server/node_modules/redis/index.js:470:10)
at RedisClient.on_connect (/Users/***/Desktop/server/node_modules/redis/index.js:364:14)
at Socket.<anonymous> (/Users/***/Desktop/server/node_modules/redis/index.js:213:14)
at Object.onceWrapper (node:events:641:28)
at Socket.emit (node:events:539:35)
at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1173:10)
I believe this error is related to SSL/TLS connection and configuration
Context
Sorry if my problem is stupid or already solved. I am new to Redis
Your Environment
Version used: 8.2.2
NestJS version: 8.0.0
Node.js version: 16.15.0
Operating System and version (macOS, Windows, Linux): macOS
The text was updated successfully, but these errors were encountered:
@melishev Unfortunately, I have no credit card to create Digital Ocean managed redis instances.
For testing purposes, you can try to connect to your redis instance via redli or RedisOptions(use ioredis directly) like this:
redli --tls -h redis-test-do-user-4915853-0.db.ondigitalocean.com -a your_password -p 25061
FWIW, I did not have this problem with this package using just Redis commands. However, I did have this problem when using @nestjs/bull. I found this solution on the main bull repo: OptimalBits/bull#1464 (comment)
Current Behavior
I'm trying to connect to my Digital Ocean hosted Redis database using this configuration:
I take the connection string from DO, and it is correct. But when I try to connect, I get an error:
I believe this error is related to SSL/TLS connection and configuration
Context
Sorry if my problem is stupid or already solved. I am new to Redis
Your Environment
The text was updated successfully, but these errors were encountered: