[GH-ISSUE #5229] Client disconnects repeatedly with "ResourceExhausted: too many concurrent sync requests" on macOS #10817

Open
opened 2026-08-05 01:27:22 -04:00 by saavagebueno · 0 comments
Owner

Originally created by @fanmaomao on GitHub (Feb 1, 2026).
Original GitHub issue: https://github.com/netbirdio/netbird/issues/5229

Describe the problem

The Netbird client successfully connects initially but then enters a loop of disconnections and reconnections. The logs show repeated ResourceExhausted errors from the Management Service sync stream, followed by wrongly addressed message errors from the Signal worker.

To Reproduce

  1. Run sudo netbird up -F -l debug
  2. Wait for the connection to establish.
  3. Observe the logs after a few seconds.

Are you using NetBird Cloud?

Yes

NetBird version

0.64.3

Debug output
netbird up -F -l debug:

2026-02-01T16:36:49+08:00 INFO client/internal/connect.go:133: starting NetBird client version 0.64.3 on darwin/arm64
...
2026-02-01T16:37:01+08:00 INFO [relay: rels://relay.netbird.io:443] shared/relay/client/client.go:168: create new relay connection: local peerID: <REDACTED_PEER_ID>, local peer hashedID: <REDACTED_HASH>
...
2026-02-01T16:37:04+08:00 INFO client/internal/engine.go:273: I am: <REDACTED_PEER_ID>
...
2026-02-01T16:37:04+08:00 DEBG client/internal/routemanager/systemops/systemops_generic.go:352: Route for 0.0.0.0: interface &{15 1500 en1 <REDACTED_MAC> up|broadcast|multicast|running} nexthop 192.168.x.1, preferred source 192.168.x.x
...
2026-02-01T16:37:20+08:00 INFO client/internal/connect.go:329: Netbird engine started, the IP is: 100.126.x.x/16
...
2026-02-01T16:37:21+08:00 ERRO shared/signal/client/worker.go:46: failed to handle message: wrongly addressed message <REDACTED_MSG_HASH>
2026-02-01T16:37:23+08:00 INFO shared/management/client/grpc.go:318: connected to the Management Service stream
2026-02-01T16:37:23+08:00 DEBG shared/management/client/grpc.go:182: job stream handshake sent successfully
2026-02-01T16:37:23+08:00 DEBG shared/management/client/grpc.go:416: disconnected from Management Service sync stream: rpc error: code = ResourceExhausted desc = too many concurrent sync requests, please try again later
2026-02-01T16:37:23+08:00 WARN shared/management/client/grpc.go:333: disconnected from the Management service but will retry silently. Reason: rpc error: code = ResourceExhausted desc = too many concurrent sync requests, please try again later
...
(Repeated ResourceExhausted errors continue...)

netbird debug for 1m -AS -U:

Upload file key:
f79e391890ab27fb37c88b3b4be7011e22aa2e5ca6f38ffaxxxx/928f8cd7-47bf-4900-xxxx-xxxx
Originally created by @fanmaomao on GitHub (Feb 1, 2026). Original GitHub issue: https://github.com/netbirdio/netbird/issues/5229 **Describe the problem** The Netbird client successfully connects initially but then enters a loop of disconnections and reconnections. The logs show repeated ResourceExhausted errors from the Management Service sync stream, followed by wrongly addressed message errors from the Signal worker. **To Reproduce** 1. Run sudo `netbird up -F -l debug` 2. Wait for the connection to establish. 3. Observe the logs after a few seconds. **Are you using NetBird Cloud?** Yes **NetBird version** `0.64.3` **Debug output** `netbird up -F -l debug`: ``` 2026-02-01T16:36:49+08:00 INFO client/internal/connect.go:133: starting NetBird client version 0.64.3 on darwin/arm64 ... 2026-02-01T16:37:01+08:00 INFO [relay: rels://relay.netbird.io:443] shared/relay/client/client.go:168: create new relay connection: local peerID: <REDACTED_PEER_ID>, local peer hashedID: <REDACTED_HASH> ... 2026-02-01T16:37:04+08:00 INFO client/internal/engine.go:273: I am: <REDACTED_PEER_ID> ... 2026-02-01T16:37:04+08:00 DEBG client/internal/routemanager/systemops/systemops_generic.go:352: Route for 0.0.0.0: interface &{15 1500 en1 <REDACTED_MAC> up|broadcast|multicast|running} nexthop 192.168.x.1, preferred source 192.168.x.x ... 2026-02-01T16:37:20+08:00 INFO client/internal/connect.go:329: Netbird engine started, the IP is: 100.126.x.x/16 ... 2026-02-01T16:37:21+08:00 ERRO shared/signal/client/worker.go:46: failed to handle message: wrongly addressed message <REDACTED_MSG_HASH> 2026-02-01T16:37:23+08:00 INFO shared/management/client/grpc.go:318: connected to the Management Service stream 2026-02-01T16:37:23+08:00 DEBG shared/management/client/grpc.go:182: job stream handshake sent successfully 2026-02-01T16:37:23+08:00 DEBG shared/management/client/grpc.go:416: disconnected from Management Service sync stream: rpc error: code = ResourceExhausted desc = too many concurrent sync requests, please try again later 2026-02-01T16:37:23+08:00 WARN shared/management/client/grpc.go:333: disconnected from the Management service but will retry silently. Reason: rpc error: code = ResourceExhausted desc = too many concurrent sync requests, please try again later ... (Repeated ResourceExhausted errors continue...) ``` `netbird debug for 1m -AS -U`: ``` Upload file key: f79e391890ab27fb37c88b3b4be7011e22aa2e5ca6f38ffaxxxx/928f8cd7-47bf-4900-xxxx-xxxx ```
saavagebueno added the triage-needed label 2026-08-05 01:27:22 -04:00
Sign in to join this conversation.
No Label triage-needed
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: DYNR/netbird#10817