Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

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

Đang mở
#871 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
25/100
Loại issue
Lỗi
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Đình trệ
Công nghệ
typescript, vscode

Hướng nghiên cứu

Không có tệp mã nguồn hoặc bài kiểm thử nào được nêu tên. Hãy tái hiện quá trình tải xuống cơ sở dữ liệu của lgtm.com qua một phiên SSH Linux từ xa bằng các phiên bản VS Code và extension được báo cáo, sau đó so sánh với một lần tải xuống cục bộ; được xem là hoàn tất khi quá trình tải xuống cơ sở dữ liệu kết thúc và cơ sở dữ liệu xuất hiện trong các khung Explorer và CodeQL.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
TypeScript
Star
539
Fork
240
Merge trung bình
2 ngày 18 giờ
Pull request đã merge (30 ngày)
37

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của github/vscode-codeql

Tất cả issue của github/vscode-codeql

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.