tabnine-vscode icon indicating copy to clipboard operation
tabnine-vscode copied to clipboard

vscode extension stops working produces no results. chat also stops working.

Open jamie1911 opened this issue 2 years ago • 4 comments

please complete the following information:

  • OS version: Windows 11
  • Editor version: 1.87 user setup
  • Programming language: python
  • TabNine extension version: TabNine.tabnine-vscode v3.73.0

Editor console logs:


11:28:52 GMT-0500 (Eastern Standard Time) [ERROR]: Error: Binary request timed out. {"Autocomplete":{"filename":"/home/jamie/code/personal/infrastructure/aws/accounts/management/iam.py","before":"import json\n\nimport pulumi\nimport pulumi_aws as aws\n\naws.iam.Role(\n    \"gitlab-deployment-job\",\n    name=\"deployment-job\",\n    path=\"/iac/gitlab/\",\n    assume_role_policy=json.dumps(\n        {\n            \"Version\": \"2012-10-17\",\n            \"Statement\": [\n                {\n                    \"Action\": \"sts:AssumeRole\",\n                    \"Effect\": \"Allow\",\n                    \"Principal\": {\n                        \"AWS\": \"arn:aws:iam::xxxxx:user\",\n                    },\n                }\n            ],\n        }\n    ),\n    managed_policy_arns=[\"arn:aws:iam::aws:policy/xxxx\"],\n)\n\naws.iam.Role(\n    \"administrator-access\",\n    name=\"administrator-access\",\n    path=\"/admins/\",\n    assume_role_policy=json.dumps(\n        {\n            \"Version\": \"2012-10-17\",\n            \"Statement\": [\n                {\n                    \"Action\": \"sts:AssumeRole\",\n                    \"Effect\": \"Allow\",\n                    \"Principal\": {\n                        \"AWS\": [\n                            \"arn:aws:iam::xxxxx:user/xxx/xxx\",\n                        ],\n                    },\n                }\n            ],\n        }\n    ),\n    managed_policy_arns=[\"arn:aws:iam::aws:policy/xxx\"],\n)\n\n\n","after":"","region_includes_beginning":true,"region_includes_end":true,"max_num_results":5,"offset":1266,"line":50,"character":0,"indentation_size":4}} 

11:29:17 GMT-0500 (Eastern Standard Time) [ERROR]: Error: Binary request timed out. {"Prefetch":{"filename":"extension-output-TabNine.tabnine-vscode-#1-Tabnine"}} 

11:29:18 GMT-0500 (Eastern Standard Time) [ERROR]: Error: Binary request timed out. {"Workspace":{"root_paths":["/home/jamie/code/personal/infrastructure"]}} 

11:29:22 GMT-0500 (Eastern Standard Time) [DEBUG]: Updating root paths for project infrastructure [WSL: Ubuntu]: ["/home/jamie/code/personal/infrastructure"] 

[4] [2024-03-03:11:29:27 TabNine ERROR] Error running vdb Qdrant process did not connect within PT60S

[4] Error: Server exited with status Exited(101)

[4] [2024-03-03:11:29:36 WD-TabNine INFO] stop watching process 33009-TabNine-server-runner

11:29:38 GMT-0500 (Eastern Standard Time) [ERROR]: Error: Binary request timed out. {"Features":{}} 

11:29:38 GMT-0500 (Eastern Standard Time) [ERROR]: Error: Could not get enabled capabilities 

11:29:39 GMT-0500 (Eastern Standard Time) [ERROR]: Error: Binary request timed out. {"Notifications":{}} 

11:29:40 GMT-0500 (Eastern Standard Time) [ERROR]: Error: Binary request timed out. {"StatusBar":{}} 

11:29:52 GMT-0500 (Eastern Standard Time) [DEBUG]: Updating root paths for project infrastructure [WSL: Ubuntu]: ["/home/jamie/code/personal/infrastructure"] 

11:30:00 GMT-0500 (Eastern Standard Time) [ERROR]: Error: Binary request timed out. {"Features":{}} 

11:30:00 GMT-0500 (Eastern Standard Time) [ERROR]: Error: Could not get enabled capabilities 

11:30:01 GMT-0500 (Eastern Standard Time) [ERROR]: Error: Binary request timed out. {"Notifications":{}} 

11:30:02 GMT-0500 (Eastern Standard Time) [ERROR]: Error: Binary request timed out. {"StatusBar":{}} 

11:30:03 GMT-0500 (Eastern Standard Time) [ERROR]: Error: Binary request timed out. {"State":{}} 

11:30:22 GMT-0500 (Eastern Standard Time) [DEBUG]: Updating root paths for project infrastructure [WSL: Ubuntu]: ["/home/jamie/code/personal/infrastructure"] 

11:30:23 GMT-0500 (Eastern Standard Time) [ERROR]: Error: Binary request timed out. {"Features":{}} 

11:30:23 GMT-0500 (Eastern Standard Time) [WARN]: Binary not returning results, it is being restarted. 
11:30:00 GMT-0500 (Eastern Standard Time) [ERROR]: Error: Binary request timed out. {"Features":{}} 
11:30:00 GMT-0500 (Eastern Standard Time) [ERROR]: Error: Could not get enabled capabilities 
11:30:01 GMT-0500 (Eastern Standard Time) [ERROR]: Error: Binary request timed out. {"Notifications":{}} 
11:30:02 GMT-0500 (Eastern Standard Time) [ERROR]: Error: Binary request timed out. {"StatusBar":{}} 
11:30:03 GMT-0500 (Eastern Standard Time) [ERROR]: Error: Binary request timed out. {"State":{}} 
11:30:23 GMT-0500 (Eastern Standard Time) [ERROR]: Error: Binary request timed out. {"Features":{}} 
11:30:23 GMT-0500 (Eastern Standard Time) [WARN]: Binary not returning results, it is being restarted. 

Issue Details:

TabNine stops working after a few minutes. Restarting vscode doesn't always solve it. Usually deleting ~/.config/TabNine will resolve it for the life of the session. However, upon next launch of vscode completions do not show.

I am able to replicate on two separate laptops.

gz#30083

(related to Zendesk ticket #30083)

jamie1911 avatar Mar 03 '24 16:03 jamie1911

Hi @jamie1911 , Please delete Tabnine completely from your machine. See here how to do that. Then re-install. Please send us the VSCode log files (devtools +engine). See here how to do that. Also, if you have a proxy, please send us a screenshot of the IDE proxy settings. Try running the curl command in your terminal to your server URL and send us the output. If you are on SaaS: curl -w "\nRoundtrip time is: %{time_total}" https://c2.p.tabnine.com/health

curl -w "\nRoundtrip time is: %{time_total}" https://api.tabnine.com/health (https://c2.p.tabnine.com/health)

TzufTabnine avatar Mar 04 '24 04:03 TzufTabnine

Hi @jamie1911 , Please delete Tabnine completely from your machine. See here how to do that. Then re-install. Please send us the VSCode log files (devtools +engine). See here how to do that. Also, if you have a proxy, please send us a screenshot of the IDE proxy settings. Try running the curl command in your terminal to your server URL and send us the output. If you are on SaaS: curl -w "\nRoundtrip time is: %{time_total}" https://c2.p.tabnine.com/health

curl -w "\nRoundtrip time is: %{time_total}" https://api.tabnine.com/health (https://c2.p.tabnine.com/health)

Thanks, I was able to clean the extension, reinstall and enable the logs. Where can I send the logs?

curl -w "\nRoundtrip time is: %{time_total}" https://c2.p.tabnine.com/health
{"ok":true}
Roundtrip time is: 0.396863

curl -w "\nRoundtrip time is: %{time_total}" https://api.tabnine.com/health
App version cd7f1e054c4464c25d7d85c01491d2664400813d
Roundtrip time is: 0.205719


jamie1911 avatar Mar 04 '24 17:03 jamie1911

@jamie1911 Please send it to [email protected]

TzufTabnine avatar Mar 05 '24 07:03 TzufTabnine

@jamie1911 Please send it to [email protected]

I was able to send the logs in.

I reviewed the logs as well and there are a lot of ERRORS about TLS connections to cloud.tabnine.com

Reviewing multiple online test sites, they also can't connect to cloud.tabnine.com: https://www.ssllabs.com/ssltest/analyze.html?d=cloud.tabnine.com

jamie1911 avatar Mar 05 '24 14:03 jamie1911

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 May 05 '24 08:05 stale[bot]