com.hazelcast.core.HazelcastException: java.io.IOException: Server returned HTTP response code: 401 for URL: https://ec2.us-west-2.amazonaws.com/?Action=DescribeInstances&Version=2014-06-15&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=ASIAJMMUY6M7L2N6ATPA%2F20160726%2Fus-west-2%2Fec2%2Faws4_request&X-Amz-Date=20160726T164014Z&X-Amz-Expires=30&X-Amz-Signature=f6d3afdc6ec7b32ba9e32cc7889bf5bdfbf415f1b0864781fa3eb3437796accd&X-Amz-SignedHeaders=host

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 GitHub by razor2892
, 1 year ago
java.io.IOException: Server returned HTTP response code: 401 for URL: https://ec2.us-west-2.amazonaws.com/?Action=DescribeInstances&Version=2014-06-15&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=ASIAJMMUY6M7L2N6ATPA%2F20160726%2Fus-west-2
via GitHub by Danny-Hazelcast
, 10 months ago
java.io.IOException: Packet not send to [10.0.0.254]:5701
via Google Groups by Jean Luc, 10 months ago
java.io.IOException: No available connection to address [REDACTED]:5702
via GitHub by sancar
, 9 months ago
java.io.IOException: Not able to setup owner connection!
via GitHub by juanavelez
, 1 year ago
java.io.IOException: Packet not send to [hc4.dev.xxx.com]:5701
com.hazelcast.core.HazelcastException: java.io.IOException: Server returned HTTP response code: 401 for URL: https://ec2.us-west-2.amazonaws.com/?Action=DescribeInstances&Version=2014-06-15&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=ASIAJMMUY6M7L2N6ATPA%2F20160726%2Fus-west-2%2Fec2%2Faws4_request&X-Amz-Date=20160726T164014Z&X-Amz-Expires=30&X-Amz-Signature=f6d3afdc6ec7b32ba9e32cc7889bf5bdfbf415f1b0864781fa3eb3437796accd&X-Amz-SignedHeaders=host
at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1840)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1441)
at com.hazelcast.aws.impl.DescribeInstances.callService(DescribeInstances.java:159)
at com.hazelcast.aws.impl.DescribeInstances.execute(DescribeInstances.java:144)
at com.hazelcast.cluster.impl.TcpIpJoinerOverAWS.getMembers(TcpIpJoinerOverAWS.java:42)

Users with the same issue

35 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
Once, 1 year ago
3 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
96 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.