Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tabnine isn't working in the remote IDE via JetBrains Gateway #340

Open
markAtAthena opened this issue Jun 29, 2022 · 10 comments
Open

tabnine isn't working in the remote IDE via JetBrains Gateway #340

markAtAthena opened this issue Jun 29, 2022 · 10 comments

Comments

@markAtAthena
Copy link

markAtAthena commented Jun 29, 2022

The plugin is loaded:

image

but there is nothing at the bottom to indicate it:

image

and in a js file, there are no tabnine completions

image

gz#15849

@maya-tabnine
Copy link

Would you please type tabnine::config in the code editor (where your code is)? Does it open Tabnine Hub?

@markAtAthena
Copy link
Author

Ok, I tried and It does not.

@markAtAthena
Copy link
Author

I also tried going to it directly:

image

where as when I do that locally, it does indeed find the server

image

It doesn't show the admin page when I do that locally as it doesn't have the full path but it shows that it is indeed at least running a server on 5555.

@markAtAthena
Copy link
Author

I also tried from the terminal on the remote host:

% curl localhost:5555
curl: (7) Failed to connect to localhost port 5555: Connection refused

@markAtAthena
Copy link
Author

I was able to find some things in the logs:

2022-06-29 09:22:09,391 [78002468] INFO - #c.t.b.BinaryProcessRequesterProvider - Can't get completions because Tabnine process is not started yet.
2022-06-29 09:22:10,461 [78003538] INFO - #c.t.b.f.BinaryVersionFetcher - found local bootstrapped version BinaryVersions{versionFullPath='/home/majones/.tabnine/4.4.54/x86_64-unknown-linux-musl/TabNine', version='4.4.54'}
2022-06-29 09:22:11,264 [78004341] INFO - STDOUT - java.util.concurrent.ExecutionException: com.tabnine.binary.exceptions.TabNineInvalidResponseException: Binary returned illegal response: Refresh: [1]/welcome?clientName=WebStorm&timeStamp=1656508930828685614
2022-06-29 09:22:11,365 [78004442] INFO - STDOUT - java.util.concurrent.ExecutionException: com.tabnine.binary.exceptions.TabNineInvalidResponseException: Binary returned illegal response: /welcome?clientName=WebStorm&timeStamp=1656508930828685614
2022-06-29 09:22:11,391 [78004468] INFO - #c.t.b.BinaryProcessRequesterProvider - Can't get completions because Tabnine process is not started yet.
2022-06-29 09:22:11,466 [78004543] INFO - STDOUT - java.util.concurrent.ExecutionException: com.tabnine.binary.exceptions.TabNineInvalidResponseException: Binary returned illegal response:
2022-06-29 09:22:11,566 [78004643] INFO - STDOUT - java.util.concurrent.ExecutionException: com.tabnine.binary.exceptions.TabNineInvalidResponseException: Binary returned illegal response: References
2022-06-29 09:22:11,667 [78004744] INFO - STDOUT - java.util.concurrent.ExecutionException: com.tabnine.binary.exceptions.TabNineInvalidResponseException: Binary returned illegal response:
2022-06-29 09:22:11,775 [78004852] INFO - STDOUT - java.util.concurrent.ExecutionException: com.tabnine.binary.exceptions.TabNineInvalidResponseException: Binary returned illegal response: Visible links
2022-06-29 09:22:11,880 [78004957] INFO - STDOUT - java.util.concurrent.ExecutionException: com.tabnine.binary.exceptions.TabNineInvalidResponseException: Binary returned illegal response: 1. https://www.tabnine.com/welcome?clientName=WebStorm&timeStamp=1656508930828685614

@markAtAthena
Copy link
Author

And I do not see that running:

% ps fux
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
majones 1416894 0.0 0.0 162336 6652 ? S 09:14 0:01 sshd: majones
majones 1022735 0.0 0.0 12716 3072 ? S Jun29 0:00 /bin/sh /home/majones/.cache/JetBrains/RemoteDev/dist/5a72d74ef815b_WebStorm-2022.1.1/bin/remote-dev-server.sh run /home/majones/p4
majones 1022741 0.0 0.0 12848 3240 ? S Jun29 0:00 _ /bin/sh /home/majones/.cache/JetBrains/RemoteDev/dist/5a72d74ef815b_WebStorm-2022.1.1/plugins/remote-dev-server/bin/launcher.sh webstorm.sh WS WEBIDE webstorm -Xmx750m run /home/majones/p4
majones 1022861 0.0 0.0 12848 3224 ? S Jun29 0:00 _ /bin/sh /home/majones/.cache/JetBrains/RemoteDev/dist/5a72d74ef815b_WebStorm-2022.1.1/bin/webstorm.sh cwmHostNoLobby /home/majones/p4
majones 1022877 227 16.0 23118080 10509220 ? Sl Jun29 3332:10 _ /lib64/ld-linux-x86-64.so.2 --library-path /home/majones/.cache/JetBrains/RemoteDev/dist/5a72d74ef815b_WebStorm-2022.1.1/plugins/remote-dev-server/selfcontained/lib /home/majones/.cache/JetBrains/RemoteDev-WS/_home_majones_p4/pid.1022741.temp.jbr/bin
majones 1023232 0.0 0.0 6956 1632 ? S Jun29 0:02 _ /home/majones/.cache/JetBrains/RemoteDev/dist/5a72d74ef815b_WebStorm-2022.1.1/bin/fsnotifier
majones 1023247 0.0 0.1 142120 98668 ? Sl Jun29 0:17 _ /home/majones/.tabnine/4.4.54/x86_64-unknown-linux-musl/TabNine --client WebStorm --no-lsp true --client-metadata pluginVersion=0.7.3 clientIsUltimate=false clientChannel=production pluginUserId=bdde88d9-a880-4490-b006-35e07e04a1cc clientVersion=2
majones 1023276 0.0 0.2 314460 182496 ? Sl Jun29 0:24 | _ /home/majones/.tabnine/4.4.54/x86_64-unknown-linux-musl/TabNine --client WebStorm --no-lsp true --client-metadata pluginVersion=0.7.3 clientIsUltimate=false clientChannel=production pluginUserId=bdde88d9-a880-4490-b006-35e07e04a1cc clientVersi
majones 1023418 0.0 0.8 701612 549912 ? Sl Jun29 0:28 | | _ /home/majones/.tabnine/4.4.54/x86_64-unknown-linux-musl/TabNine-deep-local --settings /home/majones/.config/TabNine/local.settingsSmall --settings-version 1 --client WebStorm --client-metadata pluginVersion=0.7.3 clientIsUltimate=false cli
majones 1410683 0.5 0.0 48620 15092 ? Sl 08:51 0:27 | _ /home/majones/.tabnine/4.4.54/x86_64-unknown-linux-musl/WD-TabNine --client WebStorm --client-metadata pluginVersion=0.7.3 clientIsUltimate=false clientChannel=production pluginUserId=bdde88d9-a880-4490-b006-35e07e04a1cc clientVersion=2022.1.1
majones 1428199 0.0 0.0 25272 5092 pts/0 Ss 09:58 0:00 _ /bin/bash --rcfile /home/majones/.cache/JetBrains/RemoteDev/dist/5a72d74ef815b_WebStorm-2022.1.1/plugins/terminal/jediterm-bash.in -i
majones 1433680 0.0 0.0 58724 4040 pts/0 R+ 10:13 0:00 _ ps fux
majones 40604 0.0 0.0 100900 10412 ? Ss Jun28 0:02 /usr/lib/systemd/systemd --user
majones 40606 0.0 0.0 327728 4060 ? S Jun28 0:00 _ (sd-pam)
majones 42905 0.0 0.0 76336 4456 ? Ss Jun28 0:00 _ /usr/bin/dbus-daemon --session --address=systemd: --nofork --nopidfile --systemd-activation --syslog-only

@markAtAthena
Copy link
Author

Whereas on my Mac I do see that running (with my local IDE open):

% ps -ax |grep -i tabnine
52139 ?? 4:08.82 /Users/majones/.tabnine/4.4.54/x86_64-apple-darwin/TabNine-deep-local --settings /Users/majones/Library/Preferences/TabNine/local.settingsSmall --settings-version 1 --client IntelliJIDEA --client-metadata pluginVersion=0.7.3 clientIsUltimate=true clientChannel=production pluginUserId=a8cf0015-5540-407a-8cea-3e0ef22441f0 clientVersion=2022.1.3 clientApiVersion=IU-221.5921.22 ide-restart-counter=0
52191 ?? 0:20.05 /Users/majones/.tabnine/4.4.54/x86_64-apple-darwin/TabNine --client IntelliJIDEA --no-lsp true --client-metadata pluginVersion=0.7.3 clientIsUltimate=true clientChannel=production pluginUserId=a8cf0015-5540-407a-8cea-3e0ef22441f0 clientVersion=2022.1.3 clientApiVersion=IU-221.5921.22 ide-restart-counter=0
52193 ?? 0:28.84 /Users/majones/.tabnine/4.4.54/x86_64-apple-darwin/TabNine --client IntelliJIDEA --no-lsp true --client-metadata pluginVersion=0.7.3 clientIsUltimate=true clientChannel=production pluginUserId=a8cf0015-5540-407a-8cea-3e0ef22441f0 clientVersion=2022.1.3 clientApiVersion=IU-221.5921.22 ide-restart-counter=0 --no_bootstrap
93573 ?? 1:16.31 /Users/majones/.tabnine/4.4.54/x86_64-apple-darwin/WD-TabNine --client IntelliJIDEA --client-metadata pluginVersion=0.7.3 clientIsUltimate=true clientChannel=production pluginUserId=a8cf0015-5540-407a-8cea-3e0ef22441f0 clientVersion=2022.1.3 clientApiVersion=IU-221.5921.22 ide-restart-counter=0

@uded
Copy link

uded commented Oct 19, 2023

Same problem for me here, Tabnine is not really compatible with the remote env I believe...

@MirzaeiDev
Copy link

same

1 similar comment
@1377382065
Copy link

same

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants