You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[BUG] Token expires instead of being renewed #4332
After not using the app for a while I get the message that the access token is expired
after clicking on "Anmelden" (login) and going through the login process on the webUI first time an "unknown error" was displayed and then again the same one about the expired token. But still it seemed to got some data, because the file list is updated:
The only way to get the app working is to "resync" through the accounts list
We are aware of the problem, it's kind of random to reproduce (indeed, i can't). Would it be posible to share logs with the problem? we will provide you a safe way to do it, so that, we can research about it.
@jesmrec I just did it now with debugging enabled, and then it failed in first auth, but actually came fully through second time. Do you wan to have a look at this log? How should I share?
@jesmrec I just uploaded my log. Yes there was one failed attempt first, and then the second time my browser had the login from last time and it went through. Sometimes this has ended in an endless loop of trials with no success.
I have a geo filter in front of my ocis domain (using Caddy) so only let request from my country gets through, do you think it could be related to that?
I will at least try to stop the filter next time...
We have taken a look to this bug and we can't reproduce it anymore in master branch since this fix: #4586 (the token is refreshed every 5 minutes and it is working well). I will close this issue then. Feel free to re-open it if you are able to reproduce the problem again 🙌🏻 . In any case, the fix will be included in the next release: 4.6.0
Activity
JuancaG05 commentedon Feb 29, 2024
Hi @individual-it! Thanks for opening a new issue! 🍻
Sure, you can share the logs privately if you send them to [email protected], they will be very helpful to us 👍
[-][BUG][/-][+][BUG] Token expires instead of being renewed[/+]kjeldahl commentedon Mar 27, 2025
I am also seeing this error.
ownCloud release version 4.5.0 (7bef18e)
TermeHansen commentedon Apr 28, 2025
I'm also having this issue, now on
version 4.5.1 (43b8579)
jesmrec commentedon Apr 29, 2025
We are aware of the problem, it's kind of random to reproduce (indeed, i can't). Would it be posible to share logs with the problem? we will provide you a safe way to do it, so that, we can research about it.
TermeHansen commentedon Apr 29, 2025
@jesmrec I just did it now with debugging enabled, and then it failed in first auth, but actually came fully through second time. Do you wan to have a look at this log? How should I share?
jesmrec commentedon Apr 29, 2025
The first failed attemp is the problem you reproduced, right?
You can push the log file here pwd: "I54<aV~f)nU0" without quotation marks
TermeHansen commentedon Apr 29, 2025
@jesmrec I just uploaded my log. Yes there was one failed attempt first, and then the second time my browser had the login from last time and it went through. Sometimes this has ended in an endless loop of trials with no success.
jesmrec commentedon Apr 29, 2025
Thanks @TermeHansen, we will take a look ;)
jesmrec commentedon Apr 29, 2025
My first and preliminary guess. I can see in the logs:
we may expect a
401...TermeHansen commentedon Apr 30, 2025
I have a geo filter in front of my ocis domain (using Caddy) so only let request from my country gets through, do you think it could be related to that?
I will at least try to stop the filter next time...
jesmrec commentedon Apr 30, 2025
Well, it depends on the Caddy rules. If you can check without the filter taking new logs, it could be helpful
jesmrec commentedon May 29, 2025
In this PR, we'll release a candidate to fix this problem. @TermeHansen , we can provide you a build to test it in your environment, it you wish to.
TermeHansen commentedon May 29, 2025
Sure, I can do that...
jesmrec commentedon May 29, 2025
@TermeHansen you can download the apk from here
Pwd: qCh70C/)Z^5(
thanks a lot for your engagement!
TermeHansen commentedon May 29, 2025
Jep, just did, you can take it down, I will test in a bit...
TermeHansen commentedon May 29, 2025
So far so good. Login flow worked as it should straight through 🥳
joragua commentedon Jun 10, 2025
We have taken a look to this bug and we can't reproduce it anymore in
masterbranch since this fix: #4586 (the token is refreshed every 5 minutes and it is working well). I will close this issue then. Feel free to re-open it if you are able to reproduce the problem again 🙌🏻 . In any case, the fix will be included in the next release:4.6.0