[Bug]: gamedig npm calls hang when the npm registry does not answer
Maintainer thường phản hồi trong vòng 1 ngày
Đánh giá
Issue này chưa được đánh giá.
Mô tả
Bug description
check_gamedig.sh runs npm install when gamedig is missing, and npm update > /dev/null 2>&1 on every monitor, start, stop, restart, details, update, validate and postdetails when it is present. When the npm registry accepts connections but does not answer, both calls wait. The npm update output is hidden, so a cron monitor just stalls with nothing on screen or in the log.
On a clean ubuntu-26.04 container with gamedig installed and the registry pointed at a listener that accepts connections and never answers (90 s limit):
| Command | Result |
|---|---|
npm install |
timed out |
npm install --no-audit |
done in 0 s |
npm update |
timed out |
npm update --no-audit |
timed out |
npm install only waits on its audit request. npm update also waits on the version lookups it needs, so --no-audit alone does not help it. npm's defaults allow 5 minutes per request with 2 retries.
The same problem in the container entrypoint was fixed in GameServerManagers/docker-linuxgsm#113.
Steps to reproduce
- Install any server with Node.js 16+ so gamedig is installed.
- Make the npm registry accept connections but not answer.
- Run
./<server> monitor.
Expected behaviour
The gamedig check finishes quickly or gives up within a short time, and the command carries on.
- Ngôn ngữ chính
- Shell
- Star
- 4.9k
- Fork
- 871
- Merge trung bình
- 1 ngày 7 giờ
- Pull request đã merge (30 ngày)
- 133
Chuẩn bị môi trường
Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của GameServerManagers/LinuxGSM
-
[Bug]: csserver metamod fails to load amxmodx after ubuntu 26.04 base imageCó thể đã có người làm @dgibbs64 đã nhận 1 ngày trước. Đang mởcommand: mods command: start distro: Ubuntu regression: yes reproducible: always severity: medium status: fixed in develop type: bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
GameServerManagers/LinuxGSM#5114 · 1 bình luận · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[Bug]: cs2server ignores the GSLT entered during installCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mởcommand: install command: start distro: Debian engine: source2 game: Counter-Strike 2 regression: yes reproducible: always severity: high type: bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
GameServerManagers/LinuxGSM#5106 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
command: install command: update distro: Ubuntu engine: quake game: Quake World priority: low scope: single game type: feature
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
GameServerManagers/LinuxGSM#5143 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
command: monitor command: start distro: Ubuntu engine: goldsrc game: Counter-Strike: WON2 game: Half-Life: WON2 info: docker info: query reproducible: always severity: medium type: bug
Độ khó 4/5 Hơn một tuần Mức phù hợp với người mới 18/100
GameServerManagers/LinuxGSM#5142 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
command: monitor command: start distro: Ubuntu engine: goldsrc game: Action Half-Life reproducible: always severity: medium type: bug
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 25/100
GameServerManagers/LinuxGSM#5141 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của GameServerManagers/LinuxGSM
Issue tương tự
-
docs(harness-config): drop the last /review:audit-enforceability reference from an eval sampleĐang mởagent-ready priority: medium status: ready work-class: scoped
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 75/100
melodic-software/claude-code-plugins#12762 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
danielmiessler/LifeOS#2567 ·
Maintainer thường phản hồi trong vòng 9 ngày
-
Area-Build Issue-Bug OS-Windows
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Trivy security scan fails since 2026-10-30: no gateway with workers for gateway VM gateway-1Có thể đã có người làm @pau-hedgehog đã nhận hôm nay. Đang mởbug ci regression
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
githedgehog/fabricator#2225 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area:docs documentation good first issue priority:medium
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 78/100
rtk-ai/rtk#4958 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày