• Object Storage Service

  1. Help Center
  2. Object Storage Service
  3. Developer Guide (Android 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 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.