Issue I am facing
- http proxy, set by Application.builder().token().proxy(PROXY_URL)
- get_me info : ok
- by get_updates: failed.
after I changes the proxy setting by set env:
os.environ['http_proxy'] = PROXY_URL
os.environ['https_proxy'] = PROXY_URL
it works well as expected.
Traceback to the issue
Related part of your code
Operating System
Win11
Version of Python, python-telegram-bot & dependencies
python-telegram-bot 22.7
Bot API 9.5
Python 3.12.10 (tags/v3.12.10:0cc8128, Apr 8 2025, 12:21:36) [MSC v.1943 64 bit (AMD64)]
Issue I am facing
after I changes the proxy setting by set env:
os.environ['http_proxy'] = PROXY_URL
os.environ['https_proxy'] = PROXY_URL
it works well as expected.
Traceback to the issue
Related part of your code
Operating System
Win11
Version of Python, python-telegram-bot & dependencies