Skip to content
This repository has been archived by the owner on Jun 8, 2022. It is now read-only.

TESTING: add test to see if esocketimedout occurs in circle orb. #11

Draft
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

jennifer-shehane
Copy link
Member

@jennifer-shehane jennifer-shehane commented Jul 27, 2020

testing cypress-io/cypress#7062

Fails in CircleCI Orb - not during local cypress run and cypress open.

Screen Shot 2020-07-27 at 6 23 22 PM

  1) Test Tesla Link:
     CypressError: `cy.visit()` failed trying to load:

https://www.tesla.com/

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
      at http://localhost:40969/__cypress/runner/cypress_runner.js:156598:23
      at visitFailedByErr (http://localhost:40969/__cypress/runner/cypress_runner.js:155959:12)
      at http://localhost:40969/__cypress/runner/cypress_runner.js:156597:11
      at tryCatcher (http://localhost:40969/__cypress/runner/cypress_runner.js:9956:23)
      at Promise._settlePromiseFromHandler (http://localhost:40969/__cypress/runner/cypress_runner.js:7891:31)
      at Promise._settlePromise (http://localhost:40969/__cypress/runner/cypress_runner.js:7948:18)
      at Promise._settlePromise0 (http://localhost:40969/__cypress/runner/cypress_runner.js:7993:10)
      at Promise._settlePromises (http://localhost:40969/__cypress/runner/cypress_runner.js:8069:18)
      at _drainQueueStep (http://localhost:40969/__cypress/runner/cypress_runner.js:4663:12)
      at _drainQueue (http://localhost:40969/__cypress/runner/cypress_runner.js:4656:9)
      at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (http://localhost:40969/__cypress/runner/cypress_runner.js:4672:5)
      at Async.drainQueues (http://localhost:40969/__cypress/runner/cypress_runner.js:4542:14)
  From Your Spec Code:
      at Context.eval (http://localhost:40969/__cypress/tests?p=cypress/integration/spec.js:5:6)
  
  From Node.js Internals:
    Error: ESOCKETTIMEDOUT
        at ClientRequest.<anonymous> (/root/.cache/Cypress/4.11.0/Cypress/resources/app/packages/server/node_modules/@cypress/request/request.js:816:19)
        at Object.onceWrapper (events.js:299:28)
        at ClientRequest.emit (events.js:210:5)
        at TLSSocket.emitRequestTimeout (_http_client.js:690:9)
        at Object.onceWrapper (events.js:299:28)
        at TLSSocket.emit (events.js:210:5)
        at TLSSocket.Socket._onTimeout (net.js:468:8)
        at listOnTimeout (internal/timers.js:531:17)
        at processTimers (internal/timers.js:475:7)

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

Successfully merging this pull request may close these issues.

1 participant