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

SocketException: Connection failed in Docker on CI #178

Open
tjarvstrand opened this issue Aug 19, 2023 · 2 comments
Open

SocketException: Connection failed in Docker on CI #178

tjarvstrand opened this issue Aug 19, 2023 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@tjarvstrand
Copy link

tjarvstrand commented Aug 19, 2023

Describe the bug

There seems to be some incompatibility between custom_lint and Flutter when running Linux in Docker, at least in CI (I tried both GH actions and Circle CI, Flutter versions 3.10.6 and 3.13.0). Runs fail with SocketException: Connection failed (OS Error: Cannot assign requested address, errno = 99), address = ::1, port = 42977 (the port number varies)

Example run in GH actions:
https://github.com/tjarvstrand/custom_lints_test/actions/runs/5910988866/job/16033101882

To Reproduce

Here's minimal example repo that reproduces the issue: https://github.com/tjarvstrand/custom_lints_test

Removing Flutter references from pubspec.yaml allows the check workflow to pass.

Expected behavior
The check should pass even with flutter as a dependency.

@tjarvstrand tjarvstrand added the bug Something isn't working label Aug 19, 2023
@cmenkemeller
Copy link

Same issue here

@phoenixm103
Copy link

Any update on this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants