Skip to content
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

Open
2 tasks done
psybers opened this issue Jul 24, 2024 · 3 comments · May be fixed by #4075
Open
2 tasks done

[Bug]: says "server offline" when it actually came back #3128

psybers opened this issue Jul 24, 2024 · 3 comments · May be fixed by #4075
Labels
bug Something isn't working good first issue Good for newcomers help wanted Extra attention is needed user interface Related to the user interface

Comments

@psybers
Copy link
Contributor

psybers commented Jul 24, 2024

Verified issue does not already exist?

  • I have searched and found no existing issue
  • I will be providing steps how to reproduce the bug (in most cases this will also mean uploading a demo budget file)

What happened?

I started Actual while my wifi was on but disconnected. It tried to sync, and failed. The top-right said "server offline":

image

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:

image

What I expected was it would update to this (which is what I see if I close and restart the app):

image

Where are you hosting Actual?

Docker

What browsers are you seeing the problem on?

Chrome

Operating System

Mac OSX

@psybers psybers added the bug Something isn't working label Jul 24, 2024
@jfdoming jfdoming added the good first issue Good for newcomers label Jul 24, 2024
@jhoward321
Copy link

I can also report having this issue

@thraizz
Copy link
Contributor

thraizz commented Aug 20, 2024

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.

@slipperybeluga
Copy link

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.

p-payet added a commit to p-payet/actual that referenced this issue Jan 2, 2025
…n sync status changed, so 'userData.offline' is up to date and server status displayed is valid
@p-payet p-payet linked a pull request Jan 2, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers help wanted Extra attention is needed user interface Related to the user interface
Projects
None yet
6 participants