patrikx3 / redis-ui

📡 P3X Redis UI: A highly functional and convenient database GUI that fits in your pocket, accessible on both responsive web and desktop applications.
https://www.corifeus.com/redis-ui
MIT License
712 stars 74 forks source link

Unable to connect to AWS ElasticCache Instance #46

Closed andyast closed 3 years ago

andyast commented 4 years ago

Getting the following error when running docker image in K8S using the manifests files. For what's it worth "Test Connection" says successful.

Config

{
      "list": [
        {
          "name": "Prod",
          "host": "master.<redacted>.cache.amazonaws.com",
          "port": 6379,
          "password": "<redacted>",
          "awsElastiCache": true
        }
      ]
}

Error

[P3XRS] [PID: 000007]  ParserError: Protocol error, got "\u0015" as reply type byte. Please report this.
    at handleError (/usr/local/lib/node_modules/p3x-redis-ui/node_modules/redis-parser/lib/parser.js:190:15)
    at parseType (/usr/local/lib/node_modules/p3x-redis-ui/node_modules/redis-parser/lib/parser.js:304:14) {
  offset: 1,
  buffer: '{"type":"Buffer","data":[21,0,0,0,2,1,0]}'
}

[P3XRS] [PID: 000007]  socket.io connection-connect added new socket.id NOa5AkPFyewyOQkvAAAB to undefined name with Prod

[P3XRS] [PID: 000007]  socket.io connection-connect undefined Prod connected
andyast commented 4 years ago

And Yes it is most likely an issue with redis-parser but I was wondering if anyone has successfully used AWS ElasticCache

p3x-robot commented 4 years ago

no idea, i am not following the changes in aws/azure/google. i only implemented for the original redis instances.

p3x-robot commented 4 years ago

And Yes it is most likely an issue with redis-parser but I was wondering if anyone has successfully used AWS ElasticCache

i think a few people are using it via google/azure/amazon.

esdee-git commented 3 years ago

worked for me after enabling Aws ElastiCache as pointed out in https://github.com/patrikx3/redis-ui/issues/12