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

[错误报告]telegram通知异常 #554

Closed
5 tasks done
Ovler-Young opened this issue Oct 9, 2023 · 1 comment · Fixed by #566
Closed
5 tasks done

[错误报告]telegram通知异常 #554

Ovler-Young opened this issue Oct 9, 2023 · 1 comment · Fixed by #566
Labels
bug Something isn't working

Comments

@Ovler-Young
Copy link

确认

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

当前程序版本

3.1.8

问题类型

程序运行问题

问题描述

无法发出telegram通知
image
容器内wget telegram api服务器是通的,其他各种需要代理的请求也都是可用的。尝试ab内设置http代理,socks5代理和通过docker设置代理,均无果。
最后推送成功于10月4日上午12:24,为3.1.3版本。自更新3.1.4以来未曾成功发送。

发生问题时系统日志

[2023-10-09 11:18:12] INFO:     [ANi] SPY x FAMILY 間諜家家酒 Season 2 - 26 [1080P][Baha][WEB-DL][AAC AVC][CHT].mp4 >> 间谍过家家 (2022) S02E26.mp4
[2023-10-09 11:18:14] DEBUG:    [Renamer] Rename process finished.
[2023-10-09 11:18:15] WARNING:  [Network] Cannot connect to https://api.telegram.org/bot【REDACTED】/sendMessage. Wait for 5 seconds.
[2023-10-09 11:18:20] WARNING:  [Network] Cannot connect to https://api.telegram.org/bot【REDACTED】/sendMessage. Wait for 5 seconds.
[2023-10-09 11:18:25] WARNING:  [Network] Cannot connect to https://api.telegram.org/bot【REDACTED】/sendMessage. Wait for 5 seconds.
[2023-10-09 11:18:25] ERROR     [Network] Failed connecting to https://api.telegram.org/bot【REDACTED】/sendMessage
[2023-10-09 11:18:25] WARNING:  [Network] Please check DNS/Connection settings
[2023-10-09 11:18:25] WARNING:  Failed to send notification: 'NoneType' object has no attribute 'status_code'
@Ovler-Young Ovler-Young added the bug Something isn't working label Oct 9, 2023
@qklg
Copy link

qklg commented Oct 9, 2023

找到个土办法,直接qbittorrent里设置下,下完tg通知也一样的

qbittorrent设置-下载,拉到下面,运行外部程序
image
新增 torrent 时运行外部程序

curl -X POST "https://api.telegram.org/bot<YourBotToken>/sendMessage" -d "chat_id=<ChatID>&text=text=%N正在下载."

torrent 完成时运行外部程序

curl -X POST "https://api.telegram.org/bot<YourBotToken>/sendMessage" -d "chat_id=<ChatID>&text=text=%N完成下载."

YourBotToken和id自己换下
也一样的

@EstrellaXD EstrellaXD linked a pull request Oct 11, 2023 that will close this issue
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

Successfully merging a pull request may close this issue.

2 participants