[Bug]: gamedig npm calls hang when the npm registry does not answer
Los mantenedores suelen responder en 1 día
Evaluación
Este issue todavía no se ha evaluado.
Descripción
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.
- Lenguaje dominante
- Shell
- Estrellas
- 4.9k
- Forks
- 871
- Merge medio
- 1 d 6 h
- PR fusionados (30 d)
- 138
Preparar el entorno
Inicia el contenedor de desarrollo del proyecto en tu navegador, con tu propia cuenta de GitHub.
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de GameServerManagers/LinuxGSM
-
[Bug]: csserver metamod fails to load amxmodx after ubuntu 26.04 base imagePosiblemente ocupada @dgibbs64 la tomó hace 1 día. Abiertocommand: mods command: start distro: Ubuntu regression: yes reproducible: always severity: medium status: fixed in develop type: bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
GameServerManagers/LinuxGSM#5114 · 1 comentario · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
[Bug]: cs2server ignores the GSLT entered during installPosiblemente ocupada Un pull request vinculado a esta issue está abierto o ya se fusionó. Abiertocommand: install command: start distro: Debian engine: source2 game: Counter-Strike 2 regression: yes reproducible: always severity: high type: bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
GameServerManagers/LinuxGSM#5106 ·
Los mantenedores suelen responder en 1 día
-
command: install command: update distro: Ubuntu engine: quake game: Quake World priority: low scope: single game type: feature
Dificultad 4/5 3-5 días Aptitud para principiantes 35/100
GameServerManagers/LinuxGSM#5143 ·
Los mantenedores suelen responder en 1 día
-
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
Dificultad 4/5 Más de una semana Aptitud para principiantes 18/100
GameServerManagers/LinuxGSM#5142 ·
Los mantenedores suelen responder en 1 día
-
command: monitor command: start distro: Ubuntu engine: goldsrc game: Action Half-Life reproducible: always severity: medium type: bug
Dificultad 4/5 3-5 días Aptitud para principiantes 25/100
GameServerManagers/LinuxGSM#5141 ·
Los mantenedores suelen responder en 1 día
Todos los issues de GameServerManagers/LinuxGSM
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
-
weekly-report.sh: REPORT_PY defaults to a non-portable $HOME/workspaces pathPosiblemente ocupada @rubambiza la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 80/100
rossoctl/automation#126 ·
Los mantenedores suelen responder en 3 días
-
Dificultad 1/5 1-3 horas Aptitud para principiantes 78/100
VMAFx/vmafx#3260 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
enhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
smswithoutborders/RelaySMS-Publisher#227 ·
Los mantenedores suelen responder en 1 día
-
mirror/uberon.owl is built from a stale uberon.obo when one is already in src/envoPosiblemente ocupada @turbomam la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
EnvironmentOntology/envo#1699 ·
Los mantenedores suelen responder en 1 día