mirror of
https://github.com/netbirdio/netbird.git
synced 2026-07-22 05:53:39 -04:00
Management Service login issue #404
Open
opened 2025-11-20 05:10:50 -05:00 by saavagebueno
·
50 comments
No Branch/Tag Specified
main
components-impl-drop-indexes-use-xids
refactor/relay-foreign-cache
ci/trigger-release-tests
vertex-guardrails-model-access-e2e
feat/kimi-3-agent-networks
claude/netbird-pr-6767-comments-c0qkci
dns-lazy-conn-warmup
feature/kimi-3-agent-networks-dns-warmup
feature/dns-lazy-conn-warmup
dependabot/go_modules/aws-sdk-8f849ebaed
dependabot/github_actions/actions-a940c7c866
dependabot/go_modules/otel-e34c790afd
dependabot/go_modules/testcontainers-de325c0dd6
dependabot/go_modules/pion-5f703e1eca
dependabot/go_modules/gorm-2271c8195b
dependabot/go_modules/wireguard-dbd6b95108
daemon-ipc-acl
fix/session-expiry-visibility
feature/ui-translation-key-parity-check
refactor/relay-foreign-cache-tests
claude/kimi-3-agent-networks-3rpqnv
fix/remove-math-rand
fix/lazyconn-idle-keep-wg-peer
dmitri-propagate-auth-grant-types-on-combined
0.74.7-branch
diagnose-empty-vs-corrupt-state
windows-sleep-detector
fix/cli-up-wait-for-daemon
lazy-conn-rosenpass
lazy-conn-per-peer
rp_key_persistency
fix/routes_not_updated
feature/native-grpc
client-local-metrics
fix-ssh-authorized-users-multi-rule
0.74.6-branch
0.74.6-branch-sync
0.74.5-branch-sync
0.74.4-branch
fix/remove-stale-peers-removal
fix/remove-stale-proxy-logic
embedded-vnc
fix/nsis-preserve-autostart-on-upgrade
refactor/peer-event-bus
dependabot/go_modules/goauthentik.io/api/v3-3.2026050.3
dependabot/go_modules/github.com/pkg/sftp-1.13.10
components-impl-drop-indexes
fix-reset-aggregation-window-flake
dependabot/go_modules/github.com/pion/dtls/v3-3.1.5
dependabot/go_modules/github.com/aws/aws-sdk-go-v2/service/s3-1.105.0
peer-acl-multi-source
0.74.x
fix/relay-states-lock
update-process-pkg
update-gopsutil-v4
fix/relay_states_lock
increase-sysinfo-timeout
dependabot/npm_and_yarn/client/ui/frontend/npm_and_yarn-88714b13d0
dependabot/go_modules/github.com/Azure/go-ntlmssp-0.1.1
dependabot/go_modules/github.com/eko/gocache/store/redis/v4-4.2.6
dependabot/go_modules/github.com/eko/gocache/lib/v4-4.2.3
fix/fail-to-create-upnp-port-mapping-on-opnsense-firewall
feat/admin-cli
0.74.3-branch
fix/routeselector-atomic-exit-node
netmap_progressive_alignment
nmap/components-impl
dependabot/go_modules/github.com/jackc/pgx/v5-5.9.2
dependabot/go_modules/github.com/oapi-codegen/runtime-1.4.2
dependabot/go_modules/github.com/gopacket/gopacket-1.6.1
dependabot/go_modules/github.com/coreos/go-oidc/v3-3.19.0
dependabot/go_modules/github.com/pires/go-proxyproto-0.12.0
fix/signal-watchdog-sync-stop
docs/agent-network
feature/ios-ssh
test/affected-logic
fix/revert-ice-filter
refactor/simplify-affected-peers
pascal-filter-policies-by-direction
claude/lock-contention-peer-connect-g8t6au
dmitri-filter-policies-by-direction
refactor/migrate-profiles-to-go
profile-bindings-ios
fix/skip-restart-unchanged-route
fix/mgmt-cache-async-resolve
refactor/wails-update-105
client_lifetime_serialization_refactor
fix/browser-ssh-2
fix/ipv6-and-netstack-accept-loop
fix/browser-ssh
profile-id-name-test
refactor/mgmt-bootstrap
mdm_integration
feat/getting-started-unified-wizard
socket-grpc-permissions
fix/mysql-index-migration
windows-dns-firewall
tests/enable-race-on-tests
ui-refactor-gtk3
feature/affected-peers-grpc
profile-id
lazyconn-first-packet-fix-v2
claude/focused-gates-VMTgb
ui-tray-linux-leftclick
fix/ctx-enrichment
daemon-owner
feature/android-client-ssh
worktree-accept-ra-forwarding
nmap/combined-deploy
task/align_protobuff_toolset
feature/session-extend
add-json-yaml-flags
refactor/ephemeral-cleanup
claude/webtransport-relay-wasm-mUjY9
claude/vnc-udp-feasibility-6KB1U
fix/wgport-config
e2e-windows-dns-combined
fix/login-cmd-root-flags
feat/reseller-openapi-spec
github-issue-resolver
add-steamos-support
fix-darwin-uninstaller
flutter-test
ci/freebsd-pkg-bootstrap
cached-serial-check-on-sync
fix-mgmt-cache-bypass-overlay
revert-easyjson-5938
revert-ice-5820
revert-firewalld-5928
refactor/permissions-manager
revert-dns-5935-systemd-resolved
revert-dns-5935-5945
revert-dns-5945-mgmt-cache
feature/log-most-busy-peers
prototype/ui-wails
coderabbitai/utg/8ae8f20
feature/use-peer-fqdn-on-https
release/0.68.3
add-slack-channel
claude/rdp-token-passthrough-eNcqW
transparent-proxy
fix/macos-stale-route-eexist
crowdsec-selfhosted
fix/remove-otel-units
entire/checkpoints/v1
fix/getting-started
feat/static-connectors-combined-server
feature/use-local-keys-embedded
feature/fleetdm
set-env-only-if-not-fork
feature/expose-has-channel
fix/connection-status-race
fix/filter-cgnat-cni-ice-candidates
feature/check-cert-locker-before-acme
test/proxy-fixes
test/proxy-mtu
prototype/ui-tauri
test/proxy-speed
fix-reused-ports
feat/migrate-to-embedded-idp
feature/add-serial-to-proxy-merged
deploy/proxy-serial
test/connection
feature/disable-legacy-port
feature/flag-to-disable-legacy-port
test/perftest
fix/http-redirect
poc-token-command
dn-reverse-proxy
prototype/reverse-proxy-rename
prototype/reverse-proxy-logs-pagination
feature/client-metrics
prototype/reverse-proxy-clusters
debug-dns-route
fix/win-dns-batch
add-extra-route-logs
job-stream-notify-disconnection-eof
deploy/secrets-manager
trigger-proxy-update
bug/update-ios-client-code-build-tags
sync-client-netmap-serial
log/conn-disconn
nmap/compaction-deploy
ci-win-test
feature/disk-encryption-check
wasm-debug
swap-dns-prio
fix/dex-config
feature/migrate-auto-groups-to-table
nmap/compaction
dex-nocgo-stub
feature/exclude-terraform-from-rate-limiting
test-freebsd
retries-refactor
coderabbitai/docstrings/b7e98ac
feat/integrate-zitadel
bug/ios-hanging-reconection
zitadel-idp
feat/network-map-serial
refactor/get-account-no-users
feat/auto-upgrade
feature/report-high-pat-id
feature/temporary-access-for-resource
fix/nmap-fwrules
dont-restart-dns
prototype/ui
update-gomobile
go-dns-for-ice
wasm-ldflags
test-ldflags
wasmbuild-test
feature/networks-s2s
vk/compare-nmaps
dbg/bothmaps
feature/changeset
reorder-dns-shutdown
fix/relay-reconnection-race
fix/nmap-exitnodes
vk/debug/nmap-both
move-licensed-code
feat/better-daemon-connection-lost-message
feat/auto-update-2
test/timings
refactor/getaccount-raw
tests/nmap-getaccount
refactor/nmap
refactor/nmap-limit-buffer
feature/detect-mac-wakeup
feature/extract-modules
quick-setings
feat/sync-limiter
feature/store-cache-impl
fix-install-version
feature/store-metrics
feature/metrics-on-store
feature/use-gorm-cache
loadtest-signal
unsymmetrical-squash
refactor/reducate-signaling
test/update-reduce
feature/store-cache
feature/remote-debug
cli-ws-proxy-backend-addr
feat/mgmt-map-serial
snyk-fix-d9d0081a4c7f9137bdb59d0d50a141a2
snyk-fix-7415cea5a11acd66753540ca2c598c63
job-yml-update
feature/android-allow-selecting-routes
fix/up-sequence
fix/dns-hash-update
snyk-fix-967adae9863f17f108ce8948d9117b8d
log/getaccount-by-peer
signal-suppressor
dns-exit-node
feature/auto-updates
feature/cache-srv-key
merged-fixes
fix/missed-offers-and-debug
debug-and-fixes
poc-wasm-clean-backend-s2s
test/remote-debug
debug-api
fix/remove-gpo-if-empty
fix/test-freebsd
fix/mysql-setup
fix/remove-logout-btn
handle-existing-domain-user
chore/unify-domain-validation
snyk-fix-c5fafc8a50ce1f29046e25a1fc346185
feat/profile-edit-btn
snyk-fix-a54966211e18d4cf67e5a2757cc006d1
log-short-id
feat/logout-ephemeral
log-checks
batch-wg-ops
nb-interface-default
feat/aws-integration
add/race-test
feature/relay-feature-versioning
fix/systemd-service-logs
poc/preprocessed-map
add-account-onboarding
bind-ipv6
fix/merge-main
logs/peerlogs-addpeer
feature/net-297-network-migration
feature/support-skip-auto-apply-exit-node-routes
set-cmd
set-command-with-cursor
feature/limit-update-channel
stop-using-locking-share
feature/poc-lazy-detection
feature/net-248-removal-of-sync-mutex-locks
test/multiple-peer-logging
preresolve
add-ns-punnycode-support
apply-routes-early
windows-search-domains
fix/connecting-route-filter
feature/management/rest-client/impersonate
debug-local-records
resource-fields-snake-case
test/grpc-rate-limit
traffic-correlation-policy
feature/rest-client-options
feat/events-metrics
feature/buf-cli
test/add-ratelimiter
test/remove-write-lock-on-add-peer
fix/add-peer-semaphore
feature/users-roles-endpoint
mlsmaycon-patch-1
debug-user-role
chore/primary-key-on-networks
feature/update-account-peers-buffer-startup
remove-ubuntu2004-runners
refactor/permissions-no-pat-allowed
ref/logrus-factory
use-conntrack-zone
deploy/permissions-account
feature/lazy-connection-idle
ref/improve-test-cov
restore-pr-3440
test/increase-grpc-timeouts
feat/buffer-account-peers-update
test/networkmapgeneration-changes
feature/base-manager
feature/flow-receiver
chore/benchmark-with-large-runner
refactor/handshake-initiator
client/ui-update-systray-icons
userspace-router
wgwatcher-test
output-if-key-already-exists
fix/relay-reconnection
feature/port-forwarding-client-codecleaning
detached2
test/callbacks-nil-iceconninfo
refactor/optimize-peer-expiration
enable-udp-port-for-docker-template
fix/relay-update
feature/apply-posture-netmap
fix/group-update-existing-resource
conntrack-stats
upgrade-okta-sdk
multi-price
test/conn-stat
set-min-parallel-tests-for-management
dns-interceptor
debug-dns
router-dns
add-static-system-info
debug-0.29.4
debug-0.33.0
account-refactoring
relay/2800_quic
route-get-account-refactoring
test/seed-random-routes
feature/get-account-refactoring
test/reconnect-race-condition
refactor/get-account-usage
feature/add-session-id-to-update-channel
improve-ipv4conn
fix/async-pion-event-handling
debug
add-offload
feature/validate-group-association-debug
fix/limit-conn-for-sqlite
test/engine-iface
test/transaction-for-jwt-sync
fix/engine-stop-in-foreground
feature/add-mysql-support
test-migration
refactor/header-size-values
relay/eliminate-gob
test/signal-dispatcher-with-relay
relay/debug
validate-icon
feature/ipv6-support
use-pre-expanded-peers-map
feature/use-signal-dispatcher
validate/peer-status
add-read-write-times
fix/sync-peer-race
feature/relay-status
netmap
evaluate/network-map-hash
fix/lower-dns-resolve-interval-on-fail
feature/relay
fix/go-mod-version
upgrade-nftables
synology-userspace-mode
fix/use-ip-for-default-routes-on-darwin
fix/proxy_close
enable-release-workflow-on-pr
deploy/peer-performance
feature/permanent-turn
feature/permanent-turn-proxy
deploy/posture-check-sqlite
feature/optimize_sqlite_save
debug-ios-behavior
fix/delete-route-only-after-adding
tshoot/windows-logger
remove-new-routing
refactor/eliminate-repo-dependency
add-arm-to-ci
refactor-demo-account-object
test/abc2
test/abc
send-ssh-rosenpass-config-meta
refactor-demo
ensure-schedule-never-runs-non-positive
feature/peer-validator-groupmgm
feature/peer-validator-fix
fix/include-active-dashboard-users
fix/handle-canceling-schedule
fix/geo-download
debug-google-workspace
yury/resolve-ip-to-location
feature/extend-sysinfo
sqlite-async-peer-status
yury/add-postgresql-store
fix/route
test-build
posture-checks-poc
debug-keycloak-idp
poc/netstack
for-pascal-tmp
peer-logout-management
manual-peer-logout
detached
chore/refactor-management
test/dns-bind
fix/enforce-acl-for-containers
yury/use-sync-map-in-updatechannel
fix/events-key-handling
filter-cache-on-load-account
fix/user-expiration
handle-user-context-cancellation
nb-client-k8s-statefulset
fake-addr
fix/iptables_in_docker
ebpf-debug
update-getting-started-flow-use-postgres
fix/peer_list_notification
feature/device-authentication-with-client-secret
feature/keep_alive
feat-groups-from-jwt
separate_proxy_from_wgconfig
fix/wg_conn
wg_conn_fix
wg_bind_parallel_processing
fix-rollback-get-acls
proxy_cfg_cleanup
performance-improvement-rego
update-lock-log-level
feat-client-side-acl
refactor/move_grpcserver_logic_to_account_manager
feature/event-storage
feature/update-idp-redeeming-invite
feature/api-peer-info
return-groupminimum-setupkey
feature/interface-bind
documentation_enhancement
fix-peer-registration
ssh
users_cache
pass-client-caller
client_caller_type
revert-283-feat-fix-windows-installer
periodic-peer-updates
ebpf
braginini/wasm
v0.74.7
v0.74.6
v0.74.5
v0.75.0-rc.6
v0.74.4
v0.74.3
v0.75.0-rc.5
v0.74.2
v0.74.1
v0.75.0-rc.4
v0.74.0
v0.74.0-rc.2
v0.74.0-rc.1
v0.73.2
v0.75.0-rc.3
v0.75.0-rc.2
v0.73.1
v0.75.0-rc.1
v0.73.0
v0.72.4
v0.72.3
v0.72.2
v0.72.1
v0.72.0
v0.71.4
v0.71.3
v0.71.2
v0.71.1
v0.71.0
v0.70.5
v0.70.4
v0.70.3
v0.70.2
v0.70.1
v0.70.0
v0.69.0
v0.68.3
v0.68.2
v0.68.1
v0.68.0
v0.67.4
v0.67.3
v0.67.2
v0.67.1
v0.67.0
v0.66.4
v0.66.3
v0.66.2
v0.66.1
v0.66.0
v0.65.3
v0.65.2
v0.65.1
v0.65.0
v0.64.6
v0.64.5
v0.64.4
v0.64.3
v0.64.2
v0.64.1
v0.64.0
v0.63.0
v0.62.3
v0.62.2
v0.62.1
v0.62.0
v0.61.2
v0.61.1
v0.61.0
v0.60.9
v0.60.8
v0.60.7
v0.60.6
v0.60.5
v0.60.4
v0.60.3
v0.60.2
v0.60.1
v0.60.0
v0.59.13
v0.59.12
v0.59.11
v0.59.10
v0.59.9
v0.59.8
v0.59.7
v0.59.6
v0.59.5
v0.59.4
v0.59.3
v0.59.2
v0.59.1
v0.59.0
v0.58.2
v0.58.1
v0.58.0
v0.57.1
v0.57.0
v0.56.1
v0.56.0
v0.55.1
v0.55.0
v0.54.2
v0.54.1
v0.54.0
v0.53.0
v0.52.2
v0.52.1
v0.52.0
v0.51.2
v0.51.1
v0.51.0
v0.50.3
v0.50.2
v0.50.1
v0.50.0
v0.49.0
v0.48.0-dev2
v0.48.0
v0.47.2
v0.47.1
v0.47.0
v0.46.0
v0.45.3
v0.45.2
v0.45.1
v0.45.0
v0.44.0
v0.43.3
v0.43.2
v0.43.1
v0.43.0
v0.42.0
v0.41.3
v0.41.2
v0.41.1
v0.41.0
v0.40.1
v0.40.0
v0.39.2
v0.39.1
v0.39.0
v0.38.2
v0.38.1
v0.38.0
v0.37.2
v0.37.1
v0.37.0
v0.36.7
v0.36.6
v0.36.5
v0.36.4
v0.36.3
v0.36.2
v0.36.1
v0.36.0
v0.35.2
v0.35.1
v0.35.0
v0.34.1
v0.34.0
v0.33.0
v0.32.0
v0.31.1
v0.31.0
v0.30.3
v0.30.2
v0.30.1
v0.30.0
v0.29.4
v0.29.3
0.29.3
v0.29.2
v0.29.1
v0.29.0
v0.28.9
v0.28.8
v0.28.7
v0.28.6
v0.28.5
v0.28.4
v0.28.3
v0.28.2
v0.28.1
v0.28.0
v0.27.10
v0.27.9
v0.27.8
v0.27.7
v0.27.6
v0.27.5
v0.27.4
v0.27.3
v0.27.2
v0.27.1
v0.27.0
v0.26.7
v0.26.6
v0.26.5
v0.26.4
v0.26.3
v0.26.2
v0.26.1
v0.26.0
v0.25.9
v0.25.8
v0.25.7
v0.25.6
v0.25.5
v0.25.4
v0.25.3
v0.25.2
v0.25.1
v0.25.0
v0.24.4
v0.24.3
v0.24.2
v0.24.1
v0.24.0
v0.23.9
v0.23.8
v0.23.7
v0.23.6
v0.23.5
v0.23.4
v0.23.3
v0.23.2
v0.23.1
v0.23.0
v0.22.7
v0.22.6
v0.22.5
v0.22.4
v0.22.3
v0.22.2
v0.22.1
v0.22.0
v0.21.11
v0.21.10
v0.21.9
v0.21.8
v0.21.7
v0.21.6
v0.21.5
v0.21.4
v0.21.3
v0.21.2
v0.21.1
v0.21.0
v0.20.8
v0.20.7
v0.20.6
v0.20.5
v0.20.4
v0.20.3
v0.20.2
v0.20.1
v0.20.0
v0.19.0
v0.18.1
v0.18.0
v0.17.0
v0.16.0
v0.15.3
v0.15.2
v0.15.1
v0.15.0
v0.14.6
v0.14.5
v0.14.4
v0.14.3
v0.14.2
v0.14.1
v0.14.0
v0.13.0
v0.12.0
v0.11.6
v0.11.5
v0.11.4
v0.11.3
v0.11.2
v0.11.1
v0.11.0
v0.10.10
v0.10.9
v0.10.8
v0.10.7
v0.10.6
v0.10.5
v0.10.4
v0.10.3
v0.10.2
v0.10.1
v0.10.0
v0.9.8
v0.9.7
v0.9.6
v0.9.5
v0.9.4
v0.9.3
v0.9.2
v0.9.1
v0.9.0
v0.8.12
v0.8.11
v0.8.10
v0.8.9
v0.8.8
v0.8.7
v0.8.6
v0.8.5
v0.8.4
v0.8.3
v0.8.2
v0.8.1
v0.8.0
v0.7.1
v0.7.0
v0.6.4
v0.6.3
v0.6.2
v0.6.1
v0.6.0
v0.5.11
v0.5.10
v0.5.1
v0.5.0
v0.4.0
v0.3.5
v0.3.4
v0.3.3
v0.3.2
v0.3.1
v0.3.0
v0.2.3
v0.2.2-beta.1
v0.2.1-beta.5
v0.2.0-beta.5
v0.2.0-beta.4
v0.2.0-beta.3
v0.2.0-beta.2
v0.2.0-beta.1
v0.1.0-beta.3
v0.1.0-beta.2
v0.1.0-beta.1
v0.1.0-rc.2
v0.1.0-rc-1
v0.0.8-hotfix-1
v0.0.8
v0.0.7
v0.0.6
v0.0.5
v0.0.4
v0.0.3
v0.0.2
v0.0.1
v0.0.0
Labels
Clear labels
2021 Q4
2022 Q1
2022 Q1
accessibility
acl
agent
agent
Android
Android
api
authentik
automation
azure
battery-usage
bug
cache
client
client-ui
cloud
cloud-only
cloudflare
community
compatibility
config-idp
config-issue
connection
contribution
coturn
cross-vpn
dashboard
data-usage
distribution
dns
docker
documentation
duplicate
enhancement
enhancement
event-stream
feature-request
freebsd
getting-started
go
good first issue
gui
help wanted
home-assistant
idp
inconsistency
integration
integrations
ios
ipv6
jwt
k8s
keycloak
linux
login
macos
management-service
missing-docs
mobile
moved-internal
needs-review
netbird-ui
networking
new-platform
nginx
notification
okta
openwrt
packaging
peer-management
peer-management
peer-management
performance
postgres
posture-checks
psk
pull-request
question
refactor
relay
release
rfc
routes
security
security-related
self-hosting
server
signal
sleep-issue
ssh
ssl
status
store
synology
system-compatibility-issue
test-suite
third-party-integration
triage
triage-needed
troubleshooting
UX
waiting-feedback
windows
wontfix
zitadel
Mirrored from GitHub Pull Request
Milestone
No items
No Milestone
Projects
Clear projects
No project
Assignees
saavagebueno
Clear assignees
No Assignees
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: SVI/netbird#404
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Sxndxr on GitHub (Aug 3, 2023).
Hello,
I started using Netbird yesterday on my linux machine. It was working fine, but once i restarted my machine it displays the message "2023-08-03T10:19:37+01:00 WARN client/cmd/root.go:187: retrying Login to the Management service in 1.098619925s due to error rpc error: code = Unknown desc = getting pkce authorization flow info failed with error: context deadline exceeded" when i run "sudo netbird up" even with my setup-key. I tried uninstall/reinstall but nothing worked. Can you help please ?
Steps to reproduce the behavior:
The expected behavior is to have the same as yesterday when i installed it. I expected it to display "connected" after i run the command "sudo netbird up".
NetBird status -d output:
Daemon status: LoginFailed
Run UP command to log in with SSO (interactive login):
netbird up
If you are running a self-hosted version and no SSO provider has been configured in your Management Server,
you can use a setup-key:
netbird up --management-url <YOUR_MANAGEMENT_URL> --setup-key <YOUR_SETUP_KEY>
More info: https://www.netbird.io/docs/overview/setup-keys
Screenshots


Thanks for help
@gmatasba commented on GitHub (Aug 3, 2023):
Hi.
Almost identical similar issue here. Just to add some additional context of my case that may be helpful:
I have been trying to debug the error but I have had no luck so far, any help or discoveries on the matter would be greatly appreciated if shared.
Thanks!
@bcmmbaga commented on GitHub (Aug 3, 2023):
Could you please check if there are any error logs available at
/var/log/netbird/client.logand/var/log/netbird/netbird.err?@gmatasba commented on GitHub (Aug 3, 2023):
Here you go, these are the logs from the client that is having the issues mentioned. As far as I have seen, the other machines (clients that work properly and the management server, don't have these logs).
Checking timestamps, the line that aligns perfectly with the moment in which the issues have started is this one:
2023-08-03T10:50:03Z ERRO client/internal/wgproxy/factory_linux.go:15: failed to initialize ebpf proxy: failed to set memlock rlimit: operation not permitted@mlsmaycon commented on GitHub (Aug 4, 2023):
@gmatasba @Sxndxr the issue was fixed in v0.22.2, can you test on your end?
@reimarstier commented on GitHub (Aug 14, 2023):
I had a similar issue with netbird client v0.21.8:
netbird up --management-url <YOUR_MANAGEMENT_URL> --setup-key <YOUR_SETUP_KEY>logs
2023-08-14T16:01:13+02:00 WARN client/cmd/root.go:187: retrying Login to the Management service in 936.119771ms due to error rpc error: code = DeadlineExceeded desc = context deadline exceeded 2023-08-14T16:01:24+02:00 WARN client/cmd/root.go:187: retrying Login to the Management service in 2.102444321s due to error rpc error: code = DeadlineExceeded desc = context deadline exceeded Error: login backoff cycle failed: rpc error: code = DeadlineExceeded desc = context deadline exceededUpdating the client to v0.22.4 fixed it for me. Yay.
@kdre commented on GitHub (Aug 18, 2023):
I have exactly the same Problem on one (I have several) Manjaro Linux computer with the latest netbird Client from AUR (not docker).
Tried to remove the package and reinstalled it, but had no luck so far.
Any idea what causes this problem?
@gmatasba commented on GitHub (Aug 21, 2023):
@mlsmaycon I personally solved the issue by creating a very small separate machine in order to use it as a routing peer and no longer have the set-up I described earlier. I will try to replicate it, test with the new version and then share the results here.
@kdre commented on GitHub (Aug 22, 2023):
Since today a second machine fails to connect. When I execute "netbird up", I get:
2023-08-22T14:52:40+02:00 WARN client/cmd/root.go:187: retrying Login to the Management service in 502.410121ms due to error rpc error: code = Unknown desc = getting pkce authorization flow info failed with error: context deadline exceeded
Error: login backoff cycle failed: rpc error: code = Unknown desc = getting pkce authorization flow info failed with error: context deadline exceeded
Daemon version: 0.22.6
CLI version: 0.22.6
What is going on?
@Trevinlc1997 commented on GitHub (Aug 29, 2023):
Getting the same error on v0.22.7 with Debian 12 LXC. Interesting enough I was able to get it connected but after restarting the container that's when the errors started popping up and even started locking up the LXC container every 20 secs and dropping my SSH connection.
@Sxndxr commented on GitHub (Aug 29, 2023):
I think you have to update Netbird. I guess that the bug has been fixed in
the new version.
Le mer. 30 août 2023 à 05:03, Trevin Corkery @.***> a
écrit :
@holotrack commented on GitHub (Aug 31, 2023):
Same here with newest version:
Exactly same when --management-url provided
@kdre commented on GitHub (Sep 1, 2023):
I still have the problem on two machines and the latest versions (0.22.7).
@mlsmaycon commented on GitHub (Sep 5, 2023):
The issue might be a problem with gRPC connectivity. Could you run the agent in the foreground with the following steps and share the output?
First, you need to stop the current agent:
Then run:
@equalis3r commented on GitHub (Sep 7, 2023):
@mlsmaycon Here is the log that I get. I just try to install and run netbird on my 2 machines. The desktop runs normally while the laptop encounters this issue. Both have the same network configurations.
// Edit: My bad. Turn out on my laptop, I didn't link stub-resolv.conf to /etc/resolv.conf. It's now working normally.
log.txt
@kdre commented on GitHub (Sep 19, 2023):
I still have this issue with the latest releases.
sudo bash -c 'GRPC_GO_LOG_VERBOSITY_LEVEL=99 GRPC_GO_LOG_SEVERITY_LEVEL=info netbird up -F -l debug'
2023-09-19T09:17:12+02:00 DEBG client/internal/login.go:93: connecting to the Management service https://api.wiretrustee.com:443
2023/09/19 09:17:12 INFO: [core] [Channel #1] Channel created
2023/09/19 09:17:12 INFO: [core] [Channel #1] original dial target is: "api.wiretrustee.com:443"
2023/09/19 09:17:12 INFO: [core] [Channel #1] parsed dial target is: {Scheme:api.wiretrustee.com Authority: URL:{Scheme:api.wiretrustee.com Opaque:443 User: Host: Path: RawPath: OmitHost:false ForceQuery:false RawQuery: Fragment: RawFragment:}}
2023/09/19 09:17:12 INFO: [core] [Channel #1] fallback to scheme "passthrough"
2023/09/19 09:17:12 INFO: [core] [Channel #1] parsed dial target is: {Scheme:passthrough Authority: URL:{Scheme:passthrough Opaque: User: Host: Path:/api.wiretrustee.com:443 RawPath: OmitHost:false ForceQuery:false RawQuery: Fragment: RawFragment:}}
2023/09/19 09:17:12 INFO: [core] [Channel #1] Channel authority set to "api.wiretrustee.com:443"
2023/09/19 09:17:12 INFO: [core] [Channel #1] Resolver state updated: {
"Addresses": [
{
"Addr": "api.wiretrustee.com:443",
"ServerName": "",
"Attributes": null,
"BalancerAttributes": null,
"Type": 0,
"Metadata": null
}
],
"ServiceConfig": null,
"Attributes": null
} (resolver returned new addresses)
2023/09/19 09:17:12 INFO: [core] [Channel #1] Channel switches to new LB policy "pick_first"
2023/09/19 09:17:12 INFO: [core] [Channel #1 SubChannel #2] Subchannel created
2023/09/19 09:17:12 INFO: [core] [Channel #1] Channel Connectivity change to CONNECTING
2023/09/19 09:17:12 INFO: [core] [Channel #1 SubChannel #2] Subchannel Connectivity change to CONNECTING
2023/09/19 09:17:12 INFO: [core] [Channel #1 SubChannel #2] Subchannel picks a new address "api.wiretrustee.com:443" to connect
2023/09/19 09:17:12 INFO: [core] pickfirstBalancer: UpdateSubConnState: 0xc0006da0a8, {CONNECTING }
2023/09/19 09:17:17 INFO: [core] [Channel #1] Channel Connectivity change to SHUTDOWN
2023/09/19 09:17:17 INFO: [core] [Channel #1 SubChannel #2] Subchannel Connectivity change to SHUTDOWN
2023/09/19 09:17:17 INFO: [core] [Channel #1 SubChannel #2] Subchannel deleted
2023/09/19 09:17:17 INFO: [core] [Channel #1] Channel deleted
2023-09-19T09:17:17+02:00 ERRO management/client/grpc.go:64: failed creating connection to Management Service context deadline exceeded
2023-09-19T09:17:17+02:00 ERRO client/internal/login.go:96: failed connecting to the Management service https://api.wiretrustee.com:443 context deadline exceeded
2023/09/19 09:17:17 INFO: [core] Creating new client transport to "{\n "Addr": "api.wiretrustee.com:443",\n "ServerName": "api.wiretrustee.com:443",\n "Attributes": null,\n "BalancerAttributes": null,\n "Type": 0,\n "Metadata": null\n}": connection error: desc = "transport: Error while dialing: dial tcp: lookup api.wiretrustee.com: operation was canceled"
2023-09-19T09:17:17+02:00 WARN client/cmd/root.go:187: retrying Login to the Management service in 1.43203904s due to error context deadline exceeded
2023/09/19 09:17:17 WARNING: [core] [Channel #1 SubChannel #2] grpc: addrConn.createTransport failed to connect to {
"Addr": "api.wiretrustee.com:443",
"ServerName": "api.wiretrustee.com:443",
"Attributes": null,
"BalancerAttributes": null,
"Type": 0,
"Metadata": null
}. Err: connection error: desc = "transport: Error while dialing: dial tcp: lookup api.wiretrustee.com: operation was canceled"
2023-09-19T09:17:18+02:00 DEBG client/internal/login.go:93: connecting to the Management service https://api.wiretrustee.com:443
2023/09/19 09:17:18 INFO: [core] [Channel #3] Channel created
2023/09/19 09:17:18 INFO: [core] [Channel #3] original dial target is: "api.wiretrustee.com:443"
2023/09/19 09:17:18 INFO: [core] [Channel #3] parsed dial target is: {Scheme:api.wiretrustee.com Authority: URL:{Scheme:api.wiretrustee.com Opaque:443 User: Host: Path: RawPath: OmitHost:false ForceQuery:false RawQuery: Fragment: RawFragment:}}
2023/09/19 09:17:18 INFO: [core] [Channel #3] fallback to scheme "passthrough"
2023/09/19 09:17:18 INFO: [core] [Channel #3] parsed dial target is: {Scheme:passthrough Authority: URL:{Scheme:passthrough Opaque: User: Host: Path:/api.wiretrustee.com:443 RawPath: OmitHost:false ForceQuery:false RawQuery: Fragment: RawFragment:}}
2023/09/19 09:17:18 INFO: [core] [Channel #3] Channel authority set to "api.wiretrustee.com:443"
2023/09/19 09:17:18 INFO: [core] [Channel #3] Resolver state updated: {
"Addresses": [
{
"Addr": "api.wiretrustee.com:443",
"ServerName": "",
"Attributes": null,
"BalancerAttributes": null,
"Type": 0,
"Metadata": null
}
],
"ServiceConfig": null,
"Attributes": null
} (resolver returned new addresses)
2023/09/19 09:17:18 INFO: [core] [Channel #3] Channel switches to new LB policy "pick_first"
2023/09/19 09:17:18 INFO: [core] [Channel #3 SubChannel #4] Subchannel created
2023/09/19 09:17:18 INFO: [core] [Channel #3] Channel Connectivity change to CONNECTING
2023/09/19 09:17:18 INFO: [core] [Channel #3 SubChannel #4] Subchannel Connectivity change to CONNECTING
2023/09/19 09:17:18 INFO: [core] [Channel #3 SubChannel #4] Subchannel picks a new address "api.wiretrustee.com:443" to connect
2023/09/19 09:17:18 INFO: [core] pickfirstBalancer: UpdateSubConnState: 0xc0006da030, {CONNECTING }
2023/09/19 09:17:23 INFO: [core] [Channel #3] Channel Connectivity change to SHUTDOWN
2023/09/19 09:17:23 INFO: [core] [Channel #3 SubChannel #4] Subchannel Connectivity change to SHUTDOWN
2023/09/19 09:17:23 INFO: [core] [Channel #3 SubChannel #4] Subchannel deleted
2023/09/19 09:17:23 INFO: [core] [Channel #3] Channel deleted
2023-09-19T09:17:23+02:00 ERRO management/client/grpc.go:64: failed creating connection to Management Service context deadline exceeded
2023-09-19T09:17:23+02:00 ERRO client/internal/login.go:96: failed connecting to the Management service https://api.wiretrustee.com:443 context deadline exceeded
2023-09-19T09:17:23+02:00 WARN client/cmd/root.go:187: retrying Login to the Management service in 1.54748959s due to error context deadline exceeded
2023/09/19 09:17:23 INFO: [core] Creating new client transport to "{\n "Addr": "api.wiretrustee.com:443",\n "ServerName": "api.wiretrustee.com:443",\n "Attributes": null,\n "BalancerAttributes": null,\n "Type": 0,\n "Metadata": null\n}": connection error: desc = "transport: Error while dialing: dial tcp: lookup api.wiretrustee.com: operation was canceled"
2023/09/19 09:17:23 WARNING: [core] [Channel #3 SubChannel #4] grpc: addrConn.createTransport failed to connect to {
"Addr": "api.wiretrustee.com:443",
"ServerName": "api.wiretrustee.com:443",
"Attributes": null,
"BalancerAttributes": null,
"Type": 0,
"Metadata": null
}. Err: connection error: desc = "transport: Error while dialing: dial tcp: lookup api.wiretrustee.com: operation was canceled"
2023-09-19T09:17:25+02:00 DEBG client/internal/login.go:93: connecting to the Management service https://api.wiretrustee.com:443
2023/09/19 09:17:25 INFO: [core] [Channel #5] Channel created
2023/09/19 09:17:25 INFO: [core] [Channel #5] original dial target is: "api.wiretrustee.com:443"
2023/09/19 09:17:25 INFO: [core] [Channel #5] parsed dial target is: {Scheme:api.wiretrustee.com Authority: URL:{Scheme:api.wiretrustee.com Opaque:443 User: Host: Path: RawPath: OmitHost:false ForceQuery:false RawQuery: Fragment: RawFragment:}}
2023/09/19 09:17:25 INFO: [core] [Channel #5] fallback to scheme "passthrough"
2023/09/19 09:17:25 INFO: [core] [Channel #5] parsed dial target is: {Scheme:passthrough Authority: URL:{Scheme:passthrough Opaque: User: Host: Path:/api.wiretrustee.com:443 RawPath: OmitHost:false ForceQuery:false RawQuery: Fragment: RawFragment:}}
2023/09/19 09:17:25 INFO: [core] [Channel #5] Channel authority set to "api.wiretrustee.com:443"
2023/09/19 09:17:25 INFO: [core] [Channel #5] Resolver state updated: {
"Addresses": [
{
"Addr": "api.wiretrustee.com:443",
"ServerName": "",
"Attributes": null,
"BalancerAttributes": null,
"Type": 0,
"Metadata": null
}
],
"ServiceConfig": null,
"Attributes": null
} (resolver returned new addresses)
...
Any ideas?
@devopskupryk commented on GitHub (Sep 22, 2023):
I updated netbird client from 0.22.7 to 0.23.2 on my CentOS 7.9 host and have got the same issue:
At the same time there isn't this issue on fedora 37 with 0.23.2
UPDATE: reinstall netbird client 0.22.7 which worked well before and have got the same issue
DEBUG:
@kdre commented on GitHub (Oct 3, 2023):
Any news? This issue is very annoying and a deal breaker for me, if no solution is around the corner...
@bcmmbaga commented on GitHub (Oct 3, 2023):
Could you please upgrade to the most recent version, v0.23.6? After the update, follow these steps:
sudo netbird service stopsudo netbird service uninstallsudo netbird service installsudo netbird service startand test the client's connection withnetbird up@devopskupryk commented on GitHub (Oct 4, 2023):
There is no v0.23.6 available for my centos - v0.23.4 is the latest available.
I've tried your solution but result the same:
Any other suggestion?
@kdre commented on GitHub (Oct 4, 2023):
~ > sudo netbird service stop
Netbird service has been stopped
~ > sudo netbird service uninstall
Netbird has been uninstalled
~ > sudo netbird service install
Netbird service has been installed
~ > sudo netbird service start
Netbird service has been started
~ > netbird up
Error: unable to get daemon status: rpc error: code = FailedPrecondition desc = failed connecting to Management Service : context deadline exceeded
~ > netbird version
0.23.6
@bcmmbaga commented on GitHub (Oct 4, 2023):
@kdre , @devopskupryk. To streamline the troubleshooting process and address your issue more effectively, we kindly request that you join our Slack or Matrix.
@tribor commented on GitHub (Oct 26, 2023):
I also stumbled across this kind of error today. For me the solution was to adjust my /etc/resolv.conf.
there were two entries for nameserver + search domain. after removing the second (original host) entry and keeping the one created by netbird, a "netbird up" worked again.
it seems that "netbird up" failed to resolve its required login servers.
@mrmoose0 commented on GitHub (Nov 23, 2023):
I have this problem:
Error: unable to get daemon status: rpc error: code = FailedPrecondition desc = failed while getting Management Service public key: rpc error: code = Unavailable desc = unexpected HTTP status code received from server: 502 (Bad Gateway); malformed header: missing HTTP content-type@azey7f commented on GitHub (Dec 11, 2023):
This also fixed it for me, apparently adding a custom DNS nameserver in netbird that's only accessible via the VPN causes this.
@bryanjuho commented on GitHub (Dec 19, 2023):
In my case, it was because I changed my Netbird host url (like... old.example.com → new.example.io).
Fix was to delete (or move to /tmp) the config.json in /etc/netbird/config.json,
and ran
sudo netbird service uninstall. Not sure if which handled the issue though@JonnyBDev commented on GitHub (Dec 31, 2023):
Just want to bring attention to this issue again. We had the same problem today with one of our servers. Server rebooted due to a failure (non Netbird related) and did not show up in Netbird as online. After running the command
netbird upmanually, we got the same error message as some of you above:We figured out that Netbird replaces or adds its own Nameserver (if configured) and search into the
/etc/resolv.conf. The order was Netbird-configured-search, Netbird-configured-nameserver and then our two nameservers. We also noticed problems with the general DNS resolution to e.g. google.de. Our Netbird instance address resolves via a public DNS and therefore this setup won't work.After removing all entries except our two public nameservers and waiting a few seconds, we could successfully connect to our Netbird instance with
netbird up. This, obviously, overwrote the/etc/resolv.confagain. This will likely result in the same scenario if the machine goes down again the next time.Is there any way to avoid this problem here?
@aatumaykin commented on GitHub (Jan 4, 2024):
I found the same behavior. After removing the servers from resolv.conf, netbird connected.
@magixus commented on GitHub (Jan 9, 2024):
link to slack thread https://netbirdio.slack.com/archives/C05T5K65X7U/p1704806688445639
@inboardnor commented on GitHub (Feb 5, 2024):
this is the error I also have. Where you able to resolve your issue?
@robertompf commented on GitHub (Feb 11, 2024):
@peterdieleman commented on GitHub (Apr 18, 2024):
This issue (the DeadlineExceeded ..) re-appears for us when running the latest available current version (
0.27.3) on alma linux. We are unable to get netbird running.Our fix was downgrading to 0.26.3. We have checked the
/etc/resolv.conffile for additional entries as well as using the command by @mlsmaycon to increase grpc logging level, but neither of those made us any wiser.@mrbluecoat commented on GitHub (May 4, 2024):
Same for me on desktop with Ubuntu 22.04.4 LTS and the latest version 0.27.4 via the recommended installation method:
curl -fsSL https://pkgs.netbird.io/install.sh | shI tried a variety of permutations:
They all give me the same error:
Error: login failed: rpc error: code = PermissionDenied desc = peer login has expired, please log in once moreI edited my
/etc/resolv.confand just put a single entrynameserver 1.1.1.1but still no luckReboot made no difference
Update: upgrading to Ubuntu 24.04 fixed it for me.
@beastma commented on GitHub (May 13, 2024):
Same here, on openwrt netbird version 0.27.3
`Error: unable to get daemon status: rpc error: code = FailedPrecondition desc = failed connecting to Management Service : context deadline exceeded
netbird status -d
Error: status failed: failed connecting to Management Service : context deadline exceeded
netbird status -d output:
Peers detail:
Daemon version: 0.27.3
CLI version: 0.27.3
Management: Disconnected, reason: rpc error: code = FailedPrecondition desc = failed connecting to Management Service : context deadline exceeded
Signal: Disconnected
Relays:
Nameservers:
FQDN:
NetBird IP: N/A
Interface type: N/A
Quantum resistance: false
Routes: -
Peers count: 0/0 Connected
sudo netbird service stop
Netbird service has been stopped
sudo bash -c 'GRPC_GO_LOG_VERBOSITY_LEVEL=99 GRPC_GO_LOG_SEVERITY_LEVEL=info netbird up -F
-l debug'
2024-05-13T04:13:57Z DEBG client/internal/login.go:93: connecting to the Management service https://api.netbird.io:443
2024/05/13 04:13:57 INFO: [core] [Channel #1] Channel created
2024/05/13 04:13:57 INFO: [core] [Channel #1] original dial target is: "api.netbird.io:443"
2024/05/13 04:13:57 INFO: [core] [Channel #1] parsed dial target is: {Scheme:api.netbird.io Authority: URL:{Scheme:api.netbird.io Opaque:443 User: Host: Path: RawPath: OmitHost:false ForceQuery:false RawQuery: Fragment: RawFragment:}}
2024/05/13 04:13:57 INFO: [core] [Channel #1] fallback to scheme "passthrough"
2024/05/13 04:13:57 INFO: [core] [Channel #1] parsed dial target is: {Scheme:passthrough Authority: URL:{Scheme:passthrough Opaque: User: Host: Path:/api.netbird.io:443 RawPath: OmitHost:false ForceQuery:false RawQuery: Fragment: RawFragment:}}
2024/05/13 04:13:57 INFO: [core] [Channel #1] Channel authority set to "api.netbird.io:443"
2024/05/13 04:13:57 INFO: [core] [Channel #1] Resolver state updated: {
"Addresses": [
{
"Addr": "api.netbird.io:443",
"ServerName": "",
"Attributes": null,
"BalancerAttributes": null,
"Type": 0,
"Metadata": null
}
],
"ServiceConfig": null,
"Attributes": null
} (resolver returned new addresses)
2024/05/13 04:13:57 INFO: [core] [Channel #1] Channel switches to new LB policy "pick_first"
2024/05/13 04:13:57 INFO: [core] [Channel #1 SubChannel #2] Subchannel created
2024/05/13 04:13:57 INFO: [core] [Channel #1] Channel Connectivity change to CONNECTING
2024/05/13 04:13:57 INFO: [core] [Channel #1 SubChannel #2] Subchannel Connectivity change to CONNECTING
2024/05/13 04:13:57 INFO: [core] [Channel #1 SubChannel #2] Subchannel picks a new address "api.netbird.io:443" to connect
2024/05/13 04:13:57 INFO: [core] pickfirstBalancer: UpdateSubConnState: 0x3476b10, {CONNECTING }
2024-05-13T04:13:57Z ERRO util/grpc/dialer.go:33: Failed to dial: dial: dial tcp 35.186.199.111:443: connect: invalid argument
2024/05/13 04:13:57 INFO: [core] Creating new client transport to "{Addr: "api.netbird.io:443", ServerName: "api.netbird.io:443", }": connection error: desc = "transport: Error while dialing: dial: dial tcp 35.186.199.111:443: connect: invalid argument"
2024/05/13 04:13:57 WARNING: [core] [Channel #1 SubChannel #2] grpc: addrConn.createTransport failed to connect to {Addr: "api.netbird.io:443", ServerName: "api.netbird.io:443", }. Err: connection error: desc = "transport: Error while dialing: dial: dial tcp 35.186.199.111:443: connect: invalid argument"
2024/05/13 04:13:57 INFO: [core] [Channel #1 SubChannel #2] Subchannel Connectivity change to TRANSIENT_FAILURE, last error: connection error: desc = "transport: Error while dialing: dial: dial tcp 35.186.199.111:443: connect: invalid argument"
2024/05/13 04:13:57 INFO: [core] pickfirstBalancer: UpdateSubConnState: 0x3476b10, {TRANSIENT_FAILURE connection error: desc = "transport: Error while dialing: dial: dial tcp 35.186.199.111:443: connect: invalid argument"}
2024/05/13 04:13:57 INFO: [core] [Channel #1] Channel Connectivity change to TRANSIENT_FAILURE
2024/05/13 04:13:58 INFO: [core] [Channel #1 SubChannel #2] Subchannel Connectivity change to IDLE, last error: connection error: desc = "transport: Error while dialing: dial: dial tcp 35.186.199.111:443: connect: invalid argument"
2024/05/13 04:13:58 INFO: [core] pickfirstBalancer: UpdateSubConnState: 0x3476b10, {IDLE connection error: desc = "transport: Error while dialing: dial: dial tcp 35.186.199.111:443: connect: invalid argument"}
2024/05/13 04:13:58 INFO: [core] [Channel #1 SubChannel #2] Subchannel Connectivity change to CONNECTING
2024/05/13 04:13:58 INFO: [core] [Channel #1 SubChannel #2] Subchannel picks a new address "api.netbird.io:443" to connect
2024/05/13 04:13:58 INFO: [core] pickfirstBalancer: UpdateSubConnState: 0x3476b10, {CONNECTING }
2024-05-13T04:13:58Z ERRO util/grpc/dialer.go:33: Failed to dial: dial: dial tcp 35.186.199.111:443: connect: invalid argument
2024/05/13 04:13:58 INFO: [core] Creating new client transport to "{Addr: "api.netbird.io:443", ServerName: "api.netbird.io:443", }": connection error: desc = "transport: Error while dialing: dial: dial tcp 35.186.199.111:443: connect: invalid argument"
2024/05/13 04:13:58 WARNING: [core] [Channel #1 SubChannel #2] grpc: addrConn.createTransport failed to connect to {Addr: "api.netbird.io:443", ServerName: "api.netbird.io:443", }. Err: connection error: desc = "transport: Error while dialing: dial: dial tcp 35.186.199.111:443: connect: invalid argument"
2024/05/13 04:13:58 INFO: [core] [Channel #1 SubChannel #2] Subchannel Connectivity change to TRANSIENT_FAILURE, last error: connection error: desc = "transport: Error while dialing: dial: dial tcp 35.186.199.111:443: connect: invalid argument"
2024/05/13 04:13:58 INFO: [core] pickfirstBalancer: UpdateSubConnState: 0x3476b10, {TRANSIENT_FAILURE connection error: desc = "transport: Error while dialing: dial: dial tcp 35.186.199.111:443: connect: invalid argument"}
2024/05/13 04:14:00 INFO: [core] [Channel #1 SubChannel #2] Subchannel Connectivity change to IDLE, last error: connection error: desc = "transport: Error while dialing: dial: dial tcp 35.186.199.111:443: connect: invalid argument"
2024/05/13 04:14:00 INFO: [core] pickfirstBalancer: UpdateSubConnState: 0x3476b10, {IDLE connection error: desc = "transport: Error while dialing: dial: dial tcp 35.186.199.111:443: connect: invalid argument"}
2024/05/13 04:14:00 INFO: [core] [Channel #1 SubChannel #2] Subchannel Connectivity change to CONNECTING
2024/05/13 04:14:00 INFO: [core] [Channel #1 SubChannel #2] Subchannel picks a new address "api.netbird.io:443" to connect
2024/05/13 04:14:00 INFO: [core] pickfirstBalancer: UpdateSubConnState: 0x3476b10, {CONNECTING }
2024-05-13T04:14:00Z ERRO util/grpc/dialer.go:33: Failed to dial: dial: dial tcp 35.186.199.111:443: connect: invalid argument
2024/05/13 04:14:00 INFO: [core] Creating new client transport to "{Addr: "api.netbird.io:443", ServerName: "api.netbird.io:443", }": connection error: desc = "transport: Error while dialing: dial: dial tcp 35.186.199.111:443: connect: invalid argument"
2024/05/13 04:14:00 WARNING: [core] [Channel #1 SubChannel #2] grpc: addrConn.createTransport failed to connect to {Addr: "api.netbird.io:443", ServerName: "api.netbird.io:443", }. Err: connection error: desc = "transport: Error while dialing: dial: dial tcp 35.186.199.111:443: connect: invalid argument"
2024/05/13 04:14:00 INFO: [core] [Channel #1 SubChannel #2] Subchannel Connectivity change to TRANSIENT_FAILURE, last error: connection error: desc = "transport: Error while dialing: dial: dial tcp 35.186.199.111:443: connect: invalid argument"
2024/05/13 04:14:00 INFO: [core] pickfirstBalancer: UpdateSubConnState: 0x3476b10, {TRANSIENT_FAILURE connection error: desc = "transport: Error while dialing: dial: dial tcp 35.186.199.111:443: connect: invalid argument"}
2024/05/13 04:14:02 INFO: [core] [Channel #1 SubChannel #2] Subchannel Connectivity change to IDLE, last error: connection error: desc = "transport: Error while dialing: dial: dial tcp 35.186.199.111:443: connect: invalid argument"
2024/05/13 04:14:02 INFO: [core] pickfirstBalancer: UpdateSubConnState: 0x3476b10, {IDLE connection error: desc = "transport: Error while dialing: dial: dial tcp 35.186.199.111:443: connect: invalid argument"}
2024/05/13 04:14:02 INFO: [core] [Channel #1 SubChannel #2] Subchannel Connectivity change to CONNECTING
2024/05/13 04:14:02 INFO: [core] [Channel #1 SubChannel #2] Subchannel picks a new address "api.netbird.io:443" to connect
2024/05/13 04:14:02 INFO: [core] pickfirstBalancer: UpdateSubConnState: 0x3476b10, {CONNECTING }
2024-05-13T04:14:02Z ERRO util/grpc/dialer.go:33: Failed to dial: dial: dial tcp 35.186.199.111:443: connect: invalid argument
2024/05/13 04:14:02 INFO: [core] Creating new client transport to "{Addr: "api.netbird.io:443", ServerName: "api.netbird.io:443", }": connection error: desc = "transport: Error while dialing: dial: dial tcp 35.186.199.111:443: connect: invalid argument"
2024/05/13 04:14:02 WARNING: [core] [Channel #1 SubChannel #2] grpc: addrConn.createTransport failed to connect to {Addr: "api.netbird.io:443", ServerName: "api.netbird.io:443", }. Err: connection error: desc = "transport: Error while dialing: dial: dial tcp 35.186.199.111:443: connect: invalid argument"
2024/05/13 04:14:02 INFO: [core] [Channel #1 SubChannel #2] Subchannel Connectivity change to TRANSIENT_FAILURE, last error: connection error: desc = "transport: Error while dialing: dial: dial tcp 35.186.199.111:443: connect: invalid argument"
2024/05/13 04:14:02 INFO: [core] pickfirstBalancer: UpdateSubConnState: 0x3476b10, {TRANSIENT_FAILURE connection error: desc = "transport: Error while dialing: dial: dial tcp 35.186.199.111:443: connect: invalid argument"}
2024/05/13 04:14:06 INFO: [core] [Channel #1 SubChannel #2] Subchannel Connectivity change to IDLE, last error: connection error: desc = "transport: Error while dialing: dial: dial tcp 35.186.199.111:443: connect: invalid argument"
2024/05/13 04:14:06 INFO: [core] pickfirstBalancer: UpdateSubConnState: 0x3476b10, {IDLE connection error: desc = "transport: Error while dialing: dial: dial tcp 35.186.199.111:443: connect: invalid argument"}
2024/05/13 04:14:06 INFO: [core] [Channel #1 SubChannel #2] Subchannel Connectivity change to CONNECTING
2024/05/13 04:14:06 INFO: [core] [Channel #1 SubChannel #2] Subchannel picks a new address "api.netbird.io:443" to connect
2024/05/13 04:14:06 INFO: [core] pickfirstBalancer: UpdateSubConnState: 0x3476b10, {CONNECTING }
2024-05-13T04:14:06Z ERRO util/grpc/dialer.go:33: Failed to dial: dial: dial tcp 35.186.199.111:443: connect: invalid argument
2024/05/13 04:14:06 INFO: [core] Creating new client transport to "{Addr: "api.netbird.io:443", ServerName: "api.netbird.io:443", }": connection error: desc = "transport: Error while dialing: dial: dial tcp 35.186.199.111:443: connect: invalid argument"
2024/05/13 04:14:06 WARNING: [core] [Channel #1 SubChannel #2] grpc: addrConn.createTransport failed to connect to {Addr: "api.netbird.io:443", ServerName: "api.netbird.io:443", }. Err: connection error: desc = "transport: Error while dialing: dial: dial tcp 35.186.199.111:443: connect: invalid argument"
2024/05/13 04:14:06 INFO: [core] [Channel #1 SubChannel #2] Subchannel Connectivity change to TRANSIENT_FAILURE, last error: connection error: desc = "transport: Error while dialing: dial: dial tcp 35.186.199.111:443: connect: invalid argument"
2024/05/13 04:14:06 INFO: [core] pickfirstBalancer: UpdateSubConnState: 0x3476b10, {TRANSIENT_FAILURE connection error: desc = "transport: Error while dialing: dial: dial tcp 35.186.199.111:443: connect: invalid argument"}
2024/05/13 04:14:07 INFO: [core] [Channel #1] Channel Connectivity change to SHUTDOWN
2024/05/13 04:14:07 INFO: [core] [Channel #1] ccBalancerWrapper: closing
2024/05/13 04:14:07 INFO: [core] [Channel #1] Closing the name resolver
2024/05/13 04:14:07 INFO: [core] [Channel #1 SubChannel #2] Subchannel Connectivity change to SHUTDOWN
2024/05/13 04:14:07 INFO: [core] [Channel #1 SubChannel #2] Subchannel deleted
2024/05/13 04:14:07 INFO: [core] [Channel #1] Channel deleted
2024-05-13T04:14:07Z ERRO management/client/grpc.go:68: failed creating connection to Management Service context deadline exceeded
2024-05-13T04:14:07Z ERRO client/internal/login.go:96: failed connecting to the Management service https://api.netbird.io:443 context deadline exceeded
2024-05-13T04:14:07Z WARN client/cmd/root.go:214: retrying Login to the Management service in 734.073652ms due to error context deadline exceeded
2024-05-13T04:14:08Z DEBG client/internal/login.go:93: connecting to the Management service https://api.netbird.io:443
2024/05/13 04:14:08 INFO: [core] [Channel #3] Channel created
2024/05/13 04:14:08 INFO: [core] [Channel #3] original dial target is: "api.netbird.io:443"
2024/05/13 04:14:08 INFO: [core] [Channel #3] parsed dial target is: {Scheme:api.netbird.io Authority: URL:{Scheme:api.netbird.io Opaque:443 User: Host: Path: RawPath: OmitHost:false ForceQuery:false RawQuery: Fragment: RawFragment:}}
2024/05/13 04:14:08 INFO: [core] [Channel #3] fallback to scheme "passthrough"
2024/05/13 04:14:08 INFO: [core] [Channel #3] parsed dial target is: {Scheme:passthrough Authority: URL:{Scheme:passthrough Opaque: User: Host: Path:/api.netbird.io:443 RawPath: OmitHost:false ForceQuery:false RawQuery: Fragment: RawFragment:}}
2024/05/13 04:14:08 INFO: [core] [Channel #3] Channel authority set to "api.netbird.io:443"
2024/05/13 04:14:08 INFO: [core] [Channel #3] Resolver state updated: {
"Addresses": [
{
"Addr": "api.netbird.io:443",
"ServerName": "",
"Attributes": null,
"BalancerAttributes": null,
"Type": 0,
"Metadata": null
}
],
"ServiceConfig": null,
"Attributes": null
} (resolver returned new addresses)
2024/05/13 04:14:08 INFO: [core] [Channel #3] Channel switches to new LB policy "pick_first"
2024/05/13 04:14:08 INFO: [core] [Channel #3 SubChannel #4] Subchannel created
2024/05/13 04:14:08 INFO: [core] [Channel #3] Channel Connectivity change to CONNECTING
2024/05/13 04:14:08 INFO: [core] [Channel #3 SubChannel #4] Subchannel Connectivity change to CONNECTING
2024/05/13 04:14:08 INFO: [core] [Channel #3 SubChannel #4] Subchannel picks a new address "api.netbird.io:443" to connect
2024/05/13 04:14:08 INFO: [core] pickfirstBalancer: UpdateSubConnState: 0x34777d0, {CONNECTING }
2024-05-13T04:14:08Z ERRO util/grpc/dialer.go:33: Failed to dial: dial: dial tcp 35.186.199.111:443: connect: invalid argument
2024/05/13 04:14:08 INFO: [core] Creating new client transport to "{Addr: "api.netbird.io:443", ServerName: "api.netbird.io:443", }": connection error: desc = "transport: Error while dialing: dial: dial tcp 35.186.199.111:443: connect: invalid argument"
2024/05/13 04:14:08 WARNING: [core] [Channel #3 SubChannel #4] grpc: addrConn.createTransport failed to connect to {Addr: "api.netbird.io:443", ServerName: "api.netbird.io:443", }. Err: connection error: desc = "transport: Error while dialing: dial: dial tcp 35.186.199.111:443: connect: invalid argument"
2024/05/13 04:14:08 INFO: [core] [Channel #3 SubChannel #4] Subchannel Connectivity change to TRANSIENT_FAILURE, last error: connection error: desc = "transport: Error while dialing: dial: dial tcp 35.186.199.111:443: connect: invalid argument"
2024/05/13 04:14:08 INFO: [core] pickfirstBalancer: UpdateSubConnState: 0x34777d0, {TRANSIENT_FAILURE connection error: desc = "transport: Error while dialing: dial: dial tcp 35.186.199.111:443: connect: invalid argument"}
2024/05/13 04:14:08 INFO: [core] [Channel #3] Channel Connectivity change to TRANSIENT_FAILURE
2024/05/13 04:14:09 INFO: [core] [Channel #3 SubChannel #4] Subchannel Connectivity change to IDLE, last error: connection error: desc = "transport: Error while dialing: dial: dial tcp 35.186.199.111:443: connect: invalid argument"
2024/05/13 04:14:09 INFO: [core] pickfirstBalancer: UpdateSubConnState: 0x34777d0, {IDLE connection error: desc = "transport: Error while dialing: dial: dial tcp 35.186.199.111:443: connect: invalid argument"}
2024/05/13 04:14:09 INFO: [core] [Channel #3 SubChannel #4] Subchannel Connectivity change to CONNECTING
2024/05/13 04:14:09 INFO: [core] [Channel #3 SubChannel #4] Subchannel picks a new address "api.netbird.io:443" to connect
2024/05/13 04:14:09 INFO: [core] pickfirstBalancer: UpdateSubConnState: 0x34777d0, {CONNECTING }
2024-05-13T04:14:09Z ERRO util/grpc/dialer.go:33: Failed to dial: dial: dial tcp 35.186.199.111:443: connect: invalid argument
2024/05/13 04:14:09 INFO: [core] Creating new client transport to "{Addr: "api.netbird.io:443", ServerName: "api.netbird.io:443", }": connection error: desc = "transport: Error while dialing: dial: dial tcp 35.186.199.111:443: connect: invalid argument"
2024/05/13 04:14:09 WARNING: [core] [Channel #3 SubChannel #4] grpc: addrConn.createTransport failed to connect to {Addr: "api.netbird.io:443", ServerName: "api.netbird.io:443", }. Err: connection error: desc = "transport: Error while dialing: dial: dial tcp 35.186.199.111:443: connect: invalid argument"
2024/05/13 04:14:09 INFO: [core] [Channel #3 SubChannel #4] Subchannel Connectivity change to TRANSIENT_FAILURE, last error: connection error: desc = "transport: Error while dialing: dial: dial tcp 35.186.199.111:443: connect: invalid argument"
2024/05/13 04:14:09 INFO: [core] pickfirstBalancer: UpdateSubConnState: 0x34777d0, {TRANSIENT_FAILURE connection error: desc = "transport: Error while dialing: dial: dial tcp 35.186.199.111:443: connect: invalid argument"}
2024/05/13 04:14:11 INFO: [core] [Channel #3 SubChannel #4] Subchannel Connectivity change to IDLE, last error: connection error: desc = "transport: Error while dialing: dial: dial tcp 35.186.199.111:443: connect: invalid argument"
2024/05/13 04:14:11 INFO: [core] pickfirstBalancer: UpdateSubConnState: 0x34777d0, {IDLE connection error: desc = "transport: Error while dialing: dial: dial tcp 35.186.199.111:443: connect: invalid argument"}
2024/05/13 04:14:11 INFO: [core] [Channel #3 SubChannel #4] Subchannel Connectivity change to CONNECTING
2024/05/13 04:14:11 INFO: [core] [Channel #3 SubChannel #4] Subchannel picks a new address "api.netbird.io:443" to connect
2024/05/13 04:14:11 INFO: [core] pickfirstBalancer: UpdateSubConnState: 0x34777d0, {CONNECTING }
2024-05-13T04:14:11Z ERRO util/grpc/dialer.go:33: Failed to dial: dial: dial tcp 35.186.199.111:443: connect: invalid argument
2024/05/13 04:14:11 INFO: [core] Creating new client transport to "{Addr: "api.netbird.io:443", ServerName: "api.netbird.io:443", }": connection error: desc = "transport: Error while dialing: dial: dial tcp 35.186.199.111:443: connect: invalid argument"
2024/05/13 04:14:11 WARNING: [core] [Channel #3 SubChannel #4] grpc: addrConn.createTransport failed to connect to {Addr: "api.netbird.io:443", ServerName: "api.netbird.io:443", }. Err: connection error: desc = "transport: Error while dialing: dial: dial tcp 35.186.199.111:443: connect: invalid argument"
2024/05/13 04:14:11 INFO: [core] [Channel #3 SubChannel #4] Subchannel Connectivity change to TRANSIENT_FAILURE, last error: connection error: desc = "transport: Error while dialing: dial: dial tcp 35.186.199.111:443: connect: invalid argument"
2024/05/13 04:14:11 INFO: [core] pickfirstBalancer: UpdateSubConnState: 0x34777d0, {TRANSIENT_FAILURE connection error: desc = "transport: Error while dialing: dial: dial tcp 35.186.199.111:443: connect: invalid argument"}
2024/05/13 04:14:13 INFO: [core] [Channel #3 SubChannel #4] Subchannel Connectivity change to IDLE, last error: connection error: desc = "transport: Error while dialing: dial: dial tcp 35.186.199.111:443: connect: invalid argument"
2024/05/13 04:14:13 INFO: [core] pickfirstBalancer: UpdateSubConnState: 0x34777d0, {IDLE connection error: desc = "transport: Error while dialing: dial: dial tcp 35.186.199.111:443: connect: invalid argument"}
2024/05/13 04:14:13 INFO: [core] [Channel #3 SubChannel #4] Subchannel Connectivity change to CONNECTING
2024/05/13 04:14:13 INFO: [core] [Channel #3 SubChannel #4] Subchannel picks a new address "api.netbird.io:443" to connect
2024/05/13 04:14:13 INFO: [core] pickfirstBalancer: UpdateSubConnState: 0x34777d0, {CONNECTING }
2024-05-13T04:14:13Z ERRO util/grpc/dialer.go:33: Failed to dial: dial: dial tcp 35.186.199.111:443: connect: invalid argument
2024/05/13 04:14:13 INFO: [core] Creating new client transport to "{Addr: "api.netbird.io:443", ServerName: "api.netbird.io:443", }": connection error: desc = "transport: Error while dialing: dial: dial tcp 35.186.199.111:443: connect: invalid argument"
2024/05/13 04:14:13 WARNING: [core] [Channel #3 SubChannel #4] grpc: addrConn.createTransport failed to connect to {Addr: "api.netbird.io:443", ServerName: "api.netbird.io:443", }. Err: connection error: desc = "transport: Error while dialing: dial: dial tcp 35.186.199.111:443: connect: invalid argument"
2024/05/13 04:14:13 INFO: [core] [Channel #3 SubChannel #4] Subchannel Connectivity change to TRANSIENT_FAILURE, last error: connection error: desc = "transport: Error while dialing: dial: dial tcp 35.186.199.111:443: connect: invalid argument"
2024/05/13 04:14:13 INFO: [core] pickfirstBalancer: UpdateSubConnState: 0x34777d0, {TRANSIENT_FAILURE connection error: desc = "transport: Error while dialing: dial: dial tcp 35.186.199.111:443: connect: invalid argument"}
2024/05/13 04:14:17 INFO: [core] [Channel #3 SubChannel #4] Subchannel Connectivity change to IDLE, last error: connection error: desc = "transport: Error while dialing: dial: dial tcp 35.186.199.111:443: connect: invalid argument"
2024/05/13 04:14:17 INFO: [core] pickfirstBalancer: UpdateSubConnState: 0x34777d0, {IDLE connection error: desc = "transport: Error while dialing: dial: dial tcp 35.186.199.111:443: connect: invalid argument"}
2024/05/13 04:14:17 INFO: [core] [Channel #3 SubChannel #4] Subchannel Connectivity change to CONNECTING
2024/05/13 04:14:17 INFO: [core] [Channel #3 SubChannel #4] Subchannel picks a new address "api.netbird.io:443" to connect
2024/05/13 04:14:17 INFO: [core] pickfirstBalancer: UpdateSubConnState: 0x34777d0, {CONNECTING }
2024-05-13T04:14:17Z ERRO util/grpc/dialer.go:33: Failed to dial: dial: dial tcp 35.186.199.111:443: connect: invalid argument
2024/05/13 04:14:17 INFO: [core] Creating new client transport to "{Addr: "api.netbird.io:443", ServerName: "api.netbird.io:443", }": connection error: desc = "transport: Error while dialing: dial: dial tcp 35.186.199.111:443: connect: invalid argument"
2024/05/13 04:14:17 WARNING: [core] [Channel #3 SubChannel #4] grpc: addrConn.createTransport failed to connect to {Addr: "api.netbird.io:443", ServerName: "api.netbird.io:443", }. Err: connection error: desc = "transport: Error while dialing: dial: dial tcp 35.186.199.111:443: connect: invalid argument"
2024/05/13 04:14:17 INFO: [core] [Channel #3 SubChannel #4] Subchannel Connectivity change to TRANSIENT_FAILURE, last error: connection error: desc = "transport: Error while dialing: dial: dial tcp 35.186.199.111:443: connect: invalid argument"
2024/05/13 04:14:17 INFO: [core] pickfirstBalancer: UpdateSubConnState: 0x34777d0, {TRANSIENT_FAILURE connection error: desc = "transport: Error while dialing: dial: dial tcp 35.186.199.111:443: connect: invalid argument"}
2024/05/13 04:14:18 INFO: [core] [Channel #3] Channel Connectivity change to SHUTDOWN
2024/05/13 04:14:18 INFO: [core] [Channel #3] ccBalancerWrapper: closing
2024/05/13 04:14:18 INFO: [core] [Channel #3] Closing the name resolver
2024/05/13 04:14:18 INFO: [core] [Channel #3 SubChannel #4] Subchannel Connectivity change to SHUTDOWN
2024/05/13 04:14:18 INFO: [core] [Channel #3 SubChannel #4] Subchannel deleted
2024/05/13 04:14:18 INFO: [core] [Channel #3] Channel deleted
2024-05-13T04:14:18Z ERRO management/client/grpc.go:68: failed creating connection to Management Service context deadline exceeded
2024-05-13T04:14:18Z ERRO client/internal/login.go:96: failed connecting to the Management service https://api.netbird.io:443 context deadline exceeded
2024-05-13T04:14:18Z WARN client/cmd/root.go:214: retrying Login to the Management service in 2.018719926s due to error context deadline exceeded`
ping api.netbird.io PING api.netbird.io (35.186.199.111): 56 data bytes 64 bytes from 35.186.199.111: seq=0 ttl=114 time=11.965 ms 64 bytes from 35.186.199.111: seq=1 ttl=114 time=12.270 ms 64 bytes from 35.186.199.111: seq=2 ttl=114 time=12.027 mscat /etc/resolv.conf search lan nameserver 127.0.0.1 nameserver ::1I was thinking it could be caused by DNS , but It is able to resolve the api link just fine.
I tried to get help in the slack but not results.
Any suggestions?
@beastma commented on GitHub (May 13, 2024):
update:
Installed netbird verions 0.17.0 and worked right away, so apparently was a issue with previous mentioned version.
@ecker00 commented on GitHub (May 23, 2024):
Might be affected by this as well, or it might be slightly different issue. All Proxmox PVE and PBS instances will eventually disconnect from peers, or end up with
Error: unable to get daemon status: rpc error: code = FailedPrecondition desc = failed connecting to Management Service : context deadline exceededafter being connected for a while. Bringing it down and up solves it for an undefined amount of time before the issue returns (sometimes takes a day, or about an hour).So far I've just setup a cronjob
*/20 * * * * /usr/bin/netbird down && /usr/bin/netbird upwhich seems to keep things connected.Tested on 4 different PVE hosts (v7.x and v8.x) and 3 different PVB instances (v2.x and v3.x) and they all suffer from this. Does not seem to affect other servers we got.
@ZabotoBlack commented on GitHub (Jun 21, 2024):
Hi, I also had an issue with registration I used a Proxmox Ubuntu LXC and installed the latest netbird client version.
There was only this one line in the client.log: " ERRO management/client/grpc.go:287: failed while getting Management Service public key: rpc error: code = Unimplemented desc = unexpected HTTP status code received from server: 404 (Not Found); transport: received unexpected content-type "text/html" "
The other log files were all empty.
I deleted the LXC and created a new one and everything worked fine with the registration.
PS: This comment is just to let you know about the error. Reach out to me if you need further information.
@khanfarhan10 commented on GitHub (Jul 8, 2024):
I'm facing the same on version
0.27.10@Stunt0265 commented on GitHub (Jul 18, 2024):
Having the same issue on Zorin OS 17.1
@nazarewk commented on GitHub (Sep 3, 2024):
possibly related to #2116 as https://github.com/netbirdio/netbird/issues/1048#issuecomment-2106635400 mentions the
invalid argumenterror during connecting to API server@dillfrescott commented on GitHub (Oct 18, 2024):
Same issues on archlinux on a laptop:
Using official api
EDIT: Was not fixed with a reboot, only temporarily.
@abewartech commented on GitHub (Oct 27, 2024):
You've already stopped the service, but you can confirm it’s inactive with:
Use these commands to remove Netbird’s files and directories:
If you used apt to install Netbird, you can also remove it with:
sudo apt remove netbird -y4. Reinstall Netbird
Now, reinstall Netbird:
Finally, start Netbird again:
sudo netbird upWorked for me
@szEvEz commented on GitHub (Dec 5, 2024):
Same Issue on AlmaLinux 9.5, we had to pin to
0.26.3@s0me1newithhand7s commented on GitHub (Jan 12, 2025):
Same on NixOS 25.05,
@s0me1newithhand7s commented on GitHub (Jan 19, 2025):
funny enough, but setting up custom DNSes helped with this issue on my side
@andiikaa commented on GitHub (Mar 19, 2025):
@abewartech solution worked for me only for the login part with a setup key.
sudo netbird upstill fails to connect withWe are also stuck with
0.26.3for quite a time .@sleb23 commented on GitHub (Mar 27, 2025):
Just in case it helps anyone else - I'm self-hosting using SWAG/Nginx, and I was having this same issue all of a sudden. However, I noticed that my 'netbird' subdomain wasn't getting included during my cert generation, but it was present in my SWAG docker compose file. In my case, my Ansible playbook brought up the Netbird containers before rebuilding SWAG; so without the <netbird.domain> cert, the gRPC comms weren't making it to management or the service couldn't respond.
The fix for me was to `docker compose down' on both Netbird and SWAG, then 'docker compose up -d' on SWAG, then the same on Netbird - basically just ensured the cert was proper.
@Luk1e commented on GitHub (Mar 28, 2025):
The issue occurs when you shut down your PC without disconnecting NetBird. On some PCs, this causes problems where the state file becomes corrupted. The corrupted state file leads to errors and NetBird failing to work as expected.
Steps to reproduce:
Affected Files:
You can find the state file and related files on Windows at:
C:\ProgramData\NetbirdThe four files present are:
Error:
When the issue occurs, you will see errors in the
netbird.errfile, and thestate.jsonfile will be corrupted.Solution:
Delete all files in the
C:\ProgramData\Netbirdfolder.Run the following commands:
Important: To start NetBird, you have two options:
You must log in using SSO (e.g., Google) first. This is crucial because only logging in via SSO creates the correct state.json file, which is why the error persists otherwise.
@trevorijones commented on GitHub (May 3, 2025):
Having the same issue on OpenWrt 22.03.4 (adapt to your arch):
@HaleTom commented on GitHub (Jun 27, 2025):
I had a very similar problem.
Service startup:
And when trying:
Work around: delete:
/etc/netbird/main.jsonPerhaps there could be some output that directs people to this file, or the credentials within it?
@nazarewk commented on GitHub (Jun 27, 2025):
@HaleTom it's described in https://docs.netbird.io/how-to/troubleshooting-client#client-login-failures
Sounds like a good idea if it's possible to detect at all, I'll check in with the team.