Skip to content

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

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

Open
electricworry opened this issue May 27, 2021 · 1 comment
Open
Labels
bug Something isn't working VSCode

Comments

@electricworry
Copy link

electricworry commented May 27, 2021

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.

@electricworry electricworry added the bug Something isn't working label May 27, 2021
@aeisenberg
Copy link
Contributor

Thanks for reporting this issue. We will take a look.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working VSCode
Projects
None yet
Development

No branches or pull requests

2 participants