TabNine icon indicating copy to clipboard operation
TabNine copied to clipboard

Support socks5 proxy

Open yonip23 opened this issue 3 years ago • 4 comments

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

yonip23 avatar Jul 14 '21 07:07 yonip23

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

Gandalf- avatar Jul 14 '21 17:07 Gandalf-

Did you try it and it worked for you?

yonip23 avatar Jul 14 '21 17:07 yonip23

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

Gandalf- avatar Jul 14 '21 18:07 Gandalf-

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 🙂

yonip23 avatar Jul 14 '21 18:07 yonip23

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.

stale[bot] avatar Oct 03 '22 11:10 stale[bot]