question

Nirmal Babu avatar image
Nirmal Babu asked Nirmal Babu published

Too many SocketTimeOut Exceptions in last 24 hrs - production environment

RC-analytics.JPGAround 30% of the messages that are sent in the last 24hrs have failed.

Please find the stacktrace:

java.net.SocketTimeoutException: timeout

at okio.Okio$4.newTimeoutException(Okio.java:232) ~[okio-1.17.2.jar!/:?]

at okio.AsyncTimeout.exit(AsyncTimeout.java:286) ~[okio-1.17.2.jar!/:?]

at okio.AsyncTimeout$2.read(AsyncTimeout.java:241) ~[okio-1.17.2.jar!/:?]

at okio.RealBufferedSource.indexOf(RealBufferedSource.java:358) ~[okio-1.17.2.jar!/:?]

at okio.RealBufferedSource.readUtf8LineStrict(RealBufferedSource.java:230) ~[okio-1.17.2.jar!/:?]

at okhttp3.internal.http1.Http1ExchangeCodec.readHeaderLine(Http1ExchangeCodec.java:242) ~[okhttp-3.14.9.jar!/:?]

at okhttp3.internal.http1.Http1ExchangeCodec.readResponseHeaders(Http1ExchangeCodec.java:213) ~[okhttp-3.14.9.jar!/:?]

at okhttp3.internal.connection.Exchange.readResponseHeaders(Exchange.java:115) ~[okhttp-3.14.9.jar!/:?]

at okhttp3.internal.http.CallServerInterceptor.intercept(CallServerInterceptor.java:94) ~[okhttp-3.14.9.jar!/:?]

at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:142) ~[okhttp-3.14.9.jar!/:?]

at okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.java:43) ~[okhttp-3.14.9.jar!/:?]

at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:142) ~[okhttp-3.14.9.jar!/:?]

at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:117) ~[okhttp-3.14.9.jar!/:?]

at okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.java:94) ~[okhttp-3.14.9.jar!/:?]

at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:142) ~[okhttp-3.14.9.jar!/:?]

at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:117) ~[okhttp-3.14.9.jar!/:?]

at okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.java:93) ~[okhttp-3.14.9.jar!/:?]

at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:142) ~[okhttp-3.14.9.jar!/:?]

at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.java:88) ~[okhttp-3.14.9.jar!/:?]

at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:142) ~[okhttp-3.14.9.jar!/:?]

at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:117) ~[okhttp-3.14.9.jar!/:?]

at okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:229) ~[okhttp-3.14.9.jar!/:?]

at okhttp3.RealCall.execute(RealCall.java:81) ~[okhttp-3.14.9.jar!/:?]

at com.ringcentral.RestClient.requestRaw(RestClient.java:306) ~[ringcentral-1.4.0.jar!/:?]

at com.ringcentral.RestClient.request(RestClient.java:319) ~[ringcentral-1.4.0.jar!/:?]

at com.ringcentral.RestClient.request(RestClient.java:250) ~[ringcentral-1.4.0.jar!/:?]

at com.ringcentral.RestClient.post(RestClient.java:137) ~[ringcentral-1.4.0.jar!/:?]

at com.ringcentral.paths.restapi.account.extension.sms.Index.post(Index.kt:18) ~[ringcentral-1.4.0.jar!/:?]


Using java sdk version 1.4.0

Could you please help in finding the root cause?

errorssending sms
1 comment
1 |3000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Nirmal Babu avatar image Nirmal Babu commented ·

@Phong Vu can you please check?

0 Likes 0 ·

0 Answers

Developer sandbox tools

Using the RingCentral Phone for Desktop, you can dial or receive test calls, send and receive test SMS or Fax messages in your sandbox environment.

Download RingCentral Phone for Desktop:

Tip: switch to the "sandbox mode" before logging in the app:

  • On MacOS: press "fn + command + f2" keys
  • On Windows: press "Ctrl + F2" keys