Skip to content
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" Firefox103 | Ubuntu 20.04 | Cypress 9.50.0 #23215

Closed
ChristianMLux opened this issue Aug 9, 2022 · 30 comments
Assignees
Labels
browser: firefox stage: awaiting response Potential fix was proposed; awaiting response

Comments

@ChristianMLux
Copy link

ChristianMLux commented Aug 9, 2022

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 #22086 (comment)

@tbiethman
Copy link
Contributor

Hey @ChristianMLux, thanks for the ticket and apologies for the frustration. #22086 was closed because the issue, specifically with Firefox releases 101 and 102 for Windows, was corrected with Firefox 103. We didn't find Firefox 101 or 102 to have the same connection issue on Ubuntu.

You could be seeing a new issue manifesting itself in the same way, as there are a number of reasons why the connection to Firefox could fail. The best place to start here would be to run cypress with the DEBUG env set so that we can review the logs: DEBUG=cypress* npx cypress run (or equivalent)

@ChristianMLux
Copy link
Author

2022-08-09T15:31:36.6240601Z 2022-08-09T15:31:36.623Z cypress:server:browsers:protocol attempting to find CRI target... { retryIndex: 62 }
2022-08-09T15:31:36.6241719Z 2022-08-09T15:31:36.623Z cypress:server:browsers:protocol CRI.List { host: '127.0.0.1', port: 45759, getDelayMsForRetry: [Function: getDelayMsForRetry] }
2022-08-09T15:31:36.6262637Z 2022-08-09T15:31:36.625Z cypress:server:browsers:protocol CRI List { numTargets: 2, targets: [ { description: '', devtoolsFrontendUrl: null, faviconUrl: '', id: 'e5ae575e-043a-478b-8c92-c5add464369d', type: 'page', url: 'http://localhost:3000/__/#/tests/integration/******/*****', webSocketDebuggerUrl: 'ws://localhost:45759/devtools/page/e5ae575e-043a-478b-8c92-c5add464369d' }, { description: 'Main process target', devtoolsFrontendUrl: '', faviconUrl: '', id: '7273d5b2-2db5-49af-b4f6-2c97c733425b', title: 'Main process target', type: 'browser', url: '', webSocketDebuggerUrl: 'ws://localhost:45759/devtools/browser/7273d5b2-2db5-49af-b4f6-2c97c733425b' } ] }
2022-08-09T15:31:36.6265607Z 2022-08-09T15:31:36.625Z cypress:server:browsers:protocol error finding CRI target, maybe retrying { delay: undefined, err: 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)  }
2022-08-09T15:31:36.6281120Z 2022-08-09T15:31:36.627Z cypress:server:browsers:protocol failed to connect to CDP { connectOpts: { host: '127.0.0.1', port: 45759, getDelayMsForRetry: [Function: getDelayMsForRetry] }, err: 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)  }
2022-08-09T15:31:36.6301903Z 2022-08-09T15:31:36.629Z cypress:server:cypress exiting with err Error: could not find CRI target
2022-08-09T15:31:36.6302624Z     at lazyAssLogic (/home/vsts/.cache/Cypress/9.5.0/Cypress/resources/app/node_modules/lazy-ass/index.js:110:14)
2022-08-09T15:31:36.6436323Z     at lazyAss (/home/vsts/.cache/Cypress/9.5.0/Cypress/resources/app/node_modules/lazy-ass/index.js:115:28)
2022-08-09T15:31:36.6436893Z     at findStartPage (/home/vsts/.cache/Cypress/9.5.0/Cypress/resources/app/packages/server/lib/browsers/protocol.js:56:28)
2022-08-09T15:31:36.6437310Z     at runMicrotasks (<anonymous>:null:null)
2022-08-09T15:31:36.6437678Z     at processTicksAndRejections (node:internal/process/task_queues:96:5)
2022-08-09T15:31:36.6437974Z  {
2022-08-09T15:31:36.6438169Z   isCypressErr: true,
2022-08-09T15:31:36.6438551Z   type: 'FIREFOX_COULD_NOT_CONNECT',
2022-08-09T15:31:36.6438969Z   details: 'Error: could not find CRI target\n' +
2022-08-09T15:31:36.6439559Z     '    at lazyAssLogic (/home/vsts/.cache/Cypress/9.5.0/Cypress/resources/app/node_modules/lazy-ass/index.js:110:14)\n' +
2022-08-09T15:31:36.6440234Z     '    at lazyAss (/home/vsts/.cache/Cypress/9.5.0/Cypress/resources/app/node_modules/lazy-ass/index.js:115:28)\n' +
2022-08-09T15:31:36.6440944Z     '    at findStartPage (/home/vsts/.cache/Cypress/9.5.0/Cypress/resources/app/packages/server/lib/browsers/protocol.js:56:28)\n' +
2022-08-09T15:31:36.6456193Z     '    at runMicrotasks (<anonymous>:null:null)\n' +
2022-08-09T15:31:36.6456823Z     '    at processTicksAndRejections (node:internal/process/task_queues:96:5)\n',
2022-08-09T15:31:36.6457367Z   messageMarkdown: 'Cypress failed to make a connection to Firefox.\n' +
2022-08-09T15:31:36.6457768Z     '\n' +
2022-08-09T15:31:36.6458191Z     'This usually indicates there was a problem opening the Firefox browser.',
2022-08-09T15:31:36.6458528Z   originalError: Error: could not find CRI target
2022-08-09T15:31:36.6459105Z       at lazyAssLogic (/home/vsts/.cache/Cypress/9.5.0/Cypress/resources/app/node_modules/lazy-ass/index.js:110:14)
2022-08-09T15:31:36.6459748Z       at lazyAss (/home/vsts/.cache/Cypress/9.5.0/Cypress/resources/app/node_modules/lazy-ass/index.js:115:28)
2022-08-09T15:31:36.6460243Z       at findStartPage (/home/vsts/.cache/Cypress/9.5.0/Cypress/resources/app/packages/server/lib/browsers/protocol.js:56:28)
2022-08-09T15:31:36.6460644Z       at runMicrotasks (<anonymous>:null:null)
2022-08-09T15:31:36.6461011Z       at processTicksAndRejections (node:internal/process/task_queues:96:5)
2022-08-09T15:31:36.6461295Z    {
2022-08-09T15:31:36.6461769Z     isCypressErr: true,
2022-08-09T15:31:36.6462148Z     type: 'CDP_COULD_NOT_CONNECT',
2022-08-09T15:31:36.6462561Z     details: 'Error: could not find CRI target\n' +
2022-08-09T15:31:36.6463149Z       '    at lazyAssLogic (/home/vsts/.cache/Cypress/9.5.0/Cypress/resources/app/node_modules/lazy-ass/index.js:110:14)\n' +
2022-08-09T15:31:36.6463819Z       '    at lazyAss (/home/vsts/.cache/Cypress/9.5.0/Cypress/resources/app/node_modules/lazy-ass/index.js:115:28)\n' +
2022-08-09T15:31:36.6464526Z       '    at findStartPage (/home/vsts/.cache/Cypress/9.5.0/Cypress/resources/app/packages/server/lib/browsers/protocol.js:56:28)\n' +
2022-08-09T15:31:36.6465091Z       '    at runMicrotasks (<anonymous>:null:null)\n' +
2022-08-09T15:31:36.6465640Z       '    at processTicksAndRejections (node:internal/process/task_queues:96:5)\n',
2022-08-09T15:31:36.6466282Z     messageMarkdown: 'Cypress failed to make a connection to the Chrome DevTools Protocol after retrying for 50 seconds.\n' +
2022-08-09T15:31:36.6466731Z       '\n' +
2022-08-09T15:31:36.6467156Z       'This usually indicates there was a problem opening the Firefox browser.\n' +
2022-08-09T15:31:36.6467782Z       '\n' +
2022-08-09T15:31:36.6536943Z       'The CDP port requested was `45759`.',
2022-08-09T15:31:36.6537400Z     originalError: Error: could not find CRI target
2022-08-09T15:31:36.6538375Z         at lazyAssLogic (/home/vsts/.cache/Cypress/9.5.0/Cypress/resources/app/node_modules/lazy-ass/index.js:110:14)
2022-08-09T15:31:36.6541862Z         at lazyAss (/home/vsts/.cache/Cypress/9.5.0/Cypress/resources/app/node_modules/lazy-ass/index.js:115:28)
2022-08-09T15:31:36.6542388Z         at findStartPage (/home/vsts/.cache/Cypress/9.5.0/Cypress/resources/app/packages/server/lib/browsers/protocol.js:56:28)
2022-08-09T15:31:36.6542796Z         at runMicrotasks (<anonymous>:null:null)
2022-08-09T15:31:36.6544746Z         at processTicksAndRejections (node:internal/process/task_queues:96:5)
2022-08-09T15:31:36.6545033Z     ,
2022-08-09T15:31:36.6545673Z     stackWithoutMessage: '    at lazyAssLogic (/home/vsts/.cache/Cypress/9.5.0/Cypress/resources/app/node_modules/lazy-ass/index.js:110:14)\n' +
2022-08-09T15:31:36.6546404Z       '    at lazyAss (/home/vsts/.cache/Cypress/9.5.0/Cypress/resources/app/node_modules/lazy-ass/index.js:115:28)\n' +
2022-08-09T15:31:36.6547137Z       '    at findStartPage (/home/vsts/.cache/Cypress/9.5.0/Cypress/resources/app/packages/server/lib/browsers/protocol.js:56:28)\n' +
2022-08-09T15:31:36.6547709Z       '    at runMicrotasks (<anonymous>:null:null)\n' +
2022-08-09T15:31:36.6548619Z       '    at processTicksAndRejections (node:internal/process/task_queues:96:5)\n'
2022-08-09T15:31:36.6548927Z   },
2022-08-09T15:31:36.6549504Z   stackWithoutMessage: '    at lazyAssLogic (/home/vsts/.cache/Cypress/9.5.0/Cypress/resources/app/node_modules/lazy-ass/index.js:110:14)\n' +
2022-08-09T15:31:36.6550205Z     '    at lazyAss (/home/vsts/.cache/Cypress/9.5.0/Cypress/resources/app/node_modules/lazy-ass/index.js:115:28)\n' +
2022-08-09T15:31:36.6550908Z     '    at findStartPage (/home/vsts/.cache/Cypress/9.5.0/Cypress/resources/app/packages/server/lib/browsers/protocol.js:56:28)\n' +
2022-08-09T15:31:36.6551476Z     '    at runMicrotasks (<anonymous>:null:null)\n' +
2022-08-09T15:31:36.6552021Z     '    at processTicksAndRejections (node:internal/process/task_queues:96:5)\n'
2022-08-09T15:31:36.6552320Z }
2022-08-09T15:31:36.6552536Z Cypress failed to make a connection to Firefox.
2022-08-09T15:31:36.6552679Z 
2022-08-09T15:31:36.6552929Z This usually indicates there was a problem opening the Firefox browser.
2022-08-09T15:31:36.6553095Z 
2022-08-09T15:31:36.6553299Z Error: could not find CRI target
2022-08-09T15:31:36.6553839Z     at lazyAssLogic (/home/vsts/.cache/Cypress/9.5.0/Cypress/resources/app/node_modules/lazy-ass/index.js:110:14)
2022-08-09T15:31:36.6554497Z     at lazyAss (/home/vsts/.cache/Cypress/9.5.0/Cypress/resources/app/node_modules/lazy-ass/index.js:115:28)
2022-08-09T15:31:36.6554978Z     at findStartPage (/home/vsts/.cache/Cypress/9.5.0/Cypress/resources/app/packages/server/lib/browsers/protocol.js:56:28)
2022-08-09T15:31:36.6555388Z     at runMicrotasks (<anonymous>:null:null)
2022-08-09T15:31:36.6555744Z     at processTicksAndRejections (node:internal/process/task_queues:96:5)
2022-08-09T15:31:36.6555937Z 
2022-08-09T15:31:36.6556374Z 2022-08-09T15:31:36.629Z cypress:server:cypress calling exit 1
2022-08-09T15:31:36.6556916Z 2022-08-09T15:31:36.629Z cypress:server:cypress about to exit with code 1
2022-08-09T15:31:36.6557578Z 2022-08-09T15:31:36.629Z cypress:server:browsers browsers.kill called with no active instance

This is a really large junk of text. is this the log needed?

Could 'Cypress failed to make a connection to the Chrome DevTools Protocol after retrying for 50 seconds.\n' + be an indicator?

@AtofStryker AtofStryker self-assigned this Aug 9, 2022
@cypress-bot cypress-bot bot added the stage: investigating Someone from Cypress is looking into this label Aug 9, 2022
@ChristianMLux
Copy link
Author

ChristianMLux commented Aug 10, 2022

2022-08-09T15:30:40.8601393Z 2022-08-09T15:30:40.859Z cypress:server:browsers:firefox launch in firefox {
2022-08-09T15:30:40.8602048Z   url: 'http://localhost:3000/__/#/tests/integration/*******/*****.spec.ts',
2022-08-09T15:30:40.8602379Z   args: [
2022-08-09T15:30:40.8602690Z     '-marionette',
2022-08-09T15:30:40.8603026Z     '-new-instance',
2022-08-09T15:30:40.8603344Z     '-foreground',
2022-08-09T15:30:40.8603682Z     '-start-debugger-server',
2022-08-09T15:30:40.8604029Z     '-no-remote',
2022-08-09T15:30:40.8604386Z     '--remote-debugging-port=45759',
2022-08-09T15:30:40.8604737Z     '-headless',
2022-08-09T15:30:40.8605042Z     '-profile',
2022-08-09T15:30:40.8605494Z     '/home/vsts/.config/Cypress/cy/production/browsers/firefox-stable/run-3993'
2022-08-09T15:30:40.8605778Z   ]
2022-08-09T15:30:40.8605933Z }
2022-08-09T15:30:40.8606825Z 2022-08-09T15:30:40.859Z cypress:launcher launching browser { browser: { name: 'firefox', family: 'firefox', channel: 'stable', displayName: 'Firefox', version: '103.0', path: 'firefox', minSupportedVersion: 86, majorVersion: 103, isHeadless: true, isHeaded: false }, url: 'about:blank' }
2022-08-09T15:30:40.8608163Z 2022-08-09T15:30:40.859Z cypress:launcher spawning browser with args { args: [ 'about:blank', '-marionette', '-new-instance', '-foreground', '-start-debugger-server', '-no-remote', '--remote-debugging-port=45759', '-headless', '-profile', '/home/vsts/.config/Cypress/cy/production/browsers/firefox-stable/run-3993' ] }
2022-08-09T15:30:40.8728606Z 2022-08-09T15:30:40.871Z cypress:server:browsers:protocol Getting WS connection to CRI on port 45759
2022-08-09T15:30:40.8730638Z 2022-08-09T15:30:40.872Z cypress:network:connect received error on connect, retrying { iteration: 0, delay: 100, err: Error: connect ECONNREFUSED 127.0.0.1:44007 at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1142:16) { errno: -111, code: 'ECONNREFUSED', syscall: 'connect', address: '127.0.0.1', port: 44007 } }
2022-08-09T15:30:40.8740146Z 2022-08-09T15:30:40.873Z cypress:network:connect received error on connect, retrying { iteration: 0, delay: 100, err: Error: connect ECONNREFUSED 127.0.0.1:36161 at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1142:16) { errno: -111, code: 'ECONNREFUSED', syscall: 'connect', address: '127.0.0.1', port: 36161 } }
2022-08-09T15:30:40.8742035Z 2022-08-09T15:30:40.873Z cypress:network:connect received error on connect, retrying { iteration: 0, delay: 100, err: Error: connect ECONNREFUSED 127.0.0.1:45759 at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1142:16) { errno: -111, code: 'ECONNREFUSED', syscall: 'connect', address: '127.0.0.1', port: 45759 } }
2022-08-09T15:30:40.8913065Z 2022-08-09T15:30:40.890Z cypress:launcher firefox stderr: *** You are running in headless mode.
2022-08-09T15:30:40.9751263Z 2022-08-09T15:30:40.974Z cypress:network:connect received error on connect, retrying { iteration: 1, delay: 100, err: Error: connect ECONNREFUSED 127.0.0.1:44007 at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1142:16) { errno: -111, code: 'ECONNREFUSED', syscall: 'connect', address: '127.0.0.1', port: 44007 } }
2022-08-09T15:30:40.9753897Z 2022-08-09T15:30:40.974Z cypress:network:connect received error on connect, retrying { iteration: 1, delay: 100, err: Error: connect ECONNREFUSED 127.0.0.1:36161 at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1142:16) { errno: -111, code: 'ECONNREFUSED', syscall: 'connect', address: '127.0.0.1', port: 36161 } }
2022-08-09T15:30:40.9755535Z 2022-08-09T15:30:40.975Z cypress:network:connect received error on connect, retrying { iteration: 1, delay: 100, err: Error: connect ECONNREFUSED 127.0.0.1:45759 at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1142:16) { errno: -111, code: 'ECONNREFUSED', syscall: 'connect', address: '127.0.0.1', port: 45759 } }
2022-08-09T15:30:41.0757745Z 2022-08-09T15:30:41.075Z cypress:network:connect received error on connect, retrying { iteration: 2, delay: 100, err: Error: connect ECONNREFUSED 127.0.0.1:44007 at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1142:16) { errno: -111, code: 'ECONNREFUSED', syscall: 'connect', address: '127.0.0.1', port: 44007 } }
2022-08-09T15:30:41.0761477Z 2022-08-09T15:30:41.075Z cypress:network:connect received error on connect, retrying { iteration: 2, delay: 100, err: Error: connect ECONNREFUSED 127.0.0.1:36161 at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1142:16) { errno: -111, code: 'ECONNREFUSED', syscall: 'connect', address: '127.0.0.1', port: 36161 } }
2022-08-09T15:30:41.0767939Z 2022-08-09T15:30:41.076Z cypress:network:connect received error on connect, retrying { iteration: 2, delay: 100, err: Error: connect ECONNREFUSED 127.0.0.1:45759 at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1142:16) { errno: -111, code: 'ECONNREFUSED', syscall: 'connect', address: '127.0.0.1', port: 45759 } }
2022-08-09T15:30:41.1775914Z 2022-08-09T15:30:41.177Z cypress:network:connect received error on connect, retrying { iteration: 3, delay: 100, err: Error: connect ECONNREFUSED 127.0.0.1:44007 at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1142:16) { errno: -111, code: 'ECONNREFUSED', syscall: 'connect', address: '127.0.0.1', port: 44007 } }
2022-08-09T15:30:41.1779838Z 2022-08-09T15:30:41.177Z cypress:network:connect received error on connect, retrying { iteration: 3, delay: 100, err: Error: connect ECONNREFUSED 127.0.0.1:36161 at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1142:16) { errno: -111, code: 'ECONNREFUSED', syscall: 'connect', address: '127.0.0.1', port: 36161 } }
2022-08-09T15:30:41.1783480Z 2022-08-09T15:30:41.178Z cypress:network:connect received error on connect, retrying { iteration: 3, delay: 100, err: Error: connect ECONNREFUSED 127.0.0.1:45759 at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1142:16) { errno: -111, code: 'ECONNREFUSED', syscall: 'connect', address: '127.0.0.1', port: 45759 } }
2022-08-09T15:30:41.2787142Z 2022-08-09T15:30:41.278Z cypress:network:connect received error on connect, retrying { iteration: 4, delay: 100, err: Error: connect ECONNREFUSED 127.0.0.1:44007 at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1142:16) { errno: -111, code: 'ECONNREFUSED', syscall: 'connect', address: '127.0.0.1', port: 44007 } }
2022-08-09T15:30:41.2792401Z 2022-08-09T15:30:41.278Z cypress:network:connect received error on connect, retrying { iteration: 4, delay: 100, err: Error: connect ECONNREFUSED 127.0.0.1:36161 at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1142:16) { errno: -111, code: 'ECONNREFUSED', syscall: 'connect', address: '127.0.0.1', port: 36161 } }
2022-08-09T15:30:41.2794083Z 2022-08-09T15:30:41.278Z cypress:network:connect received error on connect, retrying { iteration: 4, delay: 100, err: Error: connect ECONNREFUSED 127.0.0.1:45759 at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1142:16) { errno: -111, code: 'ECONNREFUSED', syscall: 'connect', address: '127.0.0.1', port: 45759 } }
2022-08-09T15:30:41.3802487Z 2022-08-09T15:30:41.379Z cypress:network:connect received error on connect, retrying { iteration: 5, delay: 100, err: Error: connect ECONNREFUSED 127.0.0.1:44007 at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1142:16) { errno: -111, code: 'ECONNREFUSED', syscall: 'connect', address: '127.0.0.1', port: 44007 } }
2022-08-09T15:30:41.3805406Z 2022-08-09T15:30:41.379Z cypress:network:connect received error on connect, retrying { iteration: 5, delay: 100, err: Error: connect ECONNREFUSED 127.0.0.1:36161 at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1142:16) { errno: -111, code: 'ECONNREFUSED', syscall: 'connect', address: '127.0.0.1', port: 36161 } }
2022-08-09T15:30:41.3806998Z 2022-08-09T15:30:41.379Z cypress:network:connect received error on connect, retrying { iteration: 5, delay: 100, err: Error: connect ECONNREFUSED 127.0.0.1:45759 at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1142:16) { errno: -111, code: 'ECONNREFUSED', syscall: 'connect', address: '127.0.0.1', port: 45759 } }
2022-08-09T15:30:41.4822085Z 2022-08-09T15:30:41.480Z cypress:network:connect received error on connect, retrying { iteration: 6, delay: 100, err: Error: connect ECONNREFUSED 127.0.0.1:44007 at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1142:16) { errno: -111, code: 'ECONNREFUSED', syscall: 'connect', address: '127.0.0.1', port: 44007 } }
2022-08-09T15:30:41.4823726Z 2022-08-09T15:30:41.481Z cypress:network:connect received error on connect, retrying { iteration: 6, delay: 100, err: Error: connect ECONNREFUSED 127.0.0.1:36161 at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1142:16) { errno: -111, code: 'ECONNREFUSED', syscall: 'connect', address: '127.0.0.1', port: 36161 } }
2022-08-09T15:30:41.4825237Z 2022-08-09T15:30:41.481Z cypress:network:connect received error on connect, retrying { iteration: 6, delay: 100, err: Error: connect ECONNREFUSED 127.0.0.1:45759 at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1142:16) { errno: -111, code: 'ECONNREFUSED', syscall: 'connect', address: '127.0.0.1', port: 45759 } }
2022-08-09T15:30:41.5840108Z 2022-08-09T15:30:41.582Z cypress:network:connect received error on connect, retrying { iteration: 7, delay: 100, err: Error: connect ECONNREFUSED 127.0.0.1:44007 at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1142:16) { errno: -111, code: 'ECONNREFUSED', syscall: 'connect', address: '127.0.0.1', port: 44007 } }
2022-08-09T15:30:41.5841728Z 2022-08-09T15:30:41.583Z cypress:network:connect received error on connect, retrying { iteration: 7, delay: 100, err: Error: connect ECONNREFUSED 127.0.0.1:36161 at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1142:16) { errno: -111, code: 'ECONNREFUSED', syscall: 'connect', address: '127.0.0.1', port: 36161 } }
2022-08-09T15:30:41.5843247Z 2022-08-09T15:30:41.583Z cypress:network:connect received error on connect, retrying { iteration: 7, delay: 100, err: Error: connect ECONNREFUSED 127.0.0.1:45759 at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1142:16) { errno: -111, code: 'ECONNREFUSED', syscall: 'connect', address: '127.0.0.1', port: 45759 } }
2022-08-09T15:30:41.6854724Z 2022-08-09T15:30:41.684Z cypress:network:connect received error on connect, retrying { iteration: 8, delay: 100, err: Error: connect ECONNREFUSED 127.0.0.1:44007 at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1142:16) { errno: -111, code: 'ECONNREFUSED', syscall: 'connect', address: '127.0.0.1', port: 44007 } }
2022-08-09T15:30:41.6856373Z 2022-08-09T15:30:41.684Z cypress:network:connect received error on connect, retrying { iteration: 8, delay: 100, err: Error: connect ECONNREFUSED 127.0.0.1:36161 at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1142:16) { errno: -111, code: 'ECONNREFUSED', syscall: 'connect', address: '127.0.0.1', port: 36161 } }
2022-08-09T15:30:41.6857936Z 2022-08-09T15:30:41.685Z cypress:network:connect received error on connect, retrying { iteration: 8, delay: 100, err: Error: connect ECONNREFUSED 127.0.0.1:45759 at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1142:16) { errno: -111, code: 'ECONNREFUSED', syscall: 'connect', address: '127.0.0.1', port: 45759 } }
2022-08-09T15:30:41.7858838Z 2022-08-09T15:30:41.785Z cypress:network:connect received error on connect, retrying { iteration: 9, delay: 100, err: Error: connect ECONNREFUSED 127.0.0.1:44007 at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1142:16) { errno: -111, code: 'ECONNREFUSED', syscall: 'connect', address: '127.0.0.1', port: 44007 } }
2022-08-09T15:30:41.7862486Z 2022-08-09T15:30:41.785Z cypress:network:connect received error on connect, retrying { iteration: 9, delay: 100, err: Error: connect ECONNREFUSED 127.0.0.1:36161 at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1142:16) { errno: -111, code: 'ECONNREFUSED', syscall: 'connect', address: '127.0.0.1', port: 36161 } }
2022-08-09T15:30:41.7864111Z 2022-08-09T15:30:41.785Z cypress:network:connect received error on connect, retrying { iteration: 9, delay: 100, err: Error: connect ECONNREFUSED 127.0.0.1:45759 at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1142:16) { errno: -111, code: 'ECONNREFUSED', syscall: 'connect', address: '127.0.0.1', port: 45759 } }
2022-08-09T15:30:41.8863758Z 2022-08-09T15:30:41.885Z cypress:network:connect received error on connect, retrying { iteration: 10, delay: 500, err: Error: connect ECONNREFUSED 127.0.0.1:44007 at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1142:16) { errno: -111, code: 'ECONNREFUSED', syscall: 'connect', address: '127.0.0.1', port: 44007 } }
2022-08-09T15:30:41.8873719Z 2022-08-09T15:30:41.886Z cypress:network:connect received error on connect, retrying { iteration: 10, delay: 500, err: Error: connect ECONNREFUSED 127.0.0.1:36161 at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1142:16) { errno: -111, code: 'ECONNREFUSED', syscall: 'connect', address: '127.0.0.1', port: 36161 } }
2022-08-09T15:30:41.8875354Z 2022-08-09T15:30:41.887Z cypress:network:connect received error on connect, retrying { iteration: 10, delay: 500, err: Error: connect ECONNREFUSED 127.0.0.1:45759 at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1142:16) { errno: -111, code: 'ECONNREFUSED', syscall: 'connect', address: '127.0.0.1', port: 45759 } }
2022-08-09T15:30:42.3867571Z 2022-08-09T15:30:42.386Z cypress:network:connect received error on connect, retrying { iteration: 11, delay: 500, err: Error: connect ECONNREFUSED 127.0.0.1:44007 at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1142:16) { errno: -111, code: 'ECONNREFUSED', syscall: 'connect', address: '127.0.0.1', port: 44007 } }
2022-08-09T15:30:42.3871896Z 2022-08-09T15:30:42.386Z cypress:network:connect received error on connect, retrying { iteration: 11, delay: 500, err: Error: connect ECONNREFUSED 127.0.0.1:36161 at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1142:16) { errno: -111, code: 'ECONNREFUSED', syscall: 'connect', address: '127.0.0.1', port: 36161 } }
2022-08-09T15:30:42.3885332Z 2022-08-09T15:30:42.388Z cypress:network:connect received error on connect, retrying { iteration: 11, delay: 500, err: Error: connect ECONNREFUSED 127.0.0.1:45759 at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1142:16) { errno: -111, code: 'ECONNREFUSED', syscall: 'connect', address: '127.0.0.1', port: 45759 } }
2022-08-09T15:30:42.8883920Z 2022-08-09T15:30:42.887Z cypress:network:connect received error on connect, retrying { iteration: 12, delay: 500, err: Error: connect ECONNREFUSED 127.0.0.1:44007 at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1142:16) { errno: -111, code: 'ECONNREFUSED', syscall: 'connect', address: '127.0.0.1', port: 44007 } }
2022-08-09T15:30:42.8885564Z 2022-08-09T15:30:42.887Z cypress:network:connect received error on connect, retrying { iteration: 12, delay: 500, err: Error: connect ECONNREFUSED 127.0.0.1:36161 at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1142:16) { errno: -111, code: 'ECONNREFUSED', syscall: 'connect', address: '127.0.0.1', port: 36161 } }
2022-08-09T15:30:42.8893808Z 2022-08-09T15:30:42.888Z cypress:network:connect received error on connect, retrying { iteration: 12, delay: 500, err: Error: connect ECONNREFUSED 127.0.0.1:45759 at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1142:16) { errno: -111, code: 'ECONNREFUSED', syscall: 'connect', address: '127.0.0.1', port: 45759 } }
2022-08-09T15:30:43.3891259Z 2022-08-09T15:30:43.388Z cypress:network:connect received error on connect, retrying { iteration: 13, delay: 500, err: Error: connect ECONNREFUSED 127.0.0.1:44007 at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1142:16) { errno: -111, code: 'ECONNREFUSED', syscall: 'connect', address: '127.0.0.1', port: 44007 } }
2022-08-09T15:30:43.3892889Z 2022-08-09T15:30:43.388Z cypress:network:connect received error on connect, retrying { iteration: 13, delay: 500, err: Error: connect ECONNREFUSED 127.0.0.1:36161 at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1142:16) { errno: -111, code: 'ECONNREFUSED', syscall: 'connect', address: '127.0.0.1', port: 36161 } }
2022-08-09T15:30:43.3909401Z 2022-08-09T15:30:43.390Z cypress:network:connect received error on connect, retrying { iteration: 13, delay: 500, err: Error: connect ECONNREFUSED 127.0.0.1:45759 at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1142:16) { errno: -111, code: 'ECONNREFUSED', syscall: 'connect', address: '127.0.0.1', port: 45759 } }
2022-08-09T15:30:43.8906137Z 2022-08-09T15:30:43.889Z cypress:network:connect received error on connect, retrying { iteration: 14, delay: 500, err: Error: connect ECONNREFUSED 127.0.0.1:44007 at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1142:16) { errno: -111, code: 'ECONNREFUSED', syscall: 'connect', address: '127.0.0.1', port: 44007 } }
2022-08-09T15:30:43.8907851Z 2022-08-09T15:30:43.890Z cypress:network:connect received error on connect, retrying { iteration: 14, delay: 500, err: Error: connect ECONNREFUSED 127.0.0.1:36161 at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1142:16) { errno: -111, code: 'ECONNREFUSED', syscall: 'connect', address: '127.0.0.1', port: 36161 } }
2022-08-09T15:30:43.8910958Z 2022-08-09T15:30:43.890Z cypress:network:connect received error on connect, retrying { iteration: 14, delay: 500, err: Error: connect ECONNREFUSED 127.0.0.1:45759 at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1142:16) { errno: -111, code: 'ECONNREFUSED', syscall: 'connect', address: '127.0.0.1', port: 45759 } }
2022-08-09T15:30:44.3920738Z 2022-08-09T15:30:44.391Z cypress:network:connect received error on connect, retrying { iteration: 15, delay: 500, err: Error: connect ECONNREFUSED 127.0.0.1:44007 at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1142:16) { errno: -111, code: 'ECONNREFUSED', syscall: 'connect', address: '127.0.0.1', port: 44007 } }
2022-08-09T15:30:44.3922799Z 2022-08-09T15:30:44.391Z cypress:network:connect received error on connect, retrying { iteration: 15, delay: 500, err: Error: connect ECONNREFUSED 127.0.0.1:36161 at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1142:16) { errno: -111, code: 'ECONNREFUSED', syscall: 'connect', address: '127.0.0.1', port: 36161 } }
2022-08-09T15:30:44.3924979Z 2022-08-09T15:30:44.391Z cypress:network:connect received error on connect, retrying { iteration: 15, delay: 500, err: Error: connect ECONNREFUSED 127.0.0.1:45759 at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1142:16) { errno: -111, code: 'ECONNREFUSED', syscall: 'connect', address: '127.0.0.1', port: 45759 } }
2022-08-09T15:30:44.8932578Z 2022-08-09T15:30:44.892Z cypress:network:connect received error on connect, retrying { iteration: 16, delay: 500, err: Error: connect ECONNREFUSED 127.0.0.1:44007 at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1142:16) { errno: -111, code: 'ECONNREFUSED', syscall: 'connect', address: '127.0.0.1', port: 44007 } }
2022-08-09T15:30:44.8934636Z 2022-08-09T15:30:44.892Z cypress:network:connect received error on connect, retrying { iteration: 16, delay: 500, err: Error: connect ECONNREFUSED 127.0.0.1:36161 at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1142:16) { errno: -111, code: 'ECONNREFUSED', syscall: 'connect', address: '127.0.0.1', port: 36161 } }
2022-08-09T15:30:44.8936488Z 2022-08-09T15:30:44.892Z cypress:network:connect received error on connect, retrying { iteration: 16, delay: 500, err: Error: connect ECONNREFUSED 127.0.0.1:45759 at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1142:16) { errno: -111, code: 'ECONNREFUSED', syscall: 'connect', address: '127.0.0.1', port: 45759 } }
2022-08-09T15:30:45.3941148Z 2022-08-09T15:30:45.393Z cypress:network:connect received error on connect, retrying { iteration: 17, delay: 500, err: Error: connect ECONNREFUSED 127.0.0.1:44007 at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1142:16) { errno: -111, code: 'ECONNREFUSED', syscall: 'connect', address: '127.0.0.1', port: 44007 } }
2022-08-09T15:30:45.3942795Z 2022-08-09T15:30:45.393Z cypress:network:connect received error on connect, retrying { iteration: 17, delay: 500, err: Error: connect ECONNREFUSED 127.0.0.1:36161 at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1142:16) { errno: -111, code: 'ECONNREFUSED', syscall: 'connect', address: '127.0.0.1', port: 36161 } }
2022-08-09T15:30:45.3944346Z 2022-08-09T15:30:45.393Z cypress:network:connect received error on connect, retrying { iteration: 17, delay: 500, err: Error: connect ECONNREFUSED 127.0.0.1:45759 at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1142:16) { errno: -111, code: 'ECONNREFUSED', syscall: 'connect', address: '127.0.0.1', port: 45759 } }
2022-08-09T15:30:45.8950051Z 2022-08-09T15:30:45.894Z cypress:network:connect received error on connect, retrying { iteration: 18, delay: 1000, err: Error: connect ECONNREFUSED 127.0.0.1:44007 at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1142:16) { errno: -111, code: 'ECONNREFUSED', syscall: 'connect', address: '127.0.0.1', port: 44007 } }
2022-08-09T15:30:45.8951747Z 2022-08-09T15:30:45.894Z cypress:network:connect received error on connect, retrying { iteration: 18, delay: 1000, err: Error: connect ECONNREFUSED 127.0.0.1:36161 at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1142:16) { errno: -111, code: 'ECONNREFUSED', syscall: 'connect', address: '127.0.0.1', port: 36161 } }
2022-08-09T15:30:45.8956931Z Still waiting to connect to Firefox, retrying in 1 second (attempt 18/62)
2022-08-09T15:30:45.8961079Z 2022-08-09T15:30:45.895Z cypress:network:connect received error on connect, retrying { iteration: 18, delay: 1000, err: Error: connect ECONNREFUSED 127.0.0.1:45759 at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1142:16) { errno: -111, code: 'ECONNREFUSED', syscall: 'connect', address: '127.0.0.1', port: 45759 } }
2022-08-09T15:30:46.8405332Z 2022-08-09T15:30:46.840Z cypress:launcher firefox stdout: [GFX1-]: glxtest: libEGL missing
2022-08-09T15:30:46.8957353Z 2022-08-09T15:30:46.895Z cypress:network:connect received error on connect, retrying { iteration: 19, delay: 1000, err: Error: connect ECONNREFUSED 127.0.0.1:44007 at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1142:16) { errno: -111, code: 'ECONNREFUSED', syscall: 'connect', address: '127.0.0.1', port: 44007 } }
2022-08-09T15:30:46.8959963Z 2022-08-09T15:30:46.895Z cypress:network:connect received error on connect, retrying { iteration: 19, delay: 1000, err: Error: connect ECONNREFUSED 127.0.0.1:36161 at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1142:16) { errno: -111, code: 'ECONNREFUSED', syscall: 'connect', address: '127.0.0.1', port: 36161 } }
2022-08-09T15:30:46.8961864Z Still waiting to connect to Firefox, retrying in 1 second (attempt 19/62)
2022-08-09T15:30:46.8965224Z 2022-08-09T15:30:46.895Z cypress:network:connect received error on connect, retrying { iteration: 19, delay: 1000, err: Error: connect ECONNREFUSED 127.0.0.1:45759 at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1142:16) { errno: -111, code: 'ECONNREFUSED', syscall: 'connect', address: '127.0.0.1', port: 45759 } }

little question about that block: is it possible that the delay of 1000 isn't enough for the ci to open the port requested?

@ChristianMLux
Copy link
Author

Is it somehow possible to extend the delay time?

@DawidOskwarek
Copy link

Seeing the same issue, my issue started after the update to Firefox 103, was working fine on 102

@ChristianMLux ChristianMLux changed the title "Still waiting to connect to Firefox" Firefox103 | Ubuntu 20.04 | Cypress 9.50.0 "Still waiting to connect to Firefox" Firefox103 | Ubuntu 20.04 | Cypress 9.40.1 Aug 10, 2022
@ChristianMLux ChristianMLux changed the title "Still waiting to connect to Firefox" Firefox103 | Ubuntu 20.04 | Cypress 9.40.1 "Still waiting to connect to Firefox" Firefox103 | Ubuntu 20.04 | Cypress 9.50.0 Aug 10, 2022
@ChristianMLux
Copy link
Author

After more hours of investigating here is my workaround until it's fixed:
(and I am relatively sure that it has to do with the FF103 update)

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

@DawidOskwarek
Copy link

did you add the above to your workflow before kicking off cypress? Does it add much overhead?

@ChristianMLux
Copy link
Author

@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/...../**
.
.
.

@AtofStryker
Copy link
Contributor

Hi @ChristianMLux. Thank you for opening an issue. I created a reproduction repository, but wasn't able to reproduce the issue. It's a docker image that is installing firefox 103 through a tar instead of dpkg, which explodes to the to the opt directory and is symlinked to the binary.

I am wondering if there is something unique about the azure agent that would cause a problem. Maybe worth a try exploding the tarball directly similar to the Dockerfile?

@DawidOskwarek
Copy link

@AtofStryker can you try to reproduce the issue by creating a Github Actions workflow and using the latest ubuntu runner with cypress-io/github-action (firefox browser). This would be exactly my setup and the firefox browser is failing 1/4 times on average

@ChristianMLux
Copy link
Author

@AtofStryker
image
as you see in the screenshot, the ubuntu image is using FF103.0.0, and your Dockerfile seems to use FF103.0.2. Maybe I Should try to upgrade the Version to FF103.0.2, maybe they've allready fixed it?

@ChristianMLux
Copy link
Author

@DawidOskwarek which FF version you are on?

@AtofStryker
Copy link
Contributor

@DawidOskwarek @ChristianMLux what version of Node is being used in the github worksflows runner?

@ChristianMLux
Copy link
Author

@AtofStryker
Node 14.20.0
NPM 8.12.1
Ubuntu Image
Azure Devops Agent Version 2.206

@AtofStryker
Copy link
Contributor

@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

@AtofStryker
Copy link
Contributor

@ChristianMLux I have moved the repo over to azure devops and created a pipeline. However, I do not have the ability to run azure devops freely on a public repo. I submitted a parallelization request, and likely will hear back in 2-3 days. Any ideas around this? Link is here

@cypress-bot cypress-bot bot added stage: awaiting response Potential fix was proposed; awaiting response and removed stage: investigating Someone from Cypress is looking into this labels Aug 12, 2022
@DawidOskwarek
Copy link

@AtofStryker any luck with reproducing on the github workflow instead of azure devops?

@AtofStryker
Copy link
Contributor

@DawidOskwarek every time I try to run firefox within github workflows with a docker image, I can't seem to actually locate the binary (even though it's right there). I created cypress-io/cypress-docker-images#729 for this issue. My guess is you aren't using the docker image? Do you have a sample configuration you can share out to get me started?

@ChristianMLux
Copy link
Author

@AtofStryker Seems to be standard behavior since they wanted protection from spam bots etc.
https://stackoverflow.com/questions/68405027/how-to-resolve-no-hosted-parallelism-has-been-purchased-or-granted-in-free-tie
hopefully they will give you an answer to your request soon. I don't know any workarounds for that

@cypress-bot cypress-bot bot added stage: investigating Someone from Cypress is looking into this and removed stage: awaiting response Potential fix was proposed; awaiting response labels Aug 15, 2022
@DawidOskwarek
Copy link

DawidOskwarek commented Aug 16, 2022

@AtofStryker I'm using similar config to the below:

Tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install Cypress
shell: bash
run: npm ci cypress
- name: Run Cypress tests
uses: cypress-io/github-action@v2
with:
spec: './cypress/integration/features/tests.feature'
config: video=false
browser: firefox

@bijx
Copy link

bijx commented Aug 16, 2022

Is it possible to use an earlier version of Firefox that worked in the meantime?

@AtofStryker
Copy link
Contributor

Is it possible to use an earlier version of Firefox that worked in the meantime?

@bijx you could likely leverage the workaround provided in #23215

@FrankL-git
Copy link

FrankL-git commented Aug 17, 2022

Hi,
had the same issue (exactly: cypress run -b firefox --headed ... produces "Still waiting ...) after having upgraded from ubuntu 20.04 to 22.04 (where firefox has been switched to snap). As a workaround I simply downloaded the firefox binaries, linked /usr/bin/firefox to the downloaded firefox binary and "cypress run ..." works fine. I'm using firefox 103.0.2 and cypress 10.5.0.

Update: The workaround XDG_CONFIG_HOME=$HOME/cypress from #19793 works, too.

Hope this will help you and: Thanks so much for your work!

@cypress-bot cypress-bot bot added stage: awaiting response Potential fix was proposed; awaiting response and removed stage: investigating Someone from Cypress is looking into this labels Aug 17, 2022
@rachelruderman
Copy link
Contributor

Hi @bijx ! Can you confirm if @FrankL-git 's suggested workaround is working for you? Thank you both!

@nagash77
Copy link
Contributor

Unfortunately we have to close this issue due to inactivity. Please comment if there is new information to provide concerning the original issue and we can reopen.

@nagash77 nagash77 closed this as not planned Won't fix, can't repro, duplicate, stale Aug 24, 2022
@FrankL-git
Copy link

Hi, I just tried the call

cypress run -b firefox --headed ...

(without setting XDG_CONFIG_HOME) with cypress 10.6.0 and firefox 104.0 and it works. It's due to the update of firefox (snap refresh) because with cypress 10.6.0 and firefox 103.0.2 it produces the "Still waiting ..." yet.

Thank's again for cypress!

MikeMcC399 added a commit to MikeMcC399/github-action that referenced this issue Dec 11, 2022
disable unreliable Firefox test using Cypress v9

GitHub Cypress issue cypress-io/cypress#23215 describes the problem
MikeMcC399 added a commit to MikeMcC399/github-action that referenced this issue Dec 11, 2022
disable unreliable Firefox test using Cypress v9

GitHub Cypress issue cypress-io/cypress#23215 describes the problem
@MikeMcC399
Copy link
Contributor

MikeMcC399 commented Dec 11, 2022

I have noticed this issue occurring using github-action (GHA) with Cypress 9.6.1 (see issue cypress-io/github-action#659) and Firefox 107.0.1. I couldn't however see it happening on Cypress 10.0.0 or 12.0.2.

@MikeMcC399
Copy link
Contributor

MikeMcC399 commented Dec 12, 2022

@nagash77

Should this issue be re-opened? It seems to be an intermittent problem only. I'm unclear about the Cypress support policy and if it is intended to provide fixes for Cypress 9.x, since apparently the issue doesn't occur after migrating to Cypress 10 and later.

If there is interest in this I have collected Cypress DEBUG logs with both failed and successful runs.

@nagash77
Copy link
Contributor

Hi @MikeMcC399 , we currently do not backport fixes to older versions of Cypress. I would definitely like to hear more about reasons folks can't upgrade to the latest versions of Cypress. We are always trying to make the upgrade process as simple and stable as possible for our users, so any friction points you may be facing would be really helpful to understand so hopefully we can address them.

@MikeMcC399
Copy link
Contributor

@nagash77

@nagash77 nagash77 self-assigned this Dec 14, 2022
MikeMcC399 added a commit to MikeMcC399/github-action that referenced this issue Dec 15, 2022
disable unreliable Firefox test using Cypress v9

GitHub Cypress issue cypress-io/cypress#23215 describes the problem
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
browser: firefox stage: awaiting response Potential fix was proposed; awaiting response
Projects
None yet
Development

No branches or pull requests

9 participants