TabNine icon indicating copy to clipboard operation
TabNine copied to clipboard

Please support PROXY

Open jqknono0 opened this issue 4 years ago • 9 comments

As some companys' IT strategy, much of us may need a Proxy to access the model or to active, please support PROXY.

jqknono0 avatar Oct 30 '19 03:10 jqknono0

As per a maintainer's comment (https://github.com/codota/TabNine/issues/285#issuecomment-669153890), setting the environment variables http_proxy and https_proxy should work.

For Windows users, the TabNine client doesn't respect Windows' proxy settings (in Control Panel or Settings Metro app), at least until August 2020, but does detect and use the two environment variables mentioned above, so you can try setting those environment variables in This PC → Properties → Advanced system settings → Environment variables and add them, as shown below:

image

iBug avatar Aug 09 '20 07:08 iBug

I'm MacOS and Sublime user, I hope TabNine can support setting in user json file

/Users/EricGuo/Library/Application Support/Sublime Text 3/Packages/User/TabNine.sublime-settings

{
  "max_num_results": 7,
  "http_proxy": "http://127.0.0.1:6152/"
}

Eric-Guo avatar Sep 19 '20 00:09 Eric-Guo

is this issue resolved?

sannamalai76 avatar Feb 18 '21 13:02 sannamalai76

I use wireshark to capture the packet found that tabnine use https protocal to communicate with cloud service heroku.com So I add rule *.heroku.com to my proxy tool ( I use Shadowsocks) and it looks works

acelemore avatar Mar 03 '21 08:03 acelemore

thanks can you post an example to do this setup in windows 10

sannamalai76 avatar Mar 03 '21 09:03 sannamalai76

Any updates? Really need this for enterprise usage

Kunjinkao0 avatar Apr 08 '21 10:04 Kunjinkao0

Still with the same problem

arthurcrm avatar Jun 08 '21 20:06 arthurcrm

Mine: I use tabnine in remote Ubuntu virtual machine(vm) within vmware. And this vm use proxy from host machine to connect to Internet. Then, when I tried to connect code to this vm from host machine through vscode SSH extension, tabnine warned me that cannot download dependencies.....

dbsxdbsx avatar Sep 03 '21 01:09 dbsxdbsx

I use wireshark to capture the packet found that tabnine use https protocal to communicate with cloud service heroku.com So I add rule *.heroku.com to my proxy tool ( I use Shadowsocks) and it looks works

I don't think that I can ask for the networking team to whitelist the entire heroku.com domain. Is there a plan to move away from this generic domain to something specific that I can ask the networking team to whitelist?

sheigel avatar Feb 19 '22 17:02 sheigel

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 08:10 stale[bot]