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

UWP: Servo can’t load http://localhost:56012/ #25741

Closed
paulrouget opened this issue Feb 12, 2020 · 2 comments
Closed

UWP: Servo can’t load http://localhost:56012/ #25741

paulrouget opened this issue Feb 12, 2020 · 2 comments
Projects

Comments

@paulrouget
Copy link
Contributor

@paulrouget paulrouget commented Feb 12, 2020

Servo loads for a pretty long time, and end up showing this message:

64FA4BC6-543D-450A-8416-687ACDCCF961

No problem on Firefox.

class handler(BaseHTTPRequestHandler):
    def do_GET(self):
        self.send_response(200)
        self.send_header('Content-type','text/html')
        self.end_headers()
        self.wfile.write("Hello")
        return
server = HTTPServer(('', 56012), handler)
server_thread = threading.Thread(target=server.serve_forever)
server_thread.start()
@jdm jdm added this to To do in UWP port via automation Feb 12, 2020
@paulrouget
Copy link
Contributor Author

@paulrouget paulrouget commented Feb 12, 2020

If I run the same python code on a different machine, no problem. So it’s likely to be another issue with the UWP Network Isolation protection.

@paulrouget
Copy link
Contributor Author

@paulrouget paulrouget commented Feb 12, 2020

Yes, it’s a UWP limitation. It’s possible to work around it temporarily:

checknetisolation loopbackexempt -a -n="$(Get-AppxPackage -Name MozillaFoundation.FirefoxReality)"'
@paulrouget paulrouget closed this Feb 12, 2020
UWP port automation moved this from To do to Done Feb 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
UWP port
  
Done
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.