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

Is ping a good way to test for internet connectivity? #229

Open
craiga opened this issue May 10, 2019 · 0 comments
Open

Is ping a good way to test for internet connectivity? #229

craiga opened this issue May 10, 2019 · 0 comments

Comments

@craiga
Copy link

craiga commented May 10, 2019

I'm currently working via corporate Wi-Fi network on which pings fail, but regular HTTP and HTTPS traffic is fine.

I'm finding that commands such as divio project setup … will fail, with divio doctor reporting the following:

$ divio doctor
Verifying your system setup
 ✓  Login
 ✓  Git
 ✓  Docker Client
 ✓  Docker Machine
 ✓  Docker Compose
 ✓  Docker Engine Connectivity
 ✖  Docker Engine Internet Connectivity
 ✓  Docker Engine DNS Connectivity

The following errors occurred:

 Docker Engine Internet Connectivity:
 > Command 'docker run --rm busybox:1.30 ping -c 1 -W 5 8.8.8.8' returned non-zero exit status 1
 > The 'ping' command inside docker is not able to ping 8.8.8.8. This might be due to missing internet connectivity, a firewall or a network configuration problem.

I can put "skip_doctor_checks": ["docker-server-ping"] into ~/.aldryn and then everything works fine.

Would it make sense to change the ping check to something like a cURL check to ensure HTTP(S) traffic works? As far as I understand things, that's what we're actually interested in confirming here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant