-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
failed with http proxy #509
Comments
Because you are running the proxy outside of the container. The container has its own network and 127.0.0.1 means the container itself. You need to either merge the networks or somehow point to the proxy outside the container. Or just use host network |
I also recommend avoiding using a |
I would test this and if I encounter the same problem, I will provide some info. |
I'm using docker to run telebot, and I set proxy in .env file
the proxy is successfully set and I test it using curl
and it responded with my proxy IP
but when I run docker
it said
it seems that it was proxy problem, beacuse I comment the proxy line in .env file, it works fine.
I have pull the latest version.
The text was updated successfully, but these errors were encountered: