You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
async with TelegramClient('sessionfile', proxy=(socks.HTTP, "192.168.1.67", 8888)) as client:
await client.send_message('me', 'Hello, myself!')
Expected behavior
i use charles proxy to catch the request come through to make sure the client use proxy.
i tried to the working proxy and wrong proxy.
charles proxy can capture any request come through proxy and show out.
Actual behavior
the code run successfully but not come through proxy. even working proxy and wrong proxy, the code still run smoothly.
charles proxy can not catch any request.
Traceback
No response
Telethon version
1.36.0
Python version
3.10.2
Operating system (including distribution name and version)
window 11
Other details
No response
Checklist
The error is in the library's code, and not in my own.
I have searched for this issue before posting it and there isn't an open duplicate.
I ran pip install -U https://github.com/LonamiWebs/Telethon/archive/v1.zip and triggered the bug in the latest version.
The text was updated successfully, but these errors were encountered:
I did not implement proxy support originally, and have had no interest in maintaining them ever since. So if you're having issues, I encourage you to take a look and diagnose the problem, because I won't in the near future.
Code that causes the issue
Expected behavior
i use charles proxy to catch the request come through to make sure the client use proxy.
i tried to the working proxy and wrong proxy.
charles proxy can capture any request come through proxy and show out.
Actual behavior
the code run successfully but not come through proxy. even working proxy and wrong proxy, the code still run smoothly.
charles proxy can not catch any request.
Traceback
No response
Telethon version
1.36.0
Python version
3.10.2
Operating system (including distribution name and version)
window 11
Other details
No response
Checklist
pip install -U https://github.com/LonamiWebs/Telethon/archive/v1.zip
and triggered the bug in the latest version.The text was updated successfully, but these errors were encountered: