[WARNING](daemon.py:128): Could not reach Coolq-http-api, keep waiting...
See original GitHub issue使用的docker配置的,因为不会使用docker-compose 所以是直接用 https://cqhttp.cc/docs/4.4/#/Docker
的方法配置的一个docker。
测试下方的API测试可以使用
http://192.168.1.10:5700/send_private_msg?user_id=123456&message=你好
该API返回
{"data":{"message_id":300},"retcode":0,"status":"ok"}
自己构建了coolq-telegram-bot的docker镜像并且把coolq的目录弄了进去,Dockerfile内容如下
FROM python:3
WORKDIR /usr/src/coolq-telegram-bot
COPY requirements.txt ./
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
CMD [ "python", "./daemon.py", "run" ]
然后docker一直如标题所示报错
[WARNING](daemon.py:128): Could not reach Coolq-http-api, keep waiting...
我原本以为是API没通,但是测试是正常的,请问如何调试或者解决
PS:我在coolq的config.ini里设置过token,为啥http的API没有验证这个token
谢谢~
Issue Analytics
- State:
- Created 5 years ago
- Comments:13 (2 by maintainers)
Top Results From Across the Web
[WARNING](daemon.py:128): Could not reach Coolq-http-api ...
我重新构建了镜像,我想问问如果再创建容器的时候使用--net=host参数会不会有什么问题?
Read more >The unifiedmessagerelay from JQ-Networks - GithubHelp
Python 100.00% coolq-docker telegram coolq coolq-http-api telegram-bot qqbot ... [WARNING](daemon.py:128): Could not reach Coolq-http-api, keep waiting.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@w0330t 话说你这么写会因为没装 FFMPEG 导致无法从TG向QQ转发GIF,可以拿CTB根目录下的Dockerfile试试。
Please open a new issue if the problem is still there.