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
Authentication is unstable in Wi-fi with captive portal #767
When using the client in a Wi-fi which requires a login (or some kind of confirmation), the client seems to loose its authentication after some time.
Especially in public networks with flaky connection (no internet connection from time to time, suddenly log in required, i.e. all traffic is redirected to a captive portal) this is quite common.
In some constellation the client thinks it needs to re-login and stops trying to sync. This is very inconvenient. The client should never ever ever lose its authentication (only if the legitimate server replies with 401), but retry every few minutes until it reaches the correct server again.
When I am with more stable network, I can try to reproduce this issue in an isolated way.
changed the title [-]Authentication is unstable in Wi-fi with login portal redirect[/-][+]Authentication is unstable in Wi-fi with captive portal[/+]on Dec 22, 2025
It's very hard to reproduce but does eventually happen. I'll try to provide more useful logging information, but since it always happens when it's least expected (and most annoying), I cannot promise anything...
My issue is slightly different, but i think the underlying problem is the same. I have setup OpenCloud with Authentik. I constantly had issues that i got logged out in the desktop app from the beginning. Here is the summary of what i found.
Summary
Authentik had a brief 45-second container restart during nightly maintenance
At 01:00:10 UTC (03:00:10 local), a notification poll received a 401 and the client triggered a token refresh.
The client attempted to fetch /.well-known/openid-configuration. Because the upstream IdP was booting, OpenCloud's proxy returned a temporary 404 page not found.
The client executed all 3 retries in under 1 second and immediately invalidated the account credentials.
Even if Authentik was not available this is way to fragile.
Activity
[-]Authentication is unstable in Wi-fi with login portal redirect[/-][+]Authentication is unstable in Wi-fi with captive portal[/+]dragotin commentedon Jan 9, 2026
Would be helpful if you could capture some logs during the loss of auth
nicokaiser commentedon Jan 23, 2026
It's very hard to reproduce but does eventually happen. I'll try to provide more useful logging information, but since it always happens when it's least expected (and most annoying), I cannot promise anything...
github-actions commentedon Feb 23, 2026
This issue was marked stale because it has been open for 30 days with no activity. Remove the stale label or comment or this will be closed in 7 days.
Linus-f commentedon Aug 17, 2026
My issue is slightly different, but i think the underlying problem is the same. I have setup OpenCloud with Authentik. I constantly had issues that i got logged out in the desktop app from the beginning. Here is the summary of what i found.
Summary
/.well-known/openid-configuration. Because the upstream IdP was booting, OpenCloud's proxy returned a temporary 404 page not found.Even if Authentik was not available this is way to fragile.
Logs