AnyChat技术支持论坛
标题:
socket error, disconnected by peer!, bTcp(1)
[打印本页]
作者:
熊仔饼干
时间:
2014-1-20 16:07
标题:
socket error, disconnected by peer!, bTcp(1)
经常登陆不上,会出这个问题,下面是日志文件中的内容,麻烦帮我看下是怎么回事。
[2014-01-20 06:43:28(714)] ---------------------------AnyChat Platform Core SDK Client Log---------------------------
[2014-01-20 06:43:28(717)] Load libanychatcore.so success!(V4.9 Build Time:Jan 1 2014 03:43:39)
[2014-01-20 06:43:28(725)] Android OS SDK Version:10, Support ARMv7:0, Support Neon:0
[2014-01-20 06:43:28(761)] Load libmediautil_v6.so success!(V4.9 Build Time:Jan 1 2014 03:44:42)
[2014-01-20 06:43:28(788)] Load libmediashow_2.3.so success!(V4.9 Build Time:Jan 1 2014 03:44:07)
[2014-01-20 06:43:28(815)] Load libmediacore_2.3.so success!(V4.9 Build Time:Jan 1 2014 03:44:21)
[2014-01-20 06:43:28(841)] CPU:388.30 MIPS, Hardware:Goldfish
[2014-01-20 06:43:28(854)] Invoke BRAC_Connect(192.168.1.190,8906)=0
[2014-01-20 06:43:28(864)] CheckClientSocketLink Connect(ip=192.168.1.190,port=8906)
[2014-01-20 06:43:28(868)] Invoke LoginServer(username=12345678)
[2014-01-20 06:43:29(092)] Server version: V4.9(Build Time:2014-01-01 03:41:52, Server OS:Windows)
[2014-01-20 06:43:29(296)] Message OnConnect(bSuccess:1, errorcode=0)
[2014-01-20 06:43:29(998)] Message OnLoginSystem(userid=1,errorcode=0,username=秋月灵泉), msg deliver worked(0)
[2014-01-20 06:43:30(010)] Connection to streaming media server successfully!(udp delay:6ms)
[2014-01-20 06:43:51(831)] socket error, disconnected by peer!, bTcp(1) - userid(-1)
[2014-01-20 06:43:51(910)] Invoke LogoutServer(userid=1) Elapse:148 ms
[2014-01-20 06:44:35(369)] Invoke BRAC_Connect(192.168.1.190,8906)=0
[2014-01-20 06:44:35(371)] Invoke LoginServer(username=12345678)
[2014-01-20 06:44:35(404)] CheckClientSocketLink Connect(ip=192.168.1.190,port=8906)
[2014-01-20 06:44:35(635)] Server version: V4.9(Build Time:2014-01-01 03:41:52, Server OS:Windows)
[2014-01-20 06:44:35(922)] Message OnConnect(bSuccess:1, errorcode=0)
[2014-01-20 06:44:47(114)] Message OnLoginSystem(userid=-1,errorcode=207,username=), msg deliver worked(0)
[2014-01-20 06:44:56(181)] socket error, disconnected by peer!, bTcp(1) - userid(-1)
[2014-01-20 06:44:58(192)] Message OnLinkClose(reason=0, dwErrorCode:0)
[2014-01-20 06:44:59(198)] CheckClientSocketLink Connect(ip=192.168.1.190,port=8906)
[2014-01-20 06:44:59(488)] Server version: V4.9(Build Time:2014-01-01 03:41:52, Server OS:Windows)
[2014-01-20 06:44:59(697)] Message OnConnect(bSuccess:1, errorcode=0)
[2014-01-20 06:45:19(909)] socket error, disconnected by peer!, bTcp(1) - userid(-1)
[2014-01-20 06:45:21(982)] Message OnLinkClose(reason=0, dwErrorCode:0)
[2014-01-20 06:45:32(064)] CheckClientSocketLink Connect(ip=192.168.1.190,port=8906)
[2014-01-20 06:45:32(451)] Server version: V4.9(Build Time:2014-01-01 03:41:52, Server OS:Windows)
[2014-01-20 06:45:32(664)] Message OnConnect(bSuccess:1, errorcode=0)
[2014-01-20 06:45:52(921)] socket error, disconnected by peer!, bTcp(1) - userid(-1)
[2014-01-20 06:45:55(026)] Message OnLinkClose(reason=0, dwErrorCode:0)
[2014-01-20 06:46:05(061)] CheckClientSocketLink Connect(ip=192.168.1.190,port=8906)
[2014-01-20 06:46:05(459)] Server version: V4.9(Build Time:2014-01-01 03:41:52, Server OS:Windows)
[2014-01-20 06:46:05(672)] Message OnConnect(bSuccess:1, errorcode=0)
[2014-01-20 06:46:25(885)] socket error, disconnected by peer!, bTcp(1) - userid(-1)
[2014-01-20 06:46:27(969)] Message OnLinkClose(reason=0, dwErrorCode:0)
[2014-01-20 06:46:31(999)] CheckClientSocketLink Connect(ip=192.168.1.190,port=8906)
[2014-01-20 06:46:32(360)] Server version: V4.9(Build Time:2014-01-01 03:41:52, Server OS:Windows)
[2014-01-20 06:46:32(529)] Message OnConnect(bSuccess:1, errorcode=0)
[2014-01-20 06:46:52(784)] socket error, disconnected by peer!, bTcp(1) - userid(-1)
[2014-01-20 06:46:54(861)] Message OnLinkClose(reason=0, dwErrorCode:0)
[2014-01-20 06:47:00(931)] CheckClientSocketLink Connect(ip=192.168.1.190,port=8906)
[2014-01-20 06:47:01(291)] Server version: V4.9(Build Time:2014-01-01 03:41:52, Server OS:Windows)
[2014-01-20 06:47:01(503)] Message OnConnect(bSuccess:1, errorcode=0)
[2014-01-20 06:47:21(750)] socket error, disconnected by peer!, bTcp(1) - userid(-1)
[2014-01-20 06:47:23(833)] Message OnLinkClose(reason=0, dwErrorCode:0)
[2014-01-20 06:47:25(903)] CheckClientSocketLink Connect(ip=192.168.1.190,port=8906)
[2014-01-20 06:47:26(211)] Server version: V4.9(Build Time:2014-01-01 03:41:52, Server OS:Windows)
[2014-01-20 06:47:26(401)] Message OnConnect(bSuccess:1, errorcode=0)
作者:
廖斌
时间:
2014-1-20 16:39
您好,这个日志说明您客户端的网络不太稳定,是不是wifi信号或者3G信号不是很好呢?
作者:
熊仔饼干
时间:
2014-1-20 16:50
廖斌 发表于 2014-1-20 16:39
您好,这个日志说明您客户端的网络不太稳定,是不是wifi信号或者3G信号不是很好呢?
应该不是吧,我是用网线连局域网内的主机。经常是第一次登陆没问题,logout()之后再登陆就返回207了,也有的时候第一次登陆就返回207错误。
作者:
admin
时间:
2014-1-20 16:55
您好,试一下不开启业务服务器,是否正常?或是开启我们标准的示例服务器是否正常?
通常来说,errorcode:207表示业务服务器存在问题。
欢迎光临 AnyChat技术支持论坛 (http://bbs.anychat.cn/)
Powered by Discuz! X3