设为首页收藏本站

AnyChat技术支持论坛

 找回密码
 立即注册

QQ登录

只需一步,快速开始

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

OnAnyChatConnectMessage调用之后立刻调用OnAnyChatLinkCloseMessage

[复制链接]

1

主题

5

帖子

25

积分

新手上路

Rank: 1

积分
25
跳转到指定楼层
楼主
发表于 2017-5-11 22:24:58 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
OnAnyChatLinkCloseMessage错误码121
121表示啥,哪里有完整的错误码对照表?
分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏
回复

使用道具 举报

沙发
发表于 2017-5-12 09:08:22 | 只看该作者
121                ///< 网络带宽受限
你好,请问有具体日志文件吗?
回复 支持 反对

使用道具 举报

1

主题

5

帖子

25

积分

新手上路

Rank: 1

积分
25
板凳
 楼主| 发表于 2017-5-12 09:33:07 | 只看该作者
05-11 21:32:08.188 1928-1928/com.stepsoft.iotlcd I/ANYCHAT: 21:32:08(187)        Apply video parameter:320x240, bitrate:150kbps, quality:3, gop:40, fps:10, preset:3, codec:0
05-11 21:32:08.188 1928-1928/com.stepsoft.iotlcd I/ANYCHAT: 21:32:08(188)        Invoke        SetSDKOption(BRAC_SO_NETWORK_P2PPOLITIC=1)
05-11 21:32:08.189 1928-1928/com.stepsoft.iotlcd I/ANYCHAT: 21:32:08(188)        Invoke        SetSDKOption(BRAC_SO_AUDIO_ECHOCTRL,1)
05-11 21:32:08.189 1928-1928/com.stepsoft.iotlcd I/ANYCHAT: 21:32:08(189)        Invoke        SetSDKOption(BRAC_SO_CORESDK_USEHWCODEC=0)
05-11 21:32:08.189 1928-1928/com.stepsoft.iotlcd I/ANYCHAT: 21:32:08(189)        Invoke        SetSDKOption(BRAC_SO_LOCALVIDEO_AUTOROTATION=1)
05-11 21:32:08.193 1928-1945/com.stepsoft.iotlcd I/ANYCHAT: 21:32:08(193)        Create anychatdnsserver connect:120.25.70.134(8912)
05-11 21:32:08.219 1928-1945/com.stepsoft.iotlcd I/ANYCHAT: 21:32:08(219)        Create anychatdnsserver connect:120.76.165.13(8912)
                                                            
                                                            [ 05-11 21:32:08.220  1928: 1928 D/         ]
                                                            HostConnection::get() New Host Connection established 0xdc9d1d20, tid 1928
05-11 21:32:08.253 1928-1957/com.stepsoft.iotlcd D/libEGL: Emulator has host GPU support, qemu.gles is set to 1.
05-11 21:32:08.253 1928-1957/com.stepsoft.iotlcd E/libEGL: load_driver(/system/lib/egl/libGLES_emulation.so): dlopen failed: library "/system/lib/egl/libGLES_emulation.so" not found
05-11 21:32:08.254 1928-1957/com.stepsoft.iotlcd D/libEGL: loaded /system/lib/egl/libEGL_emulation.so
05-11 21:32:08.256 1928-1957/com.stepsoft.iotlcd D/libEGL: loaded /system/lib/egl/libGLESv1_CM_emulation.so
05-11 21:32:08.267 1928-1957/com.stepsoft.iotlcd D/libEGL: loaded /system/lib/egl/libGLESv2_emulation.so
                                                           
                                                           [ 05-11 21:32:08.289  1928: 1957 D/         ]
                                                           HostConnection::get() New Host Connection established 0xdc9d1ed0, tid 1957
05-11 21:32:08.297 1928-1957/com.stepsoft.iotlcd I/OpenGLRenderer: Initialized EGL, version 1.4
05-11 21:32:08.297 1928-1957/com.stepsoft.iotlcd D/OpenGLRenderer: Swap behavior 1
05-11 21:32:08.299 1928-1928/com.stepsoft.iotlcd W/art: Before Android 4.1, method int android.support.v7.widget.ListViewCompat.lookForSelectablePosition(int, boolean) would have incorrectly overridden the package-private method in android.widget.ListView
05-11 21:32:08.308 1928-1945/com.stepsoft.iotlcd I/ANYCHAT: 21:32:08(308)        Success connect to anychatdnsserver(120.25.70.134:8912, tcp:0)
05-11 21:32:08.359 1928-1945/com.stepsoft.iotlcd I/ANYCHAT: 21:32:08(359)        Receive connect parameter from anychatdnsserver!
05-11 21:32:08.359 1928-1945/com.stepsoft.iotlcd I/ANYCHAT: 21:32:08(359)        Receive server list from anychatdnsserver(count:1):
05-11 21:32:08.360 1928-1945/com.stepsoft.iotlcd I/ANYCHAT: 21:32:08(360)                anychatcoreserver, id:-1615603778, ip:120.76.165.13(tcp:9230, udp:9230), OSinux, build Time:2017-04-07 06:24:29, version:6.3.0, serviceGuid:59240559-512D-CC46-A449-492F9D47878B, machineGuid:1F3E8F63-2D71-B946-B7B2-CA4CD86C920F
05-11 21:32:08.362 1928-1978/com.stepsoft.iotlcd I/ANYCHAT: 21:32:08(362)                Create anychatcoreserver connect:10.170.161.40(9230, tcp:1)
05-11 21:32:08.373 1928-1978/com.stepsoft.iotlcd I/ANYCHAT: 21:32:08(373)                Create anychatcoreserver connect:10.170.161.40(9230, tcp:0)
05-11 21:32:08.391 1928-1978/com.stepsoft.iotlcd I/ANYCHAT: 21:32:08(391)                Create anychatcoreserver connect:120.76.165.13(9230, tcp:1)
05-11 21:32:08.402 1928-1978/com.stepsoft.iotlcd I/ANYCHAT: 21:32:08(402)                Create anychatcoreserver connect:120.76.165.13(9230, tcp:0)
05-11 21:32:08.468 632-653/system_process I/ActivityManager: Displayed com.stepsoft.iotlcd/.activity.MainActivity: +491ms
05-11 21:32:08.668 632-653/system_process I/WindowManager: Destroying surface Surface(name=Starting com.stepsoft.iotlcd) called by com.android.server.wm.WindowStateAnimator.destroySurface:2014 com.android.server.wm.WindowStateAnimator.destroySurfaceLocked:881 com.android.server.wm.WindowState.destroyOrSaveSurface:2073 com.android.server.wm.AppWindowToken.destroySurfaces:363 com.android.server.wm.WindowStateAnimator.finishExit:565 com.android.server.wm.WindowStateAnimator.stepAnimationLocked:491 com.android.server.wm.WindowAnimator.updateWindowsLocked:303 com.android.server.wm.WindowAnimator.animateLocked:704
05-11 21:32:08.720 1928-1977/com.stepsoft.iotlcd I/ANYCHAT: 21:32:08(720)                Trial connect anychatcoreserver(id:-1615603778) result: 120.76.165.13(9230,tcp:1), errorcode:0, avgtime:54ms
05-11 21:32:08.721 1928-1978/com.stepsoft.iotlcd I/ANYCHAT: 21:32:08(720)        On trial connect finished, errorcode:0, result size:1, lbserver connect:0
05-11 21:32:08.721 1928-1978/com.stepsoft.iotlcd I/ANYCHAT: 21:32:08(721)                anychatcoreserver, 120.76.165.13(9230, tcp:1), avg time:54
05-11 21:32:08.721 1928-1978/com.stepsoft.iotlcd I/ANYCHAT: 21:32:08(721)        On best connection result, errorcode:0, ip:120.76.165.13, port:9230, tcp:1
05-11 21:32:08.721 1928-1978/com.stepsoft.iotlcd I/ANYCHAT: 21:32:08(721)        On pre-connection result, errorcode:0, anychatcoreserver, 120.76.165.13(9230, tcp:1)
05-11 21:32:08.731 1928-1945/com.stepsoft.iotlcd I/ANYCHAT: 21:32:08(731)        Start anychat server(120.76.165.13:9230) connect...
05-11 21:32:08.822 1928-1945/com.stepsoft.iotlcd I/ANYCHAT: 21:32:08(822)        On connect anychat server return, errorcode: 0, appflags:0x460020, svrflags:0x10
05-11 21:32:08.834 632-643/system_process I/WindowManager: Destroying surface Surface(name=com.android.launcher3/com.android.launcher3.Launcher) called by com.android.server.wm.WindowStateAnimator.destroySurface:2014 com.android.server.wm.WindowStateAnimator.destroySurfaceLocked:881 com.android.server.wm.WindowState.destroyOrSaveSurface:2073 com.android.server.wm.AppWindowToken.destroySurfaces:363 com.android.server.wm.AppWindowToken.notifyAppStopped:389 com.android.server.wm.WindowManagerService.notifyAppStopped:4456 com.android.server.am.ActivityStack.activityStoppedLocked:1252 com.android.server.am.ActivityManagerService.activityStopped:6939
05-11 21:32:08.863 1928-1945/com.stepsoft.iotlcd I/ANYCHAT: 21:32:08(863)        Server version: V6.3(Build Time:2017-04-07 06:24:56, Linux server)
05-11 21:32:08.947 1928-1945/com.stepsoft.iotlcd I/ANYCHAT: 21:32:08(947)        m_ProtocolPipeLine, userid:0, local session:-2054343128, peer session:0
05-11 21:32:08.947 1928-1945/com.stepsoft.iotlcd I/ANYCHAT: 21:32:08(947)        Send login request...
05-11 21:32:08.947 1928-1945/com.stepsoft.iotlcd I/ANYCHAT: 21:32:08(947)        Message        OnConnect(bSuccess:1, errorcode=0)
05-11 21:32:09.030 1928-1945/com.stepsoft.iotlcd E/ANYCHAT: 21:32:09(30)        On receive server error notify, errorcode: 121
05-11 21:32:09.030 1928-1945/com.stepsoft.iotlcd I/ANYCHAT: 21:32:09(30)        Tickout by the server, reason:10, errorcode:121
05-11 21:32:09.094 1928-1953/com.stepsoft.iotlcd I/ANYCHAT: 21:32:09(94)        socket error, disconnected by peer!, bTcp(1) - userid(-1)
05-11 21:32:09.094 1928-1953/com.stepsoft.iotlcd E/ANYCHAT: 21:32:09(94)        OnSocketClose, index(2)-errorcode(0-13), flags:0x18041, userid(-1), master connect:1, list:0
05-11 21:32:10.794 632-680/system_process E/SupplicantWifiScannerImpl: Failed to start scan, freqs={2412}
05-11 21:32:10.795 632-678/system_process E/WifiConnectivityManager: SingleScanListener onFailure: reason: -1 description: Scan failed
05-11 21:32:11.055 1928-1928/com.stepsoft.iotlcd D/ANYCHAT: ReleaseAudioRecorder
05-11 21:32:11.101 1928-1945/com.stepsoft.iotlcd I/ANYCHAT: 21:32:11(100)        server net link reset...
05-11 21:32:11.101 1928-1945/com.stepsoft.iotlcd I/ANYCHAT: 21:32:11(101)        Message        OnLinkClose(reason=10, dwErrorCode:121)
05-11 21:32:11.102 1928-1945/com.stepsoft.iotlcd I/ANYCHAT: 21:32:11(102)        Close network engine...
05-11 21:32:15.798 632-680/system_process E/SupplicantWifiScannerImpl: Failed to start scan, freqs={2412}
05-11 21:32:15.798 632-678/system_process E/WifiConnectivityManager: SingleScanListener onFailure: reason: -1 description: Scan failed
05-11 21:32:18.290 382-407/? W/AudioFlinger: write blocked for 9943 msecs, 1 delayed writes, thread 0xef003c40
05-11 21:32:20.800 632-680/system_process E/SupplicantWifiScannerImpl: Failed to start scan, freqs={2412}
05-11 21:32:20.801 632-678/system_process E/WifiConnectivityManager: SingleScanListener onFailure: reason: -1 description: Scan failed
回复 支持 反对

使用道具 举报

1

主题

5

帖子

25

积分

新手上路

Rank: 1

积分
25
地板
 楼主| 发表于 2017-5-12 09:34:31 | 只看该作者
佰锐科技-梁国桦 发表于 2017-5-12 09:08
121                ///< 网络带宽受限
你好,请问有具体日志文件吗?

Tickout by the server, reason:10, errorcode:121
给我一份错误代码对照表吧,我找到的都没有121
回复 支持 反对

使用道具 举报

1

主题

312

帖子

2516

积分

超级版主

Rank: 8Rank: 8

积分
2516
5#
发表于 2017-5-12 10:37:40 | 只看该作者
liunewshine 发表于 2017-5-12 09:34
Tickout by the server, reason:10, errorcode:121
给我一份错误代码对照表吧,我找到的都没有121

您好 方便留您的邮箱,我们发给您一份
回复 支持 反对

使用道具 举报

1

主题

5

帖子

25

积分

新手上路

Rank: 1

积分
25
6#
 楼主| 发表于 2017-5-12 11:07:58 | 只看该作者
佰锐科技-陈伟 发表于 2017-5-12 10:37
您好 方便留您的邮箱,我们发给您一份

liunewshine@qq.com,邮箱

导致121的原因是什么,怎么会带宽受限呢?详细日志已经贴出,请帮我分析下
回复 支持 反对

使用道具 举报

7#
发表于 2017-5-12 14:03:35 | 只看该作者
liunewshine 发表于 2017-5-12 11:07
liunewshine@qq.com,邮箱

导致121的原因是什么,怎么会带宽受限呢?详细日志已经贴出,请帮我分析下
...

抱歉,我没说清楚日志文件在哪,日志文件在手机根目录,文件名BRAnyChatCore.log。
重现一次现象后,请再把日志文件发上来,谢谢
回复 支持 反对

使用道具 举报

1

主题

5

帖子

25

积分

新手上路

Rank: 1

积分
25
8#
 楼主| 发表于 2017-5-12 22:13:15 | 只看该作者
本帖最后由 liunewshine 于 2017-5-12 22:15 编辑
佰锐科技-梁国桦 发表于 2017-5-12 14:03
抱歉,我没说清楚日志文件在哪,日志文件在手机根目录,文件名BRAnyChatCore.log。
重现一次现象后,请 ...

[2017-05-12 22:07:59(769)][I]        ---------------------------AnyChat Platform Core SDK Client Log---------------------------
[2017-05-12 22:07:59(770)][I]        Load libanychatcore.so success!(V6.3 Build Time:Feb 23 2017 02:47:07)
[2017-05-12 22:07:59(771)][I]        Android OS SDK Version:24, Support ARMv7:0, Support Neon:0
[2017-05-12 22:07:59(783)][I]        Load libmediautil_v8.so success!(V6.2 Build Time:Nov  5 2016 15:14:20)
[2017-05-12 22:07:59(789)][I]        Load libmediashow.so success!(V6.3 Build Time:Feb 23 2017 02:47:44)
[2017-05-12 22:07:59(796)][I]        Load libmediacore.so success!(V6.3 Build Time:Feb 23 2017 02:47:49)
[2017-05-12 22:07:59(797)][I]        server net link reset...
[2017-05-12 22:07:59(798)][I]        ZUK Z2121(ZUK) msm8996  7.0
[2017-05-12 22:07:59(798)][I]        Invoke        SetSDKOption(BRAC_SO_LOCALVIDEO_AUTOROTATION=1)
[2017-05-12 22:07:59(802)][I]        Invoke        SetSDKOption(BRAC_SO_CLOUD_APPGUID, D5D5EC01-A7D0-4861-88E9-798C1AC737BE)
[2017-05-12 22:07:59(803)][I]        Start network engine(IPv4 mode)...
[2017-05-12 22:07:59(804)][I]        Invoke        Connect(cloud.anychat.cn,8906)=0
[2017-05-12 22:07:59(804)][I]        Invoke        Login(username:test)=0
[2017-05-12 22:07:59(809)][I]        Apply video parameter:320x240, bitrate:150kbps, quality:3, gop:40, fps:10, preset:3, codec:0
[2017-05-12 22:07:59(809)][I]        Invoke        SetSDKOption(BRAC_SO_NETWORK_P2PPOLITIC=1)
[2017-05-12 22:07:59(810)][I]        Invoke        SetSDKOption(BRAC_SO_AUDIO_ECHOCTRL,1)
[2017-05-12 22:07:59(810)][I]        Invoke        SetSDKOption(BRAC_SO_CORESDK_USEHWCODEC=0)
[2017-05-12 22:07:59(810)][I]        Invoke        SetSDKOption(BRAC_SO_LOCALVIDEO_AUTOROTATION=1)
[2017-05-12 22:08:00(050)][I]        Create anychatdnsserver connect:120.76.165.13(8912)
[2017-05-12 22:08:00(075)][I]        Create anychatdnsserver connect:120.25.70.134(8912)
[2017-05-12 22:08:00(622)][I]        Success connect to anychatdnsserver(120.76.165.13:8912, tcp:1)
[2017-05-12 22:08:00(784)][I]        Receive connect parameter from anychatdnsserver!
[2017-05-12 22:08:00(865)][I]        Receive server list from anychatdnsserver(count:1):
[2017-05-12 22:08:00(865)][I]                anychatcoreserver, id:-1615603778, ip:120.76.165.13(tcp:9230, udp:9230), OSinux, build Time:2017-04-07 18:24:29, version:6.3.0, serviceGuid:59240559-512D-CC46-A449-492F9D47878B, machineGuid:1F3E8F63-2D71-B946-B7B2-CA4CD86C920F
[2017-05-12 22:08:00(866)][I]                Create anychatcoreserver connect:10.170.161.40(9230, tcp:1)
[2017-05-12 22:08:00(877)][I]                Create anychatcoreserver connect:10.170.161.40(9230, tcp:0)
[2017-05-12 22:08:00(888)][I]                Create anychatcoreserver connect:120.76.165.13(9230, tcp:1)
[2017-05-12 22:08:00(898)][I]                Create anychatcoreserver connect:120.76.165.13(9230, tcp:0)
[2017-05-12 22:08:01(501)][I]                Trial connect anychatcoreserver(id:-1615603778) result: 120.76.165.13(9230,tcp:1), errorcode:0, avgtime:104ms
[2017-05-12 22:08:01(505)][I]        On trial connect finished, errorcode:0, result size:1, lbserver connect:0
[2017-05-12 22:08:01(506)][I]                anychatcoreserver, 120.76.165.13(9230, tcp:1), avg time:104
[2017-05-12 22:08:01(507)][I]        On best connection result, errorcode:0, ip:120.76.165.13, port:9230, tcp:1
[2017-05-12 22:08:01(508)][I]        On pre-connection result, errorcode:0, anychatcoreserver, 120.76.165.13(9230, tcp:1)
[2017-05-12 22:08:01(516)][I]        Start anychat server(120.76.165.13:9230) connect...
[2017-05-12 22:08:01(707)][I]        On connect anychat server return, errorcode: 0, appflags:0x460020, svrflags:0x10
[2017-05-12 22:08:01(760)][I]        Server version: V6.3(Build Time:2017-04-07 18:24:56, Linux server)
[2017-05-12 22:08:01(838)][I]        m_ProtocolPipeLine, userid:0, local session:966549016, peer session:0
[2017-05-12 22:08:01(840)][I]        Send login request...
[2017-05-12 22:08:01(843)][I]        Message        OnConnect(bSuccess:1, errorcode=0)
[2017-05-12 22:08:01(959)][E]        On receive server error notify, errorcode: 121
[2017-05-12 22:08:01(961)][I]        Tickout by the server, reason:10, errorcode:121
[2017-05-12 22:08:01(977)][I]        socket error, disconnected by peer!, bTcp(1) - userid(-1)
[2017-05-12 22:08:01(979)][E]        OnSocketClose, index(2)-errorcode(0-11), flags:0x18041, userid(-1), master connect:1, list:0

[2017-05-12 22:08:04(008)][I]        server net link reset...
[2017-05-12 22:08:04(010)][I]        Message        OnLinkClose(reason=10, dwErrorCode:121)
[2017-05-12 22:08:04(014)][I]        Close network engine...
BRAnyChatCore.rar (1.45 KB, 下载次数: 0)
回复 支持 反对

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-11-25 20:20 , Processed in 0.159425 second(s), 25 queries .

Powered by Discuz! X3

© 2001-2013 Comsenz Inc.

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