NginxProxyManager / NginxProxyManager/nginx-proxy-manager
NPM won't detect Netbird container after restart
Nessuno ha ancora preso questa issue.
- Lingua principale
- TypeScript
- Stelle
- 34.2k
- Fork
- 3.9k
- Merge medio
- 21h 12m
- PR unite (30g)
- 20
Descrizione
Checklist
- Have you pulled and found the error with
jc21/nginx-proxy-manager:latestdocker 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, ..... .
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
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.
Direzione di ricerca
Riproduci il problema avviando Nginx Proxy Manager prima di NetBird oppure riavviando NetBird, quindi esamina l'errore di nginx che fa riferimento a /data/nginx/proxy_host/yy.conf. Verifica il comportamento su Nginx Proxy Manager v2.15.1 e Ubuntu 24.04. Il lavoro è completato quando il proxy si ripristina dopo i riavvii di netbird-server senza dover riavviare manualmente NPM.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- docker, nginx, typescript
- Ambito
- infrastructure, networking
- Tipo di issue
- Bug
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Tranquilla
- Chiarezza
- Da chiarire
- Idoneità per principianti
- 38/100