TabNine icon indicating copy to clipboard operation
TabNine copied to clipboard

It is not possible to click on Register and login using WSL2

Open alvaroico opened this issue 4 years ago • 7 comments

please complete the following information:

  • OS version: [Win 10 - WSL2 Ubuntu]
  • Editor: [vscode,]
  • Editor version: image
  • Programming language: [All]
  • TabNine extension version: 3.2.17

image

  • Engine version (could be located within Tabnine Hub): 3.3.104-40

Issue Details: It is not possible to click on Register and login using WSL2 not generating the link to open in the browser

TabNine

alvaroico avatar Apr 09 '21 01:04 alvaroico

Hi can you send the log? open Tabnine extension settings and enter a path in ‘Tabnine: Log File Path’ Then restart the IDE and wait for the problem to happen

maya-tabnine avatar Jun 07 '21 11:06 maya-tabnine

Hi i wanted to share the problem is still present but however there is a work around i will post a youtube link soon

Staninna avatar Nov 25 '21 20:11 Staninna

@alvaroico @maya-tabnine

a workaround i found in 5-10 minutes

https://youtu.be/rRx98j4To0k

Staninna avatar Nov 25 '21 20:11 Staninna

Hi there,

i had the same issues. The workaround from @Staninna really worked without any issues! :)

Houbsi avatar Dec 06 '21 08:12 Houbsi

@Staninna Hello with WSLg to install a browser there the extension can open

alvaroico avatar Dec 09 '21 12:12 alvaroico

@alvaroico @maya-tabnine

a workaround i found in 5-10 minutes

https://youtu.be/rRx98j4To0k

Successfully used this workaround on Ubuntu 20 as well. Thank you @Staninna

soodohcool avatar Feb 17 '22 21:02 soodohcool

end the log? open Tabnine extension settings and enter a path in ‘Tabnine: Log File Path’ Then restart the IDE and wait for the problem to happen

saved my life, thank you!

billzhuang avatar May 26 '22 11:05 billzhuang

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]

This issue still persists, had to use the workaround mentioned above.

owittek avatar Dec 01 '22 08:12 owittek

Ran into this issue now. Workaround helped, thanks!

wdpza avatar Dec 27 '22 00:12 wdpza

Issue still there

maksymfedenko avatar Jan 19 '23 21:01 maksymfedenko

Hy. I installed on my wsl2 the google-chrome GUI and its done.

Tutorial for install and run google-chrome GUI on wsl2

https://learn.microsoft.com/en-us/windows/wsl/tutorials/gui-apps#install-google-chrome-for-linux

Only install, and run the google-chrome and click on you tabnine button and a new window is open on chrome. For some reason, the 127.0.0.1 is not recognized on chrome in windows side.

renanlido avatar Jan 30 '23 18:01 renanlido

Referen

Dude you are awesome!

767829413 avatar Mar 09 '23 09:03 767829413

Staninna Thank you a lots

ngonngay avatar Apr 25 '23 15:04 ngonngay

Jeez. Is it this hard to fix, tabnine? Workaround should not be nessecary.

crewone avatar May 17 '23 07:05 crewone

Had this issue trying to log in to Tab9 on VS Code today. Also seeing a lot of GET request errors on port localhost:1123 that went away after following @Staninna guide (https://youtu.be/rRx98j4To0k) for pasting the link to login directly into browser from Dev Tools.

To summarize:

  1. Navigate to Tab9 from VS Code (I'm using WSL - Ubuntu 23.04)
  2. Test links (most likely broken if you are here)
  3. Launch DevTools (Help > Toggle Developer Tools)
  4. Navigate to Network tab
  5. Filter by string "event"
  6. Click on "Register / Login" in the Tab9 Hub
  7. The most recent event should now have a "Request URL" that you can copy directly to a browser to take you to the locally hosted Tab9 server (http://127.0.0.1:1123/sec-gvsldpoznlbgfgxsrrsx/event in my case but yours will be different) image
  8. Login via the web GUI for the application
  9. Code with Tab9 AI assistance! (bottom status bar no longer has "tabnine starter")

ghost avatar May 24 '23 15:05 ghost

Issue still persist on WSL2, workaround works

Luifr avatar Jun 29 '23 12:06 Luifr

Any plan to fix this?

BeautyyuYanli avatar Jul 06 '23 08:07 BeautyyuYanli

i tried this but got response "invalid secret", is there anyone met the same question?

yyflightwatcher avatar Oct 13 '23 09:10 yyflightwatcher