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

Constant logging of: CreatePlatformSocket() failed: Address family not supported by protocol (97) #30123

Open
CN91 opened this issue Aug 28, 2024 · 3 comments
Labels
stage: needs information Not enough info to reproduce the issue

Comments

@CN91
Copy link

CN91 commented Aug 28, 2024

Current behavior

When running tests using the following image: cypress/included:13.13.3. inside a gitlab runner using electron browser throughout testing the same error makes the logging unreadable. It only happens when using the electron browser. When using chrome it doesn't report the error.

Scherm­afbeelding 2024-08-28 om 08 28 44

Desired behavior

No logging of the error; making it readable again.

Scherm­afbeelding 2024-08-28 om 08 31 19

Test code to reproduce

setup cypress inside a gitlab runner; with a docker image.
backend is an external url and frontend is an external url; both are potentially ipv6

i've already seen multiple reports here about other errors that in their logging show the same error as i'm reporting.

Cypress Version

13.3.3

Node version

v20.17.0

Operating System

Kubernetes executor with image /cypress/included:13.13.3

Debug Logs

No response

Other

In chrome it works without logging errors. Locally it also doesn't seem to show the errors.
It seems to be an issue between linux and chromium and the connection cypress sets up for devtools and possible ipv6?

Please give us a way to either:

  • make the error disappear
  • fix why the error appears (the connection setup)
@CN91
Copy link
Author

CN91 commented Aug 28, 2024

If it is more linux/chromium related and doesnt affect testing; than maybe consider the same that is done for #20939

@jennifer-shehane
Copy link
Member

Oh man, haven't seen this one before. But yah, hopefully it does not affect the running of tests.

@jennifer-shehane jennifer-shehane added the stage: needs information Not enough info to reproduce the issue label Sep 3, 2024
@jsbittner-ancud
Copy link

I can confirm these log messages. It happens for me with the following versions:

  • Cypress 13.15.2
  • Node v22.11.0
  • podman version: 4.9.4-rhel
  • Docker image: cypress/included:13.15.2
  • Operating system: RHEL 8.10

I did not observe any negative effect on the tests. Everything seems to work fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stage: needs information Not enough info to reproduce the issue
Projects
None yet
Development

No branches or pull requests

3 participants