-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
[Bug]: says "server offline" when it actually came back #3128
Comments
I can also report having this issue |
On mobile, syncing via pull-down-refresh doesn't work either, if the connection was once lost. Both in the PWA as well as when accessing directly through Safari. It seems like the offline state is cached somewhere? For me, my server is behind a VPN which i don't have always active, so the only way to get to the server is by opening a private tab and thereby working around any cache. |
I am experiencing this or a similar error. On desktop with Brave (Chromium), I have to delete my cookies for Actual every time I want to use it in order to force it reauthenticate with the server. It otherwise always reports offline with no amount of refreshing or force-refreshing helping. |
…n sync status changed, so 'userData.offline' is up to date and server status displayed is valid
* fix/#3128: listen to 'sync-event' to update user data when sync status changed, so 'userData.offline' is up to date and server status displayed is valid * add upcoming release note * fix: use of optional chaining for 'userData.offline' to fix typecheck errors * fix: replace 'userData?.offline' by 'userDate' in useEffect's dependencies * fix: add error handling for 'initializeUserData' method * fix: remove optional chaining for 'userData.offline' and directly check if userData is not null * fix: eslint warning "`loot-core/client/actions` import should occur before import of `loot-core/src/platform/client/fetch`"
Verified issue does not already exist?
What happened?
I started Actual while my wifi was on but disconnected. It tried to sync, and failed. The top-right said "server offline":
I then connected to my wiif. I hit the 'sync' button. It seemed to connect and sync, and further hitting 'sync' almost instantly returned. Yet this is what I see:
What I expected was it would update to this (which is what I see if I close and restart the app):
Where are you hosting Actual?
Docker
What browsers are you seeing the problem on?
Chrome
Operating System
Mac OSX
The text was updated successfully, but these errors were encountered: