Skip to Content
0
Jun 07, 2019 at 12:29 PM

Socket Timeout Getting While doing create Entity (SAP Cloud Platform SDK for Android)

321 Views

Hi Team,

We are unable get response from HCPMS. We are getting error like "Caused by: java.net.SocketTimeoutException: timeout". This issue will happen rare case. We increased Timeout (ms) : 240000 ms in HCPMS. But SAP side entity created.Please help to us.

find below code snippet:

provider.createEntityAsync(entity,success,failure);

Find below full error message in Debug mode: com.sap.cloud.mobile.odata.http.HttpException: https://xxxxxxxxxx.hana.ondemand.com; Caused by: com.sap.cloud.mobile.odata.core.RuntimeIOException; Caused by: java.net.SocketTimeoutException: timeout; Caused by: java.net.SocketException: socket is closed

Regards

Ramakrishna. Amathi