azukiapp / azk

azk is a lightweight open source development environment orchestration tool. Instantly & safely run any environment on your local machine.
http://azk.io
Apache License 2.0
898 stars 63 forks source link

"No internet connection" when I have an internet connection #638

Closed paralin closed 8 years ago

paralin commented 8 years ago

Trying to start the agent for the first time (fresh install)...

azk: Please wait, this process may take several minutes
azk: Loading settings and checking dependencies.
azk: Checking version: there is no internet connection to check azk version.
azk: Cleaning 0 lost containers
azk: Settings loaded successfully.
azk: Agent is being started...
azk: Trying to connect to docker (unix:///var/run/docker.sock) (timeout: 20s)...
azk: Starting azk dns service...

azk: No internet connection!
azk: Agent is being stopped...
azk: Agent has been successfully stopped.

Currently running on Ubuntu 15.10 with docker version 1.9.1.

paralin commented 8 years ago

I traced this to the connectivity module which basically just pings google.com port 80.

Running "connectivity" from the cli returns "no connectivity".

No idea why, because curl google.com works fine.

paralin commented 8 years ago

Ok on my end I was getting a timeout resolving google.com. I've disabled a couple nameservers in my resolv.conf (8.8.8.8 seems to be blocked on my network for some reason). Works now.