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]: Site closes when opening #2596

Open
2 tasks done
zyrouge opened this issue Apr 13, 2024 · 8 comments · May be fixed by #2772
Open
2 tasks done

[Bug]: Site closes when opening #2596

zyrouge opened this issue Apr 13, 2024 · 8 comments · May be fixed by #2772
Labels
bug Something isn't working user interface Related to the user interface

Comments

@zyrouge
Copy link

zyrouge commented Apr 13, 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?

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.

record-censored.mp4

Where are you hosting Actual?

Docker

What browsers are you seeing the problem on?

Firefox

Operating System

Linux

@zyrouge zyrouge added the bug Something isn't working label Apr 13, 2024
@shall0pass
Copy link
Contributor

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.

@zyrouge
Copy link
Author

zyrouge commented 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.

@MatissJanis
Copy link
Member

👋 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.

@zyrouge
Copy link
Author

zyrouge commented 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.

@zyrouge
Copy link
Author

zyrouge commented 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.

@MatissJanis
Copy link
Member

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

@MatissJanis
Copy link
Member

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. 💣

@MatissJanis
Copy link
Member

cc @joel-jeremy

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

@MatissJanis MatissJanis added the user interface Related to the user interface label Apr 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working user interface Related to the user interface
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants