netbird icon indicating copy to clipboard operation
netbird copied to clipboard

iOS App Stuck at Connecting

Open peterparkero opened this issue 1 year ago • 9 comments

Describe the problem

Upon clicking "Connect", and after logging in successfully, the app gets stuck as "Connecting" with regularly reattempts to login in pop-up, only to reappear as login successful.

To Reproduce

Steps to reproduce the behavior:

  1. Open Netbird iOS App
  2. Click on "Connect" in middle
  3. Wait for login popup
  4. Login
  5. Wait for login success page
  6. Close login popup
  7. Shows "Connecting..."
  8. After around 2-3 minutes, login popup reappears but with "login success page", and login popup closes automatically
  9. Continues to show "Connecting..."
  10. Repeat 8 and 9

Expected behavior

Shows connected after Step 7

Are you using NetBird Cloud?

Yes

NetBird version

NetBird Cloud

NetBird status -d output:

Netbird Cloud

Screenshots

https://github.com/user-attachments/assets/5bc761d2-be89-4303-aacc-ace2720d1ce6 Showing steps 2 - 7 due to file size limit

Additional context

NA

peterparkero avatar Jul 29 '24 01:07 peterparkero

Hello @peterparkero In the Advanced menu you can find a Enable Trace logs option and the ShareLogs button. Could you send me the logs after an unsuccessful connection attempt?

pappz avatar Jul 29 '24 11:07 pappz

netbird-log.txt

2024-08-03T00:47:57Z ERRO management/client/grpc.go:349: failed to login to Management Service: rpc error: code = PermissionDenied desc = no peer auth method provided, please use a setup key or interactive SSO login

I have logged in via email and password, and log in was successful as shown in above screen capture.

peterparkero avatar Aug 03 '24 01:08 peterparkero

Still an issue on every iOS device tested. iOS 17 and iOS 18

As above, log shows "no peer auth method provided" - and of course peer auth is a business-only feature.

The iOS app also doesn't work with setup keys - always says the key is invalid.

Kind of a bummer, as iOS is literally 100% of my use-case for Netbird.

HVR88 avatar Sep 18 '24 15:09 HVR88

Same problem here: Can't connect to the Netbird Cloud via iOS App - using iOS 17.7.

Trace Log:

2024-10-06T18:17:14Z DEBG client/internal/login.go:93: connecting to the Management service https://api.netbird.io:443
2024-10-06T18:17:14Z DEBG client/internal/login.go:34: connected to the Management service https://api.netbird.io:443
2024-10-06T18:17:14Z ERRO management/client/grpc.go:349: failed to login to Management Service: rpc error: code = PermissionDenied desc = no peer auth method provided, please use a setup key or interactive SSO login

I used the self hosted version before and had absolutely no problem to connect to my own Server with the iOS App.

I cant't belive that this issue doesn't get more attention as this is one of the official supported clients to connect to the Netbird Cloud.

maxus-git avatar Oct 06 '24 18:10 maxus-git

I ran into a similar issue with self-hosted. It worked initially, then disconnected, added more server/desktop systems and was then unable to reconnect the iOS devices.

Wasted too much time on this and have since moved to Headscale and Tailscale - not looking back.

HVR88 avatar Oct 06 '24 18:10 HVR88

Tried again a few minutes ago and it seems to work now. Maybe the new 0.30.x Release? Can someone else give it a try?

maxus-git avatar Oct 12 '24 09:10 maxus-git

Hello @peterparkero,

We're currently reviewing our open issues and would like to verify if this problem still exists in the latest NetBird version.

Could you please confirm if the issue is still there?

We may close this issue temporarily if we don't hear back from you within 2 weeks, but feel free to reopen it with updated information.

Thanks for your contribution to improving the project!

nazarewk avatar Apr 28 '25 15:04 nazarewk

I have a smiliar issue but for me the login popup is not even showing up and the share logs button is not working ....

MassimoDeiana avatar May 29 '25 09:05 MassimoDeiana

Tried on another IOS device and I found out that actually if you have a VPN profile (even one that has nothing to do with netbird), the Netbird app won't ask for permission to create a VPN profile and then it just doesn't try to connect and you don't have any errors, warning or anything. Not really user friendly, but at least I know what to look for

MassimoDeiana avatar May 29 '25 09:05 MassimoDeiana

I have a smiliar issue but for me the login popup is not even showing up and the share logs button is not working ....

This is happening to me and its mid August. No prompt to log in. I hit connect, allow VPN and then nothing happens.

Edit: Turns out my iOS 26 beta firmware was causing issues... Had to disable passcode and face id to allow new vpn configs.

tazmoffatt avatar Aug 13 '25 00:08 tazmoffatt