-
Notifications
You must be signed in to change notification settings - Fork 3.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"Still waiting to connect to Firefox" issue in Cypress 10.0.2 on Windows #22086
Comments
Thanks for the bug report, and upgrading to Cypress 10 so quickly. I reproduced this - Firefox is timing out for me, too. We are investigating and will publish a patch when we find the cause and solution. |
It's timing out on Cypress 8 and 9 as well. |
It seems okay for me on Cypress 9.7.0 on windows @stacks13. It might be your setup? I think we do have a 10.x specific Firefox regression, though. |
@lmiller1990 I am facing the same issue with firefox 101 on cypress 9.5.1. The browser is getting launched but still showing the error: Waiting to connect to firefox. Attaching the screenshots. Can you help here. |
Thanks for sharing - I reproduced and can clarify it's windows + Firefox only. I am unsure why this is occurring, and if it's two different, unrelated regressions or the same. I spent some time last week but no luck, so, I will continue to investigate this further tomorrow. |
Check if you get any error on 127.0.0.1 If you use any kind of local development environment software like xampp or mamp, or docker, etc, be sure they are properly closed. If not, start your local server and stop it after everything works properly. Besides you can run the command npx kill-port 51827 which kills the port I came across that was being used by cypress to run the app on Firefox as 127.0.0.1:51827, then try again to open cypress. |
I was able to reproduce the same issue in Cypress 9.7.0/Windows10/Firefox 101. |
Hi, Just adding some additional info as I'm having the same issue on Cypress v10.0.3 and Firefox v101. When starting e2e tests on Firefox, the browser opens but does not start cypress and the console outputs: "Still waiting to connect to Firefox, retrying in 1 second..." etc I have run Cypress with debugging enabled and it seems there is an issue finding the browser target: 2022-06-07T14:48:40.987Z cypress:server:browsers:browser-cri-client Attaching to target url about:blank Manually going to the baseURL in the opened browser window (in my case http://192.168.1.107:8081/__/#/specs) does open the cypress specs in Firefox and testing seems to work from this point, however the cypress command line log still fails to connect. WIndows 11 Pro 10.0.22621 Thanks very much! |
I get this issue too, as described at #22117. |
Thanks all - in this area there is another PR #22168. I don't think it's aiming to address this problem, but it might help. At the very least, referencing here so when someone picks this up, they have something to go off. |
Given @stacks13's
... the obvious implication seems to be that the problem Cypress/Windows/Firefox interaction arises not from anything introduced in Cypress 10; but from something introduced in Firefox from v101 (or introduced in Firefox v101 on Windows) ... that Cypress was never coded to accommodate. |
Having the same issue on Windows since Firefox updated to 101. Using cypress 9.6.0. Was working fine previously on Firefox 100. |
These changes separate out the cypress run from the django tests. * cypress-io/cypress#22086 * https://github.com/cypress-io/github-action
These changes separate out the cypress run from the django tests. * cypress-io/cypress#22086 * https://github.com/cypress-io/github-action
These changes separate out the cypress run from the django tests. * cypress-io/cypress#22086 * https://github.com/cypress-io/github-action
These changes separate out the cypress run from the django tests. * cypress-io/cypress#22086 * https://github.com/cypress-io/github-action
These changes separate out the cypress run from the django tests. * cypress-io/cypress#22086 * https://github.com/cypress-io/github-action
These changes separate out the cypress run from the django tests. * cypress-io/cypress#22086 * https://github.com/cypress-io/github-action
These changes separate out the cypress run from the django tests. * cypress-io/cypress#22086 * https://github.com/cypress-io/github-action
These changes separate out the cypress run from the django tests. * cypress-io/cypress#22086 * https://github.com/cypress-io/github-action
These changes separate out the cypress run from the django tests. * cypress-io/cypress#22086 * https://github.com/cypress-io/github-action
These changes separate out the cypress run from the django tests. * cypress-io/cypress#22086 * https://github.com/cypress-io/github-action
These changes separate out the cypress run from the django tests. * cypress-io/cypress#22086 * https://github.com/cypress-io/github-action
Looks like this is an issue with Firefox 105 in our setup as well. Using Firefox 102.3.0esr instead, the cypress tests run fine. ccnmtl/mediathread#4658 |
Yes this is an issue and is occurring for me using Cypress 10.9.0 FFv105 on a mac. I was also getting this issue on 10.8.0 before the update to 10.9.0. This is an issue with both the runner and headless. |
@Dan-appreciategroup you're probably better off making a new issue for your problem as this issue is specifically a Firefox issue - and closed, might I add! You're very unlikely to get any support in this issue. |
@spiltcoffee thanks |
@Dan-appreciategroup @spiltcoffee I did make a new issue for this yesterday and got an email that a fix is out in the new release today 10.10.0 |
@brentsharon the main issue you'll be looking for is #23897, and the fix is in #24155, though I haven't checked if the changes in that PR have made it into a release yet. |
@spiltcoffee thanks |
@brentsharon I have opened a new issue and it has been assigned to someone from Cypress team #24199 |
@Dan5123 Awesome thanks! |
Any update / fix here? Still waiting to connect to Firefox, retrying in 1 second |
I had the same issue. Try this: |
Hey, was anyone able to solve this issue? |
@HappyMan0001 Please open a new issue with reproducible example + steps. I'm able to open and connect to firefox 131 in Cypress. |
Current behavior
The Firefox doesn't load Cypress in both open and headless mode
Desired behavior
Cypress must be loaded within the Firefox browser
Test code to reproduce
In the open mode:
Headless:
cypress run --browser firefox
Cypress Version
10.0.2
Other
Windows 10
Firefox 101
The text was updated successfully, but these errors were encountered: