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

ERROR ==> Cannot detect connection to internet! #243

Closed
zdenekgebauer opened this issue Oct 22, 2024 · 4 comments · Fixed by #254
Closed

ERROR ==> Cannot detect connection to internet! #243

zdenekgebauer opened this issue Oct 22, 2024 · 4 comments · Fixed by #254
Assignees

Comments

@zdenekgebauer
Copy link

Approximately from version 3.22.1 with Docker Desktop 4.34.3 on Win10 the message appears irregularly
ERROR ==> Cannot detect connection to internet!
It appears at various stages of lando start and rebuild, in multiple configuratins (LAMP recipe based) with different databases (mysql, mariadb) and different versions of php. This is not a problem with the host's internet connection.

Downgrade to DockerDestop 4.34.0 did not help. What exactly does this message mean and how to more accurately diagnose the cause of the problem?

@zdenekgebauer zdenekgebauer added the bug Something isn't working label Oct 22, 2024
@reynoldsalec
Copy link
Member

Are you using WSL2? This earlier issue might be relevant: #213 (comment)

@rtfm-47 rtfm-47 added Needs Triage and removed bug Something isn't working labels Oct 22, 2024
@rtfm-47 rtfm-47 transferred this issue from lando/lando Oct 22, 2024
@pirog pirog self-assigned this Oct 23, 2024
@zdenekgebauer
Copy link
Author

resetting WSL did not help , still getting

lando start -vv
.......
  lando ERROR Error: Cannot detect connection to internet!
    at C:\snapshot\cli\node_modules\@lando\core\lib\updates.js  +15014ms

@pirog
Copy link
Member

pirog commented Oct 25, 2024

we are going to modify these checks to be a bit more specific, should be different in the next release although that is not a guarantee that it will work!

@zdenekgebauer
Copy link
Author

I'm sure problem is caused by WSL2, because docker shows errors like this one https://forums.docker.com/t/docker-desktop-is-not-working-on-windows-11/141491 .
Reset and reinstall WSL2 did not help, so my temporary workaround is uninstall Docker desktop and install again with unchecked option "use WSL2".

pirog added a commit that referenced this issue Oct 25, 2024
@pirog pirog linked a pull request Oct 25, 2024 that will close this issue
pirog added a commit that referenced this issue Oct 25, 2024
* #243: improve internet detection checks

* #243: improve internet detection checks part 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants