Tensorboard Unavailable: Error executing an HTTP request: libcurl code 6

Tensorboard Unavailable: Error executing an HTTP request: libcurl code 6



When I try to run tensorboard with a logdir in google cloud storage I get the following error (with various retry attempts):



Error executing an HTTP request: libcurl code 6 meaning 'Couldn't
resolve host name', error details: Couldn't resolve host 'metadata'



I have previously run gcloud auth and can be confident that I am authenticated correctly because I can read from the given logdir by running


gcloud auth


gsutil ls gs://path/to/logdir



which works as expected.



Any idea how to proceed so that I can run tensorboard against this logdir?




1 Answer
1



This was happening because the GOOGLE_APPLICATION_CREDENTIALS environment variable was not set.


GOOGLE_APPLICATION_CREDENTIALS



Seems that gsutil was authenticated ok with the gcloud auth ... command but that tensorboard also needed the GOOGLE_APPLICATION_CREDENTIALS env to be set to point to the key file


gsutil


gcloud auth ...


GOOGLE_APPLICATION_CREDENTIALS



Required, but never shown



Required, but never shown






By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Popular posts from this blog

Malaysia to Papua New Guinea by motorcycle?

.name

List of Bhojpuri films