Failed to connect to Chrome, retrying in 1 second (attempt 18/62)

See original GitHub issue

Current behavior:

I tried to open Cypress to run test cases but in the terminal, it says Failed to connect to Chrome, retrying in 1 second (attempt 18/62) and I cannot see preview in the chrome.

Desired behavior:

I expect the Cypress runs successfully.

Test code to reproduce

  • Cypress.json
{
  "baseUrl": "http://localhost:8051",
  "video": false
}

Versions

Cypress: 4.11.0 Chrome: 84 OS X: Mojave Node version: v10.21.0

Additional information

I also tried this approach but it doesn’t work for me.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

6reactions
UtsavAnchantocommented, Oct 6, 2021

I modified the hosts file in /private/etc and specified: 127.0.0.1 localhost

This and nothing else seemed to work for me

3reactions
wnbuptcommented, Aug 12, 2020

Current behavior:

I tried to open Cypress to run test cases but in the terminal, it says Failed to connect to Chrome, retrying in 1 second (attempt 18/62) and I cannot see preview in the chrome.

Desired behavior:

I expect the Cypress runs successfully.

Test code to reproduce

  • Cypress.json
{
  "baseUrl": "http://localhost:8051",
  "video": false
}

Versions

Cypress: 4.11.0 Chrome: 84 OS X: Mojave Node version: v10.21.0

Me too.

Versions

Cypress: 4.12.1 Chrome: 84.0.4147.105(latest) OS X: 10.14.6 Mojave Node version: v8.14.0

I also tried issue #6540 but it doesn’t work for me.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Cypress : Still waiting to connect to Chrome, retrying in 1 second
Im trying to run cypress but i have this error message "Still waiting to connect to Chrome, retrying in 1 second" Cypress version...
Read more >
cypress-io/cypress - Gitter
Failed to connect to Chrome, retrying in 1 second (attempt 18/32)" . I am running cypress on windows 10. Any clue as to...
Read more >
Bug #46624: mgr/dashboard: E2E: Failed to connect to Chrome
Some times e2e fails because it can't connect to chrome. Failed to connect to Chrome, retrying in 1 second (attempt 60/62) Failed to...
Read more >
Cypress Failed to Connect to Chrome: 5 Ways to Easily Fix it
1. Update the Chrome browser. On your computer and launch Chrome. · 2. Use Chrome-flavored browsers · 3. Debug the Chrome browser ·...
Read more >
Troubleshooting | Cypress Documentation
Troubleshooting · Support channels · Isolate the Problem · Download specific Chrome version · Clear Cypress cache · Launching browsers · Allow the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found