Are you using a proxy? A firewall? An antivirus?
Rules that exist for security compliance can cause issues for Tabnine to operate correctly. A simple configuration can resolve these issues. Please see the following instructions:
1. In most cases (standard proxies), setting up the http_proxy
and https_proxy
variables in the environment variables on your machine should solve the problem.
2. For tabnine to operate properly, it needs to be able to communicate with several hosts:
api.tabnine.com, notify.tabnine.com, www.tabnine.com, cloud.tabnine.com (port 443).
Please authorize Tabnine with a wild card: *.tabnine.com, tabnine.com
Are you working from a company computer network?
You can run Tabnine binary engine directly from the command line. To test this, let's try to run the binary :
- Find your engine path in the Hub -> Support -> General Info -> Engine file path
- Open a cmd with admin permissions ( open terminal for Mac/Linux)
- Run the process like so:
<engine file path> --no_bootstrap --log-level debug --log-file-path <a log file path>
This will start the process and write the logs to the given file path. If you want to see the logs directly in the cmd as well, add the flag--log_to_stderr
- Copy-paste the following JSON to the cmd where the process runs:
{"version":"9.9.9","request":{"Configuration":{}}}
, and hit enter.
This will open the Hub from the process that runs in the cmd. - Try to log in from the Hub. If this works, it means that the IDE's process doesn't have sufficient permissions to access api.tabnine.com.
We have attached below, a screen recording of the above instructions, hopefully, it'll help:
https://user-images.githubusercontent.com/67855609/219047879-4ac6294f-3c39-450b-a3c5-e639b3a4a35b.mp4
If you are unfamiliar with these settings and have no access to the configurations, please contact your company IT and ask to allowlist Tabnine addresses (as shown in step 2).
Unfortunately, our support team won't be able to fix this problem for you, and it requires you to act on your side. Nevertheless, you are always welcome to contact our support team and ask for further assistance.