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.

"Still waiting to connect to Firefox" Firefox103 | Ubuntu 20.04 | Cypress 9.50.0

See original GitHub issue

First of all, i know that this issue should be fixed with FF103. but I’m still facing the same error and got really no idea what to do after many hours of searching through issues since 2019 x.x

Current behavior

Still waiting to connect to Firefox, retrying in 1 second (attempt 55/62)
Still waiting to connect to Firefox, retrying in 1 second (attempt 56/62)
Still waiting to connect to Firefox, retrying in 1 second (attempt 57/62)
Still waiting to connect to Firefox, retrying in 1 second (attempt 58/62)
Still waiting to connect to Firefox, retrying in 1 second (attempt 59/62)
Still waiting to connect to Firefox, retrying in 1 second (attempt 60/62)
Still waiting to connect to Firefox, retrying in 1 second (attempt 61/62)
Still waiting to connect to Firefox, retrying in 1 second (attempt 62/62)
Cypress failed to make a connection to Firefox.

This usually indicates there was a problem opening the Firefox browser.

Error: could not find CRI target
    at lazyAssLogic (/home/vsts/.cache/Cypress/9.5.0/Cypress/resources/app/node_modules/lazy-ass/index.js:110:14)
    at lazyAss (/home/vsts/.cache/Cypress/9.5.0/Cypress/resources/app/node_modules/lazy-ass/index.js:115:28)
    at findStartPage (/home/vsts/.cache/Cypress/9.5.0/Cypress/resources/app/packages/server/lib/browsers/protocol.js:56:28)
    at runMicrotasks (<anonymous>:null:null)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)

Desired behavior

Cypress must be loaded within the Firefox browser

reproduce

headless mode in ci. -FF103 -Ubuntu 20.04 (via vmImage ubuntu latest: https://docs.microsoft.com/en-us/azure/devops/pipelines/agents/hosted?view=azure-devops&tabs=yaml) -Cypress 9.40.1

Closing this as complete now that Firefox 103.0 is released and the original issue is resolved.

https://github.com/actions/runner-images/blob/main/images/linux/Ubuntu2004-Readme.md

Can anyone give me a tip on what else I can do here?

According to the readme of the Unbuntu image, the Firefox version has already been updated to V103. Unfortunately, I’m still facing the bug mentioned above

image

_Originally posted by @ChristianMLux in https://github.com/cypress-io/cypress/issues/22086#issuecomment-1209285607_

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:30 (8 by maintainers)

github_iconTop GitHub Comments

2reactions
AtofStrykercommented, Aug 11, 2022

@ChristianMLux thank you for sharing that. I wanted to rule out Node 18 as we have seen some issues with that thus far. Hopefully I get some time today to attempt a reproduction with github worksflows. I should be able to use the same repository and will keep you both updated

2reactions
ChristianMLuxcommented, Aug 10, 2022

@DawidOskwarek testing takes 1:30min-2min more, but at least the pipeline is running again and yes, it’s added in the yaml before running cypress.

pool:
    vmImage: "ubuntu-latest"
.
.
.
  steps:
.
.
.
    - script: |
        sudo apt-get purge firefox
        wget https://sourceforge.net/projects/ubuntuzilla/files/mozilla/apt/pool/main/f/firefox-mozilla-build/firefox-mozilla-build_102.0.1-0ubuntu1_amd64.deb
        sudo dpkg -i firefox-mozilla-build_102.0.1-0ubuntu1_amd64.deb
        sudo apt-mark hold firefox
      displayName: 'Install FF102 (workaround as FF103 is bugged)'
.
.
.   - script: |
        npm run cypress:ci -- browser=firefox frontendPrefix=../ui-release specs=cypress/integration/...../**
.
.
.
Read more comments on GitHub >

github_iconTop Results From Across the Web

Unable to run Cypress 9.7.0 tests in Firefox - Stack Overflow
Cypress failed to make a connection to Firefox. This usually indicates there was a problem opening the Firefox browser. Error: could not find ......
Read more >
Run Cypress Tests Using WebKit Browser - Gleb Bahmutov
This blog post shows how to run Cypress tests using WebKit browser (the browser engine behind Safari) on your local machine and on...
Read more >
How to run Cypress Tests on Firefox Browser | BrowserStack
A step-by-step tutorial to run Cypress tests on the Firefox browser with examples, code snippets, & CI integration for Cypress Firefox.
Read more >
Random list of resolved IP addresses causes Remote Agent to ...
FF physically opens, Cypress is connected and Cypress UI is presented ... Summary: "Still waiting to connect to Firefox" Firefox 105 ...
Read more >
cypress-io/cypress - Gitter
works fine with Firefox 74, Electron 80 and Chrome 80 (all on Ubuntu 18.04), ... I am trying to run my Cypress Chrome...
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