-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Authentication error on OC_JSON::checkLoggedIn() #527
Comments
maybe your session run out? Could be an Ajax triggered background job. |
I'm still logged in when I refresh, so the session should still be good. Or do I misunderstand PHPs session mechanism? |
No, you're right. |
Just want to add my description of aparently the same issue. since about 2 weeks I encounter a funny issue in git master when firing an ownClouds WebUI loads fine, but ajax requests fail. Error message: Aparently this only happens when a session existed before and has expired. Secons aspect: when I get this error I would like to re-login (though that is |
I'll look into this as soon as I have some spare time. |
I experienced this problem again today using an up to date git master (02.01.2013): |
Just installed ownCloud 5.0.0 beta 1 on Ubuntu 12.04.2 LTS. I tried to upload a 180MiB file, which took about 10-20 minutes, but ended in Authentification error (actually in german, "Authentifizierungs-Fehler") each time I tried. The last time I refreshed in a second browser tab every five minutes. The upload then succeeded... |
Please reopen if the pull request didnt fix this |
As mentioned in #1938: |
The main problem is that i want to keep the window open for instance when using the RSS reader. The session times out after a certain time according to frank because PHP. Thats why I've brought it back ;) As for hibernation: This is a rare usecase and isnt annoying because it happens only when you hibernate. |
Thx, the issue at hand on my server is solved using latest github snapshot! |
Sorry, for me this message still appears. It's PITA to verify the bug since it takes so long to wait :-) But my problem seems to be related to the session id regeneration, so I created a new bug, see #1950 |
Why does OC_User::isLoggedIn() return non-true (or whatever the ambiguous PHP value is) when calling OCP\JSON::checkLoggedIn() after a while (an hour or so)?
I keep getting
back when I haven't made an ajax request or refreshed for some time.
https://github.com/owncloud/core/blob/master/lib/json.php#L36
The text was updated successfully, but these errors were encountered: