failed to load region from IMDS #886
Replies: 3 comments 2 replies
-
I think you also need to give the region to the Also, is the |
Beta Was this translation helpful? Give feedback.
-
Thanks for reply.
Yes it is. I had a same doubt so double checked it.
Let me try that. |
Beta Was this translation helpful? Give feedback.
-
BTW, I don't think you need to customize the credential chain, at least in the case you highlighted above. If you solely want to set the profile name, you can do that at the top level— |
Beta Was this translation helpful? Give feedback.
-
I am running a following code.
Above code works successfully but it throws following warning.
Sep 04 06:18:04.164 WARN failed to load region from IMDS err=failed to load IMDS session token: dispatch failure: timeout: error trying to connect: HTTP connect timeout occurred after 1s: HTTP connect timeout occurred after 1s: timed out (FailedToLoadToken(FailedToLoadToken { source: DispatchFailure(DispatchFailure { source: ConnectorError { kind: Timeout, source: hyper::Error(Connect, HttpTimeoutError { kind: "HTTP connect", duration: 1s }) } }) }))
I don't understand why it tries to load region from IMDS while it is already receiving region from
cfg.s3_region.0
.While testing with real AWS, it works fine but while testing with Minio, it breaks with above error. I thought that it is going into default_provider part and so it tries to load region from IMDS but it successfully receives region from cfg.s3_region.0 so it should not go further.
Kindly help me resolve this issue.
Beta Was this translation helpful? Give feedback.
All reactions