NginxProxyManager / NginxProxyManager/nginx-proxy-manager
NPM won't detect Netbird container after restart
Personne n'a encore pris cette issue.
- Langage dominant
- TypeScript
- Étoiles
- 34.2k
- Forks
- 3.9k
- Merge moyen
- 21 h 12 min
- PR mergées (30 j)
- 20
Description
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, ..... .
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Piste de recherche
Reproduisez l’échec en démarrant Nginx Proxy Manager avant NetBird ou en redémarrant NetBird, puis examinez l’erreur nginx faisant référence à /data/nginx/proxy_host/yy.conf. Vérifiez le comportement avec Nginx Proxy Manager v2.15.1 et Ubuntu 24.04. Le travail est considéré comme terminé lorsque le proxy récupère après les redémarrages de netbird-server sans devoir redémarrer NPM manuellement.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- docker, nginx, typescript
- Domaine
- infrastructure, networking
- Type d'issue
- Bug
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Activité
- Calme
- Clarté
- À clarifier
- Accessibilité débutants
- 38/100