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

无法连接到TG #30

Closed
le0zh0u opened this issue Jul 16, 2024 · 1 comment
Closed

无法连接到TG #30

le0zh0u opened this issue Jul 16, 2024 · 1 comment
Labels

Comments

@le0zh0u
Copy link

le0zh0u commented Jul 16, 2024

我在国内的机器上运行这个项目,在env中配置了address和token,执行./memogram后,出现以下异常:

panic: failed to create bot: error call getMe, error do request for method getMe, Post "https://api.telegram.org/BOT_TOKEN/getMe": context deadline exceeded

goroutine 1 [running]:
main.main()
    /home/runner/work/telegram-integration/telegram-integration/bin/memogram/main.go:13 +0x54

应该是国内无法访问TG导致,可以支持通过PROXY_URL/botxxxxxx的方式连接到TG吗

@ruohai
Copy link

ruohai commented Jul 29, 2024

碰到了同样的问题,希望可以在.env文件中设定HTTP_PROXY/HTTPS_PROXY。

@github-actions github-actions bot added the Stale label Aug 12, 2024
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Aug 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants