wxpy icon indicating copy to clipboard operation
wxpy copied to clipboard

登陆的时候报错KeyError: 'pass_ticket'

Open dybq opened this issue 8 years ago • 21 comments

File "C:/Users/Administrator/PycharmProjects/untitled/pppp.py", line 11, in bot = Bot(cache_path=True) File "C:\Users\Administrator\AppData\Local\Programs\Python\Python36-32\lib\site-packages\wxpy\api\bot.py", line 86, in init loginCallback=login_callback, exitCallback=logout_callback File "C:\Users\Administrator\AppData\Local\Programs\Python\Python36-32\lib\site-packages\itchat\components\register.py", line 30, in auto_login loginCallback=loginCallback, exitCallback=exitCallback) File "C:\Users\Administrator\AppData\Local\Programs\Python\Python36-32\lib\site-packages\itchat\components\login.py", line 66, in login self.show_mobile_login() File "C:\Users\Administrator\AppData\Local\Programs\Python\Python36-32\lib\site-packages\itchat\components\login.py", line 212, in show_mobile_login self.loginInfo['url'], self.loginInfo['pass_ticket']) KeyError: 'pass_ticket'

dybq avatar Jul 26 '17 13:07 dybq

web微信的登录接口被封了吧

whalestore avatar Jul 27 '17 03:07 whalestore

2017年 07月 27日 星期四 14:51:04 CST 发现同样问题,目前机器人程序扫描二维码后报错无法登陆。

diggzhang avatar Jul 27 '17 06:07 diggzhang

封网页版接口了 换个号就行了

On Thu, 27 Jul 2017 at 2:51 PM, Xingze Zhang [email protected] wrote:

2017年 07月 27日 星期四 14:51:04 CST 发现同样问题,目前机器人程序扫描二维码后报错无法登陆。

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/youfou/wxpy/issues/128#issuecomment-318275190, or mute the thread https://github.com/notifications/unsubscribe-auth/AOHG-h7leJxr6fYqDqtXrOMfRbxpnlZ_ks5sSDOLgaJpZM4Oj7yc .

aaronliruns avatar Jul 27 '17 06:07 aaronliruns

网页版接口一般封多久。同被封 求告知。thx

ronething avatar Jul 29 '17 16:07 ronething

Mon Jul 31 13:57:01 CST 2017 依然在封,尚未解决。

diggzhang avatar Jul 31 '17 05:07 diggzhang

我的大约两周一周多后解封了

On Mon, 31 Jul 2017 at 1:57 PM, Xingze Zhang [email protected] wrote:

Mon Jul 31 13:57:01 CST 2017 依然在封,尚未解决。

— You are receiving this because you commented.

Reply to this email directly, view it on GitHub https://github.com/youfou/wxpy/issues/128#issuecomment-318975270, or mute the thread https://github.com/notifications/unsubscribe-auth/AOHG-j4n2ESHpaTco1MHkFN1es4pSh3xks5sTWzHgaJpZM4Oj7yc .

aaronliruns avatar Jul 31 '17 08:07 aaronliruns

我也被封了,只能等着自动解封吗?

andrewltx1984 avatar Aug 05 '17 09:08 andrewltx1984

从网页登录提示:

<error><ret>1203</ret><message>当前登录环境异常。为了你的帐号安全,暂时不能登录web微信。你可以通过手机客户端或者windows微信登录。</message></error>

2017年 8月 6日 星期日 15时43分24秒 CST依然在封印。

diggzhang avatar Aug 06 '17 07:08 diggzhang

我的也被封了,测试的时候也没发几条信息啊,这在后边运行的时候岂不是会经常被封。

diqigan avatar Aug 11 '17 02:08 diqigan

运行了20几天然后被封了哈哈。有意思。有没有什么办法能让其运行又一直不被封呢。好奇。

ronething avatar Sep 05 '17 14:09 ronething

为啥我第一次运行,登陆一个新的微信号就出现了这个

xgdgsc avatar Mar 11 '18 06:03 xgdgsc

测试出一个必封的逻辑: 微信IP vs 服务器IP 不在同一个网段。

diggzhang avatar Mar 12 '18 11:03 diggzhang

我在同一个wifi下自己电脑上第一次运行就出现了

xgdgsc avatar Mar 12 '18 12:03 xgdgsc

同样,第一次就出现这个问题

<error><ret>1203</ret><message>为了你的帐号安全,此微信号已不允许登录网页微信。你可以使用Windows微信或Mac微信在电脑端登录。Windows微信下载地址:https://pc.weixin.qq.com  Mac微信下载地址:https://mac.weixin.qq.com</message></error>

mindcont avatar Apr 27 '18 02:04 mindcont

两个账号,一个可以登录,一个不能,在同一个网段。

colin-zhou avatar Aug 07 '18 12:08 colin-zhou

本人测试,用了半年以上,绑定了银行卡,且经常使用微信支付的,不易被封。。 哎。。这就痛苦了。。

luxuan28 avatar Nov 20 '18 06:11 luxuan28

用了五六年的号,第一次就被封了

xiake0720 avatar Jul 12 '19 01:07 xiake0720

用了五六年的号,第一次也被封了,试了2个同事的主号,也一样

langhuanyudong avatar Jul 24 '19 06:07 langhuanyudong

小白第一次试写了一个代码,大小号都上不去了,真的难受。

SGWADE3 avatar Jul 29 '19 01:07 SGWADE3

感觉这个网页版被封有点莫名其妙。 试着网页版微信登陆,出现问题是:无法访问此页面,请确保你已获取正确的网址: https://wx2.qq.com 无奈,再看看~~

melon157 avatar Aug 05 '19 02:08 melon157

就是无解的意思呗

outofsky avatar Oct 29 '19 08:10 outofsky