Sometimes I am getting the below error from sts while API call.
I am not able to find the root cause of this error.
Unable to execute HTTP request: Connect to sts.us-east-1.amazonaws.com:443 [sts.us-east-1.amazonaws.com/209.54.177.185] failed: Connect timed out
Stack Trace JSON
{
"message": "Unable to execute HTTP request: Connect to sts.us-east-1.amazonaws.com:443 [sts.us-east-1.amazonaws.com/209.54.177.185] failed: Connect timed out",
"source": "JavaSDK",
"stackTrace": "software.amazon.awssdk.core.exception.SdkClientException$BuilderImpl.build(SdkClientException.java:102)",
"cause": {
"message": "Connect to sts.us-east-1.amazonaws.com:443 [sts.us-east-1.amazonaws.com/209.54.177.185] failed: Connect timed out",
"source": "JavaSDK",
"stackTrace": "org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:151)",
"cause": {
"message": "Connect timed out",
"source": "JavaSDK",
"stackTrace": "java.base/sun.nio.ch.NioSocketImpl.timedFinishConnect(NioSocketImpl.java:546)\njava.base/sun.nio.ch.NioSocketImpl.connect(NioSocketImpl.java:597)",
"cause": null,
"applicationFailureInfo": {
"type": "java.net.SocketTimeoutException",
"nonRetryable": false,
"details": null
}
},
"applicationFailureInfo": {
"type": "org.apache.http.conn.ConnectTimeoutException",
"nonRetryable": false,
"details": null
}
},
"applicationFailureInfo": {
"type": "software.amazon.awssdk.core.exception.SdkClientException",
"nonRetryable": false,
"details": null
}
}