Skip to content
This repository has been archived by the owner on Jan 9, 2023. It is now read-only.

Can't visit Users page under Administration (session expired), and then locked out of system until cookies are deleted #1077

Closed
jonathan8464 opened this issue May 3, 2017 · 7 comments

Comments

@jonathan8464
Copy link

jonathan8464 commented May 3, 2017

Expected behavior:
Choosing "Administration > Users" in the menu should show UI to manage users.

Actual behavior:
I get a pop-up saying that the session is expired. Logging in again shows the same error immediately (without clicking on the menu). The only way to be able to login again is to delete all cookies.

Steps to reproduce:

  1. New development env on Mac OS X 10.11 (using instructions on main page). This doesn't reproduce at beta.hospitalrun.io, so obviously a dev related issue
  2. Login using hradmin/test
  3. Go to Administration > Users

Screenshots (if applicable):
image

OS and Browser:
Mac OS X 10.11
Chrome 57.0.2987.133
Using HR 0.9.18 (fetched today)
CouchDB 1.6.1

@TBuc
Copy link

TBuc commented May 3, 2017

EDIT: does not apply. I experience this issue with CouchDB v2, which is already reported in #953 .

I've regularly been experiencing the same issue. Sorry I had no time to report it yet.

@jonathan8464 please note that the session is not actually expired and if you click on some menu on the left (other than Administration) the popup will disappear. Does not solve the problem, but makes it faster to re-gain control over the application.

@adeolabadmus
Copy link
Contributor

@jonathan8464 @TBuc

This issue has been reported in #953, it's caused by a bug in CouchDB 2.0. You can change your CouchDB installation to 1.6, and things would work just fine.

@jonathan8464
Copy link
Author

jonathan8464 commented May 3, 2017

@adeolabadmus I forgot to write that I am using CouchDB 1.6.1. I edited my original post to reflect that. You are right that this is the same bug as #953, and I see there is a comment there now by someone who is experiencing it with 1.6 too. However, I am not using Docker. Should I close this issue as duplicate or wait with it? Maybe I can help reproduce. Also, #953 doesn't describe being locked out of the system the way I am.

@TBuc
Copy link

TBuc commented May 4, 2017

@adeolabadmus awesome, you're right - that's why I did not report it before! I had completely forgot about such issue.
Thank you!

@jkleinsc
Copy link
Member

jkleinsc commented May 9, 2017

I have a fix for this issue and it is different from #953, so we will leave it open until the fix is ready.

@chinmaybhatk
Copy link

this issue is still exist..i am facing this problem.. I am using CouchDB 1.6.1

@waleplanet
Copy link

waleplanet commented Jul 12, 2017

I still have the same error after trying the offline fixes using CouchDB 1.6.1

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

No branches or pull requests

6 participants