TabNine
TabNine copied to clipboard
Support socks5 proxy
Tabnine doesn't respect http_proxy
and https_proxy
if its socks5
.
refs:
https://github.com/seanmonstar/reqwest/blob/8e5af459e58163d76332207107a5584bb79db173/src/connect.rs#L298
https://github.com/seanmonstar/reqwest/pull/609/files
https://docs.rs/reqwest/0.10.0/reqwest/struct.Proxy.html
gz#3667
Thanks for filing the issue! Having this implemented would be nice. In the mean time there's a work around for Linux via Privoxy https://neoctobers.readthedocs.io/zh_CN/latest/rpi/socks_to_http.html
Did you try it and it worked for you?
Yes, I configured privoxy with the steps above on my Ubuntu installation to use the internal SOCKS5 proxy, set /etc/environment
to point to privoxy, and was able to download the new model and have my API key confirmed 👍 everything seems back to normal
That's awesome, thanks for helping us out! We'll add this issue to our backlog, and in the meanwhile we now know what to do thanks to you 🙂
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.