getodk / central-backend

Node.js based backend for ODK Central
https://docs.getodk.org/central-intro/
Apache License 2.0
50 stars 75 forks source link

Reap expired sessions #63

Closed issa-tseng closed 4 years ago

florianm commented 5 years ago

I can't login after a service container restart (nginx and db untouched, just restarted service to use own sentry logging config - nothing sent yet but that's another story for another ticket to annoy @issa-tseng ;-) ). I see an XHR request to https://odkcentral.MYDOMAIN/v1/sessions/restore timing out.

Edit: restarted nginx/frontend as well. Can login again. The last line in https://docs.opendatakit.org/central-upgrade/ implies that both frontend and backend shall be restarted after an upgrade (or config change in my case). The future section on running ODK Central on K8s should be loud and clear on restarting both containers at the same time.

issa-tseng commented 5 years ago

i think it's extremely unlikely this ticket is related to your issue. sounds like you got it worked out.