是防火墙的问题,已经解决了。 真的很感谢。谢谢 |
20061924 发表于 2015-5-21 10:54 服务器是否有开启防火墙?8906端口是否可以通讯?将您核心服务器发过来看下 |
20061924 发表于 2015-5-21 10:02 您可以试一下用电脑ping一下手机的IP看看是否通 |
下面是换我的电脑的IP地址连接的,手机和电脑在同一个路由器连接下。 谢谢! [2015-05-21 10:00:25(395)] ---------------------------AnyChat Platform Core SDK Client Log--------------------------- [2015-05-21 10:00:25(396)] Load libanychatcore.so success!(V5.2 Build Time:Apr 16 2015 15:40:52) [2015-05-21 10:00:25(396)] Android OS SDK Version:19, Support ARMv7:2, Support Neon:4 [2015-05-21 10:00:25(419)] Load libmediautil_v7.so success!(V5.2 Build Time:Apr 16 2015 15:41:45) [2015-05-21 10:00:25(437)] Load libmediashow.so success!(V5.2 Build Time:Apr 16 2015 15:41:32) [2015-05-21 10:00:25(491)] Load libmediacore.so success!(V5.2 Build Time:Apr 16 2015 15:41:34) [2015-05-21 10:00:25(493)] MI 3W(Xiaomi) msm8974 4.4.4 [2015-05-21 10:00:50(146)] Invoke BRAC_Connect(192.168.1.113,8906)=0 [2015-05-21 10:00:50(147)] Invoke LoginServer(username=name) [2015-05-21 10:00:50(209)] CheckClientSocketLink Connect(ip=192.168.1.113,port=8906) [2015-05-21 10:00:56(215)] Message OnConnect(bSuccess:0, errorcode=100) [2015-05-21 10:01:02(306)] CheckClientSocketLink Connect(ip=192.168.1.113,port=8906) [2015-05-21 10:01:04(532)] Invoke LogoutServer(userid=-1) Elapse:16 ms [2015-05-21 10:01:04(557)] Invoke BRAC_Release Elapse:24 ms |
下面是连接贵公司服务器成功的日志,用真机连接的,谢谢! [2015-05-21 09:44:47(631)] ---------------------------AnyChat Platform Core SDK Client Log--------------------------- [2015-05-21 09:44:47(633)] Load libanychatcore.so success!(V5.2 Build Time:Apr 16 2015 15:40:52) [2015-05-21 09:44:47(634)] Android OS SDK Version:19, Support ARMv7:2, Support Neon:4 [2015-05-21 09:44:47(651)] Load libmediautil_v7.so success!(V5.2 Build Time:Apr 16 2015 15:41:45) [2015-05-21 09:44:47(659)] Load libmediashow.so success!(V5.2 Build Time:Apr 16 2015 15:41:32) [2015-05-21 09:44:47(666)] Load libmediacore.so success!(V5.2 Build Time:Apr 16 2015 15:41:34) [2015-05-21 09:44:47(667)] MI 3W(Xiaomi) msm8974 4.4.4 [2015-05-21 09:44:49(186)] Invoke BRAC_Connect(demo.anychat.cn,8906)=0 [2015-05-21 09:44:49(187)] Invoke LoginServer(username=name) [2015-05-21 09:44:49(293)] CheckClientSocketLink Connect(ip=121.199.51.198,port=8906) [2015-05-21 09:44:49(375)] Server version: V5.2(Build Time:2015-05-20 17:19:48, Server OS:Windows) [2015-05-21 09:44:49(426)] Message OnConnect(bSuccess:1, errorcode=0) [2015-05-21 09:44:49(721)] Message OnLoginSystem(userid=-1050,errorcode=0,username=name), msg deliver worked(0) [2015-05-21 09:44:49(722)] Server running time: 0 days, 13 hours, 58 minutes, license mode:1 [2015-05-21 09:44:49(824)] Connection to streaming media server successfully!(udp delay:51ms) [2015-05-21 09:44:49(955)] Apply video parameter:320x240, bitrate:150000, quality:3, gop:40, fps:10, preset:3, codec:1 [2015-05-21 09:44:49(956)] Invoke BRAC_SetSDKOption(BRAC_SO_NETWORK_P2PPOLITIC=1) [2015-05-21 09:44:49(956)] Invoke SetSDKOption(BRAC_SO_AUDIO_ECHOCTRL,1) [2015-05-21 09:44:49(957)] Invoke BRAC_SetSDKOption(BRAC_SO_CORESDK_USEHWCODEC=0) [2015-05-21 09:44:51(990)] Invoke LogoutServer(userid=-1050) Elapse:7 ms [2015-05-21 09:44:53(067)] Invoke BRAC_Release Elapse:17 ms |
20061924 发表于 2015-5-21 08:51 从日志看,是连接我们官网; 报错是连接超时,当时你那边网络是否有问题呢? |
下面是日志,谢谢 [2015-05-20 19:37:58(808)] ---------------------------AnyChat Platform Core SDK Client Log--------------------------- [2015-05-20 19:37:58(810)] Load libanychatcore.so success!(V5.2 Build Time:Apr 16 2015 15:40:52) [2015-05-20 19:37:58(810)] Android OS SDK Version:19, Support ARMv7:2, Support Neon:4 [2015-05-20 19:37:58(897)] Load libmediautil_v7.so success!(V5.2 Build Time:Apr 16 2015 15:41:45) [2015-05-20 19:37:58(918)] Load libmediashow.so success!(V5.2 Build Time:Apr 16 2015 15:41:32) [2015-05-20 19:37:58(925)] Load libmediacore.so success!(V5.2 Build Time:Apr 16 2015 15:41:34) [2015-05-20 19:37:58(936)] MI 3W(Xiaomi) msm8974 4.4.4 [2015-05-20 19:38:00(135)] Invoke BRAC_Connect(demo.anychat.cn,8906)=0 [2015-05-20 19:38:00(136)] Invoke LoginServer(username=name) [2015-05-20 19:38:00(159)] CheckClientSocketLink Connect(ip=121.199.51.198,port=8906) [2015-05-20 19:38:06(216)] Message OnConnect(bSuccess:0, errorcode=100) [2015-05-20 19:38:14(324)] CheckClientSocketLink Connect(ip=121.199.51.198,port=8906) [2015-05-20 19:38:18(226)] Invoke LogoutServer(userid=-1) Elapse:5 ms [2015-05-20 19:38:18(263)] Invoke BRAC_Release Elapse:37 ms |
我通过web端连接服务器可以成功,而且连接贵公司的服务器也可以成功,就是连接自己部署的服务器失败 您部署的服务器是评估模式,还是授权模式的?如果是授权模式,部署成功,但是连接不成功,可能是当前服务器授权不支持Android平台,您可以将日志文件(BRAnyChatCore.log,位于SD卡根目录下)上传,我们帮您分析一下,谢谢。 |
Archiver|手机版|AnyChat ( 粤ICP备13022410号-1 )
GMT+8, 2024-11-23 20:03 , Processed in 0.127007 second(s), 26 queries .
Powered by Discuz! X3
© 2001-2013 Comsenz Inc.