hexsum / Mojo-Webqq

【重要通知:WebQQ将在2019年1月1日停止服务,此项目目前已停止维护,感谢大家四年来的一路陪伴】使用Perl语言(不会没关系)编写的smartqq/webqq客户端框架(非GUI),可通过插件提供基于HTTP协议的api接口供其他语言或系统调用
BSD 2-Clause "Simplified" License
1.72k stars 321 forks source link

Reqiest.pm报错 #273

Open LKX787832305 opened 6 years ago

LKX787832305 commented 6 years ago

Mojo: :Reactor::Poll: I/O watcher failed: Premature connection close atiusr /local/ share/perl5/Mojo/Webqq/Request .pm line 113.

Mojo: :EventEmitter: :emit( 'Mojo: :Reactor :: Poll=HASH( 0x1e70498)', 'error', 'I/O watcher failed: Premature connect ion close at /usr/local/ ...') called at /usr/local/ share/ perl5/Mojo/Reactor/Poll.pm line 143

LKX787832305 commented 6 years ago

Mojo::Reactor::Poll: Timer failed: Connect timeout at /usr/local/share/perl5/Mojo/Webqq/Request.pm line 113. [18/11/24 10:07:44] [error] reactor error: Timer failed: Connect timeout at/usr/local/share/perl5/Mojo/We bqq/Request.pm line 113. [18/11/24 10:07:44] [error] at /usr/local/share/perl5/Mojo/EventEmitter.pm line 15. [18/11/24 10:07:44] [error] Mojo::EventEmitter::emit('Mojo::Reactor::Poll=HASH(0x327c498)', 'error', ' Timer failed: Connect timeout at /usr/local/share/perl5/Mojo/...') called at /usr/local/share/perl5/Mojo/R eactor/Poll.pm line 143 [18/11/24 10:07:44] [error] Mojo::Reactor::Poll::_try('Mojo::Reactor::Poll=HASH(0x327c498)', 'Timer', 'CODE(0x61ae9b0)') called at /usr/local/share/perl5/Mojo/Reactor/Poll.pm line 81 [18/11/24 10:07:44] [error] Mojo::Reactor::Poll::one_tick('Mojo::Reactor::Poll=HASH(0x327c498)') calle d at /usr/local/share/perl5/Mojo/Reactor/Poll.pm line 99 [18/11/24 10:07:44] [error] Mojo::Reactor::Poll::start('Mojo::Reactor::Poll=HASH(0x327c498)') called a t /usr/local/share/perl5/Mojo/IOLoop.pm line 136 [18/11/24 10:07:44] [error] Mojo::IOLoop::start('Mojo::IOLoop=HASH(0x327c120)') called at /usr/local/s hare/perl5/Mojo/Webqq/Client.pm line 29 [18/11/24 10:07:44] [error] Mojo::Webqq::Client::run('Mojo::Webqq=HASH(0x2124a68)') called at QQ.pl line 14 Mojo::Reactor::Poll: I/O watcher failed: Premature connection close at/usr/local/share/perl5/Mojo/Webqq/Request.pm line 113. [18/11/24 10:07:44] [error] reactor error: I/O watcher failed: Premature connection close at /usr/local/sh are/perl5/Mojo/Webqq/Request.pm line 113. [18/11/24 10:07:44] [error] at /usr/local/share/perl5/Mojo/EventEmitter.pm line 15. [18/11/24 10:07:44] [error] Mojo::EventEmitter::emit('Mojo::Reactor::Poll=HASH(0x327c498)', 'error', ' I/O watcher failed: Premature connection close at /usr/local/...') called at /usr/local/share/perl5/Mojo/R eactor/Poll.pm line 143 [18/11/24 10:07:44] [error] Mojo::Reactor::Poll::_try('Mojo::Reactor::Poll=HASH(0x327c498)', 'I/O watc her', 'CODE(0x4c50078)', 0) called at /usr/local/share/perl5/Mojo/Reactor/Poll.pm line 58 [18/11/24 10:07:44] [error] Mojo::Reactor::Poll::one_tick('Mojo::Reactor::Poll=HASH(0x327c498)') calle d at /usr/local/share/perl5/Mojo/Reactor/Poll.pm line 99 [18/11/24 10:07:44] [error] Mojo::Reactor::Poll::start('Mojo::Reactor::Poll=HASH(0x327c498)') called a t /usr/local/share/perl5/Mojo/IOLoop.pm line 136 [18/11/24 10:07:44] [error] Mojo::IOLoop::start('Mojo::IOLoop=HASH(0x327c120)') called at /usr/local/s hare/perl5/Mojo/Webqq/Client.pm line 29 [18/11/24 10:07:44] [error] Mojo::Webqq::Client::run('Mojo::Webqq=HASH(0x2124a68)') called at QQ.pl line 14 Mojo::Reactor::Poll: I/O watcher failed: Premature connection close at/usr/local/share/perl5/Mojo/Webqq/Request.pm line 113. [18/11/24 10:07:44] [error] reactor error: I/O watcher failed: Premature connection close at /usr/local/sh are/perl5/Mojo/Webqq/Request.pm line 113. [18/11/24 10:07:44] [error] at /usr/local/share/perl5/Mojo/EventEmitter.pm line 15. [18/11/24 10:07:44] [error] Mojo::EventEmitter::emit('Mojo::Reactor::Poll=HASH(0x327c498)', 'error', ' I/O watcher failed: Premature connection close at /usr/local/...') called at /usr/local/share/perl5/Mojo/R eactor/Poll.pm line 143 [18/11/24 10:07:44] [error] Mojo::Reactor::Poll::_try('Mojo::Reactor::Poll=HASH(0x327c498)', 'I/O watc her', 'CODE(0x69fd8d0)', 0) called at /usr/local/share/perl5/Mojo/Reactor/Poll.pm line 58 [18/11/24 10:07:44] [error] Mojo::Reactor::Poll::one_tick('Mojo::Reactor::Poll=HASH(0x327c498)') calle d at /usr/local/share/perl5/Mojo/Reactor/Poll.pm line 99 [18/11/24 10:07:44] [error] Mojo::Reactor::Poll::start('Mojo::Reactor::Poll=HASH(0x327c498)') called a t /usr/local/share/perl5/Mojo/IOLoop.pm line 136 [18/11/24 10:07:44] [error] Mojo::IOLoop::start('Mojo::IOLoop=HASH(0x327c120)') called at /usr/local/s hare/perl5/Mojo/Webqq/Client.pm line 29 [18/11/24 10:07:44] [error] Mojo::Webqq::Client::run('Mojo::Webqq=HASH(0x2124a68)') called at QQ.pl line 14

LKX787832305 commented 6 years ago

...大佬抱歉哈。。没找到能发图的按钮。。然后从控制端直接复制的日志信息,格式有点乱。。。

hexsum commented 6 years ago

time out 看起来是网络问题

LKX787832305 commented 6 years ago

原先腾讯云一直可以,然后前几天会自动掉线,现在换成阿里云就是没过一会就掉线,重新登了然后过一会又掉线,次次掉线

hexsum commented 6 years ago

更换了登录ip 腾讯的安全系统风险控制造成的吧

LKX787832305 commented 6 years ago

……好像是的,微信的qq安全中心就提醒我了好几次qq异地登录,那咋搞?

hexsum commented 6 years ago

下载qq安全中心的app 手动消除下安全警报试试

LKX787832305 commented 6 years ago

谢谢我试试,另外如果不行的话,我想重新安装一下mojowebqq的话,请问在ssh上应该输入什么命令?这方面的小白……不是很懂,麻烦您了

LKX787832305 commented 6 years ago

[18/11/25 20:31:46] [error] Mojo::Reactor::Poll::one_tick('Mojo::Reactor::Poll=HASH(0x2f3c1c0)') called at /usr/local/share/perl5/Mojo/Reactor/Poll.pm line 99 [18/11/25 20:31:46] [error] Mojo::Reactor::Poll::start('Mojo::Reactor::Poll=HASH(0x2f3c1c0)') called at /usr/local/share/perl5/Mojo/IOLoop.pm line 136 [18/11/25 20:31:46] [error] Mojo::IOLoop::start('Mojo::IOLoop=HASH(0x2f3be30)') called at /usr/local/share/perl5/Mojo/Webqq/Client.pm line 29 [18/11/25 20:31:46] [error] Mojo::Webqq::Client::run('Mojo::Webqq=HASH(0x1de3a68)') called at QQ.pl line 14 Mojo::Reactor::Poll: I/O watcher failed: Premature connection close at /usr/local/share/perl5/Mojo/Webqq/Request.pm line 113. [18/11/25 20:31:46] [error] reactor error: I/O watcher failed: Premature connection close at /usr/local/share/perl5/Mojo/Webqq/Request.pm line 113. [18/11/25 20:31:46] [error] at /usr/local/share/perl5/Mojo/EventEmitter.pm line 15. [18/11/25 20:31:46] [error] Mojo::EventEmitter::emit('Mojo::Reactor::Poll=HASH(0x2f3c1c0)', 'error', 'I/O watcher failed: Premature connection close at /usr/local/...') called at /usr/local/share/perl5/Mojo/Reactor/Poll.pm line 143 [18/11/25 20:31:46] [error] Mojo::Reactor::Poll::_try('Mojo::Reactor::Poll=HASH(0x2f3c1c0)', 'I/O watcher', 'CODE(0x9a88a70)', 0) called at /usr/local/share/perl5/Mojo/Reactor/Poll.pm line 58 [18/11/25 20:31:46] [error] Mojo::Reactor::Poll::one_tick('Mojo::Reactor::Poll=HASH(0x2f3c1c0)') called at /usr/local/share/perl5/Mojo/Reactor/Poll.pm line 99 [18/11/25 20:31:46] [error] Mojo::Reactor::Poll::start('Mojo::Reactor::Poll=HASH(0x2f3c1c0)') called at /usr/local/share/perl5/Mojo/IOLoop.pm line 136 [18/11/25 20:31:46] [error] Mojo::IOLoop::start('Mojo::IOLoop=HASH(0x2f3be30)') called at /usr/local/share/perl5/Mojo/Webqq/Client.pm line 29 [18/11/25 20:31:46] [error] Mojo::Webqq::Client::run('Mojo::Webqq=HASH(0x1de3a68)') called at QQ.pl line 14

依然报错。。。。

LKX787832305 commented 6 years ago

今天试了一下腾讯云,也报错了。。并且QQ安全中心也没提示异地登录 Mojo::Reactor::Poll: Timer failed: Connect timeout at /usr/local/share/perl5/Mojo/Webqq/Request.pm line 113. [18/11/26 17:32:36] [error] reactor error: Timer failed: Connect timeout at /usr/local/share/perl5/Mojo/Webqq/Request.pm line 113. [18/11/26 17:32:36] [error] at /usr/local/share/perl5/Mojo/EventEmitter.pm line 15. [18/11/26 17:32:36] [error] Mojo::EventEmitter::emit('Mojo::Reactor::Poll=HASH(0x34f66a0)', 'error', 'Timer failed: Connect timeout at /usr/local/share/perl5/Mojo/...') called at /usr/local/share/perl5/Mojo/Reactor/Poll.pm line 143 [18/11/26 17:32:36] [error] Mojo::Reactor::Poll::_try('Mojo::Reactor::Poll=HASH(0x34f66a0)', 'Timer', 'CODE(0x97075a0)') called at /usr/local/share/perl5/Mojo/Reactor/Poll.pm line 81 [18/11/26 17:32:36] [error] Mojo::Reactor::Poll::one_tick('Mojo::Reactor::Poll=HASH(0x34f66a0)') called at /usr/local/share/perl5/Mojo/Reactor/Poll.pm line 99 [18/11/26 17:32:36] [error] Mojo::Reactor::Poll::start('Mojo::Reactor::Poll=HASH(0x34f66a0)') called at /usr/local/share/perl5/Mojo/IOLoop.pm line 134 [18/11/26 17:32:36] [error] Mojo::IOLoop::start('Mojo::IOLoop=HASH(0x34f6328)') called at /usr/local/share/perl5/Mojo/Webqq/Client.pm line 29 [18/11/26 17:32:36] [error] Mojo::Webqq::Client::run('Mojo::Webqq=HASH(0x2123a68)') called at QQ.pl line 14 Mojo::Reactor::Poll: Timer failed: Connect timeout at /usr/local/share/perl5/Mojo/Webqq/Request.pm line 113. [18/11/26 17:32:36] [error] reactor error: Timer failed: Connect timeout at /usr/local/share/perl5/Mojo/Webqq/Request.pm line 113. [18/11/26 17:32:36] [error] at /usr/local/share/perl5/Mojo/EventEmitter.pm line 15. [18/11/26 17:32:36] [error] Mojo::EventEmitter::emit('Mojo::Reactor::Poll=HASH(0x34f66a0)', 'error', 'Timer failed: Connect timeout at /usr/local/share/perl5/Mojo/...') called at /usr/local/share/perl5/Mojo/Reactor/Poll.pm line 143 [18/11/26 17:32:36] [error] Mojo::Reactor::Poll::_try('Mojo::Reactor::Poll=HASH(0x34f66a0)', 'Timer', 'CODE(0x83a20c8)') called at /usr/local/share/perl5/Mojo/Reactor/Poll.pm line 81 [18/11/26 17:32:36] [error] Mojo::Reactor::Poll::one_tick('Mojo::Reactor::Poll=HASH(0x34f66a0)') called at /usr/local/share/perl5/Mojo/Reactor/Poll.pm line 99 [18/11/26 17:32:36] [error] Mojo::Reactor::Poll::start('Mojo::Reactor::Poll=HASH(0x34f66a0)') called at /usr/local/share/perl5/Mojo/IOLoop.pm line 134 [18/11/26 17:32:36] [error] Mojo::IOLoop::start('Mojo::IOLoop=HASH(0x34f6328)') called at /usr/local/share/perl5/Mojo/Webqq/Client.pm line 29 [18/11/26 17:32:36] [error] Mojo::Webqq::Client::run('Mojo::Webqq=HASH(0x2123a68)') called at QQ.pl line 14 Mojo::Reactor::Poll: Timer failed: Connect timeout at /usr/local/share/perl5/Mojo/Webqq/Request.pm line 113. [18/11/26 17:32:36] [error] reactor error: Timer failed: Connect timeout at /usr/local/share/perl5/Mojo/Webqq/Request.pm line 113. [18/11/26 17:32:36] [error] at /usr/local/share/perl5/Mojo/EventEmitter.pm line 15. [18/11/26 17:32:36] [error] Mojo::EventEmitter::emit('Mojo::Reactor::Poll=HASH(0x34f66a0)', 'error', 'Timer failed: Connect timeout at /usr/local/share/perl5/Mojo/...') called at /usr/local/share/perl5/Mojo/Reactor/Poll.pm line 143 [18/11/26 17:32:36] [error] Mojo::Reactor::Poll::_try('Mojo::Reactor::Poll=HASH(0x34f66a0)', 'Timer', 'CODE(0x8c30ef0)') called at /usr/local/share/perl5/Mojo/Reactor/Poll.pm line 81 [18/11/26 17:32:36] [error] Mojo::Reactor::Poll::one_tick('Mojo::Reactor::Poll=HASH(0x34f66a0)') called at /usr/local/share/perl5/Mojo/Reactor/Poll.pm line 99 [18/11/26 17:32:36] [error] Mojo::Reactor::Poll::start('Mojo::Reactor::Poll=HASH(0x34f66a0)') called at /usr/local/share/perl5/Mojo/IOLoop.pm line 134 [18/11/26 17:32:36] [error] Mojo::IOLoop::start('Mojo::IOLoop=HASH(0x34f6328)') called at /usr/local/share/perl5/Mojo/Webqq/Client.pm line 29 [18/11/26 17:32:36] [error] Mojo::Webqq::Client::run('Mojo::Webqq=HASH(0x2123a68)') called at QQ.pl line 14

Edlen-xulun commented 5 years ago

这个问题我也遇到了,要怎么解决呢?