-
-
Notifications
You must be signed in to change notification settings - Fork 39
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
net::ERR_BLOCKED_BY_RESPONSE.NotSameOriginAfterDefaultedToSameOriginByCoep 200 when starting a pygame project #107
Comments
you can't mix 127.0.0.1 and localhost url, only use localhost or browser restrictions will apply. |
Okay, fine. However, is there a way to remove these restrictions? This can actually be inconvenient for users. Additionally, when I use |
no all browsers enforce them, the only hostname relaxed is "localhost" Keep also in mind too that other restrictions may apply when hosting on Non-ssl (either wan or lan ) like camera/micro access and outgoing ssl connexions prohibited. either use pygbag localhost , or use a ssl enabled server. |
dangit I have the same problem too what should I do now? I want people to access my game through that URL & my ssh server that my school provides only allows for that URL. Therefore, how do I enable SSL? |
probably it is better to ask your educators to integrate python+games in cursus, instead of trying to breach local security. You could also try to pack your game to a single (big) html file eg https://pmp-p.github.io/python3.html standalone games packing issue : #77 |
This is the code we are using: https://github.com/HansBug/pygame_demo
When the page of pygbag is opened, it stuck at the
Downloading
page.This is the full console log on chrome browser
It seems that there is cross origin problem on this web service? So how to solve this.
Our environment:
The text was updated successfully, but these errors were encountered: