ExpressGateway / express-gateway

A microservices API Gateway built on top of Express.js
https://www.express-gateway.io
Apache License 2.0
2.97k stars 347 forks source link

Docker Image with connect-redis 4 bug #984

Closed Matthbo closed 1 year ago

Matthbo commented 4 years ago

plugins:

express-gateway-plugin-example:

param1: 'param from system.config'

crypto: cipherKey: sensitiveKey algorithm: aes256 saltRounds: 10

OAuth2 Settings

session: storeProvider: connect-redis storeOptions: host: gateway-db port: 6379 secret: keyboard cat resave: false saveUninitialized: false accessTokens: timeToExpiry: 7200000 refreshTokens: timeToExpiry: 7200000 authorizationCodes: timeToExpiry: 300000



Related issue on the connect-redis repo: https://github.com/tj/connect-redis/issues/283
Matthbo commented 4 years ago

This error won't appear on connect-redis <4, meaning the impelementation needs to be updated

JayVanderlyn commented 4 years ago

More insight and confirmation: connect-redis 3.4.2 | Works connect-redis 4.0.4(Latest) | Fails

Running v3.4.2 doesn't seem to cause any issues. Have a few containers running.