OK, yeah. So that error is different from what you might see if making the connection failed. That error means an existing connection was closed by our proxy because your client was not sending or receiving data.
The issue you linked suggests that node-redis
may not handle disconnects too well, though the latest version has some fixes in place. Which version are you on?
To reduce the chances you’ll see a disconnect, you can use pingInterval
as documented here: node-redis/client-configuration.md at master · redis/node-redis · GitHub.
Our proxy should time out idle connections after 1 hour, but connections may be severed when our proxy gets deployed as well. Clients should be able to handle this, generally, and reconnect as needed.