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推送开播提醒失败 #1

Open
leecoooo opened this issue Jun 22, 2021 · 7 comments
Open

Telegram推送开播提醒失败 #1

leecoooo opened this issue Jun 22, 2021 · 7 comments

Comments

@leecoooo
Copy link

result {'tg': False, 'sc': True}

@lukihardt
Copy link

我也是Telegram推送开播提醒失败,已经用clash可以连接Google,cmd下尝试 set HTTP_PROXY=http://127.0.0.1:7890 ,仍然无法发送telegram推送

@Sun-Case
Copy link
Owner

Sun-Case commented Oct 2, 2021

增加了代理方式请求推送服务器
更新代码后运行程序,会自动更新 config.json文件

配置 config.jsonPROXY 或者 Telegramproxy
格式是 http://host:port
可以试试能不能用

@leecoooo
Copy link
Author

leecoooo commented Oct 6, 2021

Telegram 依然推送失败

路由已设置透明代理,本地与跟 telegram 服务器联通没有问题,直接从本地手动推送至telegram bot API也正常,ServerChan 推送测试正常,不设置代理出现 Telegram 推送失败提醒,设置 http 代理后甚至不出现推送失败,直接没有提示。

@lukihardt
Copy link

我也是Telegram推送开播提醒失败,已经用clash可以连接Google,cmd下尝试 set HTTP_PROXY=http://127.0.0.1:7890 ,仍然无法发送telegram推送

开全局那种的VPN可以成功

@Sun-Case
Copy link
Owner

Sun-Case commented Oct 8, 2021

Telegram 依然推送失败

路由已设置透明代理,本地与跟 telegram 服务器联通没有问题,直接从本地手动推送至telegram bot API也正常,ServerChan 推送测试正常,不设置代理出现 Telegram 推送失败提醒,设置 http 代理后甚至不出现推送失败,直接没有提示。

应该是通过代理服务器请求时出错了;会有显示失败,只是被新的信息给刷掉了
这次增加了日志输出,会输出错误到 run.log 文件

@leecoooo
Copy link
Author

是不是设定了Telegram一定要设定代理地址才能推送?

@Sun-Case
Copy link
Owner

是不是设定了Telegram一定要设定代理地址才能推送?

能直连Telegram就可以不设置代理

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

3 participants