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

Login page does not load after v5.4.1 update #417

Open
tcpserverpro opened this issue Nov 18, 2024 · 7 comments
Open

Login page does not load after v5.4.1 update #417

tcpserverpro opened this issue Nov 18, 2024 · 7 comments
Labels
bug Something isn't working fixed The issue is fixed (in a coming release)

Comments

@tcpserverpro
Copy link

I updated to 5.4.1 now the login page no longer works.

I use 2fauth on Tipi.

Refused to load the script '' because it violates the following Content Security Policy directive: "script-src 'nonce-8fMocwbEY2jmPzLMgQpMWtI4JWaqYDS5ZnvLNmoO'". Note that 'script-src-elem' was not explicitly set, so 'script-src' is used as a fallback.
Understand this errorAI
app-D4Udf6Mm.js:2 Refused to load the script 'https://seguro.tcpserver.com.br/build/assets/Accounts-DNDVqAqR.js' because it violates the following Content Security Policy directive: "script-src 'nonce-8fMocwbEY2jmPzLMgQpMWtI4JWaqYDS5ZnvLNmoO'". Note that 'script-src-elem' was not explicitly set, so 'script-src' is used as a fallback.

(anonymous) @ app-D4Udf6Mm.js:2Understand this errorAI
app-D4Udf6Mm.js:2 Refused to load the script 'https://seguro.tcpserver.com.br/build/assets/OtpDisplay-D2QMFFL_.js' because it violates the following Content Security Policy directive: "script-src 'nonce-8fMocwbEY2jmPzLMgQpMWtI4JWaqYDS5ZnvLNmoO'". Note that 'script-src-elem' was not explicitly set, so 'script-src' is used as a fallback.

(anonymous) @ app-D4Udf6Mm.js:2Understand this errorAI
app-D4Udf6Mm.js:2 Refused to load the script 'https://seguro.tcpserver.com.br/build/assets/Spinner-DHClvaFf.js' because it violates the following Content Security Policy directive: "script-src 'nonce-8fMocwbEY2jmPzLMgQpMWtI4JWaqYDS5ZnvLNmoO'". Note that 'script-src-elem' was not explicitly set, so 'script-src' is used as a fallback.

(anonymous) @ app-D4Udf6Mm.js:2Understand this errorAI
app-D4Udf6Mm.js:2 Refused to load the script 'https://seguro.tcpserver.com.br/build/assets/SearchBox-B-38rGG5.js' because it violates the following Content Security Policy directive: "script-src 'nonce-8fMocwbEY2jmPzLMgQpMWtI4JWaqYDS5ZnvLNmoO'". Note that 'script-src-elem' was not explicitly set, so 'script-src' is used as a fallback.

(anonymous) @ app-D4Udf6Mm.js:2Understand this errorAI
app-D4Udf6Mm.js:2 Refused to load the script 'https://seguro.tcpserver.com.br/build/assets/bus-RVphoWuw.js' because it violates the following Content Security Policy directive: "script-src 'nonce-8fMocwbEY2jmPzLMgQpMWtI4JWaqYDS5ZnvLNmoO'". Note that 'script-src-elem' was not explicitly set, so 'script-src' is used as a fallback.

(anonymous) @ app-D4Udf6Mm.js:2Understand this errorAI
app-D4Udf6Mm.js:22 TypeError: Failed to fetch dynamically imported module: https://seguro.tcpserver.com.br/build/assets/Accounts-DNDVqAqR.js

@Bubka
Copy link
Owner

Bubka commented Nov 18, 2024

Hi,

This is due to the new CSP feature enabled in this release. As a quick fix, please set CONTENT_SECURITY_POLICY=false in your environment variable to disable CSP, the app should be back.

I'm going to investigate.

@Bubka Bubka changed the title Login page does not load after update Login page does not load after v5.4.1 update Nov 18, 2024
@kslcsdalsadg
Copy link

Hi,

This is due to the new CSP feature enabled in this release. As a quick fix, please set CONTENT_SECURITY_POLICY=false in your environment variable to disable CSP, the app should be back.

I'm going to investigate.

I confirm is working now

@Fclem
Copy link

Fclem commented Nov 18, 2024

I'm having the same issue with CSP (disabling CSP does mitigate the issue).
Screenshot 2024-11-18 114213
However this issue only affect chromium-based browsers, and does not affect Firefox.

@Bubka
Copy link
Owner

Bubka commented Nov 18, 2024

However this issue only affect chromium-based browsers, and does not affect Firefox

Thanks for the head up

@wisameldin
Copy link

I'm having the same issue with CSP (disabling CSP does mitigate the issue). Screenshot 2024-11-18 114213 However this issue only affect chromium-based browsers, and does not affect Firefox.

I'm guessing not all I had the same issue and tried the initial quick fix that worked but before I applied it I tried in different browsers including Firefox and it didn't load Not sure what setting is different on your end than on my end (note I tried it on firefox on an iphone)

@tcpserverpro
Copy link
Author

They released a new update.

I just updated and everything works fine again.

@EmberHeartshine
Copy link

(note I tried it on firefox on an iphone)

FWIW all browsers on iPhone are Safari with a skin.

Bubka added a commit that referenced this issue Nov 22, 2024
@Bubka Bubka added bug Something isn't working fixed The issue is fixed (in a coming release) labels Nov 22, 2024
@Bubka Bubka moved this from Todo to Done in 2FAuth backlog Nov 22, 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 fixed The issue is fixed (in a coming release)
Projects
Status: Done
Development

No branches or pull requests

6 participants