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]: We had an unknown problem opening “My-Finances-XXXXX”. #1901

Closed
1 task done
ghost opened this issue Nov 12, 2023 · 3 comments
Closed
1 task done

[Bug]: We had an unknown problem opening “My-Finances-XXXXX”. #1901

ghost opened this issue Nov 12, 2023 · 3 comments
Labels
bug Something isn't working

Comments

@ghost
Copy link

ghost commented Nov 12, 2023

Verified issue does not already exist?

  • I have searched and found no existing issue

What happened?

Hello,
I just pulled and run the latest docker image :

docker pull ghcr.io/actualbudget/actual-server:latest
docker run --pull=always --restart=unless-stopped -d -p 8083:5006 -e PUID=1000 -e PGID=1000 -v /var/lib/docker/volumes/actualbudget/data:/data --name actualbudget ghcr.io/actualbudget/actual-server:latest

I published my application through a WAF rules of a Sophos XG appliance.
I'm able to run the application with HTTPS, to sign in but when i select the default file or a new created one, i alway get an error :
We had an unknown problem opening “My-Finances-XXXX”.

I check my docker volume (/data) and i can see it has created 2 folders "server-files" and "user-files". So my docker configuration seems OK. To be shure i added the PUID and GUID of the root user to avoid any write issue.

In the console of my browser, i can see an error in the migrations.ts file :
The content of the "db" parameter of the "applySQL" function is :

<title>403 Forbidden</title>

Forbidden

You don't have permission to access this resource.

I found a similar issue, but the solution is to clear cookies and cache. It does not works for me.
I removed and deployed again the application but without more success.

Am i missing something ?

Thank you for your help.

What error did you receive?

We had an unknown problem opening “My-Finances-XXXX

Output of the browser console :

Reading meta...
Got meta for documents-Actual-My-Finances-d2f6bb0-db.sqlite: [object Object]
sql-wasm.js:119 Opened!
migrations.ts:112 Error applying sql:

<title>403 Forbidden</title>

Forbidden

You don't have permission to access this resource.

Where are you hosting Actual?

Docker

What browsers are you seeing the problem on?

Firefox, Chrome

Operating System

Linux

@ghost ghost added the bug Something isn't working label Nov 12, 2023
@ghost
Copy link
Author

ghost commented Nov 12, 2023

I tried with another reverse proxy and it works fine.
This issue is due to the reverse proxy function of the Sophos XG firewall.

Have you any idea what can cause this behavior ?

@ghost
Copy link
Author

ghost commented Nov 13, 2023

I found the reason. The WAF (Sophos) block some request detected as a potential attack ... if i disable all security it works fine.

@ghost
Copy link
Author

ghost commented Nov 13, 2023

Ticket close

@ghost ghost closed this as completed Nov 13, 2023
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

0 participants