Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Unable to download lgtm.com database in an remote SSH session

Aperta
#871 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
25/100
Tipo di issue
Bug
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
typescript, vscode

Direzione di ricerca

Non è indicato alcun file sorgente o test. Riproduci il download del database di lgtm.com tramite una sessione SSH Linux remota usando le versioni indicate di VS Code e dell'estensione, quindi confrontalo con un download locale; l'attività è completata quando il download del database termina e il database appare nei pannelli Explorer e CodeQL.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

bug VSCode

Describe the bug
When connecting from VSCode (Linux) to a remote Linux server over SSH, attempts to download a CodeQL database from lgtm.com fails. The interface accepts the project slug, and then asks for the language, but then is stuck forever with the notification "Adding database from LGTM. Choose a language from the dropdown, if requested.: Downloading database [0.0 MB of 523.5 MB]"

Version
CodeQL extension version: 1.4.8
CodeQL CLI version: 2.4.6
Platform: linux x64

Version: 1.56.2
Commit: 054a9295330880ed74ceaedda236253b4f39a335
Date: 2021-05-12T16:45:26.313Z
Electron: 12.0.4
Chrome: 89.0.4389.114
Node.js: 14.16.0
V8: 8.9.255.24-electron.0
OS: Linux x64 5.8.0-53-generic

To reproduce

  • Install latest vscode from debian repositories (currently 1.56.2).
  • Install Remote SSH and CodeQL extensions.
  • Connect to a remote Linux host.
  • Install CodeQL extension on remote (if not present)
  • Attempt to download a database from lgtm.com (e.g. g/asterisk/asterisk).
  • Select the desired language from the pulldown
  • Witness download is stuck.

Expected behavior
The database should be downloaded and appear in the Explorer and CodeQL panes.

Additional context
This works correctly when working locally on both Linux hosts. It's only when working over SSH remotely that I have reproduced this.

Lingua principale
TypeScript
Stelle
539
Fork
240
Merge medio
2g 6h
PR unite (30g)
29

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di github/vscode-codeql

Tutte le issue di github/vscode-codeql

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.