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

There's nothing in the instructions about connecting to EC2, also why is it trying to connect to eu-west-1 when I haven't specified the region? #163

Open
quedogf94 opened this issue Sep 7, 2021 · 0 comments

Comments

@quedogf94
Copy link

[warn] c.g.AppIdentity$ - Failed to get instance id from ec2 metadata service: Unable to contact EC2 metadata service.
software.amazon.awssdk.core.exception.SdkClientException: Unable to contact EC2 metadata service.
at software.amazon.awssdk.core.exception.SdkClientException$BuilderImpl.build(SdkClientException.java:98)
at software.amazon.awssdk.regions.internal.util.EC2MetadataUtils.getItems(EC2MetadataUtils.java:400)
at software.amazon.awssdk.regions.internal.util.EC2MetadataUtils.getItems(EC2MetadataUtils.java:432)
at software.amazon.awssdk.regions.internal.util.EC2MetadataUtils.getItems(EC2MetadataUtils.java:432)
at software.amazon.awssdk.regions.internal.util.EC2MetadataUtils.getItems(EC2MetadataUtils.java:432)
at software.amazon.awssdk.regions.internal.util.EC2MetadataUtils.getData(EC2MetadataUtils.java:378)
at software.amazon.awssdk.regions.internal.util.EC2MetadataUtils.getData(EC2MetadataUtils.java:374)
at software.amazon.awssdk.regions.internal.util.EC2MetadataUtils.fetchData(EC2MetadataUtils.java:472)
at software.amazon.awssdk.regions.internal.util.EC2MetadataUtils.fetchData(EC2MetadataUtils.java:462)
at software.amazon.awssdk.regions.internal.util.EC2MetadataUtils.getInstanceId(EC2MetadataUtils.java:140)
[info] c.g.AppIdentity$ - Detected the following AppIdentity: DevIdentity(typerighter-checker)
[info] c.g.c.ConfigurationLoader$ - Fetching configuration for DevIdentity(typerighter-checker)
[error] c.g.AppIdentity$ - Failed to identify the regionName of the instance
software.amazon.awssdk.core.exception.SdkClientException: Unable to contact EC2 metadata service.
at software.amazon.awssdk.core.exception.SdkClientException$BuilderImpl.build(SdkClientException.java:98)
at software.amazon.awssdk.regions.internal.util.EC2MetadataUtils.getItems(EC2MetadataUtils.java:400)
at software.amazon.awssdk.regions.internal.util.EC2MetadataUtils.getItems(EC2MetadataUtils.java:432)
at software.amazon.awssdk.regions.internal.util.EC2MetadataUtils.getItems(EC2MetadataUtils.java:432)
at software.amazon.awssdk.regions.internal.util.EC2MetadataUtils.getItems(EC2MetadataUtils.java:432)
at software.amazon.awssdk.regions.internal.util.EC2MetadataUtils.getData(EC2MetadataUtils.java:378)
at software.amazon.awssdk.regions.internal.util.EC2MetadataUtils.getData(EC2MetadataUtils.java:374)
at software.amazon.awssdk.regions.internal.util.EC2MetadataUtils.getEC2InstanceRegion(EC2MetadataUtils.java:287)
at com.gu.AppIdentity$.$anonfun$region$2(AppIdentity.scala:107)
at scala.util.Try$.apply(Try.scala:213)
[info] c.g.c.SSMConfigurationLocation - Attempting to load configuration from SSM for path = /DEV/flexible/typerighter-checker and region = eu-west-1

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