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

[错误报告] 通知推送器Wecom无法正常运行 #889

Open
4 tasks done
ui-beam-9 opened this issue Nov 15, 2024 · 1 comment
Open
4 tasks done

[错误报告] 通知推送器Wecom无法正常运行 #889

ui-beam-9 opened this issue Nov 15, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@ui-beam-9
Copy link

确认

  • 我的版本是最新版本,我的版本号与 version 相同。
  • 我已经查阅了已知问题,并确认我的问题不在其中。
  • 我已经 issue 中搜索过,确认我的问题没有被提出过。
  • 我已经修改标题,将标题中的 描述 替换为我遇到的问题。

当前程序版本

3.1.18

问题类型

程序运行问题

问题描述

在通知配置了wecom推送器,token填入了wecomchan服务端的sendkey,chat id填入的服务端的地址,通过日志查看程序在尝试发送时,出现了网络无法连接的错误,已确认容器和宿主网络没问题,在容器内使用curl运行发送命令也是可以正常发送的, wecomchan服务端也运行的docs指定的版本,自己搭建了一个测试代码,也是可以正常发送图文到企业微信创建的应用程序上的
image

发生问题时系统日志

2024-11-15 05:39:59] WARNING:  [Network] Cannot connect to https://api.ui-beam.com/wecomchan. Wait for 5 seconds.
[2024-11-15 05:40:04] WARNING:  [Network] Cannot connect to https://api.ui-beam.com/wecomchan. Wait for 5 seconds.
[2024-11-15 05:40:09] WARNING:  [Network] Cannot connect to https://api.ui-beam.com/wecomchan. Wait for 5 seconds.
[2024-11-15 05:40:09] ERROR     [Network] Failed connecting to https://api.ui-beam.com/wecomchan
[2024-11-15 05:40:09] WARNING:  [Network] Please check DNS/Connection settings
[2024-11-15 05:40:09] WARNING:  Failed to send notification: 'NoneType' object has no attribute 'status_code'
[2024-11-15 05:40:11] WARNING:  [Network] Cannot connect to https://api.ui-beam.com/wecomchan. Wait for 5 seconds.
@ui-beam-9 ui-beam-9 added the bug Something isn't working label Nov 15, 2024
@ui-beam-9
Copy link
Author

附上测试代码,可以做个参考,也可以直接把该方法用于修复发送问题
autobangumi-wecom-test
image
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant