在初始化 Twilio聊天客户端时,我收到错误回复
- (errorInfo.getMessage:操作已取消,无法设置FPA令牌)
- (errorInfo.getstatus的错误状态:0)和
- (errorInfo.getCode:2)
醇>
它已成功初始化但现在它给出错误响应,而不是成功创建聊天客户端。
我坚持这个。请帮助......提前谢谢。
PHP代码我用来获取访问令牌
<?php
include('vendor/autoload.php');
include('./randos.php');
use Twilio\Jwt\AccessToken;
use Twilio\Jwt\Grants\VideoGrant;
use Twilio\Jwt\Grants\SyncGrant;
use Twilio\Jwt\Grants\ChatGrant;
// Load environment variables from .env, or environment if available
$dotenv = new Dotenv\Dotenv(__DIR__);
$dotenv->load();
// An identifier for your app - can be anything you'd like
$appName = 'TwilioStarterDemo';
// print_r($urlPoster);
$data = json_decode(file_get_contents('php://input'), true);
print_r($data);
echo $data["identity"];
$identity = $data['identity'];
// A device ID should be passed as a query string parameter to this script
$deviceId = $data['deviceId']; //'somedevice';
$endpointId = $appName . ':' . $identity . ':' . $deviceId;
// Create access token, which we will serialize and send to the client
$token = new AccessToken(getenv('TWILIO_ACCOUNT_SID'), getenv('TWILIO_API_KEY'), getenv('TWILIO_API_SECRET'), 3600, $identity);
// Grant access to Video
$grant = new VideoGrant();
$token->addGrant($grant);
// Grant access to Sync
$syncGrant = new SyncGrant();
if (empty(getenv('TWILIO_SYNC_SERVICE_SID'))) {
$syncGrant->setServiceSid('default');
} else {
$syncGrant->setServiceSid(getenv('TWILIO_SYNC_SERVICE_SID'));
}
$token->addGrant($syncGrant);
// Grant access to Chat
if (!empty(getenv('TWILIO_CHAT_SERVICE_SID'))) {
$chatGrant = new ChatGrant();
$chatGrant->setServiceSid(getenv('TWILIO_CHAT_SERVICE_SID'));
$chatGrant->setEndpointId($endpointId);
$token->addGrant($chatGrant);
}
// return serialized token and the user's randomly generated ID
header('Content-type:application/json;charset=utf-8');
echo json_encode(array(
'identity' => $identity,
'token' => $token->toJWT(),
'deviceId' => $deviceId
));
访问我正在获取的令牌
eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiIsImN0eSI6InR3aWxpby1mcGE7dj0xIn0.eyJqdGkiOiJTSzg1OWEzZjM4ZDFmYzRkMmRhMDllYzNmYmEwMjc5NzIzLTE1MTE5MzMzMzYiLCJpc3MiOiJTSzg1OWEzZjM4ZDFmYzRkMmRhMDllYzNmYmEwMjc5NzIzIiwic3ViIjoiQUMzMTA0YzE2ZWJhNTg5ODEyZjAyNDcwNGU3NmUzYzZlMyIsImV4cCI6MTUxMTkzNjkzNiwiZ3JhbnRzIjp7ImlkZW50aXR5IjoicmFmaXEiLCJ2aWRlbyI6e30sImRhdGFfc3luYyI6eyJzZXJ2aWNlX3NpZCI6ImRlZmF1bHQifSwiY2hhdCI6eyJzZXJ2aWNlX3NpZCI6IklTZGNlZmFmOGU4OWZlNDk5MDhhMWZkZmRlOTllYjg0NmEiLCJlbmRwb2ludF9pZCI6IlR3aWxpb1N0YXJ0ZXJEZW1vOnJhZmlxOjFmYmRjYTg1YmU1NjMyMGQifX19.e_8s9jErDpeCM0mdIc-RfHpskM5Z3eBloj7ZI3HDOl4
代码日志
D/TwilioAdminAccessToken: eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiIsImN0eSI6InR3aWxpby1mcGE7dj0xIn0.eyJqdGkiOiJTSzg1OWEzZjM4ZDFmYzRkMmRhMDllYzNmYmEwMjc5NzIzLTE1MTE5MzMzMzYiLCJpc3MiOiJTSzg1OWEzZjM4ZDFmYzRkMmRhMDllYzNmYmEwMjc5NzIzIiwic3ViIjoiQUMzMTA0YzE2ZWJhNTg5ODEyZjAyNDcwNGU3NmUzYzZlMyIsImV4cCI6MTUxMTkzNjkzNiwiZ3JhbnRzIjp7ImlkZW50aXR5IjoicmFmaXEiLCJ2aWRlbyI6e30sImRhdGFfc3luYyI6eyJzZXJ2aWNlX3NpZCI6ImRlZmF1bHQifSwiY2hhdCI6eyJzZXJ2aWNlX3NpZCI6IklTZGNlZmFmOGU4OWZlNDk5MDhhMWZkZmRlOTllYjg0NmEiLCJlbmRwb2ludF9pZCI6IlR3aWxpb1N0YXJ0ZXJEZW1vOnJhZmlxOjFmYmRjYTg1YmU1NjMyMGQifX19.e_8s9jErDpeCM0mdIc-RfHpskM5Z3eBloj7ZI3HDOl4
I/System.out: token updated.
D/AdminChat: token Updated
D/AdminChat: Building client
D/TWC: ChatClient(native): -1304996556 | 11/29/10:58:56.517 | DEBUG | ChatClient(native) | Started ChatClient nativeCreate()
D/jni_mate: Got method ID 0x86d46f14 for method onMessageAdded(Lcom/twilio/chat/Message;)V
D/jni_mate: Got method ID 0x86d46f5c for method onMessageUpdated(Lcom/twilio/chat/Message;Lcom/twilio/chat/Message$UpdateReason;)V
D/jni_mate: Got method ID 0x86d46f38 for method onMessageDeleted(Lcom/twilio/chat/Message;)V
D/jni_mate: Got method ID 0x86d46ea8 for method onMemberAdded(Lcom/twilio/chat/Member;)V
D/jni_mate: Got method ID 0x86d46ef0 for method onMemberUpdated(Lcom/twilio/chat/Member;Lcom/twilio/chat/Member$UpdateReason;)V
D/jni_mate: Got method ID 0x86d46ecc for method onMemberDeleted(Lcom/twilio/chat/Member;)V
D/jni_mate: Got method ID 0x86d46fc8 for method onTypingStarted(Lcom/twilio/chat/Member;)V
D/jni_mate: Got method ID 0x86d46fa4 for method onTypingEnded(Lcom/twilio/chat/Member;)V
D/jni_mate: Got method ID 0x86d46f80 for method onSynchronizationChanged(Lcom/twilio/chat/Channel;)V
D/jni_mate: Got method ID 0x86d4806c for method onChannelJoined(Lcom/twilio/chat/Channel;)V
D/jni_mate: Got method ID 0x86d48048 for method onChannelInvited(Lcom/twilio/chat/Channel;)V
D/jni_mate: Got method ID 0x86d48000 for method onChannelAdded(Lcom/twilio/chat/Channel;)V
D/jni_mate: Got method ID 0x86d480b4 for method onChannelUpdated(Lcom/twilio/chat/Channel;Lcom/twilio/chat/Channel$UpdateReason;)V
D/jni_mate: Got method ID 0x86d48024 for method onChannelDeleted(Lcom/twilio/chat/Channel;)V
D/jni_mate: Got method ID 0x86d48144 for method onNotification(Ljava/lang/String;Ljava/lang/String;)V
D/jni_mate: Got method ID 0x86d4818c for method onNotificationSubscribed()V
D/jni_mate: Got method ID 0x86d48168 for method onNotificationFailed(Lcom/twilio/chat/ErrorInfo;)V
D/jni_mate: Got method ID 0x86d481f8 for method onUserUpdated(Lcom/twilio/chat/User;Lcom/twilio/chat/User$UpdateReason;)V
D/jni_mate: Got method ID 0x86d481b0 for method onUserSubscribed(Lcom/twilio/chat/User;)V
D/jni_mate: Got method ID 0x86d481d4 for method onUserUnsubscribed(Lcom/twilio/chat/User;)V
D/jni_mate: Got method ID 0x86d480d8 for method onClientSynchronization(Lcom/twilio/chat/ChatClient$SynchronizationStatus;)V
D/jni_mate: Got method ID 0x86d480fc for method onConnectionStateChange(Lcom/twilio/chat/ChatClient$ConnectionState;)V
D/jni_mate: Got method ID 0x86d48120 for method onError(Lcom/twilio/chat/ErrorInfo;)V
D/jni_mate: Got method ID 0x86d4addc for method <init>(Landroid/content/Context;)V
D/TWC:: -2035873504 | 11/29/10:58:56.529 | DEBUG | | Root certificat store already initialized
D/TWC: ChatClient(native): -2035873504 | 11/29/10:58:56.529 | DEBUG | ChatClient(native) | Creating notification client observer
D/TWC: TNTwilsockClient: -2035873504 | 11/29/10:58:56.529 | DEBUG | 61 | TNTwilsockClient | client: version: 2.4.0, build id: 236, build branch: master, os: android, arch: x86
D/TWC: TNTwilsockClient: -2035873504 | 11/29/10:58:56.529 | DEBUG | 61 | TNTwilsockClient | Default thread pool: Available: 16; Capacity: 16
I/TWC: TNHttpTransportClient: -2035873504 | 11/29/10:58:56.529 | INFO | 63 | TNHttpTransportClient | initialising...
I/TWC: TNHttpTransportClient: -2035873504 | 11/29/10:58:56.529 | INFO | 63 | TNHttpTransportClient | initialised
D/TWC: TCEmsClient: -2035873504 | 11/29/10:58:56.529 | DEBUG | 65 | TCEmsClient | TCEmsClient
D/TWC: ChatContinuationTokenStorage(native): -2035873504 | 11/29/10:58:56.529 | DEBUG | ChatContinuationTokenStorage(native) | ChatContinuationTokenStorage::ChatContinuationTokenStorage(jni_mate::GlobalRef<_jobject*>)
D/TWC: TCBackoffEmsClient: -2035873504 | 11/29/10:58:56.529 | DEBUG | 64 | TCBackoffEmsClient | init
D/TWC: TCEmsClient: -2035873504 | 11/29/10:58:56.529 | DEBUG | 65 | TCEmsClient | init
D/TWC: TCBackoffEmsClient: -2035873504 | 11/29/10:58:56.530 | DEBUG | 64 | TCBackoffEmsClient | setToken, eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiIsImN0eSI6InR3aWxpby1mcGE7dj0xIn0.eyJqdGkiOiJTSzg1OWEzZjM4ZDFmYzRkMmRhMDllYzNmYmEwMjc5NzIzLTE1MTE5MzMzMzYiLCJpc3MiOiJTSzg1OWEzZjM4ZDFmYzRkMmRhMDllYzNmYmEwMjc5NzIzIiwic3ViIjoiQUMzMTA0YzE2ZWJhNTg5ODEyZjAyNDcwNGU3NmUzYzZlMyIsImV4cCI6MTUxMTkzNjkzNiwiZ3JhbnRzIjp7ImlkZW50aXR5IjoicmFmaXEiLCJ2aWRlbyI6e30sImRhdGFfc3luYyI6eyJzZXJ2aWNlX3NpZCI6ImRlZmF1bHQifSwiY2hhdCI6eyJzZXJ2aWNlX3NpZCI6IklTZGNlZmFmOGU4OWZlNDk5MDhhMWZkZmRlOTllYjg0NmEiLCJlbmRwb2ludF9pZCI6IlR3aWxpb1N0YXJ0ZXJEZW1vOnJhZmlxOjFmYmRjYTg1YmU1NjMyMGQifX19.e_8s9jErDpeCM0mdIc-RfHpskM5Z3eBloj7ZI3HDOl4
D/TWC: TCBackoffEmsClient: -2035873504 | 11/29/10:58:56.530 | DEBUG | 64 | TCBackoffEmsClient | scheduleSetToken
I/TWC: TCBackoffEmsClient: -2035873504 | 11/29/10:58:56.530 | INFO | 64 | TCBackoffEmsClient | schedule new task
D/TWC: TCBackoffEmsClient: -2143557344 | 11/29/10:58:56.531 | DEBUG | 64 | TCBackoffEmsClient | internal set token run...
D/TWC: TCEmsClient: -2143557344 | 11/29/10:58:56.531 | DEBUG | 65 | TCEmsClient | setToken
D/TWC: TCEmsClient: -2143557344 | 11/29/10:58:56.531 | DEBUG | 65 | TCEmsClient | runGenerateTokenTask
D/TWC: ChatContinuationTokenStorage(native): -2143557344 | 11/29/10:58:56.531 | DEBUG | ChatContinuationTokenStorage(native) | std::__1::string retrieveTokenFromStorage(std::__1::string, jni_mate::GlobalRef<_jobject*>)
D/TWC: ChatContinuationTokenStorage(native): -2143557344 | 11/29/10:58:56.531 | DEBUG | ChatContinuationTokenStorage(native) | virtual std::__1::string ChatContinuationTokenStorage::fetchContinuationToken(const string&) retrieved token `` under key default
D/TWC: TCHttpObserver: -2143557344 | 11/29/10:58:56.531 | DEBUG | 66 | TCHttpObserver | client: version: 2.4.0, build id: 236, build branch: master, os: android, arch: x86
I/TWC: TNTwilsockClient: 2133244192 | 11/29/10:58:56.539 | INFO | 61 | TNTwilsockClient | connectImpl >> Disconnected
D/TWC: TNTwilsockClientImpl: 2133244192 | 11/29/10:58:56.539 | DEBUG | 62 | TNTwilsockClientImpl | connect
I/TWC: TNDisconnectedState: 2133244192 | 11/29/10:58:56.540 | INFO | 2 | TNDisconnectedState | Leaving state: Disconnected
I/TWC: TNTwilsockClient: 2133244192 | 11/29/10:58:56.540 | INFO | 61 | TNTwilsockClient | Change state: Disconnected --> Transport connecting
I/TWC: TNTransportConnectingState: 2133244192 | 11/29/10:58:56.540 | INFO | 9 | TNTransportConnectingState | Entering state: Transport connecting
D/TWC: TNTwilsockClientImpl: 2133244192 | 11/29/10:58:56.540 | DEBUG | 62 | TNTwilsockClientImpl | startTransportConnectingTimer
D/TWC: TNWebsocket: 2132199712 | 11/29/10:58:56.541 | DEBUG | 67 | TNWebsocket | Connecting...
D/TWC: TNWebsocket: 2132199712 | 11/29/10:58:56.541 | DEBUG | 67 | TNWebsocket | Using proxy : except ()
D/TWC: TNWebsocket: 2132199712 | 11/29/10:58:56.541 | DEBUG | 67 | TNWebsocket | Trying to establish connection to: https://tsock.us1.twilio.com
I/TWC: TNTwilsockClient: 2133244192 | 11/29/10:58:56.543 | INFO | 61 | TNTwilsockClient | addObserverImpl >> Transport connecting
D/TWC: TNTwilsockClientImpl: 2133244192 | 11/29/10:58:56.543 | DEBUG | 62 | TNTwilsockClientImpl | addObserver
I/TWC: TNHttpTransportClient: 2133244192 | 11/29/10:58:56.543 | INFO | 63 | TNHttpTransportClient | twilsock is in disconnected state: Unknown reason
I/TWC: TNHttpTransportClient: -2143557344 | 11/29/10:58:56.547 | INFO | 63 | TNHttpTransportClient | requestId=RQ253710f7d4e94a90b549db06f6243f50, enqueueing request to: https://ems.us1.twilio.com/v1/token
D/TWC: TCEmsClient: -2143557344 | 11/29/10:58:56.548 | DEBUG | 65 | TCEmsClient | setToken - end
I/TWC: TNTwilsockClient: 2133244192 | 11/29/10:58:58.540 | INFO | 61 | TNTwilsockClient | onTransportConnectedImpl >> Transport connecting
D/TWC: TNTwilsockClientImpl: 2133244192 | 11/29/10:58:58.540 | DEBUG | 62 | TNTwilsockClientImpl | sendInit
I/TWC: TNTwilsockClientImpl: 2133244192 | 11/29/10:58:58.548 | INFO | 62 | TNTwilsockClientImpl | sendInit, id = 287f2315600c4ea3a2b10361e4a2e12ce12c
I/TWC: TNTransportConnectingState: 2133244192 | 11/29/10:58:58.548 | INFO | 9 | TNTransportConnectingState | Leaving state: Transport connecting
D/TWC: TNTwilsockClientImpl: 2133244192 | 11/29/10:58:58.549 | DEBUG | 62 | TNTwilsockClientImpl | stopTransportConnectingTimer
I/TWC: TNTwilsockClient: 2133244192 | 11/29/10:58:58.549 | INFO | 61 | TNTwilsockClient | Change state: Transport connecting --> Initialising
I/TWC: TNInitialisingState: 2133244192 | 11/29/10:58:58.549 | INFO | 10 | TNInitialisingState | Entering state: Initialising
D/TWC: TNWebsocket: 2132199712 | 11/29/10:58:58.550 | DEBUG | 67 | TNWebsocket | Sending frame via websocket (677)
TWILSOCK V3.0 656
{"id":"287f2315600c4ea3a2b10361e4a2e12ce12c","method":"init","token":"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiIsImN0eSI6InR3aWxpby1mcGE7dj0xIn0.eyJqdGkiOiJTSzg1OWEzZjM4ZDFmYzRkMmRhMDllYzNmYmEwMjc5NzIzLTE1MTE5MzMzMzYiLCJpc3MiOiJTSzg1OWEzZjM4ZDFmYzRkMmRhMDllYzNmYmEwMjc5NzIzIiwic3ViIjoiQUMzMTA0YzE2ZWJhNTg5ODEyZjAyNDcwNGU3NmUzYzZlMyIsImV4cCI6MTUxMTkzNjkzNiwiZ3JhbnRzIjp7ImlkZW50aXR5IjoicmFmaXEiLCJ2aWRlbyI6e30sImRhdGFfc3luYyI6eyJzZXJ2aWNlX3NpZCI6ImRlZmF1bHQifSwiY2hhdCI6eyJzZXJ2aWNlX3NpZCI6IklTZGNlZmFmOGU4OWZlNDk5MDhhMWZkZmRlOTllYjg0NmEiLCJlbmRwb2ludF9pZCI6IlR3aWxpb1N0YXJ0ZXJEZW1vOnJhZmlxOjFmYmRjYTg1YmU1NjMyMGQifX19.e_8s9jErDpeCM0mdIc-RfHpskM5Z3eBloj7ZI3HDOl4"}
D/TWC: TNWebsocket: -2145646304 | 11/29/10:58:59.162 | DEBUG | 67 | TNWebsocket | Receive message 136 bytes
D/TWC: TNTwilsockClient: -2145646304 | 11/29/10:58:59.163 | DEBUG | 61 | TNTwilsockClient | onMessageReceived (153)
TWILSOCK V3.0 132
{"method":"reply","id":"287f2315600c4ea3a2b10361e4a2e12ce12c","payload_size":0,"status":{"code":401,"status":"Authentication fail"}}
I/TWC: TNTwilsockClient: -2145646304 | 11/29/10:58:59.163 | INFO | 61 | TNTwilsockClient | onMessageReceived, method = 8, id = 287f2315600c4ea3a2b10361e4a2e12ce12c
D/TWC: TNTwilsockClientImpl: -2145646304 | 11/29/10:58:59.163 | DEBUG | 62 | TNTwilsockClientImpl | proceedReplyMessage 287f2315600c4ea3a2b10361e4a2e12ce12c
D/TWC: TNWebsocket: -2145646304 | 11/29/10:58:59.163 | DEBUG | 67 | TNWebsocket | Receive message 136 bytes
D/TWC: TNTwilsockClient: -2145646304 | 11/29/10:58:59.163 | DEBUG | 61 | TNTwilsockClient | onMessageReceived (151)
TWILSOCK V3.0 130
{"method":"close","id":"TMf3a930b4f9e24656ac8d00830e40c2b3","payload_size":0,"status":{"code":401,"status":"Authentication fail"}}
I/TWC: TNTwilsockClient: -2145646304 | 11/29/10:58:59.163 | INFO | 61 | TNTwilsockClient | onMessageReceived, method = 3, id = TMf3a930b4f9e24656ac8d00830e40c2b3
D/TWC: TNTwilsockClientImpl: -2145646304 | 11/29/10:58:59.163 | DEBUG | 62 | TNTwilsockClientImpl | proceedCloseMessage TMf3a930b4f9e24656ac8d00830e40c2b3
I/TWC: TNTwilsockClientImpl: -2145646304 | 11/29/10:58:59.163 | INFO | 62 | TNTwilsockClientImpl | Server has just initiated process of closing connection! 401: Authentication fail
D/TWC: TNTwilsockClient: 2133244192 | 11/29/10:58:59.164 | DEBUG | 61 | TNTwilsockClient | Reply for '287f2315600c4ea3a2b10361e4a2e12ce12c'
W/TWC: TNTwilsockClient: 2133244192 | 11/29/10:58:59.164 | WARNING | 61 | TNTwilsockClient | Reply status for init request is not success: 401, Authentication fail
I/TWC: TNTwilsockClient: 2133244192 | 11/29/10:58:59.164 | INFO | 61 | TNTwilsockClient | ReceivedErrorInitReply >> Initialising
D/TWC: TNTwilsockClientImpl: 2133244192 | 11/29/10:58:59.164 | DEBUG | 62 | TNTwilsockClientImpl | notifyAboutError
D/TWC: TNTwilsockClientImpl: 2133244192 | 11/29/10:58:59.164 | DEBUG | 62 | TNTwilsockClientImpl | disconnect
D/TWC: TNWebsocket: 2133244192 | 11/29/10:58:59.165 | DEBUG | 67 | TNWebsocket | Disconnect
D/TWC: TNWebsocket: 2133244192 | 11/29/10:58:59.165 | DEBUG | 67 | TNWebsocket | Reset session
D/TWC: TNWebsocket: 2132199712 | 11/29/10:58:59.165 | DEBUG | 67 | TNWebsocket | Disconnecting...
D/TWC: TNWebsocket: 2132199712 | 11/29/10:58:59.419 | DEBUG | 67 | TNWebsocket | Disconnected
D/TWC: TNTwilsockClient: 2132199712 | 11/29/10:58:59.419 | DEBUG | 61 | TNTwilsockClient | onDisconnected
I/TWC: TNInitialisingState: 2133244192 | 11/29/10:58:59.420 | INFO | 10 | TNInitialisingState | Leaving state: Initialising
I/TWC: TNTwilsockClient: 2133244192 | 11/29/10:58:59.420 | INFO | 61 | TNTwilsockClient | Change state: Initialising --> TransportDisconnecting
I/TWC: TNTransportDisconnectingState: 2133244192 | 11/29/10:58:59.421 | INFO | 11 | TNTransportDisconnectingState | Entering state: TransportDisconnecting
I/TWC: TNTwilsockClient: 2133244192 | 11/29/10:58:59.421 | INFO | 61 | TNTwilsockClient | stopUpstreamRequests
I/TWC: TNTwilsockClient: 2133244192 | 11/29/10:58:59.421 | INFO | 61 | TNTwilsockClient | sendSuccessReplyImpl >> TransportDisconnecting
W/TWC: TNTransportDisconnectingState: 2133244192 | 11/29/10:58:59.421 | WARNING | 11 | TNTransportDisconnectingState | Success reply can not be sent. Twilsock is not in connected state
I/TWC: TNTwilsockClient: 2133244192 | 11/29/10:58:59.421 | INFO | 61 | TNTwilsockClient | closeRemotelyImpl >> TransportDisconnecting
W/TWC: TNTransportDisconnectingState: 2133244192 | 11/29/10:58:59.421 | WARNING | 11 | TNTransportDisconnectingState | Disconnect procedure has been already started
I/TWC: TNTwilsockClient: 2133244192 | 11/29/10:58:59.421 | INFO | 61 | TNTwilsockClient | onDisconnectedImpl >> TransportDisconnecting
I/TWC: TNTransportDisconnectingState: 2133244192 | 11/29/10:58:59.421 | INFO | 11 | TNTransportDisconnectingState | Leaving state: TransportDisconnecting
I/TWC: TNTwilsockClient: 2133244192 | 11/29/10:58:59.421 | INFO | 61 | TNTwilsockClient | Change state: TransportDisconnecting --> Disconnected
I/TWC: TNDisconnectedState: 2133244192 | 11/29/10:58:59.421 | INFO | 2 | TNDisconnectedState | Entering state: Disconnected
D/TWC: TNTwilsockClientImpl: 2133244192 | 11/29/10:58:59.421 | DEBUG | 62 | TNTwilsockClientImpl | notifyAboutDisconnected
I/TWC: TNHttpTransportClient: 2133244192 | 11/29/10:58:59.422 | INFO | 63 | TNHttpTransportClient | twilsock is in disconnected state: Unknown reason
I/TWC: TNTwilsockClient: 2133244192 | 11/29/10:58:59.422 | INFO | 61 | TNTwilsockClient | reset
D/TWC: TNWebsocket: 2133244192 | 11/29/10:58:59.422 | DEBUG | 67 | TNWebsocket | ~TNWebsocket - begin
D/TWC: TNWebsocket: 2133244192 | 11/29/10:58:59.422 | DEBUG | 67 | TNWebsocket | Reset session
D/TWC: TNWebsocket: 2132199712 | 11/29/10:58:59.422 | DEBUG | 67 | TNWebsocket | Disconnecting...
D/TWC: TNWebsocket: 2132199712 | 11/29/10:58:59.422 | DEBUG | 67 | TNWebsocket | Disconnected
D/TWC: TNWebsocket: 2132199712 | 11/29/10:58:59.422 | DEBUG | 67 | TNWebsocket | close
D/TWC: TNWebsocket: 2133244192 | 11/29/10:58:59.423 | DEBUG | 67 | TNWebsocket | ~TNWebsocket - end
I/TWC: TNTwilsockClient: 2133244192 | 11/29/10:58:59.423 | INFO | 61 | TNTwilsockClient | stopUpstreamRequests
D/TWC: TNHttpTransportClient: -2112984800 | 11/29/10:59:01.556 | DEBUG | 63 | TNHttpTransportClient | dequeueing request: RQ253710f7d4e94a90b549db06f6243f50
D/TWC: TCHttpObserver: -2112984800 | 11/29/10:59:01.556 | DEBUG | 66 | TCHttpObserver | onCanceled - begin
D/TWC: TCHttpObserver: -2112984800 | 11/29/10:59:01.556 | DEBUG | 66 | TCHttpObserver | setPromise - 2
D/TWC: TCBackoffEmsClient: -2112984800 | 11/29/10:59:01.556 | DEBUG | 64 | TCBackoffEmsClient | internal set token result: 2
I/TWC: TCBackoffEmsClient: -2112984800 | 11/29/10:59:01.556 | INFO | 64 | TCBackoffEmsClient | backoff result: 1 - 'Cancelled by user', setToken result: 2
D/TWC: TCBackoffEmsClient: -2112984800 | 11/29/10:59:01.556 | DEBUG | 64 | TCBackoffEmsClient | scheduleSetToken
D/TWC: TCEmsClient: -2112984800 | 11/29/10:59:01.556 | DEBUG | 65 | TCEmsClient | runGenerateTokenTask
D/TWC: TCHttpObserver: -2112984800 | 11/29/10:59:01.556 | DEBUG | 66 | TCHttpObserver | onCanceled - end
D/TWC: TCHttpObserver: -2112984800 | 11/29/10:59:01.557 | DEBUG | 66 | TCHttpObserver | ~TCHttpObserver - begin
D/TWC: TCHttpObserver: -2112984800 | 11/29/10:59:01.557 | DEBUG | 66 | TCHttpObserver | ~TCHttpObserver - end
D/jni_mate: Got method ID 0x86d499fc for method <init>(ILjava/lang/String;)V
D/TWC: TNTwilsockClient: -2035873504 | 11/29/10:59:01.557 | DEBUG | 61 | TNTwilsockClient | ~TNTwilsockClient - begin
D/TWC: TNTwilsockClient: -2035873504 | 11/29/10:59:01.557 | DEBUG | 61 | TNTwilsockClient | Cleaning observers list - begin
D/TWC: TNTwilsockClient: -2035873504 | 11/29/10:59:01.557 | DEBUG | 61 | TNTwilsockClient | Cleaning observers list - end
D/TWC: TNTwilsockClient: -2035873504 | 11/29/10:59:01.557 | DEBUG | 61 | TNTwilsockClient | cleanup_threads - begin
D/TWC: TNTwilsockClient: -2035873504 | 11/29/10:59:01.557 | DEBUG | 61 | TNTwilsockClient | Default thread pool: Available: 16; Capacity: 16
D/TWC: TNTwilsockClient: -2035873504 | 11/29/10:59:01.558 | DEBUG | 61 | TNTwilsockClient | cleanup_threads - end
D/TWC: TNTwilsockClient: -2035873504 | 11/29/10:59:01.558 | DEBUG | 61 | TNTwilsockClient | ~TNTwilsockClient - end
D/TWC: TNTwilsockClientImpl: -2035873504 | 11/29/10:59:01.558 | DEBUG | 62 | TNTwilsockClientImpl | destructed