Microsoft/vscode

Clicking URLs in terminal while connecting are opened only after connecting

Open

#236.398 aperta il 3 mag 2024

Vedi su GitHub
 (2 commenti) (0 reazioni) (1 assegnatario)TypeScript (10.221 fork)batch import
bugconfirmation-pendinghelp wantedremoteterminal-links

Metriche repository

Star
 (74.848 star)
Metriche merge PR
 (Merge medio 11h 43m) (1000 PR mergiate in 30 g)

Descrizione

  • VSCode Version: 1.88.1
  • Local OS Version: Linux x64 6.5.0-28-generic
  • Remote OS Version: Linux 4.18.0-513.24.1.el8_9.x86_64 x86_64
  • Remote Extension/Connection Type: Server

I'm not sure which of the remote development plugins causes this, that's why I'm opening a general issue. Apologies if this is the wrong spot.

The remote machine I'm connecting to requires 2FA. The terminal shows a URL to visit, which handles the 2FA procedure. The problem is that when I CTRL+click on the URL, it doesn't open. It only opens after the procedure is done. I assume there is some blocking / waiting going that doesn't allow this event to go through directly.

  • Logs:
Logging in as <username> from <redacted>.
Please open https://<2fa_link> to complete logon.

Steps to Reproduce:

  1. Try to connect to machine.
  2. Get prompted to go to 2FA link.
  3. Click link.
  4. Nothing happens.
  5. Copy link manually and complete 2FA procedure.
  6. Setup continues as normal.
  7. The link opens (from the original click).

Does this issue occur when you try this locally?: No Does this issue occur when you try this locally and all extensions are disabled?: No

Guida contributor