Skip to content

Cypress failed to make a connection to the Chrome DevTools Protocol: ECONNREFUSED at TCPConnectWrap.afterConnect #8986

Closed
@Supanovas

Description

@Supanovas

Current behavior

I'm simply trying to run some of the tests in the Example folder under Integration and it will not run on Chrome. Runs on Electron and Edge but refuses to run on Chrome.

My version of Chrome is Version 86.0.4240.111 (Official Build) (64-bit)

Current Cypress version is - cypress": "^5.5.0

Desired behavior

Test code to reproduce

Versions

Chrome error

Activity

Supanovas

Supanovas commented on Oct 27, 2020

@Supanovas
Author

Hi @flotwig I've got the same issue with Cypress failing to make a connection to Chrome DevTools Protocol similar to the one you helped resolved.

Any help trying to resolve this will be greatly appreciated, already logged it and it appears to be a common issue yet no known fix available.

#5912 (comment)

changed the title [-]Cypress failed to make a connection to the Chrome DevTools Protocol after retrying for 50 seconds.[/-] [+]Cypress failed to make a connection to the Chrome DevTools Protocol: ECONNREFUSED at TCPConnectWrap.afterConnect[/+] on Oct 28, 2020
Supanovas

Supanovas commented on Nov 19, 2020

@Supanovas
Author

Hi @jennifer-shehane any update on this please?

snikaein

snikaein commented on Nov 24, 2020

@snikaein

we experience same error via Firefox

dvkruchinin

dvkruchinin commented on Nov 27, 2020

@dvkruchinin

I sometimes get this error in Travis-ci. There is no periodicity.

snikaein

snikaein commented on Dec 1, 2020

@snikaein

@jennifer-shehane any update on this?

jennifer-shehane

jennifer-shehane commented on Dec 28, 2020

@jennifer-shehane
Member

Can anyone provide a reproducible example?

1 remaining item

cw010

cw010 commented on Dec 30, 2020

@cw010

I have the same problem!
Failed to connect to Chrome, retrying in 1 second (attempt 18/62)
Failed to connect to Chrome, retrying in 1 second (attempt 19/62)
Failed to connect to Chrome, retrying in 1 second (attempt 20/62)
Failed to connect to Chrome, retrying in 1 second (attempt 21/62)
Failed to connect to Chrome, retrying in 1 second (attempt 22/62)
Failed to connect to Chrome, retrying in 1 second (attempt 23/62)
Failed to connect to Chrome, retrying in 1 second (attempt 24/62)
Failed to connect to Chrome, retrying in 1 second (attempt 25/62)

cypress-bot

cypress-bot commented on Jan 19, 2021

@cypress-bot
Contributor

The code for this is done in cypress-io/cypress#14348, but has yet to be released.
We'll update this issue and reference the changelog when it's released.

cypress-bot

cypress-bot commented on Jan 20, 2021

@cypress-bot
Contributor

Released in 6.3.0.

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

locked as resolved and limited conversation to collaborators on Jan 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      Participants

      @jennifer-shehane@cw010@snikaein@dvkruchinin@Supanovas

      Issue actions

        Cypress failed to make a connection to the Chrome DevTools Protocol: ECONNREFUSED at TCPConnectWrap.afterConnect · Issue #8986 · cypress-io/cypress