[Bug]: ts3server monitor fails when voice_ip is set and query_ip is loopback
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 74/100
Línea de trabajo
Start with fn_info_game_ts3 in info_game.sh and the queryips handling in check_ip.sh. Reproduce the configuration with a specific voice_ip and query_ip=127.0.0.1, then trace the monitor query check. Done means the monitor uses the configured query address and no longer restarts the server in this case.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Summary
ts3server monitor fails, and keeps restarting the server, when voice_ip is set to a specific address in ts3server.ini and the ServerQuery interface is bound to loopback (query_ip=127.0.0.1).
Cause
check_ip.sh only adds 127.0.0.1 to queryips when the server binds to all interfaces (0.0.0.0). If voice_ip (read as configip) is a specific address, queryips becomes ("${configip}" "${publicip}"), and the monitor never tries the loopback address that ServerQuery is actually listening on.
fn_info_game_ts3 in info_game.sh does not read query_ip from ts3server.ini, so LinuxGSM can't tell where the query interface is bound.
Suggested fix
Read query_ip in fn_info_game_ts3 and, when it is set and isn't 0.0.0.0, use it for queryips. #3730 by @drantor implemented this, but it was written against the old lgsm/functions/ layout and has gone stale. The common case (voice_ip unset or 0.0.0.0) has since been fixed, because check_ip.sh now includes 127.0.0.1.
Reproduce
- In
ts3server.ini, setvoice_ip=<a specific LAN IP>andquery_ip=127.0.0.1. - Run
./ts3server monitor. - The query check fails and the server is restarted.
- Lenguaje dominante
- Shell
- Estrellas
- 4.9k
- Forks
- 870
- Merge medio
- 22 h 21 min
- PR fusionados (30 d)
- 93
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
-
type: bug
Dificultad 3/5 Medio día Aptitud para principiantes 42/100
GameServerManagers/LinuxGSM#5048 ·
Los mantenedores suelen responder en 1 día
-
engine: unity3d engine: unreal4 Epic game: 7 Days to Die game: ARK: Survival Evolved game: Rust info: dependency type: feature
Dificultad 5/5 Más de una semana Aptitud para principiantes 8/100
GameServerManagers/LinuxGSM#5047 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
[Bug]: libstdc++5:i386 is not available on Debian 13 or Ubuntu 26.04 (cod, cod2, coduo, mohaa)Posiblemente ocupada Un pull request vinculado a esta issue está abierto o ya se fusionó. Abiertodistro: Debian distro: Ubuntu engine: idtech3 engine: iw2.0 engine: refractor game: Battlefield: Vietnam game: Call of Duty game: Call of Duty 2 game: Call of Duty: United Offensive game: Medal of Honor: Allied Assault info: dependency info: docker status: fixed in develop type: bug
Dificultad 3/5 Medio día Aptitud para principiantes 42/100
GameServerManagers/LinuxGSM#5026 ·
Los mantenedores suelen responder en 1 día
-
command: monitor type: feature
Dificultad 3/5 Medio día Aptitud para principiantes 42/100
GameServerManagers/LinuxGSM#4995 ·
Los mantenedores suelen responder en 1 día
-
feat(core): report a clear error when the configured branch doesn't existPosiblemente ocupada @dgibbs64 la tomó hace 3 días. Abiertotype: feature
Dificultad 3/5 Medio día Aptitud para principiantes 45/100
GameServerManagers/LinuxGSM#4994 ·
Los mantenedores suelen responder en 1 día
Todos los issues de GameServerManagers/LinuxGSM
Issues similares
-
documentation needs-triage priority:medium
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
yeongseon/azure-functions-validation-python#546 ·
Los mantenedores suelen responder en 1 día
-
Page request: dotnet addAbiertohelp wanted new command
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
tldr-pages/tldr#24755 ·
Los mantenedores suelen responder en 1 día
-
afk-ok area:agents size:S
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
enorm-labs/event-junkie#3523 ·
Los mantenedores suelen responder en 1 día
-
Container fails to start when a mounted neo4j.conf uses spaces around `=`Posiblemente ocupada @RaphaelFakhri la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
neo4j/docker-neo4j#596 ·
-
Cookbook: --json recipes with jqAbiertodocumentation good first issue
Dificultad 2/5 Medio día Aptitud para principiantes 78/100
devdavidejesus/btc-toolkit#63 ·
Los mantenedores suelen responder en 1 día