Hacktoberfest 2026:維護者為十月標記出來的 issue,仍然開放、適合新手。 瀏覽 Hacktoberfest issue

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

未關閉
#871 1 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

評估

難度
4/5
預估耗時
3-5 天
新手友好度
25/100
Issue 類型
缺陷
描述清晰度
需要釐清
活躍度
停滯
技術堆疊
typescript, vscode

研究方向

未指定來源檔案或測試。使用回報的 VS Code 與擴充功能版本,透過遠端 Linux SSH 工作階段重現 lgtm.com 資料庫下載,然後與本機下載進行比較;當資料庫下載完成並出現在 Explorer 和 CodeQL 窗格中時,即表示完成。

由索引模型根據 Issue 內容生成。

描述

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.

主要語言
TypeScript
星號
539
分支
240
平均合併
2 天 18 小時
30 天內合併 PR
37

貢獻指南

開啟貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

github/vscode-codeql 的其他 Issue

查看 github/vscode-codeql 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。