[GH-ISSUE #2596] [Bug]: Site closes when opening #42700

Closed
opened 2026-04-26 02:45:45 -05:00 by GiteaMirror · 11 comments
Owner

Originally created by @zyrouge on GitHub (Apr 13, 2024).
Original GitHub issue: https://github.com/actualbudget/actual/issues/2596

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?

The web app closes when attempting opening. It occurs very frequently to me. It is just a plain instance with zero data. I've attached a clip of it happening. This has happened for me on Firefox (desktop) and on Brave (mobile).

Something similar to history.back() seems to be happening. I'm willing to open a PR if you could guide where it is happening.

https://github.com/actualbudget/actual/assets/50770114/2ab8b271-c4bd-493f-a4ad-76d5d82fd848

Where are you hosting Actual?

Docker

What browsers are you seeing the problem on?

Firefox

Operating System

Linux

Originally created by @zyrouge on GitHub (Apr 13, 2024). Original GitHub issue: https://github.com/actualbudget/actual/issues/2596 ### Verified issue does not already exist? - [X] I have searched and found no existing issue - [X] I will be providing steps how to reproduce the bug (in most cases this will also mean uploading a demo budget file) ### What happened? The web app closes when attempting opening. It occurs very frequently to me. It is just a plain instance with zero data. I've attached a clip of it happening. This has happened for me on Firefox (desktop) and on Brave (mobile). Something similar to `history.back()` seems to be happening. I'm willing to open a PR if you could guide where it is happening. https://github.com/actualbudget/actual/assets/50770114/2ab8b271-c4bd-493f-a4ad-76d5d82fd848 ### Where are you hosting Actual? Docker ### What browsers are you seeing the problem on? Firefox ### Operating System Linux
GiteaMirror added the buguser interface labels 2026-04-26 02:45:45 -05:00
Author
Owner

@shall0pass commented on GitHub (Apr 13, 2024):

Are you using an authentication front end that might be redirecting you? If you open the developers console, are there any errors or indication of what is happening? I've never experienced anything like this, and over the past couple of years there haven't been any reports like this. I have a feeling this is specific to your setup.

<!-- gh-comment-id:2053680323 --> @shall0pass commented on GitHub (Apr 13, 2024): Are you using an authentication front end that might be redirecting you? If you open the developers console, are there any errors or indication of what is happening? I've never experienced anything like this, and over the past couple of years there haven't been any reports like this. I have a feeling this is specific to your setup.
Author
Owner

@zyrouge commented on GitHub (Apr 13, 2024):

Are you using an authentication front end that might be redirecting you? If you open the developers console, are there any errors or indication of what is happening? I've never experienced anything like this, and over the past couple of years there haven't been any reports like this. I have a feeling this is specific to your setup.

No authentication, no errors in console and also no redirects in networks. It does seem very weird to me.

<!-- gh-comment-id:2053684441 --> @zyrouge commented on GitHub (Apr 13, 2024): > Are you using an authentication front end that might be redirecting you? If you open the developers console, are there any errors or indication of what is happening? I've never experienced anything like this, and over the past couple of years there haven't been any reports like this. I have a feeling this is specific to your setup. No authentication, no errors in console and also no redirects in networks. It does seem very weird to me.
Author
Owner

@MatissJanis commented on GitHub (Apr 13, 2024):

👋 How can we reproduce this issue?

I've never seen this issue before on my instance, so I wonder if this is actually something to do with the way how you host the app.

<!-- gh-comment-id:2053727709 --> @MatissJanis commented on GitHub (Apr 13, 2024): 👋 How can we reproduce this issue? I've never seen this issue before on my instance, so I wonder if this is actually something to do with the way how you host the app.
Author
Owner

@zyrouge commented on GitHub (Apr 14, 2024):

I used podman to run the image. After setting the password, I just closed the site. Re-opening the plain instance might close the site. This occured both on my local PC and my VPS.

<!-- gh-comment-id:2053852987 --> @zyrouge commented on GitHub (Apr 14, 2024): I used podman to run the image. After setting the password, I just closed the site. Re-opening the plain instance might close the site. This occured both on my local PC and my VPS.
Author
Owner

@zyrouge commented on GitHub (Apr 14, 2024):

Did some testing and could confirm that it only occurs in an empty instance. This issue disappeared when I added a account.

<!-- gh-comment-id:2054034674 --> @zyrouge commented on GitHub (Apr 14, 2024): Did some testing and could confirm that it only occurs in an empty instance. This issue disappeared when I added a account.
Author
Owner

@MatissJanis commented on GitHub (Apr 14, 2024):

My guess would be that this line is causing the issue. But I'm not sure why.. and haven't been able to reproduce.

<!-- gh-comment-id:2054128530 --> @MatissJanis commented on GitHub (Apr 14, 2024): My guess would be that [this line](https://github.com/actualbudget/actual/blob/16df116d1dceeb2c9603564249895341292a99c9/packages/desktop-client/src/hooks/useNavigate.ts#L40-L41) is causing the issue. But I'm not sure why.. and haven't been able to reproduce.
Author
Owner

@MatissJanis commented on GitHub (Apr 14, 2024):

Managed to reproduce on https://demo.actualbudget.org

  1. open https://demo.actualbudget.org and create an empty budget
  2. close the tab
  3. open https://demo.actualbudget.org/accounts
  4. close the tab
  5. open https://demo.actualbudget.org/accounts
  6. 💣
<!-- gh-comment-id:2054128880 --> @MatissJanis commented on GitHub (Apr 14, 2024): Managed to reproduce on https://demo.actualbudget.org 1. open https://demo.actualbudget.org and create an empty budget 2. close the tab 3. open https://demo.actualbudget.org/accounts 4. close the tab 5. open https://demo.actualbudget.org/accounts 6. 💣
Author
Owner

@MatissJanis commented on GitHub (Apr 14, 2024):

cc @joel-jeremy

Do you think it would cause problems if we removed this line?

<!-- gh-comment-id:2054129022 --> @MatissJanis commented on GitHub (Apr 14, 2024): cc @joel-jeremy Do you think it would cause problems if we removed [this line](https://github.com/actualbudget/actual/blob/16df116d1dceeb2c9603564249895341292a99c9/packages/desktop-client/src/hooks/useNavigate.ts#L40-L41)?
Author
Owner

@matt-fidd commented on GitHub (Aug 3, 2025):

@MatissJanis I can't reproduce this anymore, are you able to?

<!-- gh-comment-id:3147356505 --> @matt-fidd commented on GitHub (Aug 3, 2025): @MatissJanis I can't reproduce this anymore, are you able to?
Author
Owner

@MatissJanis commented on GitHub (Aug 4, 2025):

No; seems to be resolved on my end. @zyrouge can you verify if it is resolved for you too?

<!-- gh-comment-id:3151675704 --> @MatissJanis commented on GitHub (Aug 4, 2025): No; seems to be resolved on my end. @zyrouge can you verify if it is resolved for you too?
Author
Owner

@zyrouge commented on GitHub (Aug 4, 2025):

@MatissJanis Seems to be fixed!

<!-- gh-comment-id:3151695414 --> @zyrouge commented on GitHub (Aug 4, 2025): @MatissJanis Seems to be fixed!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/actual#42700