[GH-ISSUE #5505] [Synology] netbird prevents CloudSync to authenticate with OneDrive for Business #11318

Closed
opened 2026-08-05 01:29:17 -04:00 by saavagebueno · 4 comments
Owner

Originally created by @andre-wiedemann on GitHub (Mar 4, 2026).
Original GitHub issue: https://github.com/netbirdio/netbird/issues/5505

Describe the problem

With netbird being up, it is not possible to establish the OAuth2 connection with a OneDrive for Business account due to network issue.
The logs say that CloudSync cannot resolve login.windows.net to issue the access token. Only solution was to do netbird down.

To Reproduce

  1. netbird up
  2. open CloudSync on Synology DSM
  3. Create a new OneDrive for Business connection
  4. Authenticate and wait for the network error in the interface saying: check your network settings

Expected behavior

OAuth2 authentication can be established.

Are you using NetBird Cloud?

Cloud

NetBird version

0.60.7

Is any other VPN software installed?

no

Debug output

sudo tail -100 /volume1/@appdata/CloudSync/log/synocloudsync.log
2026-03-04T23:49:16+01:00 storage synoscgi_SYNO.CloudSync_1_request_onedrive_access_token[12231]: [ERROR] dscs-client-protocol-util.cpp(637): Curl error: curl(6), http(0), proto(-200), msg(Could not resolve host: login.windows.net)
2026-03-04T23:49:16+01:00 storage synoscgi_SYNO.CloudSync_1_request_onedrive_access_token[12231]: [ERROR] onedrive-v1-proto.cpp(283): Failed to refresh token (6)(-200)
2026-03-04T23:49:16+01:00 storage synoscgi_SYNO.CloudSync_1_request_onedrive_access_token[12231]: [ERROR] onedrive-v1-transport.cpp(347): Failed to refresh token (Could not resolve host: login.windows.net)
2026-03-04T23:49:16+01:00 storage synoscgi_SYNO.CloudSync_1_request_onedrive_access_token[12231]: [ERROR] dscs-client-protocol.cpp(582): Failed to refresh token [type: 23] [ret: -200](Could not resolve host: login.windows.net)
2026-03-04T23:49:16+01:00 storage synoscgi_SYNO.CloudSync_1_request_onedrive_access_token[12231]: cloudsync.cpp:7015 Failed to RefreshAuthToken '23'

netbird status -dA

> $   netbird status -dA
Peers detail:
Events:
  [INFO] SYSTEM (b5ea1de9-41a7-4743-9391-4cbea1431e7b)
    Message: Network map updated
    Time: 4 days, 15 hours ago
  [INFO] SYSTEM (69f5b928-b483-45d7-b092-0440359345df)
    Message: Network map updated
    Time: 3 days, 3 hours ago
OS: linux/amd64
Daemon version: 0.60.7
CLI version: 0.60.7
Profile: default
Management: Disconnected
Signal: Disconnected
Relays:
  [rels://relay.netbird.io:443] is Unavailable, reason: relay connection is not established
Nameservers:
FQDN:
NetBird IP: N/A
Interface type: N/A
Quantum resistance: false
Lazy connection: false
SSH Server: Disabled
Networks: -
Forwarding rules: 0
Peers count: 0/0 Connected

Have you tried these troubleshooting steps?

  • Reviewed client troubleshooting (if applicable)
  • Checked for newer NetBird versions
  • Searched for similar issues on GitHub (including closed ones)
  • Restarted the NetBird #client
  • Disabled other VPN software
  • Checked firewall settings
Originally created by @andre-wiedemann on GitHub (Mar 4, 2026). Original GitHub issue: https://github.com/netbirdio/netbird/issues/5505 **Describe the problem** With netbird being up, it is not possible to establish the OAuth2 connection with a OneDrive for Business account due to network issue. The logs say that CloudSync cannot resolve login.windows.net to issue the access token. Only solution was to do `netbird down`. **To Reproduce** 1. netbird up 2. open CloudSync on Synology DSM 3. Create a new OneDrive for Business connection 4. Authenticate and wait for the network error in the interface saying: check your network settings **Expected behavior** OAuth2 authentication can be established. **Are you using NetBird Cloud?** Cloud **NetBird version** 0.60.7 **Is any other VPN software installed?** no **Debug output** ``` sudo tail -100 /volume1/@appdata/CloudSync/log/synocloudsync.log 2026-03-04T23:49:16+01:00 storage synoscgi_SYNO.CloudSync_1_request_onedrive_access_token[12231]: [ERROR] dscs-client-protocol-util.cpp(637): Curl error: curl(6), http(0), proto(-200), msg(Could not resolve host: login.windows.net) 2026-03-04T23:49:16+01:00 storage synoscgi_SYNO.CloudSync_1_request_onedrive_access_token[12231]: [ERROR] onedrive-v1-proto.cpp(283): Failed to refresh token (6)(-200) 2026-03-04T23:49:16+01:00 storage synoscgi_SYNO.CloudSync_1_request_onedrive_access_token[12231]: [ERROR] onedrive-v1-transport.cpp(347): Failed to refresh token (Could not resolve host: login.windows.net) 2026-03-04T23:49:16+01:00 storage synoscgi_SYNO.CloudSync_1_request_onedrive_access_token[12231]: [ERROR] dscs-client-protocol.cpp(582): Failed to refresh token [type: 23] [ret: -200](Could not resolve host: login.windows.net) 2026-03-04T23:49:16+01:00 storage synoscgi_SYNO.CloudSync_1_request_onedrive_access_token[12231]: cloudsync.cpp:7015 Failed to RefreshAuthToken '23' ``` netbird status -dA ``` > $ netbird status -dA Peers detail: Events: [INFO] SYSTEM (b5ea1de9-41a7-4743-9391-4cbea1431e7b) Message: Network map updated Time: 4 days, 15 hours ago [INFO] SYSTEM (69f5b928-b483-45d7-b092-0440359345df) Message: Network map updated Time: 3 days, 3 hours ago OS: linux/amd64 Daemon version: 0.60.7 CLI version: 0.60.7 Profile: default Management: Disconnected Signal: Disconnected Relays: [rels://relay.netbird.io:443] is Unavailable, reason: relay connection is not established Nameservers: FQDN: NetBird IP: N/A Interface type: N/A Quantum resistance: false Lazy connection: false SSH Server: Disabled Networks: - Forwarding rules: 0 Peers count: 0/0 Connected ``` **Have you tried these troubleshooting steps?** - [x] Reviewed [client troubleshooting](https://docs.netbird.io/how-to/troubleshooting-client) (if applicable) - [ ] Checked for newer NetBird versions - [x] Searched for similar issues on GitHub (including closed ones) - [x] Restarted the NetBird #client - [x] Disabled other VPN software - [x] Checked firewall settings
saavagebueno added the triage-needed label 2026-08-05 01:29:17 -04:00
Author
Owner

@InternetWorkAcct commented on GitHub (Apr 27, 2026):

Looks like it's trying to resolve netbird.io via the netbird on-board DNS service. Netbird hurt itself in its confusion. Likely caused by the pure /etc/resolv.conf setup.
Try again with netbird up --disable-dns

<!-- gh-comment-id:4327269797 --> @InternetWorkAcct commented on GitHub (Apr 27, 2026): Looks like it's trying to resolve `netbird.io` via the netbird on-board DNS service. Netbird hurt itself in its confusion. Likely caused by the pure `/etc/resolv.conf` setup. Try again with `netbird up --disable-dns`
Author
Owner

@TechHutTV commented on GitHub (May 9, 2026):

Hey there! Working on a proper implementation for Synology devices. If anyone is interested in testing it would be helpful. Due note this is currently unofficial and experimental. Will be moved to an official NetBird repository after validation.
Setup: https://techhuttv.github.io/netbird-dsm/
Code: https://github.com/TechHutTV/netbird-dsm

<!-- gh-comment-id:4413077166 --> @TechHutTV commented on GitHub (May 9, 2026): Hey there! Working on a proper implementation for Synology devices. If anyone is interested in testing it would be helpful. Due note **this is currently unofficial and experimental**. Will be moved to an official NetBird repository after validation. Setup: https://techhuttv.github.io/netbird-dsm/ Code: https://github.com/TechHutTV/netbird-dsm
Author
Owner

@andre-wiedemann commented on GitHub (May 9, 2026):

thanks @TechHutTV
unfortunately, in the meantime i sold my synology device so cannot test anymore

<!-- gh-comment-id:4413511969 --> @andre-wiedemann commented on GitHub (May 9, 2026): thanks @TechHutTV unfortunately, in the meantime i sold my synology device so cannot test anymore
Author
Owner

@TechHutTV commented on GitHub (May 9, 2026):

@andre-wiedemann understandable. Thanks for the reply. 😄

<!-- gh-comment-id:4413516607 --> @TechHutTV commented on GitHub (May 9, 2026): @andre-wiedemann understandable. Thanks for the reply. 😄
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#11318