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

在photon下面的docker,无法接收到信息 #215

Open
4 tasks done
jjkk52 opened this issue Apr 28, 2024 · 6 comments
Open
4 tasks done

在photon下面的docker,无法接收到信息 #215

jjkk52 opened this issue Apr 28, 2024 · 6 comments

Comments

@jjkk52
Copy link

jjkk52 commented Apr 28, 2024

⚠️不按照以下格式创建的issue将不会获得回复⚠️

提bug前先检查以下是否已经执行

  • 我已更新了最新版本的代码
  • 我已经仔细地阅读了readme 文档
  • 我已在FAQ里查找了可能寻找的答案
  • 我已经尝试搜索过历史关闭issue寻找可能的答案

bug描述

收不到消息

所以请按以下格式描述问题:

提供有用的信息

root@photon-machine [ ~ ]# docker run -d --name wxBotWebhook -p 3001:3001 -v ~/wxBot_logs:/app/log -e RECVD_MSG_API="http://192.168.88.7:9998/receive_msg" -e LOGIN_API_TOKEN=qspBrZG2j1G dannicool/docker-wechatbot-webhook
bc9f389e13005c902dc935877d4f813cfbe2f0ad2d1a34f23db6b85b0af26a09
root@photon-machine [ ~ ]#
root@photon-machine [ ~ ]# docker logs -f wxBotWebhook

[email protected] prestart
node ./scripts/preStart

[2024-04-28T19:16:23.936] [INFO] - .env file created from .env.example
[2024-04-28T19:16:23.940] [INFO] - 检测未配置 LOGIN_API_TOKEN, 写入初始化值 LOCAL_LOGIN_API_TOKEN=Vr0dspk9XkQ9 => .env

[email protected] start
node main

[2024-04-28T19:16:25.311] [INFO] - 🤖 wechatbot-webhook v2.8.0 🤖
[2024-04-28T19:16:25.558] [INFO] - ✨ 扫描以下二维码以登录 ✨
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
█ ▄▄▄▄▄ █▄▀ ▀ █▀▄▄▀█▄▄█ ▄▄▄▄▄ █
█ █ █ █ █▀ ▄▄▄▀ ▄▀█ █ █ █
█ █▄▄▄█ █▄█▀ ▄ ██▄▀▀ ██ █▄▄▄█ █
█▄▄▄▄▄▄▄█▄█ █ █▄▀ ▀▄▀▄█▄▄▄▄▄▄▄█
█ ▄▄▄██▄█▄█ ▄ █ ██▄ ▀█ ▀▀ ▄▄█ █
█ ▀▀▄ ▀▄▀█ ▄▄▀ █▀█▀█ ▄▄█▀█▄▄▀█
█▀▄▀█▀▄▄▀ ▄▄▀ ▄ ▄▄█ █▄▀██▄ ▀▀█
█▄█▄▄▄ ▄▀█▀▀ ██ ▀ ▄▄▄▄ ▀ █▄ ▄█
██▀█▄██▄▀█▀ █▄▄ ▄█▀▄▄ █ ▄ ▀ ██
█▄███ ▄▄▀ ▀▀██▄ █▀▀█▀▀▀▄▀█ ███
██▄▄███▄▄▀▀███▀▀ ▀ ▀▀ ▄▄▄ ▀▀█
█ ▄▄▄▄▄ ███ ▀▀▀▀█ █ ▄ █▄█ █▄██
█ █ █ █▀ █ █▀▀▄▀▄█▀ ▄ ▀▄▄ █
█ █▄▄▄█ █ ▀▄█ ▀▄█▀█ ▄ ██▄▀▀▄▀▄█
█▄▄▄▄▄▄▄█▄▄▄▄███▄███▄▄▄██▄██▄██

[2024-04-28T19:16:25.592] [INFO] - Or Access the URL to login: http://localhost:3001/login?token=qspBrZG2j1G
[2024-04-28T19:16:30.658] [INFO] - ✨ 扫描以下二维码以登录 ✨
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
█ ▄▄▄▄▄ █▄▀ ▀ █▀▄▄▀█▄▄█ ▄▄▄▄▄ █
█ █ █ █ █▀ ▄▄▄▀ ▄▀█ █ █ █
█ █▄▄▄█ █▄█▀ ▄ ██▄▀▀ ██ █▄▄▄█ █
█▄▄▄▄▄▄▄█▄█ █ █▄▀ ▀▄▀▄█▄▄▄▄▄▄▄█
█ ▄▄▄██▄█▄█ ▄ █ ██▄ ▀█ ▀▀ ▄▄█ █
█ ▀▀▄ ▀▄▀█ ▄▄▀ █▀█▀█ ▄▄█▀█▄▄▀█
█▀▄▀█▀▄▄▀ ▄▄▀ ▄ ▄▄█ █▄▀██▄ ▀▀█
█▄█▄▄▄ ▄▀█▀▀ ██ ▀ ▄▄▄▄ ▀ █▄ ▄█
██▀█▄██▄▀█▀ █▄▄ ▄█▀▄▄ █ ▄ ▀ ██
█▄███ ▄▄▀ ▀▀██▄ █▀▀█▀▀▀▄▀█ ███
██▄▄███▄▄▀▀███▀▀ ▀ ▀▀ ▄▄▄ ▀▀█
█ ▄▄▄▄▄ ███ ▀▀▀▀█ █ ▄ █▄█ █▄██
█ █ █ █▀ █ █▀▀▄▀▄█▀ ▄ ▀▄▄ █
█ █▄▄▄█ █ ▀▄█ ▀▄█▀█ ▄ ██▄▀▀▄▀▄█
█▄▄▄▄▄▄▄█▄▄▄▄███▄███▄▄▄██▄██▄██

[2024-04-28T19:16:30.684] [INFO] - Or Access the URL to login: http://localhost:3001/login?token=qspBrZG2j1G
[2024-04-28T19:16:41.179] [INFO] - 🌱 User Contact<***> logged in
[2024-04-28T19:16:41.180] [INFO] - 💬 你的推消息 api 为:http://localhost:3001/webhook/msg/v2?token=qspBrZG2j1G
[2024-04-28T19:16:41.180] [INFO] - 📖 发送消息结构 API 请参考: https://github.com/danni-cool/wechatbot-webhook?tab=readme-ov-file#%EF%B8%8F-api

[2024-04-28T19:16:41.183] [INFO] - starting fetching api: http://192.168.88.7:9998/receive_msg
[2024-04-28T19:17:49.483] [ERROR] -
AxiosError: timeout of 60000ms exceeded

[2024-04-28T19:17:49.487] [INFO] - starting fetching api: http://192.168.88.7:9998/receive_msg

@jjkk52
Copy link
Author

jjkk52 commented Apr 28, 2024

安装命令为:
docker run -d --name wxBotWebhook -p 3001:3001 -v ~/wxBot_logs:/app/log -e RECVD_MSG_API="http://192.168.88.7:9998/receive_msg" -e LOGIN_API_TOKEN=qspBrZG2j1G dannicool/docker-wechatbot-webhook

@jjkk52
Copy link
Author

jjkk52 commented Apr 29, 2024

通过健康检测接口,返回的是healthy

@danni-cool
Copy link
Owner

如果是本地变量引起的问题,请检查不同docker环境的网络配置

@jjkk52
Copy link
Author

jjkk52 commented May 6, 2024

感觉网络没啥问题呀

image

@jjkk52
Copy link
Author

jjkk52 commented May 6, 2024

收不到消息,发消息每一任何反应,
不知道什么时候会有下面提示:
[2024-05-06T11:10:12.469] [WARN] - 11:10:12 WARN PuppetWechat4u contactRawPayload(AxiosError: timeout of 60000ms exceeded) wechat4u.batchGetContact() exception: undefined

@danni-cool
Copy link
Owner

是连接到微信的某个接口请求时间过长超时了,还是检查下网络状况。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants