question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Failed to connect to Chrome, Cypress 7.0.0, Chrome 94.0.4606.61

See original GitHub issue

Current behavior

After running cypress open the UI is displayed with a list of all the existing tests. If I try to execute one, the connection to chrome cannot be established.

Error

Failed to connect to Chrome, retrying in 1 second (attempt 55/62)
Screenshot 2021-09-28 at 11 00 41

Screenshot 2021-09-28 at 11 01 36

Desired behavior

I would expect tests to work just fine.

Test code to reproduce

After UI displays all the tests, execute any test by clicking on it

Cypress Version

7.0.0

Other

Chrome version: 94.0.4606.61 Node version: v14.15.4

I’m currently migrating from 6.x.x to 7.0.0 so later I can upgrade to 8.0.0

Issue Analytics

  • State:open
  • Created 2 years ago
  • Reactions:1
  • Comments:7 (1 by maintainers)

github_iconTop GitHub Comments

2reactions
jennifer-shehanecommented, Sep 28, 2021

Make sure to kill all instances of Chrome that are open and try again.

0reactions
nonnonnocommented, Aug 24, 2022

I restarted Google Chrome and this problem has solved! (FYI: Chrome v.104.0.5112.101, Cypress v.7.7.0 on M1 Mac)

Read more comments on GitHub >

github_iconTop Results From Across the Web

Troubleshooting | Cypress Documentation
Troubleshooting · Support channels · Isolate the Problem · Download specific Chrome version · Clear Cypress cache · Launching browsers · Allow the...
Read more >
A set of browser images for Selenoid and Moon - Aerokube
Image Cypress version Chromium version browsers/cypress‑chromium:cypress‑6.8.0 6.8.0 91.0.4472.101 browsers/cypress‑chromium:cypress‑6.9.1 6.9.1 91.0.4472.101 browsers/cypress‑chromium:cypress‑7.0.0 7.0.0 91.0.4472.101
Read more >
Use Previous Version of Chrome to Prevent Instant Cypress ...
Solved: Use Previous Version of Chrome to Prevent Instant Cypress Crash on Our Build Servers When Using Chrome 95 ...
Read more >
Cypress : Still waiting to connect to Chrome, retrying in 1 second
Solved by closing another instance of chrome browser that I did not notice was running in the background.
Read more >
Cypress Not Opening Chrome - Lashkar
Unable to use 'cypress run' or 'cypress open' with custom . ... Failed to connect to Chrome, Cypress 7.0.0, Chrome 94.0.4606.61. How to...
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