[Bug]: Server offline #1699

Closed
opened 2026-02-28 19:51:27 -06:00 by GiteaMirror · 12 comments
Owner

Originally created by @LolDotPdf on GitHub (Dec 21, 2024).

Verified issue does not already exist?

  • I have searched and found no existing issue

What happened?

Greetings! Every so often my iOS safari Actual client goes offline but the server is running and should be available. Any changes I make aren’t synced to the server. Deleting my local instance then gives me a “Server is not running at this URL. Make sure you have HTTPS set up properly” error when I try to set it up again. The only fix is to delete all website data from safari. This is becoming very cumbersome to do and is causing me to not trust entering transactions manually on mobile if I end up losing them anyway due to the connection issues. When this happens to one device the other devices I own remain connected. I’m hosting actual on my home server and manually set up https using the actual documentation. I connect via my local server ip and port. Is something wrong with my certificate setup?

How can we reproduce the issue?

Server offline listed in settings while connected to the home network > server doesn’t regain connection until local client is deleted and safari website data is deleted.

Where are you hosting Actual?

Docker

What browsers are you seeing the problem on?

Safari

Operating System

Mobile Device

Originally created by @LolDotPdf on GitHub (Dec 21, 2024). ### Verified issue does not already exist? - [X] I have searched and found no existing issue ### What happened? Greetings! Every so often my iOS safari Actual client goes offline but the server is running and should be available. Any changes I make aren’t synced to the server. Deleting my local instance then gives me a “Server is not running at this URL. Make sure you have HTTPS set up properly” error when I try to set it up again. The only fix is to delete all website data from safari. This is becoming very cumbersome to do and is causing me to not trust entering transactions manually on mobile if I end up losing them anyway due to the connection issues. When this happens to one device the other devices I own remain connected. I’m hosting actual on my home server and manually set up https using the actual documentation. I connect via my local server ip and port. Is something wrong with my certificate setup? ### How can we reproduce the issue? Server offline listed in settings while connected to the home network > server doesn’t regain connection until local client is deleted and safari website data is deleted. ### Where are you hosting Actual? Docker ### What browsers are you seeing the problem on? Safari ### Operating System Mobile Device
GiteaMirror added the bug label 2026-02-28 19:51:27 -06:00
Author
Owner

@youngcw commented on GitHub (Dec 24, 2024):

For tech support I recommend reaching out on discord.

@youngcw commented on GitHub (Dec 24, 2024): For tech support I recommend reaching out on discord.
Author
Owner

@kaichevannes commented on GitHub (Dec 30, 2024):

Getting the same issue, any idea why?

@kaichevannes commented on GitHub (Dec 30, 2024): Getting the same issue, any idea why?
Author
Owner

@kaichevannes commented on GitHub (Dec 30, 2024):

@LolDotPdf

@kaichevannes commented on GitHub (Dec 30, 2024): @LolDotPdf
Author
Owner

@LolDotPdf commented on GitHub (Dec 30, 2024):

@kaichevannes I opened a thread on Discord but here’s what I posted there as a follow up:

When I posted this last week I was using a servername.local:port address and decided to switch to using the serverIP:port url instead. It’s been a week and the client on all my devices have maintained an active connection to the actual server. Previously the server offline message would show up only after a few days. I suppose only time will tell if the .local address was causing issues with Safari actual clients. I’ll report back if the issue pops up again.

@LolDotPdf commented on GitHub (Dec 30, 2024): @kaichevannes I opened a thread on Discord but here’s what I posted there as a follow up: When I posted this last week I was using a servername.local:port address and decided to switch to using the serverIP:port url instead. It’s been a week and the client on all my devices have maintained an active connection to the actual server. Previously the server offline message would show up only after a few days. I suppose only time will tell if the .local address was causing issues with Safari actual clients. I’ll report back if the issue pops up again.
Author
Owner

@kaichevannes commented on GitHub (Dec 30, 2024):

Thank you for the reply, I got the bug with a serverIP:port address so I don't think that's a fix. I reset my server and cleared my safari website data as you recommended which worked as a temporary measure. Here's hoping it's a rare bug.

@kaichevannes commented on GitHub (Dec 30, 2024): Thank you for the reply, I got the bug with a serverIP:port address so I don't think that's a fix. I reset my server and cleared my safari website data as you recommended which worked as a temporary measure. Here's hoping it's a rare bug.
Author
Owner

@LolDotPdf commented on GitHub (Dec 31, 2024):

@kaichevannes Unfortunately I spoke a day too soon as the Actual client on my phone just lost connection to the actual server. Bummer.

@LolDotPdf commented on GitHub (Dec 31, 2024): @kaichevannes Unfortunately I spoke a day too soon as the Actual client on my phone just lost connection to the actual server. Bummer.
Author
Owner

@qu4cks4lb3r commented on GitHub (Dec 31, 2024):

Have you checked your certificate is still valid? The last time this happened to me was because of my selfsigned certificate was expired.

Creating a new certificate and cleaning the browser data might do the trick.

@qu4cks4lb3r commented on GitHub (Dec 31, 2024): Have you checked your certificate is still valid? The last time this happened to me was because of my selfsigned certificate was expired. Creating a new certificate and cleaning the browser data might do the trick.
Author
Owner

@kaichevannes commented on GitHub (Dec 31, 2024):

Oh that could certainly be it, I'll give it a shot. Thanks for the suggestion.

@kaichevannes commented on GitHub (Dec 31, 2024): Oh that could certainly be it, I'll give it a shot. Thanks for the suggestion.
Author
Owner

@kaichevannes commented on GitHub (Jan 8, 2025):

@LolDotPdf I just realised that I had never fully trusted my self signed certificate on my iPhone, the instructions to do it are here: https://support.apple.com/en-nz/102390

From the mkcert docs https://github.com/FiloSottile/mkcert?tab=readme-ov-file#mobile-devices

I installed the profile but never actually trusted it! I'm hoping that was the problem.

@kaichevannes commented on GitHub (Jan 8, 2025): @LolDotPdf I just realised that I had never fully trusted my self signed certificate on my iPhone, the instructions to do it are here: https://support.apple.com/en-nz/102390 From the mkcert docs https://github.com/FiloSottile/mkcert?tab=readme-ov-file#mobile-devices I installed the profile but never actually trusted it! I'm hoping that was the problem.
Author
Owner

@LolDotPdf commented on GitHub (Jan 9, 2025):

@kaichevannes I’ve been running off this method with success for over a week. Time will tell if it did the trick but so far so good.

  1. Install MKCERT
  2. Generate a certificate then locate the installed file by using mkcert -CAROOT
  3. Point actual to the pem using the docker compose file and the actual.config file
  4. Save the auto generated rootCA.pem to files app to be installed on iOS/MAC
  5. On iOS/Mac double click on the rootCA.pem file to open it and then go to settings > search for VPN & Device Management and install the certificate
  6. Clear safari website data
  7. Setup actual client on the device
@LolDotPdf commented on GitHub (Jan 9, 2025): @kaichevannes I’ve been running off this method with success for over a week. Time will tell if it did the trick but so far so good. 1. Install MKCERT 2. Generate a certificate then locate the installed file by using mkcert -CAROOT 3. Point actual to the pem using the docker compose file and the actual.config file 4. Save the auto generated rootCA.pem to files app to be installed on iOS/MAC 5. On iOS/Mac double click on the rootCA.pem file to open it and then go to settings > search for VPN & Device Management and install the certificate 6. Clear safari website data 7. Setup actual client on the device
Author
Owner
@N214 commented on GitHub (Jan 12, 2025): If using Cloudflare warp, you have to trust the certificate manually. https://developers.cloudflare.com/cloudflare-one/connections/connect-devices/user-side-certificates/automated-deployment/ https://developers.cloudflare.com/cloudflare-one/connections/connect-devices/user-side-certificates/automated-deployment/#macos
Author
Owner

@N214 commented on GitHub (Jan 14, 2025):

It still shows server is offline....

@N214 commented on GitHub (Jan 14, 2025): It still shows server is offline....
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/actual#1699