Hi Everyone,
We are using SendBirdCall SDK and are successfully able to connect to Server using authenticate methods.
We are a facing a problem when loading Call logs of a user. We are using the below code for that
DirectCallLogListQuery mDirectCallLogListQuery = SendBirdCall.createDirectCallLogListQuery(newDirectCallLogListQuery.Params().setLimit(20));
mDirectCallLogListQuery.next((list, e) -> { Our handling code here }
We are getting this response
Error in loading Direct call logs
2023-10-14 01:10:37.398 26891-26891 CallLogFragment ourapp.com E The http request failed. (timeout)
com.sendbird.calls.SendBirdException: The http request failed. (timeout)
at com.sendbird.calls.SendBirdException$Companion.getSendBirdExceptionWithMessage$calls_release(SendBirdException.kt:72)
at com.sendbird.calls.internal.client.ApiClient$newCall$1.onFailure(ApiClient.kt:154)
at com.sendbird.calls.shadow.okhttp3.RealCall$AsyncCall.execute(RealCall.java:211)
at com.sendbird.calls.shadow.okhttp3.internal.NamedRunnable.run(NamedRunnable.java:32)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
at java.lang.Thread.run(Thread.java:923)
We are getting this TimeOut Error very frequently. Sometimes it works and Sometimes it don’t. No Such issue in SendBirdChat SDK. Also we are testing on a very high speed internet bandwidth on device. 200MBPS network
Please suggest a solution for this
- How to increase the TimeOut settings. IN case it is too low.
- Is the code is incorrectly used.
Our dependency
implementation ‘com.sendbird.sdk:sendbird-calls:1.11.6’
Any help will be appreciated.