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

DevTools Error: Unable to load the page: net::ERR_EMPTY_RESPONSE #2646

Closed
radum opened this issue Jul 6, 2017 · 3 comments
Closed

DevTools Error: Unable to load the page: net::ERR_EMPTY_RESPONSE #2646

radum opened this issue Jul 6, 2017 · 3 comments

Comments

@radum
Copy link
Contributor

radum commented Jul 6, 2017

I'm not sure if a HTTP request is made also as part of the test, if it is and the local server doesn't serve anything via HTTP this might be the reason.

Initial URL: https://local.dev:4243/live.html
Chrome Version: 61.0.3149.0
Error Message: Unable to load the page: net::ERR_EMPTY_RESPONSE
Stack Trace:

Error: Unable to load the page: net::ERR_EMPTY_RESPONSE
    at Function.assertPageLoaded (https://chrome-devtools-frontend.appspot.com/serve_file/@4485eb651f6f09c3183285927fe82d17fcd7a13e/audits2_worker/audits2_worker_module.js:640:332)
    at pass.then._ (https://chrome-devtools-frontend.appspot.com/serve_file/@4485eb651f6f09c3183285927fe82d17fcd7a13e/audits2_worker/audits2_worker_module.js:644:224)
    at <anonymous>
@jamesseanwright
Copy link

jamesseanwright commented Jul 6, 2017

I'm witnessing the same via the Lighthouse Chrome extension. It begins to audit a local instance of my app which is served with a self-signed certificate, but then it ultimately requests it again over HTTP.

Lighthouse has an audit that will fail if an app has no HTTP-to-HTTPS redirect, so it seems that this is a bug.

Initial URL: https://localhost:3001
Chrome Version: 59.0.3071.115 (64-bit)

I can also confirm the same happens when running the extension in Chrome Canary 61.0.3150.0, as well as version 2.2.1 of the CLI.

@jamesseanwright
Copy link

I also see this with 1.6.5, so for now I've implemented a local redirect.

@patrickhulce
Copy link
Collaborator

thanks for the detailed report @jamesseanwright! this does indeed seem like an instance of #1978

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants