ehForwarderBot / efb-qq-slave

EFB QQ Slave, a channel for EH Forwarder Bot. EFB QQ从端
GNU General Public License v3.0
448 stars 48 forks source link

HTTP 上报地址 http://127.0.0.1:8000 无法访问 #27

Open NightDriveraa opened 5 years ago

NightDriveraa commented 5 years ago

在noVNC登录酷Q之后shell提示 HTTP 上报地址 http://127.0.0.1:8000 无法访问

milkice233 commented 5 years ago

请提供具体环境,配置,以及如果有的日志文件

NightDriveraa commented 5 years ago

请提供具体环境,配置,以及如果有的日志文件

centos6

[CQDaemon] Starting CoolQ .... [CQDaemon] Started CoolQ . localhost.localdomain - - [21/Apr/2019 09:15:10] 127.0.0.1: Plain non-SSL (ws://) WebSocket connection localhost.localdomain - - [21/Apr/2019 09:15:10] connecting to: 127.0.0.1:5911 [2019-04-21 02:15:27.637] [I] [日志] 日志控制台开启成功

[2019-04-21 02:15:27.690] [W] [HTTP] HTTP 上报地址 http://127.0.0.1:8000 无法访问

milkice233 commented 5 years ago

可能 EFB 并未成功开启,或者 docker 未开启 --net="host"

1715173329 commented 4 years ago

Ubuntu 18.04 同样如此 查询发现8000端口未被正常监听,但启动ehforwarderbot时一切正常

$ ehforwarderbot
2019-12-30 19:54:08,669 [Level 99]: ehforwarderbot.__main__ (__main__.init; __main__.py:85)
     Initializing slave milkice.qq... 
2019-12-30 19:54:08,674 [Level 99]: ehforwarderbot.__main__ (__main__.init; __main__.py:96)
     Slave channel QQ Slave (milkice.qq) # Default profile is initialized. 
2019-12-30 19:54:08,675 [Level 99]: ehforwarderbot.__main__ (__main__.init; __main__.py:99)
     Initializing master blueset.telegram... 
2019-12-30 19:54:09,944 [Level 99]: ehforwarderbot.__main__ (__main__.init; __main__.py:109)
     Master channel Telegram Master (blueset.telegram) # Default profile is initialized. 
2019-12-30 19:54:09,944 [Level 99]: ehforwarderbot.__main__ (__main__.init; __main__.py:111)
     All channels initialized. 
2019-12-30 19:54:09,944 [Level 99]: ehforwarderbot.__main__ (__main__.init; __main__.py:125)
     All middlewares are initialized. 
$ lsof -i:8000
$

然后efb-qq-slave各项功能均无法正常使用(例如/chat无法显示联系人列表)

milkice233 commented 4 years ago

有人反馈是 CQHTTP 依赖版本过低导致 可尝试通过 pip3 install --upgrade cqhttp 来更新

milkice233 commented 4 years ago

EQS 2.0.0b1 已强制要求依赖版本,更新到此版本之后应该就无此问题

yayachenyi commented 4 years ago

有可能是你的上报地址的问题,尝试使用电脑的ip作为上报地址而不是127.0.0.1