-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
AddProxy #3260
Comments
|
When do we call that method? Any particular sequence we need to follow? Any implementation sample you can provide? |
You call it whenever you want to enable the proxy. It can be called any time. |
Thanks @levlam for your reply. In python sample provided in this repo, if I call td/example/python/tdjson_example.py Line 83 in 521aed8
|
You need to enable the proxy only once. |
Following is my implementations:
And following is log
I am sure I am not connected to socks proxy. Can you please let me know what is wrong with my code? |
The code is correct. The proxy will be used whenever network requests are sent. |
Hi @levlam It's not picking up proxy. In my devices list, I get the country where I run the code and not proxy's country. |
Check TDLib logs for details. |
I get no difference in log. I only changed 60 seconds for timeout. What is the expected response when I send AddProxy?
|
You didn't even try to initialize and use TDLib in the provided log. |
Apologies for my limited knowledge but can you please elaborate |
Hi
What is the best way to use
AddProxy
? Is there any sequence that needs to be followed?Thanks
The text was updated successfully, but these errors were encountered: