actualbudget / actual

A local-first personal finance app
https://actualbudget.org
MIT License
15.2k stars 1.19k forks source link

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

Open psybers opened 3 months ago

psybers commented 3 months ago

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":

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

jhoward321 commented 3 months ago

I can also report having this issue

thraizz commented 2 months ago

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 commented 1 month ago

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.