nicolasff / webdis

A Redis HTTP interface with JSON output
https://webd.is
BSD 2-Clause "Simplified" License
2.82k stars 307 forks source link

TLS issue when Using webdis with AWS MemoryDB #235

Open gmussi opened 1 year ago

gmussi commented 1 year ago

I am trying to connect webdis to a MemoryDB cluster.

I have followed the instructions and rebuild webdis with SSL=1 option. However, when I run webdis, I get the following output:

[336055] 12 May 11:43:03 I Webdis listening on port 7379
[336055] 12 May 11:43:03 I Webdis 0.1.22-dev up and running
[336055] 12 May 11:43:03 E Error disconnecting: Success
[336055] 12 May 11:43:03 E Error disconnecting: Success
[336055] 12 May 11:43:03 E Error disconnecting: Success
[336055] 12 May 11:43:03 E Error disconnecting: Success
[336055] 12 May 11:43:03 E Error disconnecting: Success
...

Since I do not have the certificates for the cluster, my webdis.json only has this:

"ssl": {
   "enabled": true
}

The same configuration I am using works fine with redis-commander, redis-cli and regulat nodejs code.

Any guidance would be appreciated.