[GH-ISSUE #1958] Self Hosted quick install with Zitadel - Error 502 - openresty #3669

Open
opened 2026-08-05 00:53:40 -04:00 by saavagebueno · 0 comments
Owner

Originally created by @HybridRCG on GitHub (May 10, 2024).
Original GitHub issue: https://github.com/netbirdio/netbird/issues/1958

I run the install.
No issues on screen. tells met to go to my domain with this username and password.
I get error 502. Bad Gateway.

Doing a docker PS I see my management server is restarting.

logs for management container as follows. (i replaced my domain name. with example.com

2024-05-10T13:55:18Z INFO management/cmd/management.go:455: loading OIDC configuration from the provided IDP configuration endpoint https://example.com/.well-known/openid-configuration
Error: failed reading provided config file: /etc/netbird/management.json: OIDC configuration request returned status 502 with response: <html>

<head></head>

502 Bad Gateway


openresty </html>

This duplicates over and over on every restart of management container.

Tried restarting the server,
Ubuntu 24.04 and tried Ubuntu 22.4.
Updated all updates.
Fixed ip on Ubuntu server running on proxmox.
I use Nginx as on a diffrent container wich portforwards https > 192.168.1.1 , port 443 , with a Lets encrypt SSL through Cloudflare.

Please specify whether you use NetBird Cloud or self-host NetBird's control plane.

NetBird version
Self-hosted : latest

Originally created by @HybridRCG on GitHub (May 10, 2024). Original GitHub issue: https://github.com/netbirdio/netbird/issues/1958 I run the install. No issues on screen. tells met to go to my domain with this username and password. I get error 502. Bad Gateway. Doing a docker PS I see my management server is restarting. logs for management container as follows. (i replaced my domain name. with example.com 2024-05-10T13:55:18Z INFO management/cmd/management.go:455: loading OIDC configuration from the provided IDP configuration endpoint https://example.com/.well-known/openid-configuration Error: failed reading provided config file: /etc/netbird/management.json: OIDC configuration request returned status 502 with response: <html> <head><title>502 Bad Gateway</title></head> <body> <center><h1>502 Bad Gateway</h1></center> <hr><center>openresty</center> </body> </html> This duplicates over and over on every restart of management container. Tried restarting the server, Ubuntu 24.04 and tried Ubuntu 22.4. Updated all updates. Fixed ip on Ubuntu server running on proxmox. I use Nginx as on a diffrent container wich portforwards https > 192.168.1.1 , port 443 , with a Lets encrypt SSL through Cloudflare. Please specify whether you use NetBird Cloud or self-host NetBird's control plane. **NetBird version** Self-hosted : latest
saavagebueno added the waiting-feedbacktriage-needed labels 2026-08-05 00:53:40 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: DYNR/netbird#3669