Skip to content

google.auth.default raises 404 when run from Travis with Python 3.7. #287

@tswast

Description

@tswast

Failed to retrieve http://metadata.google.internal/computeMetadata/v1/instance/service-accounts/default/?recursive=true from the Google Compute Enginemetadata service. Status: 404 Response

See: https://travis-ci.org/max-sixty/pandas-gbq/jobs/422752133 for googleapis/python-bigquery-pandas#206

I think this is related to the fact that Travis CI runs on GCE but it locks down access to APIs. Somehow google.auth.default() is not catching the 404.

/cc @max-sixty

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions