Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AWS metadata is assumed when running in the cloud #10

Open
TobyHFerguson opened this issue Apr 20, 2020 · 0 comments
Open

AWS metadata is assumed when running in the cloud #10

TobyHFerguson opened this issue Apr 20, 2020 · 0 comments

Comments

@TobyHFerguson
Copy link

Somewhere the system attempts to grab instance metadata using the AWS metadata endpoints. This doesn't work when running on GCP :-(

This has no significant behavior on the overall demo - its nothing but a minor annoyance and an error in the logs.

The error looks like this:

2020-04-20 19:01:04.674 WARN 1 --- [ main] com.amazonaws.util.EC2MetadataUtils : Unable to retrieve the requested metadata (/latest/meta-data/instance-id). The requested metadata is not found at http://169.254.169.25 4/latest/meta-data/instance-id server_1 | server_1 | com.amazonaws.SdkClientException: The requested metadata is not found at http://169.254.169.254/latest/meta-data/instance-id server_1 | at com.amazonaws.internal.EC2CredentialsUtils.readResource(EC2CredentialsUtils.java:122) ~[aws-java-sdk-core-1.11.415.jar!/:na] server_1 | at com.amazonaws.internal.EC2CredentialsUtils.readResource(EC2CredentialsUtils.java:82) ~[aws-java-sdk-core-1.11.415.jar!/:na]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant