Giter Site home page Giter Site logo

Comments (8)

jennifer-shehane avatar jennifer-shehane commented on June 1, 2024 14

We've identified the issue, where Firefox changed some of their behavior in an undocumented way in Firefox 124 and have a fix ready in a branch. f8fc8d2 We'll prioritize getting a patch fix out for this tomorrow assuming we can get tests, reviews, etc done.

from cypress.

jennifer-shehane avatar jennifer-shehane commented on June 1, 2024 4

We're working on getting a release of 13.7.1 out which would have this fixed.

from cypress.

jennifer-shehane avatar jennifer-shehane commented on June 1, 2024 1

I'm able to reproduce this issue. My logs:



────────────────────────────────────────────────────────────────────────────────────────────────────

  Running:  2-advanced-examples/actions.cy.js                                              (2 of 20)
Still waiting to connect to Firefox, retrying in 1 second (attempt 18/62)
Still waiting to connect to Firefox, retrying in 1 second (attempt 19/62)
Still waiting to connect to Firefox, retrying in 1 second (attempt 20/62)
Still waiting to connect to Firefox, retrying in 1 second (attempt 21/62)
Still waiting to connect to Firefox, retrying in 1 second (attempt 22/62)
Still waiting to connect to Firefox, retrying in 1 second (attempt 23/62)
Still waiting to connect to Firefox, retrying in 1 second (attempt 24/62)
Still waiting to connect to Firefox, retrying in 1 second (attempt 25/62)
Still waiting to connect to Firefox, retrying in 1 second (attempt 26/62)
Still waiting to connect to Firefox, retrying in 1 second (attempt 27/62)
Still waiting to connect to Firefox, retrying in 1 second (attempt 28/62)
Still waiting to connect to Firefox, retrying in 1 second (attempt 29/62)
Still waiting to connect to Firefox, retrying in 1 second (attempt 30/62)
Still waiting to connect to Firefox, retrying in 1 second (attempt 31/62)
Still waiting to connect to Firefox, retrying in 1 second (attempt 32/62)
Still waiting to connect to Firefox, retrying in 1 second (attempt 33/62)
Still waiting to connect to Firefox, retrying in 1 second (attempt 34/62)
Still waiting to connect to Firefox, retrying in 1 second (attempt 35/62)
Still waiting to connect to Firefox, retrying in 1 second (attempt 36/62)
Still waiting to connect to Firefox, retrying in 1 second (attempt 37/62)
Still waiting to connect to Firefox, retrying in 1 second (attempt 38/62)
Still waiting to connect to Firefox, retrying in 1 second (attempt 39/62)
Still waiting to connect to Firefox, retrying in 1 second (attempt 40/62)
Still waiting to connect to Firefox, retrying in 1 second (attempt 41/62)
Still waiting to connect to Firefox, retrying in 1 second (attempt 42/62)
Still waiting to connect to Firefox, retrying in 1 second (attempt 43/62)
Still waiting to connect to Firefox, retrying in 1 second (attempt 44/62)
Still waiting to connect to Firefox, retrying in 1 second (attempt 45/62)
Still waiting to connect to Firefox, retrying in 1 second (attempt 46/62)
Still waiting to connect to Firefox, retrying in 1 second (attempt 47/62)
Still waiting to connect to Firefox, retrying in 1 second (attempt 48/62)
Still waiting to connect to Firefox, retrying in 1 second (attempt 49/62)
Still waiting to connect to Firefox, retrying in 1 second (attempt 50/62)
Still waiting to connect to Firefox, retrying in 1 second (attempt 51/62)
Still waiting to connect to Firefox, retrying in 1 second (attempt 52/62)
Still waiting to connect to Firefox, retrying in 1 second (attempt 53/62)
Still waiting to connect to Firefox, retrying in 1 second (attempt 54/62)
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 the Chrome DevTools Protocol after retrying for 50 seconds.

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

The CDP port requested was 58731.

Error: Could not find url target in browser about:blank. Targets were []
    at <embedded>:4291:96620
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async n (<embedded>:4291:95767)
    at async Object.connectToNewSpec (<embedded>:4291:199323)
    at async Object.O (<embedded>:4297:7581)
    at async Object.connectToNewSpec (<embedded>:4297:27035)
    at async v.relaunchBrowser (<embedded>:4363:37912)

Debug logs

Still waiting to connect to Firefox, retrying in 1 second (attempt 35/62)
  cypress:server:browsers:browser-cri-client error finding browser target, maybe retrying { delay: 1000, err: Error: Could not find url target in browser about:blank. Targets were [] at <embedded>:4291:96620     at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async n (<embedded>:4291:95767) at async Object.connectToNewSpec (<embedded>:4291:199323) at async Object.O (<embedded>:4297:7581) at async Object.connectToNewSpec (<embedded>:4297:27035) at async v.relaunchBrowser (<embedded>:4363:37912) } +2ms
  cypress:proxy:http:util:prerequests Never received pre-request or url without pre-request for request GET-https://firefox.settings.services.mozilla.com/v1/buckets/monitor/collections/changes/changeset?_expected=0 after waiting 500ms. Continuing without one. +21s
  cypress:network:cors Parsed URL { port: '443', protocol: 'https:', subdomain: 'firefox.settings.services', domain: 'mozilla', tld: 'com' } +21s
  cypress:server:remote-states getting remote state: undefined for: https://firefox.settings.services.mozilla.com/v1/buckets/monitor/collections/changes/changeset?_expected=0 +21s
  cypress:network:cors Parsed URL { port: '59351', protocol: 'http:', subdomain: null, domain: '', tld: 'localhost' } +0ms
  cypress:server:remote-states getting remote state: { auth: undefined, origin: 'http://localhost:59351', strategy: 'file', fileServer: 'http://localhost:59352', domainName: 'localhost', props: null } for: http://localhost:59351 +0ms
  cypress:server:stream_buffer stream buffer writeable final called +21s
  cypress:network:agent addRequest called { isHttps: true, href: 'https://firefox.settings.services.mozilla.com/v1/buckets/monitor/collections/changes/changeset?_expected=0' } +21s
  cypress:network:agent got family { family: 4, href: 'https://firefox.settings.services.mozilla.com/v1/buckets/monitor/collections/changes/changeset?_expected=0' } +0ms
  cypress:server:request received status code & headers on request { requestId: 'request129', statusCode: 200, headers: { 'content-type': 'application/json' } } +21s
  cypress:server:request successful response received { requestId: 'request129' } +1ms
  cypress:net-stubbing:server:intercept-response InterceptResponse { req: { url: '/v1/buckets/monitor/collections/changes/changeset?_expected=0' }, request: undefined } +21s
  cypress:network:cors Parsed URL { port: '59351', protocol: 'http:', subdomain: null, domain: '', tld: 'localhost' } +11ms
  cypress:server:remote-states getting remote state: { auth: undefined, origin: 'http://localhost:59351', strategy: 'file', fileServer: 'http://localhost:59352', domainName: 'localhost', props: null } for: http://localhost:59351 +11ms
  cypress:server:remote-states getting primary remote state: { auth: undefined, origin: 'http://localhost:59351', strategy: 'file', fileServer: 'http://localhost:59352', domainName: 'localhost', props: null } +0ms
  cypress:network:cors Parsed URL { port: '59351', protocol: 'http:', subdomain: null, domain: '', tld: 'localhost' } +1ms
  cypress:server:remote-states getting remote state: { auth: undefined, origin: 'http://localhost:59351', strategy: 'file', fileServer: 'http://localhost:59352', domainName: 'localhost', props: null } for: http://localhost:59351 +1ms
  cypress:proxy:http:util:prerequests Never received pre-request or url without pre-request for request GET-https://firefox.settings.services.mozilla.com/v1/buckets/main/collections/normandy-recipes-capabilities/changeset?_expected=1710892864179 after waiting 500ms. Continuing without one. +528ms
  cypress:network:cors Parsed URL { port: '443', protocol: 'https:', subdomain: 'firefox.settings.services', domain: 'mozilla', tld: 'com' } +516ms
  cypress:server:remote-states getting remote state: undefined for: https://firefox.settings.services.mozilla.com/v1/buckets/main/collections/normandy-recipes-capabilities/changeset?_expected=1710892864179 +516ms
  cypress:network:cors Parsed URL { port: '59351', protocol: 'http:', subdomain: null, domain: '', tld: 'localhost' } +0ms
  cypress:server:remote-states getting remote state: { auth: undefined, origin: 'http://localhost:59351', strategy: 'file', fileServer: 'http://localhost:59352', domainName: 'localhost', props: null } for: http://localhost:59351 +0ms
  cypress:server:stream_buffer stream buffer writeable final called +528ms
  cypress:network:agent addRequest called { isHttps: true, href: 'https://firefox.settings.services.mozilla.com/v1/buckets/main/collections/normandy-recipes-capabilities/changeset?_expected=1710892864179' } +527ms
  cypress:network:agent got family { family: 4, href: 'https://firefox.settings.services.mozilla.com/v1/buckets/main/collections/normandy-recipes-capabilities/changeset?_expected=1710892864179' } +0ms
  cypress:server:request received status code & headers on request { requestId: 'request130', statusCode: 200, headers: { 'content-type': 'application/json' } } +527ms
  cypress:server:request successful response received { requestId: 'request130' } +0ms
  cypress:net-stubbing:server:intercept-response InterceptResponse { req: { url: '/v1/buckets/main/collections/normandy-recipes-capabilities/changeset?_expected=1710892864179' }, request: undefined } +526ms
  cypress:network:cors Parsed URL { port: '59351', protocol: 'http:', subdomain: null, domain: '', tld: 'localhost' } +10ms
  cypress:server:remote-states getting remote state: { auth: undefined, origin: 'http://localhost:59351', strategy: 'file', fileServer: 'http://localhost:59352', domainName: 'localhost', props: null } for: http://localhost:59351 +10ms
  cypress:server:remote-states getting primary remote state: { auth: undefined, origin: 'http://localhost:59351', strategy: 'file', fileServer: 'http://localhost:59352', domainName: 'localhost', props: null } +0ms
  cypress:network:cors Parsed URL { port: '59351', protocol: 'http:', subdomain: null, domain: '', tld: 'localhost' } +1ms
  cypress:server:remote-states getting remote state: { auth: undefined, origin: 'http://localhost:59351', strategy: 'file', fileServer: 'http://localhost:59352', domainName: 'localhost', props: null } for: http://localhost:59351 +1ms
  cypress:server:browsers:browser-cri-client Attaching to target url about:blank +1s
Still waiting to connect to Firefox, retrying in 1 second (attempt 36/62)

from cypress.

jennifer-shehane avatar jennifer-shehane commented on June 1, 2024 1

We're investigating this issue.

from cypress.

MikeMcC399 avatar MikeMcC399 commented on June 1, 2024

I could not see anything related in the Firefox 124.0 release notes.

from cypress.

jennifer-shehane avatar jennifer-shehane commented on June 1, 2024

As a workaround, you can use a docker-image with a lower version of Firefox, like Firefox 123 in node-20.11.0-chrome-121.0.6167.184-1-ff-123.0-edge-121.0.2277.128-1.

We've verified this issue is not occurring in Firefox 123.

from cypress.

MikeMcC399 avatar MikeMcC399 commented on June 1, 2024

@jennifer-shehane

I already added the Docker workaround to the original post.

I also tested with Firefox 125.0b2 (beta version) and unfortunately the issue is still there.

from cypress.

cypress-bot avatar cypress-bot commented on June 1, 2024

Released in 13.7.1.

This comment thread has been locked. If you are still experiencing this issue after upgrading to
Cypress v13.7.1, please open a new issue.

from cypress.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.