Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
NightDriveraa opened this issue Apr 20, 2019 · 7 comments
Open

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

NightDriveraa opened this issue Apr 20, 2019 · 7 comments
Labels
bug Something isn't working invalid This doesn't seem right

Comments

@NightDriveraa
Copy link

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

@milkice233
Copy link
Member

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

@NightDriveraa
Copy link
Author

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

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.645] [I] [HTTP] 开启 HTTP 服务器成功,开始监听 http://[::]:5700
[2019-04-21 02:15:27.690] [W] [HTTP] HTTP 上报地址 http://127.0.0.1:8000 无法访问

@milkice233
Copy link
Member

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

@milkice233 milkice233 added bug Something isn't working question Further information is requested labels Apr 29, 2019
@1715173329
Copy link

1715173329 commented Dec 30, 2019

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
Copy link
Member

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

@milkice233 milkice233 added invalid This doesn't seem right and removed question Further information is requested labels Jan 27, 2020
@milkice233
Copy link
Member

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

@yayachenyi
Copy link

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

YouXam pushed a commit to YouXam/efb-qq-slave that referenced this issue Apr 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

4 participants