java.io.IOException: Server returned HTTP response code: 503 for URL: http://169.254.169.254/latest/meta-data/iam/security-credentials/
Searched on Google with the first line of a JAVA stack trace?
We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.
Recommended solutions based on your search
Samebug tips
- Expert tip
Check if you didn't set RequestProperty Content-Type to the wrong type or if you're trying to send the wrong file to the server.
Solutions on the web
via Google Groups by saianirudh kantabathina, 1 year ago
via Stack Overflow by Adwait Bembalkar
, 1 year agovia symmetricds by advocatus123
, 2 years agovia Stack Overflow by Shek
, 2 years agovia Stack Overflow by rajiv coomar
, 1 year agovia GitHub by ladovina
, 1 year agojava.io.IOException: Server returned HTTP response code: 503 for URL: http://169.254.169.254/latest/meta-data/iam/security-credentials/
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1628)
at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:468)
at com.amazonaws.internal.EC2MetadataClient.readResponse(EC2MetadataClient.java:110)