vikashrajgupta opened a new issue, #27913:
URL: https://github.com/apache/superset/issues/27913

   ### Bug description
   
   I'm getting the below error when using a domain name.
   
   ```
   Refused to load the script 
'https://superset1.greyb.com/cdn-cgi/scripts/7d0fa10a/cloudflare-static/rocket-loader.min.js'
 because it violates the following Content Security Policy directive: 
"script-src 'self' 'strict-dynamic' 'nonce-PGDBKAzYO-8kvbduD-2u4qVUJAaWVbte'". 
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.
   
   GET 
https://static.cloudflareinsights.com/beacon.min.js/v84a3a4012de94ce1a686ba8c167c359c1696973893317
 net::ERR_BLOCKED_BY_CLIENT
          ```
     Firstly I set up this project locally and then on server on both places it 
works fine but using IP, whenever I'm using a domain name it shows the above 
error.
   
   The login page is loading perfectly after the username and password UI is 
not visible., I tried to update config.py and superset_config.py by every 
possibility but nothing works.
   
   
   
   
   
   ### How to reproduce the bug
   
   1. opening superset1.greyb.com
   2. Go to the login page (you will be able to see the error in the console)
   3. After entering a username and password it will redirect to interfaces 
that are not loading
   
   ### Screenshots/recordings
   
   ![Screenshot from 2024-04-04 
18-45-35](https://github.com/apache/superset/assets/40394708/cabbefe0-39b1-4afb-b330-874b20a072ce)
   
   
   ### Superset version
   
   master / latest-dev
   
   ### Python version
   
   3.10
   
   ### Node version
   
   18 or greater
   
   ### Browser
   
   Chrome
   
   ### Additional context
   
   I'm facing this issue since last 3-4 days, that would be great if you can 
help me to resolve this.
   
   ### Checklist
   
   - [X] I have searched Superset docs and Slack and didn't find a solution to 
my problem.
   - [X] I have searched the GitHub issue tracker and didn't find a similar bug 
report.
   - [ ] I have checked Superset's logs for errors and if I found a relevant 
Python stacktrace, I included it here as text in the "additional context" 
section.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to