注册
iOS

我照着文档链接服务器,为什么还报EMChatManager+Chat == asyncSendMessage:progress:::didSendMessage:error: - 无法连接到服务器.

已邀请:
报的错误是无法连接到服务器,这种情况是您那边的网络不好导致的报错,您用我们的demo发消息试试,看能不能发出去。
 

小江 - 90后

demo能发出去,也没打印出NSLog:登录成功

小江 - 90后

demo能发出去,这是打印出来的
 
 2015-12-11 13:37:50:700 E_Supply[15655:807] begin insert message to chatter::6001, messageId::1518f8b9e6c

2015-12-11 13:37:50:702 E_Supply[15655:807] end insert message with account::8001, to chatter::6001, messageId::1518f8b9e6c, result::NO

2015-12-11 13:37:50:704 E_Supply[15655:6e37] send meesage failed-- error: server not reachable.

2015-12-11 13:37:50:707 E_Supply[15655:6e37] EMChatManager+Chat == asyncSendMessage:progress:::didSendMessage:error: - 无法连接到服务器.

2015-12-11 13:46:51.561 E_Supply[15655:4390533] 锁屏

2015-12-11 14:04:52.613 E_Supply[15655:4390533] [GexinSdk] Will NOT bind deviceToken Since clientId UN-changed.

2015-12-11 14:04:53:907 E_Supply[15655:807] begin insert message to chatter::6001, messageId::1518fa46313

2015-12-11 14:04:53:908 E_Supply[15655:807] end insert message with account::8001, to chatter::6001, messageId::1518fa46313, result::NO

2015-12-11 14:04:53:912 E_Supply[15655:e263] send meesage failed-- error: server not reachable.

2015-12-11 14:04:53:915 E_Supply[15655:e263] EMChatManager+Chat == asyncSendMessage:progress:::didSendMessage:error: - 无法连接到服务器.
8001和6001都在自己appkey下注册了吗?并看log日志是否登录成功。

要回复问题请先登录注册