Skip to content

Bug Fixes...... [ECONNREFUSED] thrown by cypress in workflow

Latest
Compare
Choose a tag to compare
@shivamguys shivamguys released this 21 Apr 06:56
· 13 commits to main since this release

Many of you might have been encountering this error when running workflow this is a very weird issue from cypress only I have tried to overcome this error you can try again and let me know if anything weird happens.....

Kindly sync to the latest code from the repo https://github.com/shivamguys/irctc-cypress-automation

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: connect ECONNREFUSED 103.252.142.21:443

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 <unknown> (http://localhost:37759/__cypress/runner/cypress_runner.js:131065:74)
      at visitFailedByErr (http://localhost:37759/__cypress/runner/cypress_runner.js:130463:12)
      at <unknown> (http://localhost:37759/__cypress/runner/cypress_runner.js:131064:11)
      at tryCatcher (http://localhost:37759/__cypress/runner/cypress_runner.js:1807:23)
      at Promise._settlePromiseFromHandler (http://localhost:37759/__cypress/runner/cypress_runner.js:1519:31)
      at Promise._settlePromise (http://localhost:37759/__cypress/runner/cypress_runner.js:1576:18)
      at Promise._settlePromise0 (http://localhost:37759/__cypress/runner/cypress_runner.js:1621:10)
      at Promise._settlePromises (http://localhost:37759/__cypress/runner/cypress_runner.js:1697:18)
      at _drainQueueStep (http://localhost:37759/__cypress/runner/cypress_runner.js:2407:12)
      at _drainQueue (http://localhost:37759/__cypress/runner/cypress_runner.js:2400:9)
      at Async._drainQueues (http://localhost:37759/__cypress/runner/cypress_runner.js:2416:5)
      at Async.drainQueues (http://localhost:37759/__cypress/runner/cypress_runner.js:22[86](https://github.com/n0steamash/irctc-cypress-automation/actions/runs/8770127211/job/24066365255#step:6:87):14)
  From Your Spec Code:
      at Context.eval (webpack://irctc-cypress-automation/./cypress/e2e/irctc.cy.js:24:7)

Fork And Use It (1)