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

没有能够成功启动, error trying to connect: invalid dnsname #289

Open
maudslice opened this issue Mar 3, 2022 · 2 comments
Open

Comments

@maudslice
Copy link

我设置了代理, 但是bot无法启动
`Error: Initialization failed, check your network and Telegram token

Caused by:
A method call failed because of a network error: error trying to connect: invalid dnsname`, 我该如何解决呢

@maudslice maudslice changed the title 非常抱歉, 想请教一下 没有能够成功启动, 请假一下 Mar 3, 2022
@maudslice maudslice changed the title 没有能够成功启动, 请假一下 没有能够成功启动, error trying to connect: invalid dnsname Mar 4, 2022
@iovxw
Copy link
Owner

iovxw commented Mar 8, 2022

代理环境变量是怎么设置的?在同样的的环境变量下执行 curl https://api.telegram.org 看看输出

@Asteriska001
Copy link

有可能是把HTTPS_PROXY设置成了无效的HTTPS代理...

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