Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/android/210.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Java Twilio:Android IP消息问题_Java_Android_Android Asynctask_Ip_Twilio - Fatal编程技术网

Java Twilio:Android IP消息问题

Java Twilio:Android IP消息问题,java,android,android-asynctask,ip,twilio,Java,Android,Android Asynctask,Ip,Twilio,我正在使用Twilio的IP消息API构建一个聊天应用程序。我能够成功发送和接收消息一分钟,然后应用程序停止发送和接收消息。我正在使用私人频道 以下是错误的堆栈跟踪: Logcat -1194014160 | 07/27/09:21:06.753 | DEBUG | 5 | TNRawHttp | sendResponse: 403: Forbidden for: 1ebe541611e68a14e4907e58ace9ace9, payload: present 07-27 09:21:06.

我正在使用Twilio的IP消息API构建一个聊天应用程序。我能够成功发送和接收消息一分钟,然后应用程序停止发送和接收消息。我正在使用私人频道

以下是错误的堆栈跟踪:

Logcat

-1194014160 | 07/27/09:21:06.753 | DEBUG | 5 | TNRawHttp | sendResponse: 403: Forbidden for: 1ebe541611e68a14e4907e58ace9ace9, payload: present
07-27 09:21:06.753 2135-2274/com.example.boya.thunderapp D/IPMessagingSDK(native): -1194014160 | 07/27/09:21:06.753 | DEBUG | 5 | TNRawHttp | Free sessions pool has 2 keys
07-27 09:21:06.753 2135-2274/com.example.boya.thunderapp D/IPMessagingSDK(native): -1194014160 | 07/27/09:21:06.753 | DEBUG | 5 | TNRawHttp | key: https://cds.twilio.com443 has 1 sessions
07-27 09:21:06.753 2135-2274/com.example.boya.thunderapp D/IPMessagingSDK(native): -1194014160 | 07/27/09:21:06.753 | DEBUG | 5 | TNRawHttp | key: https://cds.us1.twilio.com443 has 1 sessions
07-27 09:21:06.754 2135-2274/com.example.boya.thunderapp I/IPMessagingSDK(native): -1194014160 | 07/27/09:21:06.753 | INFO | 0 | TDSCollectionInsertActivity(2) | response 1eb5e5416118a14e4907e58ace9ace9 status 403 body "{"message":"Access forbidden","status":403}" (43 bytes)
07-27 09:21:06.754 2135-2274/com.example.boya.thunderapp I/IPMessagingSDK(native): -1194014160 | 07/27/09:21:06.754 | INFO | 0 | ServiceObserver | error occured id: 17 error: 7
07-27 09:21:06.754 2135-2274/com.example.boya.thunderapp E/IPMessagingSDK(native): -1194014160 | 07/27/09:21:06.754 | CRITICAL | IPM | [listener] onErrorOccured, error 7
07-27 09:21:06.754 2135-2274/com.example.boya.thunderapp E/IPMessagingSDK(native): -1194014160 | 07/27/09:21:06.754 | CRITICAL | IPM | commands: error 7
请帮助解决这个问题

谢谢,
Savani

查看Twilio的文档,我想您使用的服务是禁止访问的。查看他们的免费使用限制。查看Twilio的文档,我猜您正在使用的服务是禁止访问的。检查它们的免费使用限制。