I imported a working Django web app into repl.it. It does work in the browser. But in the repl.it web view, it crashes. I've tried four browsers. The ones with the most useful messages were Opera and Firefox.
The Opera message:
1944af39-b599-40cf-a6ba-c1a9f3897dcc.id.replitusercontent.com is blocked
1944af39-b599-40cf-a6ba-c1a9f3897dcc.id.replitusercontent.com refused to connect.
ERR_BLOCKED_BY_RESPONSE
The Firefox message:
Firefox Can’t Open This Page
To protect your security, 1944af39-b599-40cf-a6ba-c1a9f3897dcc.id.replitusercontent.com will not allow Firefox to display the page if another site has embedded it. To see this page, you need to open it in a new window.
Learn more…
Report errors like this to help Mozilla identify and block malicious sites
@Coder100 Thanks and I will try it but I'm curious about something. If I try to create a new Django web app in repl.it (instead of importing one from github) I don't see any of those CORS settings in the default settings.py. Yet the newly created app works properly in web view. What would explain that?
Web view shows the connection is blocked
I imported a working Django web app into repl.it. It does work in the browser. But in the repl.it web view, it crashes. I've tried four browsers. The ones with the most useful messages were Opera and Firefox.
The Opera message:
1944af39-b599-40cf-a6ba-c1a9f3897dcc.id.replitusercontent.com is blocked
1944af39-b599-40cf-a6ba-c1a9f3897dcc.id.replitusercontent.com refused to connect.
ERR_BLOCKED_BY_RESPONSE
The Firefox message:
Firefox Can’t Open This Page
To protect your security, 1944af39-b599-40cf-a6ba-c1a9f3897dcc.id.replitusercontent.com will not allow Firefox to display the page if another site has embedded it. To see this page, you need to open it in a new window.
Learn more…
Report errors like this to help Mozilla identify and block malicious sites
Firefox "learn more" link:
https://support.mozilla.org/en-US/kb/xframe-neterror-page?as=u&utm_source=inproduct