NginxProxyManager / NginxProxyManager/nginx-proxy-manager

NPM won't detect Netbird container after restart

Abierto
#5,653 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

bug
Lenguaje dominante
TypeScript
Estrellas
34.2k
Forks
3.9k
Merge medio
21 h 12 min
PR fusionados (30 d)
20

Descripción

Checklist

  • Have you pulled and found the error with jc21/nginx-proxy-manager:latest docker image?
    • Yes / No
  • Are you sure you're not using someone else's docker image?
    • Yes / No
  • Have you searched for similar issues (both open and closed)?
    • Yes / No

Describe the bug

When NPM starts before netbird or when netbird(netbird-server) restarts, NPM keeps spamming cannot find netbird-server upstream. Even though the server is fully restarted and fully active, it still says the same thing.

Nginx Proxy Manager Version
v2.15.1

To Reproduce
Steps to reproduce the behavior:
All the above.
So, setup npm and netbird and then after verifying that everything works normally, restart netbird(server) and wait for npm to say that it cant find upstream.

Expected behavior
Error:
❯ Starting nginx ...
nginx: [emerg] host not found in upstream "netbird-server" in /data/nginx/proxy_host/yy.conf:xx

Operating System

Ubuntu 24.04 x86_64

Additional context
This issue is very annoying as it requires restarting npm to resolve. Sometimes, it even clogs at startup so I cant even access absolutely anything that is behind NPM namely Portainer, ..... .

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Línea de trabajo

Reproduce el fallo iniciando Nginx Proxy Manager antes que NetBird o reiniciando NetBird; después, inspecciona el error de nginx que hace referencia a /data/nginx/proxy_host/yy.conf. Verifica el comportamiento en Nginx Proxy Manager v2.15.1 y Ubuntu 24.04. Se considera terminado cuando el proxy se recupera después de reiniciar netbird-server sin tener que reiniciar NPM manualmente.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
docker, nginx, typescript
Área
infrastructure, networking
Tipo de issue
Error
Dificultad
4/5
Tiempo estimado
3-5 días
Estado de actividad
Tranquilo
Claridad
Necesita aclaración
Aptitud para principiantes
38/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.