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

Login: session gets dropped randomly #142

Closed
tdilo opened this issue Nov 12, 2019 · 1 comment
Closed

Login: session gets dropped randomly #142

tdilo opened this issue Nov 12, 2019 · 1 comment

Comments

@tdilo
Copy link

tdilo commented Nov 12, 2019

The login session gets dropped randomly when reloading the page for any reason. For example, when clicking on "Add a location" after logging in, the resulting page load may either leave you logged in, or appear to log you out. The same happens when using the "Add additional equipment" button. If you then decide to sign in again from the "poi/add" page, you get redirected to https://openchargemap.org/site/poi and all data entered is lost.

This issue also manifests itself when simply reloading the main page (https://openchargemap.org/site) over and over again, which will show the "sign in" menu entry on about half of the page loads, and "my profile" for the rest of the time.

@webprofusion-chrisc
Copy link
Member

webprofusion-chrisc commented Nov 13, 2019

Thanks! I'd upped the number of worker processes for the website yesterday which would normally not be a problem but with the move to aspnet core 3.0 the sessions are not shared between the processes by default (now I know!) so it depended on which worker process handled the request. Have reduced the worker process count until this is resolved.

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

No branches or pull requests

2 participants