设为首页收藏本站

AnyChat技术支持论坛

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
热搜: 活动 交友 discuz
查看: 4280|回复: 3
打印 上一主题 下一主题

socket error, disconnected by peer!, bTcp(1)

[复制链接]

4

主题

23

帖子

76

积分

注册会员

Rank: 2

积分
76
跳转到指定楼层
楼主
发表于 2014-1-20 16:07:23 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
经常登陆不上,会出这个问题,下面是日志文件中的内容,麻烦帮我看下是怎么回事。


[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)


分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏
回复

使用道具 举报

5

主题

1269

帖子

3677

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
3677
沙发
发表于 2014-1-20 16:39:27 | 只看该作者
您好,这个日志说明您客户端的网络不太稳定,是不是wifi信号或者3G信号不是很好呢?
回复 支持 反对

使用道具 举报

4

主题

23

帖子

76

积分

注册会员

Rank: 2

积分
76
板凳
 楼主| 发表于 2014-1-20 16:50:16 | 只看该作者
廖斌 发表于 2014-1-20 16:39
您好,这个日志说明您客户端的网络不太稳定,是不是wifi信号或者3G信号不是很好呢?

应该不是吧,我是用网线连局域网内的主机。经常是第一次登陆没问题,logout()之后再登陆就返回207了,也有的时候第一次登陆就返回207错误。
回复 支持 反对

使用道具 举报

249

主题

2967

帖子

9079

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
9079
地板
发表于 2014-1-20 16:55:52 | 只看该作者
您好,试一下不开启业务服务器,是否正常?或是开启我们标准的示例服务器是否正常?

通常来说,errorcode:207表示业务服务器存在问题。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|AnyChat ( 粤ICP备13022410号-1 )  

GMT+8, 2024-5-7 01:39 , Processed in 0.137556 second(s), 21 queries .

Powered by Discuz! X3

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表