TabNine: Unable to sign in to TabNine behind corporate proxy/vpn

please complete the following information:

  • OS version: macOS Monterey 12.2.1
  • Editor: PyCharm
  • Editor version: 2022.1
  • Programming language: python
  • TabNine extension version: 0.5.23
  • Engine version (could be located within Tabnine Hub): 4.4.4-48

Issue Details: When launching the TabNine hub from PyCharm, then trying to Sign In, the page tries to redirect to https://app.tabnine.com/auth/sign-in for the sign in process, but then nothing happens and the page redirects back to the hub URL (in http://127.0.0.1:5555) and just hangs there indefinitely with a blank page.
This only happens when operating inside of a corporate VPN. When I turn off the VPN I can sign in just fine.

This doesn’t seem to be a duplicate of https://github.com/codota/TabNine/issues/181, as the suggested solution there is to update the http_proxy and https_proxy environment variables. However, since in this case TabNine is running from PyCharm, the same approach doesn’t apply.

gz#13739

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Reactions: 3
  • Comments: 23

Most upvoted comments

Issue is still present in latest version of PyCharm and TabNine

Hi can you make sure Tabnine is whitelisted then? For tabnine to operate properly, it needs to be able to communicate with several hosts: api.tabnine.com, www.tabnine.com, cloud.tabnine.com, sa.tabnine.com.

This issue is still occurring with the latest TabNine and code-server

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.

Let us know how we can help!

The tabnine web code should be changed to use something like {baseURL}/proxy/5555 instead of 127.0.0.1:5555 for the tabnine hub, since this PR went into the base code-server: https://github.com/coder/code-server/pull/5624 @jsjoeio