Skip to main content
Question

Too many SocketTimeOut Exceptions in last 24 hrs - production environment

  • February 2, 2022
  • 1 reply
  • 454 views

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?

1 reply

@Phong Vu can you please check?


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings