Closed lyrl closed 8 years ago
扫码完成,一直没有登录成功
+1
尝试新push的master分支
谢谢 成功了 但是在SmartQQ 没有主动退出的情况下 似乎再次登录还是有点问题。
+1
具体是什么问题?重复多处登录是可能导致收不到消息的
已经用新号测试,继续103, 看日志是登陆成功了的,试试日志一直刷屏,无法截取详情,只能强行关掉终端 Ctrl+C无法关闭,正常应该如何退出?
日志都保存在smartqq.log文件中,可以在那个文件中查看历史日志。 一般多次连续Ctrl+C可退出
下面是错误代码节选
Wed, 20 Jan 2016 23:11:59 QQLogin.py[line:270] WARNING received retcode: 103: Check error.retrying..3
Wed, 20 Jan 2016 23:12:00 QQLogin.py[line:256] DEBUG check_msg html: {"errmsg":"","retcode":103}
Wed, 20 Jan 2016 23:12:00 QQLogin.py[line:270] WARNING received retcode: 103: Check error.retrying..4
Wed, 20 Jan 2016 23:12:01 QQLogin.py[line:133] INFO Tring to login in with cookies. 1
Wed, 20 Jan 2016 23:12:02 QQLogin.py[line:142] DEBUG login html: {"result":{"cip":23600812,"f":0,"index":1075,"port":47450,"psessionid":"8368046764001d636f6e6e7365727665725f77656271714031302e3133332e34312e383400001ad00000066b026e040015808a206d0000000a406172314338344a69526d0000002859185d94e66218548d1ecb1a12513c86126b3afb97a3c2955b1070324790733ddb059ab166de6857","status":"online","uin":205007890,"user_state":0,"vfwebqq":"59185d94e66218548d1ecb1a12513c86126b3afb97a3c2955b1070324790733ddb059ab166de6857"},"retcode":0}
Wed, 20 Jan 2016 23:12:02 QQLogin.py[line:152] DEBUG getvfwebqq html: {"retcode":0,"result":{"vfwebqq":"0fdfb6b888d5bf052f43a970d0d388e9b7c55007d62ba49b5dc81a3db40d4c37baf5a12bb2a815aa"}}
Wed, 20 Jan 2016 23:12:02 QQLogin.py[line:167] INFO Login successfully.
Wed, 20 Jan 2016 23:12:02 QQLogin.py[line:256] DEBUG check_msg html: {"errmsg":"","retcode":103}
Wed, 20 Jan 2016 23:12:02 QQLogin.py[line:270] WARNING received retcode: 103: Check error.retrying..0
Wed, 20 Jan 2016 23:12:03 QQLogin.py[line:256] DEBUG check_msg html: {"errmsg":"","retcode":103}
Wed, 20 Jan 2016 23:12:03 QQLogin.py[line:270] WARNING received retcode: 103: Check error.retrying..1
Wed, 20 Jan 2016 23:12:04 QQLogin.py[line:256] DEBUG check_msg html: {"errmsg":"","retcode":103}
Wed, 20 Jan 2016 23:12:04 QQLogin.py[line:270] WARNING received retcode: 103: Check error.retrying..2
Wed, 20 Jan 2016 23:12:05 QQLogin.py[line:256] DEBUG check_msg html: {"errmsg":"","retcode":103}
Wed, 20 Jan 2016 23:12:05 QQLogin.py[line:270] WARNING received retcode: 103: Check error.retrying..3
Wed, 20 Jan 2016 23:12:06 QQLogin.py[line:256] DEBUG check_msg html: {"errmsg":"","retcode":103}
Wed, 20 Jan 2016 23:12:06 QQLogin.py[line:270] WARNING received retcode: 103: Check error.retrying..4
Wed, 20 Jan 2016 23:12:07 QQLogin.py[line:133] INFO Tring to login in with cookies. 1
Wed, 20 Jan 2016 23:12:07 QQLogin.py[line:142] DEBUG login html: {"result":{"cip":23600812,"f":0,"index":1075,"port":47450,"psessionid":"8368046764001d636f6e6e7365727665725f77656271714031302e3133332e34312e383400001ad00000066b026e040015808a206d0000000a406172314338344a69526d0000002859185d94e66218548d1ecb1a12513c86126b3afb97a3c2955b1070324790733ddb059ab166de6857","status":"online","uin":205007890,"user_state":0,"vfwebqq":"59185d94e66218548d1ecb1a12513c86126b3afb97a3c2955b1070324790733ddb059ab166de6857"},"retcode":0}
Wed, 20 Jan 2016 23:12:07 QQLogin.py[line:152] DEBUG getvfwebqq html: {"retcode":0,"result":{"vfwebqq":"1bc583eb976fac7accec9d987c57d8e3f16d251c5d9e4e43e3f732d2258d86fd17fa22f986e58d37"}}
Wed, 20 Jan 2016 23:12:07 QQLogin.py[line:167] INFO Login successfully.
Wed, 20 Jan 2016 23:12:08 QQLogin.py[line:256] DEBUG check_msg html: {"errmsg":"","retcode":103}
Wed, 20 Jan 2016 23:12:08 QQLogin.py[line:270] WARNING received retcode: 103: Check error.retrying..0
Wed, 20 Jan 2016 23:12:09 QQLogin.py[line:256] DEBUG check_msg html: {"errmsg":"","retcode":103}
Wed, 20 Jan 2016 23:12:09 QQLogin.py[line:270] WARNING received retcode: 103: Check error.retrying..1
Wed, 20 Jan 2016 23:12:10 QQLogin.py[line:256] DEBUG check_msg html: {"errmsg":"","retcode":103}
Wed, 20 Jan 2016 23:12:10 QQLogin.py[line:270] WARNING received retcode: 103: Check error.retrying..2
Wed, 20 Jan 2016 23:12:11 QQLogin.py[line:256] DEBUG check_msg html: {"errmsg":"","retcode":103}
Wed, 20 Jan 2016 23:12:11 QQLogin.py[line:270] WARNING received retcode: 103: Check error.retrying..3
Wed, 20 Jan 2016 23:12:12 QQLogin.py[line:256] DEBUG check_msg html: {"errmsg":"","retcode":103}
Wed, 20 Jan 2016 23:12:12 QQLogin.py[line:270] WARNING received retcode: 103: Check error.retrying..4
Wed, 20 Jan 2016 23:12:13 QQLogin.py[line:133] INFO Tring to login in with cookies. 1
Wed, 20 Jan 2016 23:12:13 QQLogin.py[line:142] DEBUG login html: {"result":{"cip":23600812,"f":0,"index":1075,"port":47450,"psessionid":"8368046764001d636f6e6e7365727665725f77656271714031302e3133332e34312e383400001ad00000066b026e040015808a206d0000000a406172314338344a69526d0000002859185d94e66218548d1ecb1a12513c86126b3afb97a3c2955b1070324790733ddb059ab166de6857","status":"online","uin":205007890,"user_state":0,"vfwebqq":"59185d94e66218548d1ecb1a12513c86126b3afb97a3c2955b1070324790733ddb059ab166de6857"},"retcode":0}
去年12月就遇到了这个情况,暂时不清楚为什么,感觉是少了一个调用。之所以开发者没有发现是因为103报错的一个简单解决方法是用chrome成功登陆webqq然后机器人就可以登陆了。你们可以试一下
PC上登录一下webqq确实就可以了.....
今天我PC登陆下webqq也不灵了。。webqq啥也接收不到
试试chrome的隐身模式
今天smartqq正常么。。PC登陆后发不出去消息,也收不到消息
目前发送消息、接收消息不可用,103错误。 群组列表发生了一些改变,返回了100003错误,但是依旧给数据了。
刚试了下,正常收发信息呀,用PC登录一下Webqq再试试。
大约15:44开始部分地区已经开始恢复正常了
smartqq有种后妈生的感觉~
或许是异地登陆引起的
刚开始我认为是跨域的问题,不过我这里有一个很有趣的测试结果,在我室友的电脑上登陆了webqq以后,程序就不会产生retcode 103的错误。可见问题点在于服务器端,而且似乎是根据qq号做的认证,时间大概是几个小时的范围上。很有趣的一件事。
I managed to fix it.
在XHR里加断点查到服务器登记账号的位置在get_online_buddies2请求,而且可以看到这个请求似乎只返回空(?)。测试6个不同的QQ可见加上这个之后已经可以正常工作了。
非常非常感谢@eastpiger 的帮助,终于解决掉了这个bug了 XDDDD
问题已修复,新版本已push master
QQLogin.py[line:272] WARNING received retcode: 103: Check error.retrying..0