twilio / conversations-ios

SPM releases

Home Page:https://www.twilio.com/docs/conversations/ios/changelog

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

buildAndSendWithCompletion returns the generic TCHError with Command timeout reached when device is online

sveinungkb opened this issue · comments

Issue:
buildAndSendWithCompletion returns the generic TCHError with localizedDescription == Command timeout reached even though device is online. We're suspecting maybe the SDK is stuck thinking it's still offline as this happens after coming back to the device after some time with screen off?

Steps to reproduce:

  1. Run the app with an integrated TwilioConversations
  2. Trying to send various messages first couple of minutes PASSED
  3. Keep app untouched for a long time like the whole night
  4. Trying to send a new message FAILED in seconds due to timeout (wifi is connected and online at this point)
  5. Trying to send another messaged FAILED immediately with the same error

Environment:
TwilioVoice v6.4.3
TwilioConversationsClient v2.2.7
iOS/iPhone: reproducing on various devices

Question:
What is the reason of the “Command timeout reached” error? First time we receive it that looks relatively as we wait for some timeout, but next times we get the same error without any wait.

Thank you for reaching out, we will check the issue.

Can you confirm that new token is generated and updated in the application? I would like to ask you to send a detailed log to a support ticket with the timed out message sending. Please add a reference to this issue.

@sveinungkb hi!

Can you please confirm that issue is resolved or that you have contacted support? Thanks!