-
Notifications
You must be signed in to change notification settings - Fork 3
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
Error: read ECONNRESET #1
Comments
Hello, Can you post your code in here? I've not checked the lighthouse API in a while, maybe there has been a breaking change. I think however Lighthouse API coming from google services could replace this module in the future. Rob |
Hey Rob, I'm just running the demo.js without changes and I get that error. I then added the error handler as pasted previously but it seems it never fires. Seems to be related to the Chrome tab being closed. There's some info about the error in WebSocket library here implying a change in behaviour after version 3.3.3 websockets/ws#1256 Just added the above for reference, but like you say sounds like the API should be tool of choice for testing at scale going forwards. Thanks, Andy |
Hey andy, I just ran it:
That starts lighthouse cron but I am getting a different error:
Just to confirm, you don't even connect to the site? |
Hey Rob, Running demo.js directly I can see Chrome open up and navigate to the Google search homepage, it does several reloads and then crashes out with the following exception just as it goes to close the tab. It never starts the YouTube audit...
|
ok this is a little odd... I will look into this, thank you |
Hey Andy, |
Hey sorry, I've been super busy... will look at this right now |
ok this is weird... I'm not sure whats going on, it looks like a change in lighthouse and/or chrome... looking into it |
@thearegee I have facing these type of error while getting the lighthouse audit report of my site. Can you please provide the suggestion to resolve this issue? |
This is an issue with Chromium, by the way. Downgrading Chromium to v70 ( |
Hey sorry, I've not had a chance look at this in a long time... if someone wants create a PR I will look. Just been flat out on something else. |
Hi, really excited to start using this tool - thanks for making this available :)
I keep getting the following exception and can't seem to catch it, any thoughts?
events.js:183 throw er; // Unhandled 'error' event ^ Error: read ECONNRESET at _errnoException (util.js:1022:11) at TCP.onread (net.js:628:25)
I tried adding the following, but no joy:
lighthouseCron.on('error', error => { console.log('errored'); });
Apologies, I'm a noob to this!
Thanks again
The text was updated successfully, but these errors were encountered: