-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Closed
Labels
api: coretype: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.‘Nice-to-have’ improvement, new feature or different behavior or design.
Description
#4278 changed the hostname of the metadata service to be the FQDN. For whatever reason my companies internal dns resolvers actually return the the IP address of the metadata service.
From what I can gather the default timeout for HttpURLConnection[1] is forever which would explain why my service fails to startup when running locally.
This happens to me when running the latest google-cloud-core which is 1.6.0.
It seems like it would be a sane thing to add a timeout to the HTTP request. I can submit a PR to do this if others agree.
Metadata
Metadata
Assignees
Labels
api: coretype: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.‘Nice-to-have’ improvement, new feature or different behavior or design.