FileNotFoundException error getting public host name from:http://169.254.169.254/latest/meta-data/publicHostname #497
Labels
info: good first issue
Good for newcomers
priority: high
High priority
type: bug
Something isn't working
This issue is related to this issue: micronaut-projects/micronaut-core#2934.
Our app is hosted in Amazon and every time that we start a pod we get two errors:
And:
For the second error, I believe that the cause is because of the val
metadataUrl
that isurl + "/latest/meta-data/"
defined in the fileAmazonMetadataConfiguration.java
but in the fileAmazonComputeInstanceMetadataResolver.java
we have:Causing the double // in the path. I've tried to make the metadataUrl be
url + "/latest/meta-data
but broke other things, so maybe the way is to fix the paths inAmazonComputeInstanceMetadataResolver.java
.Thanks.
The text was updated successfully, but these errors were encountered: