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

fix: pass family parameter to connect method #21545

Merged
merged 2 commits into from
May 25, 2022
Merged

fix: pass family parameter to connect method #21545

merged 2 commits into from
May 25, 2022

Conversation

insane-developer
Copy link
Contributor

@insane-developer insane-developer commented May 18, 2022

User facing changelog

n/a

Additional details

family: 4 explicitly forces Socket.connect to use ipv4 address.
Without this change Socket.connect may use ipv6 address which whould lead to error due to the explicit use of 127.0.0.1 here.

How has the user experience changed?

PR Tasks

  • Have tests been added/updated?
  • Has the original issue (or this PR, if no issue exists) been tagged with a release in ZenHub? (user-facing changes only)
  • [n/a] Has a PR for user-facing changes been opened in cypress-documentation?
  • [n/a] Have API changes been updated in the type definitions?
  • [n/a] Have new configuration options been added to the cypress.schema.json?

@insane-developer insane-developer requested a review from a team as a code owner May 18, 2022 11:07
@insane-developer insane-developer requested review from jennifer-shehane and removed request for a team May 18, 2022 11:07
@cypress-bot
Copy link
Contributor

cypress-bot bot commented May 18, 2022

Thanks for taking the time to open a PR!

@CLAassistant
Copy link

CLAassistant commented May 18, 2022

CLA assistant check
All committers have signed the CLA.

Copy link
Member

@jennifer-shehane jennifer-shehane left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@insane-developer Could you please sign our CLA? We can’t accept any PRs without this signed.

@jennifer-shehane jennifer-shehane dismissed their stale review May 18, 2022 14:23

Dismissing my previous review as addressed

@MuazOthman MuazOthman requested a review from flotwig May 18, 2022 15:39
Copy link
Contributor

@flotwig flotwig left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me @insane-developer. We try to use 127.0.0.1 as much as possible to avoid bugs like this, but this is a much better fix.

@flotwig flotwig merged commit 2c92b28 into cypress-io:develop May 25, 2022
tgriesser added a commit that referenced this pull request May 25, 2022
…ess into tgriesser/fix/UNIFY-1408

* 'tgriesser/fix/UNIFY-1408' of github.com:cypress-io/cypress:
  fix: pass family parameter to connect method (#21545)
  chore: clean up `debug` statements in preparation for 10.0 release, add `debug` docs (#21621)
  chore: add regression test for ts detection (#21578)
tgriesser added a commit that referenced this pull request May 27, 2022
…pack

* develop:
  fix: UNIFY-1408, warnings should be nested appropriately & clearable (#21630)
  chore: fix unit-tests-release job (#21652)
  chore(deps): update dependency eventsource to v2 [security] (#21639)
  fix: Add hover states for test titles in reporter (#21635)
  docs(CONTRIBUTING): Fix link to "good first issue" for newcomers (#21614)
  chore: compare `cy.screenshot` images in percy (#21598)
  fix: switching from ct to e2e (non-configured) does not go through setup (#21607)
  fix: issue with compilation failures in component testing (#21599)
  test: fix flaky launchpad test (#21637)
  docs: remove gitter link in contributing guide. (#21592)
  fix: order projects by most recently opened (#21589)
  fix: prevent crash on runs visit when offline (#21618)
  fix: pass family parameter to connect method (#21545)
  chore: clean up `debug` statements in preparation for 10.0 release, add `debug` docs (#21621)
  chore: add regression test for ts detection (#21578)
@cypress-bot
Copy link
Contributor

cypress-bot bot commented Jun 1, 2022

Released in 10.0.0.

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

@cypress-bot cypress-bot bot locked as resolved and limited conversation to collaborators Jun 1, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Cypress doesn't run on an environment with precedence of ipv6 over ipv4
5 participants