-
Notifications
You must be signed in to change notification settings - Fork 5.7k
Bot fails when deploying with webhooks on gcloud #1393
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
Comments
@jiwidi Thanks for the report.
|
Hi @tsnoam, sorry for the late reply.
I'll try to deploy it again with your feedback regarding your patched urlib and get back to you asap. Thanks |
I checked gae documentation again which refers to the urlllib3 documentation:
|
Also, to make it clear: |
Thanks @jiwidi |
Steps to reproduce
Steps linked in this tutorial: https://seminar.io/2018/09/03/building-serverless-telegram-bot/
Expected behaviour
The bot should be correctly deployed on gcloud functions and act as as mirror bot.
Actual behaviour
The bot fails on a simple commnad:
It seems to me that it fails instanciation the connection. Could be a urrlib issue as well.
I tried using urllib3==1.20 as I saw it as a solution for other issues but the error persists.
Configuration
Operating System:
Version of Python, python-telegram-bot & dependencies:
python 3.7
python-telegram-bot=1.11.0
urllib3==1.24.2
Logs
Retrying (Retry(total=0, connect=None, read=None, redirect=None)) after connection broken by 'NewConnectionError('<telegram.vendor.ptb_urllib3.urllib3.connection.VerifiedHTTPSConnection object at 0x2b45c2e30b00>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /bot<BOTTOKEN>/sendMessage"
The text was updated successfully, but these errors were encountered: