Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

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

Open
#871 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
typescript, vscode

Research direction

No source file or test is named. Reproduce the lgtm.com database download over a remote Linux SSH session using the reported VS Code and extension versions, then compare it with a local download; done means the database finishes downloading and appears in the Explorer and CodeQL panes.

Written by the indexing model from the issue text.

Description

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.

Dominant language
TypeScript
Stars
539
Forks
240
Avg merge
2d 6h
Merged PRs (30d)
29

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from github/vscode-codeql

All issues in github/vscode-codeql

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.