ESOCKETTIMEDOUT error
See original GitHub issueThe issue is occurring on my colleague’s machine who is offshore (India time). I am submitting this issue on his behalf. Due to the time discrepancy, responses may be slow. However this is a blocking issue for our team since we are trying to convert to using Cypress and TDD as a team thus we need the environment to be working on all machines before beginning our new work. I’ve googled this issue and tried diagnosing/solving it but so far no luck.
Additional Info (images, stack traces, etc)
Console was cleared
cypress_runner.js:136628 Command: visit
cypress_runner.js:136628 Error: CypressError: cy.visit() failed trying to load:
http://localhost:9000/
We attempted to make an http request to this URL but the request failed without a response.
We received this error at the network level:
> Error: ESOCKETTIMEDOUT
Common situations why this would fail:
- you don't have internet access
- you forgot to run / boot your web server
- your web server isn't accessible
- you have weird network configuration settings on your computer
The stack trace for this error is:
Error: ESOCKETTIMEDOUT
at ClientRequest.<anonymous> (C:\Data\Testing\cypress\Cypress\resources\app\packages\server\node_modules\request\request.js:778:19)
at ClientRequest.g (events.js:286:16)
at emitNone (events.js:86:13)
at ClientRequest.emit (events.js:185:7)
at Socket.emitTimeout (_http_client.js:614:10)
at Socket.g (events.js:286:16)
at emitNone (events.js:86:13)
at Socket.emit (events.js:185:7)
at Socket._onTimeout (net.js:334:8)
at tryOnTimeout (timers.js:232:11)
at Timer.listOnTimeout (timers.js:202:5)
Because this error occurred during a 'before each' hook we are skipping the remaining tests in the current suite: 'Enter BAC Details Wizard Forms'
cypress_runner.js:136628 Snapshot: The snapshot is missing. Displaying current state of the DOM.
- Operating System: Windows 7
- Cypress Version: 1.0.3
- Browser Version: 62
Issue Analytics
- State:
- Created 6 years ago
- Comments:26 (6 by maintainers)
Top Results From Across the Web
Node.js request module getting ETIMEDOUT and ...
I'm noticing alot of ETIMEDOUT and ESOCKETTIMEDOUT errors although the links are reachable and respond fairly quickly using chrome.
Read more >What does ESOCKETTIMEDOUT mean? - Troubleshooting
It'd be good to a) expand the ESOCKETTIMEDOUT error message to indicate webhook destination did not complete in 5 seconds
Read more >Fixing Yarn ESOCKETTIMEDOUT Error During Discourse ...
Here's what is going wrong. Yarn has a default timeout that is fine if you are using the minimum recommended for Discourse, but...
Read more >ESOCKETTIMEDOUT error
ESOCKETTIMEDOUT error. My company is currently using an Automate.io bot with our Calendly integration so the appropriate Salesforce records can ...
Read more >Esockettimedout error - Questions
Am getting ESOCKETTIMEDOUT Error when I try to connect to Rinkeby or ropsten from my local truffle project. How do I resolve this?...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
Top Related Hashnode Post
No results found
For me I had a webserver which failed if it could not find the “Accept-Encoding” header.
Fixed with :
We’ve fixed the problem by adding a request header (
Connection: "Keep-Alive"
) to the visit command.