-
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
Always »Token expired...« message on Chrome on iOS (News app) #18891
Comments
@LukasReschke any idea? |
It's the same problem on desktop browsers. Apps stop working all the sudden because the token is no longer valid. If it times out after x seconds of inactivity, the user should be logged out at the same time it expires. |
@oparoz I am not sure we are talking about the same issue. I can't reproduce it on any desktop browser and in fact, it works fine even on Chrome on Android. |
Ah, true, I'm affected by both. A blank screen with an error 500 in the background and the timeout issue. |
If people would only post the actual error message 🙊 |
Indeed! ;) |
Regression from this commit 6a3fb0d from @LukasReschke |
Any app using the AppFramework per example will break because every ajax connection they make will be rejected with a 412. If you comment out this line, then things work again, because sessions are not encrypted any more. Line 461 in b3495a1
I think the main problem is that the browser gets two session passphrase cookies and the wrong one is being used to try and decrypt the session. I'm not sure what is generating that though. |
Anytime you're getting a cyclic dependency, youre doing it wrong ;) |
@LukasReschke - Must be since your PR fixes the issue. |
@cosenal Please test as well. If it still fails then this is another bug and I tend to blame Chrome on iOS 🙊 ;-) |
Still not working :( Let's blame it on Chrome on iOS and close this ;-) |
Same problem with Gallery. It fails the check and the problem is that it's a pain to setup remote debugging for that browser. |
Steps to reproduce
Expected behaviour
A compact view of the app should load
Actual behaviour
The message »Token expired or app not enabled!« pops up and reloading the page doesn't help.
Server configuration
Operating system: Arch Linux
Web server: Apache/2.4.16 (Unix)
Database: SQLite
PHP version: 5.6.12
ownCloud version: 8.2 pre alpha (git) aka master
List of activated apps:
The content of config/config.php:
Are you using external storage, if yes which one: no
Are you using encryption: no
Are you using an external user-backend, if yes which one: no
Client configuration
Browser: Chrome 45.0.2454.68
Operating system: iOS 8.4.1
Logs
Web server error log
ownCloud log (data/owncloud.log)
Browser log
hmm, how do I F12 here? :)
Notes: previously opened in News repo, see owncloud-archive/news#854
cc: @BernhardPosselt @LukasReschke
The text was updated successfully, but these errors were encountered: