Replies: 1 comment 4 replies
-
That's not a bug I'm afraid, that's a configuration error. Firefly III does not know you're using a TLS connection. I'm not sure how it works in Cloudflare, but these are the nginx/Apache instructions: |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Support guidelines
I've found a bug and checked that ...
Description
Firefly iii on local server is working fine. but when i tunnel it through cloudflare it cannot able to load js properly because of violation of the Content Security Policy error. error log attached for your informaiton.
Debug information
Refused to load the font '<FONT_URL>' because it violates the following Content Security Policy directive: "font-src 'self' data:".
Refused to load the script 'https://budget.mydomain.com/cdn-cgi/scripts/5c5dd728/cloudflare-static/email-decode.min.js' due to a violation of the Content Security Policy directive: "script-src 'unsafe-eval' 'strict-dynamic' 'self' 'unsafe-inline' 'nonce-fyvJqbqlpypENfOL53xNDA=='". Note that 'strict-dynamic' is present, so host-based allowlisting is disabled. Note that 'script-src-elem' was not explicitly set, so 'script-src' is used as a fallback.
app.js?v=6.1.7:2 Refused to connect to 'http://budget.mydomain.com/chart/account/frontpage' because it violates the following Content Security Policy directive: "connect-src 'self'".
app.js?v=6.1.7:2 Refused to connect to 'http://budget.mydomain.com/chart/account/expense' due to a violation of the Content Security Policy directive: "connect-src 'self'".
app.js?v=6.1.7:2 Refused to connect to 'http://budget.mydomain.com/chart/account/revenue' because it violates the following Content Security Policy directive: "connect-src 'self'".
app.js?v=6.1.7:2 Refused to connect to 'http://budget.mydomain.com/json/frontpage/piggy-banks' due to a violation of the Content Security Policy directive: "connect-src 'self'".
Expected behaviour
it should load all the graphs even when we tunnel.
Steps to reproduce
Tunnel local firefly iii to a remote website using Cloudflare Tunnel.
Additional info
No response
Beta Was this translation helpful? Give feedback.
All reactions