Closed andreymerchenko closed 3 months ago
Check that correct username and password are specified in TdApi.ProxyTypeHttp
. The proxy is supposed to work in this case and shouldn't return "407 Proxy Authentication Required".
Could you check whether the proxy works in the latest TDLib version that I have just pushed to Github?
Hi, levlam, thank you for the fast response!
Yes, correct credentials are passed in TdApi.ProxyTypeHttp
, otherwise other HTTP proxies would not work.
I will check this issue on the latest version of tdlib and get back with observations.
Thank you.
Hi levlam,
I will check this issue on the latest version of tdlib and get back with observations.
The issue is not reproduced on the latest tdlib version, thank you!
Dear tdlib community,
I am experiencing an issue of specifying some HTTP proxy via tdlib. This occurred for the first time, i.e., there are other HTTP proxies in the system which work fine.
I am able to specify this HTTP proxy in Telegram Desktop official client. And also CURL request with this proxy works from the same host, here is the sample CURL request, which is used to verify it (credentials are replaced):
curl -x "http://username:password@host:port" "https://google.com/"
However, in tdlib getting "Proxy Authentication Required" error.
Here is the log output when setting log verbosity level to 5:
TdApi.AddProxy
API is used to specify the proxy, i.e.:Could you, please, advise why such issue may occur?
Thank you.