netbirdio / netbird

Connect your devices into a secure WireGuard®-based overlay network with SSO, MFA and granular access controls.
https://netbird.io
BSD 3-Clause "New" or "Revised" License
10.6k stars 474 forks source link

Waiting for Zitadel to become ready LOOP #2499

Open salamdamai opened 2 weeks ago

salamdamai commented 2 weeks ago

I am installing a quick guide self hosted Netbird installation in a VM machine within my local network server.

The installation gets stuck at "Waiting for Zitadel to become ready". I created a domain, e.g., example.com, in porkbun. I created a subdomain netbird.example.com with Type A in Porkbun. It kept getting stuck until I realized that it has maximum number of request for certificate. So I immediately create another sub domain netbird1.example.com. NOTE that when I tried a new sub domain, I delete my VM and create a new one and re-install Netbird. I managed to do it after several iterations. This is very inconsistent. Then I decided to delete my DNS record and create ones in Cloudflare. Once the domain becomes active, I created the subdomains, e.g., netbird7.example.com (you can imagine how many attempts I spent on this). Both the domains: examples.com and netbird7.example.com are type A and proxy is turned on. With this, I was able to to install without issue. What do I have to use Cloudflare? The problem may happen if I turn off the proxy option in Cloudflare.

Is there a way to access the web server from within the network. I had to create a VM machine that uses NAT to be able to access the web server. It took very long the process. On top of that, after completing the password change, I could not login.

salamdamai commented 2 weeks ago

Never mind. I have decided no to pursue this. Its too hard.

salamdamai commented 2 weeks ago

NA

alienp4nda commented 2 weeks ago

I just ran into this issue trying to get this to work without setting up the port forwarding or the domain cname. All of that has to be setup first in order for it to work.

itsmejomijohn commented 2 weeks ago

@salamdamai are you able to solve the issue, i have the same issue, i am stuck with Zitadel to become ready LOOP, what to do

Alethio36 commented 6 days ago

when this happened to me, i had a internet connection issue with a proxy and various ports. i checked the logs (on linux, "sudo docker compose logs management" and "sudo docker compose logs caddy") showed a certificate generation issue, probably from the below stuff.

"The VM should be publicly accessible on TCP ports 80, 443, 33073 and 10000; and UDP ports: 3478, 49152-65535." - https://docs.netbird.io/selfhosted/selfhosted-quickstart

i was having issues as well with the proxy and certificates from itself and from netbird being installed, some sort of overlap issues or something, i couldnt figure it out, so i did a direct port forward on the firewall and it solved my issue. i plan to go back and try to rectify this eventually