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.48k stars 470 forks source link

zitadel Errors.AuthRequest.UserAgentNotCorresponding #1346

Open JamCh01 opened 9 months ago

JamCh01 commented 9 months ago

Hello developer, I am following the selfhosted-quickstart guide: https://docs.netbird.io/selfhosted/selfhosted-quickstart on a dedi server(debian12)

root@debian:/opt/_netbird# export NETBIRD_DOMAIN=netbird.lowenddns.com
root@debian:/opt/_netbird# bash getting-started-with-zitadel.sh
Rendering initial files...

Initializing Zitadel's CockroachDB

[+] Running 7/7
 ✔ Network netbird_netbird                 Created                                                                                                                                                            0.1s
 ✔ Volume "netbird_netbird_crdb_data"      Created                                                                                                                                                            0.0s
 ✔ Volume "netbird_netbird_crdb_certs"     Created                                                                                                                                                            0.0s
 ✔ Volume "netbird_netbird_zitadel_certs"  Created                                                                                                                                                            0.0s
 ✔ Volume "netbird_netbird_caddy_data"     Created                                                                                                                                                            0.0s
 ✔ Volume "netbird_netbird_management"     Created                                                                                                                                                            0.0s
 ✔ Container netbird-crdb-1                Started                                                                                                                                                            0.1s

Waiting cockroachDB  to become ready  . done

Starting Zidatel IDP for user management

[+] Running 3/3
 ✔ Container netbird-caddy-1    Started                                                                                                                                                                       0.1s
 ✔ Container netbird-crdb-1     Healthy                                                                                                                                                                       0.0s
 ✔ Container netbird-zitadel-1  Started                                                                                                                                                                       0.2s

Initializing Zitadel with NetBird's applications

Waiting for Zitadel's PAT to be created  . . . . . done
Reading Zitadel PAT
Waiting for Zitadel to become ready  . . . . . . . . . . . . . . . done
Creating new zitadel project
Creating new Zitadel SPA Dashboard application
Creating new Zitadel SPA Cli application

Rendering NetBird files...

Starting NetBird services

[+] Running 7/7
 ✔ Container netbird-dashboard-1   Started                                                                                                                                                                    0.1s
 ✔ Container netbird-signal-1      Started                                                                                                                                                                    0.1s
 ✔ Container netbird-coturn-1      Started                                                                                                                                                                    0.1s
 ✔ Container netbird-management-1  Started                                                                                                                                                                    0.1s
 ✔ Container netbird-crdb-1        Healthy                                                                                                                                                                    0.0s
 ✔ Container netbird-caddy-1       Running                                                                                                                                                                    0.0s
 ✔ Container netbird-zitadel-1     Running                                                                                                                                                                    0.0s

Done!

and open browser and login dashboard image

zitadel log is

time="2023-11-30T15:04:32Z" level=error caller="/home/runner/work/zitadel/zitadel/internal/api/ui/login/renderer.go:334" error="ID=EVENT-adk13 Message=Errors.AuthRequest.UserAgentNotCorresponding"
mlsmaycon commented 9 months ago

Hello @JamCh01 does the issue happen on different browsers?

JamCh01 commented 8 months ago

Hello @JamCh01 does the issue happen on different browsers?

yes, I tried using Chrome and Edge

d960124 commented 8 months ago

Before installation, you need to resolve the domain name and open the port! If an error is reported, you can try restarting the container or server. I also encountered an error in the backend container, and restarting solved it!