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
11.3k stars 518 forks source link

Request failed with status code 502 #1154

Closed QBANIN closed 1 year ago

QBANIN commented 1 year ago

Describe the problem Installed Netbird by using getting-started-with-zitadel.sh on a OVH VPS but after accessing console I'm gettin 502 error obraz

netbird-management-1 container keep crashing with following error message 2023-09-19T19:46:44Z INFO management/server/telemetry/app_metrics.go:161: enabled application metrics and exposing on http://0.0.0.0:8081 Error: failed to write out store encryption key: rename /etc/netbird/.2772331671management.json /etc/netbird/management.json: device or resource busy

To Reproduce Steps to reproduce the behavior:

Follow Quickstart guide

Expected behavior Working console

mlsmaycon commented 1 year ago

Hello @QBANIN, this is an issue caused by our attempt to generate a secret key for audit events. The Pr #1155 will fix the issue. While we are reviewing, you can update the generated docker-compose.yml and update the image for the management service to use the tag 0.23.1:

...
  management:
    image: netbirdio/management:0.23.1
...

Then you can run the following command to restart the management service:

docker compose up -d
liuyishengaaa commented 10 months ago

I'm also experiencing this error, the management container keeps restarting and I can't find a solution. image image image

mlsmaycon commented 10 months ago

hello @liuyishengaaa, it seems like the management service is unable to fetch the OIDC configuration endpoint, resulting in a failure to start.

Can you check if the endpoint is reachable from the management container?

liuyishengaaa commented 10 months ago

Dear, mlsmaycon, my management container is constantly restarting. How can I check the endpoint? Could you provide me with some testing methods?