[Bug]: gamedig npm calls hang when the npm registry does not answer
I maintainer di solito rispondono entro 1 giorno
Valutazione
Questa issue non è ancora stata valutata.
Descrizione
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.
- Lingua principale
- Shell
- Stelle
- 4.9k
- Fork
- 871
- Merge medio
- 1g 7h
- PR unite (30g)
- 133
Preparare l'ambiente
Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di GameServerManagers/LinuxGSM
-
[Bug]: csserver metamod fails to load amxmodx after ubuntu 26.04 base imageForse già presa @dgibbs64 l’ha presa 1 giorno fa. Apertacommand: mods command: start distro: Ubuntu regression: yes reproducible: always severity: medium status: fixed in develop type: bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
GameServerManagers/LinuxGSM#5114 · 1 commento · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
-
[Bug]: cs2server ignores the GSLT entered during installForse già presa Una pull request collegata a questa issue è aperta o già unita. Apertacommand: install command: start distro: Debian engine: source2 game: Counter-Strike 2 regression: yes reproducible: always severity: high type: bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
GameServerManagers/LinuxGSM#5106 ·
I maintainer di solito rispondono entro 1 giorno
-
command: install command: update distro: Ubuntu engine: quake game: Quake World priority: low scope: single game type: feature
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
GameServerManagers/LinuxGSM#5143 ·
I maintainer di solito rispondono entro 1 giorno
-
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
Difficoltà 4/5 Più di una settimana Idoneità per principianti 18/100
GameServerManagers/LinuxGSM#5142 ·
I maintainer di solito rispondono entro 1 giorno
-
command: monitor command: start distro: Ubuntu engine: goldsrc game: Action Half-Life reproducible: always severity: medium type: bug
Difficoltà 4/5 3-5 giorni Idoneità per principianti 25/100
GameServerManagers/LinuxGSM#5141 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di GameServerManagers/LinuxGSM
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
-
weekly-report.sh: REPORT_PY defaults to a non-portable $HOME/workspaces pathForse già presa @rubambiza l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 80/100
rossoctl/automation#126 ·
I maintainer di solito rispondono entro 3 giorni
-
Difficoltà 1/5 1-3 ore Idoneità per principianti 78/100
VMAFx/vmafx#3260 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
smswithoutborders/RelaySMS-Publisher#227 ·
I maintainer di solito rispondono entro 1 giorno
-
mirror/uberon.owl is built from a stale uberon.obo when one is already in src/envoForse già presa @turbomam l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
EnvironmentOntology/envo#1699 ·
I maintainer di solito rispondono entro 1 giorno