Docker container fails to connect to https://api.wiretrustee.com:443 on Linux ARM #320

Closed
opened 2025-11-20 05:09:33 -05:00 by saavagebueno · 1 comment
Owner

Originally created by @NekoLuka on GitHub (May 7, 2023).

Describe the problem
When launching the agent for Docker, the services fail to connect to the management API

To Reproduce
Steps to reproduce the behavior:

  1. Get an ARM device
  2. Copy the config for docker from the management page
  3. Run said config on ARM device
  4. See errors in log

Expected behavior
The agent should connect to the management API

NetBird status -d output:
If applicable, add the output of the netbird status -d command

Screenshots
If applicable, add screenshots to help explain your problem.

Additional context
Add any other context about the problem here.
Logs:

# docker run --rm --cap-add=NET_ADMIN -e NB_SETUP_KEY=XXX -v netbird-client:/etc/netbird netbirdio/netbird:latest
2023-05-07T20:37:40Z INFO client/internal/config.go:107: generating new config /etc/netbird/config.json
2023-05-07T20:37:45Z ERRO management/client/grpc.go:64: failed creating connection to Management Service context deadline exceeded
2023-05-07T20:37:45Z ERRO client/internal/login.go:96: failed connecting to the Management service https://api.wiretrustee.com:443 context deadline exceeded
2023-05-07T20:37:45Z WARN client/cmd/root.go:187: retrying Login to the Management service in 888.935035ms due to error context deadline exceeded
2023-05-07T20:37:51Z ERRO management/client/grpc.go:64: failed creating connection to Management Service context deadline exceeded
2023-05-07T20:37:51Z ERRO client/internal/login.go:96: failed connecting to the Management service https://api.wiretrustee.com:443 context deadline exceeded
2023-05-07T20:37:51Z WARN client/cmd/root.go:187: retrying Login to the Management service in 752.025144ms due to error context deadline exceeded
2023-05-07T20:37:56Z ERRO management/client/grpc.go:64: failed creating connection to Management Service context deadline exceeded
2023-05-07T20:37:56Z ERRO client/internal/login.go:96: failed connecting to the Management service https://api.wiretrustee.com:443 context deadline exceeded
2023-05-07T20:37:56Z WARN client/cmd/root.go:187: retrying Login to the Management service in 2.552169567s due to error context deadline exceeded
Originally created by @NekoLuka on GitHub (May 7, 2023). **Describe the problem** When launching the agent for Docker, the services fail to connect to the management API **To Reproduce** Steps to reproduce the behavior: 1. Get an ARM device 2. Copy the config for docker from the management page 3. Run said config on ARM device 4. See errors in log **Expected behavior** The agent should connect to the management API **NetBird status -d output:** If applicable, add the output of the `netbird status -d` command **Screenshots** If applicable, add screenshots to help explain your problem. **Additional context** Add any other context about the problem here. Logs: ``` # docker run --rm --cap-add=NET_ADMIN -e NB_SETUP_KEY=XXX -v netbird-client:/etc/netbird netbirdio/netbird:latest 2023-05-07T20:37:40Z INFO client/internal/config.go:107: generating new config /etc/netbird/config.json 2023-05-07T20:37:45Z ERRO management/client/grpc.go:64: failed creating connection to Management Service context deadline exceeded 2023-05-07T20:37:45Z ERRO client/internal/login.go:96: failed connecting to the Management service https://api.wiretrustee.com:443 context deadline exceeded 2023-05-07T20:37:45Z WARN client/cmd/root.go:187: retrying Login to the Management service in 888.935035ms due to error context deadline exceeded 2023-05-07T20:37:51Z ERRO management/client/grpc.go:64: failed creating connection to Management Service context deadline exceeded 2023-05-07T20:37:51Z ERRO client/internal/login.go:96: failed connecting to the Management service https://api.wiretrustee.com:443 context deadline exceeded 2023-05-07T20:37:51Z WARN client/cmd/root.go:187: retrying Login to the Management service in 752.025144ms due to error context deadline exceeded 2023-05-07T20:37:56Z ERRO management/client/grpc.go:64: failed creating connection to Management Service context deadline exceeded 2023-05-07T20:37:56Z ERRO client/internal/login.go:96: failed connecting to the Management service https://api.wiretrustee.com:443 context deadline exceeded 2023-05-07T20:37:56Z WARN client/cmd/root.go:187: retrying Login to the Management service in 2.552169567s due to error context deadline exceeded ```
saavagebueno added the waiting-feedback label 2025-11-20 05:09:33 -05:00
Author
Owner

@mlsmaycon commented on GitHub (Jun 16, 2023):

Hello @NekoLuka , sorry for not replying your issue sooner. If the problem still happening, can you run the container with these two environment variables and share the logs?

-e GRPC_GO_LOG_VERBOSITY_LEVEL=99 -e GRPC_GO_LOG_SEVERITY_LEVEL=info
@mlsmaycon commented on GitHub (Jun 16, 2023): Hello @NekoLuka , sorry for not replying your issue sooner. If the problem still happening, can you run the container with these two environment variables and share the logs? ```shell -e GRPC_GO_LOG_VERBOSITY_LEVEL=99 -e GRPC_GO_LOG_SEVERITY_LEVEL=info ```
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SVI/netbird#320