The gcloud command enable the ah_host process and also created the docker image of your app and passes it to the Docker daemon, in your case it seems that your docker daemon is not responding to the request. So to make sure,perform "sudo docker -d" to check if the Docker daemon is running on your machine or not. Also check that, the path of the certificate you set correctly and value of the TLS_VERIFY is TRUE.
Go through the documentation [1] for the installation of Docker on MacOS [1] https://docs.docker.com/installation/mac/ On Wednesday, April 15, 2015 at 5:40:54 AM UTC-4, John Wesonga wrote: > > I seem to be having a problem with my test managed VM. Every time I run > *glcoud > preview app run <path-to-app> *I get the following error: > > INFO 2015-04-15 09:29:31,525 devappserver2.py:726] Skipping SDK > update check. > > > > INFO 2015-04-15 09:29:32,173 api_server.py:172] Starting API server at > : http://localhost:51143 > > INFO 2015-04-15 09:30:32,186 api_server.py:588] Applying all pending > transactions and saving the datastore > > INFO 2015-04-15 09:30:32,187 api_server.py:591] Saving search indexes > > Traceback (most recent call last): > > File > "/Users/jwesonga/google-cloud-sdk/platform/google_appengine/dev_appserver.py" > , line 83, in <module> > > _run_file(__file__, globals()) > > File > "/Users/jwesonga/google-cloud-sdk/platform/google_appengine/dev_appserver.py" > , line 79, in _run_file > > execfile(_PATHS.script_file(script_name), globals_) > > File > "/Users/jwesonga/google-cloud-sdk/platform/google_appengine/google/appengine/tools/devappserver2/devappserver2.py" > , line 985, in <module> > > main() > > File > "/Users/jwesonga/google-cloud-sdk/platform/google_appengine/google/appengine/tools/devappserver2/devappserver2.py" > , line 978, in main > > dev_server.start(options) > > File > "/Users/jwesonga/google-cloud-sdk/platform/google_appengine/google/appengine/tools/devappserver2/devappserver2.py" > , line 774, in start > > self._dispatcher.start(options.api_host, apis.port, request_data) > > File > "/Users/jwesonga/google-cloud-sdk/platform/google_appengine/google/appengine/tools/devappserver2/dispatcher.py" > , line 182, in start > > _module, port = self._create_module(module_configuration, port) > > File > "/Users/jwesonga/google-cloud-sdk/platform/google_appengine/google/appengine/tools/devappserver2/dispatcher.py" > , line 262, in _create_module > > threadsafe_override=threadsafe_override) > > File > "/Users/jwesonga/google-cloud-sdk/platform/google_appengine/google/appengine/tools/devappserver2/module.py" > , line 1463, in __init__ > > super(ManualScalingModule, self).__init__(**kwargs) > > File > "/Users/jwesonga/google-cloud-sdk/platform/google_appengine/google/appengine/tools/devappserver2/module.py" > , line 514, in __init__ > > self._module_configuration) > > File > "/Users/jwesonga/google-cloud-sdk/platform/google_appengine/google/appengine/tools/devappserver2/module.py" > , line 237, in _create_instance_factory > > module_configuration=module_configuration) > > File > "/Users/jwesonga/google-cloud-sdk/platform/google_appengine/google/appengine/tools/devappserver2/vm_runtime_factory.py" > , line 78, in __init__ > > timeout=self.DOCKER_D_REQUEST_TIMEOUT_SECS) > > File > "/Users/jwesonga/google-cloud-sdk/platform/google_appengine/google/appengine/tools/docker/containers.py" > , line 740, in NewDockerClient > > client.ping() > > File "/Users/jwesonga/google-cloud-sdk/./lib/docker/docker/client.py", > line 711, in ping > > return self._result(self._get(self._url('/_ping'))) > > File "/Users/jwesonga/google-cloud-sdk/./lib/docker/docker/client.py", > line 76, in _get > > return self.get(url, **self._set_request_timeout(kwargs)) > > File > "/Users/jwesonga/google-cloud-sdk/platform/google_appengine/lib/requests/requests/sessions.py" > , line 468, in get > > return self.request('GET', url, **kwargs) > > File > "/Users/jwesonga/google-cloud-sdk/platform/google_appengine/lib/requests/requests/sessions.py" > , line 456, in request > > resp = self.send(prep, **send_kwargs) > > File > "/Users/jwesonga/google-cloud-sdk/platform/google_appengine/lib/requests/requests/sessions.py" > , line 559, in send > > r = adapter.send(request, **kwargs) > > File > "/Users/jwesonga/google-cloud-sdk/platform/google_appengine/lib/requests/requests/adapters.py" > , line 384, in send > > raise Timeout(e, request=request) > > > > requests.exceptions.Timeout: (<requests.packages.urllib3.connection. > VerifiedHTTPSConnection object at 0x10dba17d0>, 'Connection to > 192.168.59.104 timed out. (connect timeout=60)') > > > I've confirmed that boot2docker is up and running, BTW this was working > just fine when I did the initial set up. Any idea how I can fix this? I > posted similar question on stackoverflow with no luck > http://stackoverflow.com/questions/29576087/golang-preview-of-managed-vm-app-returns-error > -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/31660452-7f7b-4dd4-8132-47c3680d9af2%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
