• Object Storage Service

obs
  1. Help Center
  2. Object Storage Service
  3. Developer Guide (Java SDK)
  4. Troubleshooting
  5. Connection Timeout

Connection Timeout

A connection times out when either of the following occurs.

  1. The exception stack obtained by ObsException is org.apache.http.conn.ConnectTimeoutException or java.net.SocketTimeoutException.
  2. The error code obtained by ObsException.getResponseCode is -1.

Such an error is often caused by an incorrect endpoint or network disconnection. Check whether the endpoint is correct or whether the network connection is normal.