Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

500 response when taking redis as session store #89

Closed
ql-hl opened this issue Oct 16, 2017 · 2 comments
Closed

500 response when taking redis as session store #89

ql-hl opened this issue Oct 16, 2017 · 2 comments
Labels
Milestone

Comments

@ql-hl
Copy link

ql-hl commented Oct 16, 2017

The portal service returns 500, when the environment variable "PORTAL_SESSIONSTORE_TYPE" is set to "redis", while the redis service was running correctly (service, port, logging, etc.).
After setting "PORTAL_SESSIONSTORE_TYPE" to "file", everything works again.

The issue was detected when running locally by docker-compose.

@DonMartin76
Copy link
Member

I finally found the root cause for this, and of course it's really stupid: In the default globals.json, the Redis port is set to 6739, correct is 6379. Updating this in your default configuration should fix this:

  "sessionStore": {
    "type": "${PORTAL_SESSIONSTORE_TYPE}",
    "host": "${PORTAL_SESSIONSTORE_HOST}",
    "port": "6379",
    "password": ""
  },

SORRY!

@DonMartin76 DonMartin76 added the bug label Nov 9, 2017
@DonMartin76 DonMartin76 added this to the 0.12.2 milestone Nov 27, 2017
@DonMartin76
Copy link
Member

This is fixed in 0.12.2, but if you updated your configuration using 0.12.1, this will still not be correct.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants