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

  1. ,
    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.

  2. ,

    401 means "Unauthorized", so there must be something with your credentials. You need to pass the authentication to let the server know its a valid user. Check whether the authentication details are provided.

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
, 1 year ago
java.io.IOException: Packet not send to [10.0.0.254]:5701
via Google Groups by Jean Luc, 1 year ago
java.io.IOException: No available connection to address [REDACTED]:5702
via GitHub by sancar
, 1 year 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
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 sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:254)	at com.hazelcast.aws.impl.DescribeInstances.callService(DescribeInstances.java:159)	at com.hazelcast.aws.impl.DescribeInstances.execute(DescribeInstances.java:144)	at com.hazelcast.aws.AWSClient.getPrivateIpAddresses(AWSClient.java:53)	at com.hazelcast.cluster.impl.TcpIpJoinerOverAWS.getMembers(TcpIpJoinerOverAWS.java:42)