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
Hi ,I am trying to integrate Redis cache for an application i am working on and currently facing an issue with TLS configuration.(With express & ioredis i am able to connect to the redis server)
Hi ,I am trying to integrate Redis cache for an application i am working on and currently facing an issue with TLS configuration.(With express & ioredis i am able to connect to the redis server)
Below is the cache block in .meshrc.yaml file.
cache:
redis:
host: 'server'
port: 5590
password: 'password'
tls:
rejectUnauthorized: false
ioredis:redis status[server:5590]: connecting -> connect +277ms
ioredis:redis write command[server:5590]: 0 -> auth([ 'password' ])
ioredis:redis write command[sever:5590]: 0 -> info([]) +1ms
ioredis:connection error: Error: read ECONNRESET
at TCP.onStreamRead (node:internal/stream_base_commons:217:20) {
errno: -4077,
code: 'ECONNRESET',
syscall: 'read'
} +1s
[ioredis] Unhandled error event: Error: read ECONNRESET
at TCP.onStreamRead (node:internal/stream_base_commons:217:20)
Looks like the tls is not being recognized, is there anything wrong with the above config?
The text was updated successfully, but these errors were encountered: