IOS client unable to login #2232

Closed
opened 2025-11-20 07:06:15 -05:00 by saavagebueno · 1 comment
Owner

Originally created by @Sonlis on GitHub (Aug 27, 2025).

Describe the problem

On an IOS phone, the client is not able to login. When changing server to target a selfhosted one, the change server buttons never works.
We can see in the nginx logs the following:

192.168.188.132 - - [27/Aug/2025:16:23:33 +0000] "POST /management.ManagementService/GetServerKey HTTP/2.0" 200 60 "-" "grpc-go/1.64.1"
192.168.188.132 - - [27/Aug/2025:16:23:33 +0000] "POST /management.ManagementService/GetDeviceAuthorizationFlow HTTP/2.0" 200 243 "-" "grpc-go/1.64.1"

And in the management logs:

2025-08-27T16:28:39Z INFO ./caller_not_available:0: 2025/08/27 16:28:39 INFO: [transport] [server-handler-transport 0xc0007d0000] Closing: finished writing status
2025-08-27T16:28:39Z INFO ./caller_not_available:0: 2025/08/27 16:28:39 INFO: [transport] [server-handler-transport 0xc0007d01a0] Closing: finished writing status

This 8 times, before it times out and the app reports impossible to connect to server
An android client does not have the same problem, but it requests another endpoint:

192.168.188.134 - - [27/Aug/2025:16:31:18 +0000] "POST /management.ManagementService/GetServerKey HTTP/2.0" 200 61 "-" "grpc-go/1.64.1"
192.168.188.134 - - [27/Aug/2025:16:31:18 +0000] "POST /management.ManagementService/GetPKCEAuthorizationFlow HTTP/2.0" 200 307 "-" "grpc-go/1.64.1"

It succeeds with Server was changed
To Reproduce

Steps to reproduce the behavior:

  1. Install the IOS app
  2. Change server in Change server
  3. Input a self hosted url
  4. It timesout

Expected behavior

The IOS client should be able to change server.

0.55.1

IOS app 0.0.9

Is any other VPN software installed?
No

Debug output
Can't get a debug from the phone, as it is not even connected to the server and the bundle shows nothing.
To help us resolve the problem, please attach the following anonymized status output

Have you tried these troubleshooting steps?

  • Reviewed client troubleshooting (if applicable)
  • [ X 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 @Sonlis on GitHub (Aug 27, 2025). **Describe the problem** On an IOS phone, the client is not able to login. When changing server to target a selfhosted one, the change server buttons never works. We can see in the nginx logs the following: ``` 192.168.188.132 - - [27/Aug/2025:16:23:33 +0000] "POST /management.ManagementService/GetServerKey HTTP/2.0" 200 60 "-" "grpc-go/1.64.1" 192.168.188.132 - - [27/Aug/2025:16:23:33 +0000] "POST /management.ManagementService/GetDeviceAuthorizationFlow HTTP/2.0" 200 243 "-" "grpc-go/1.64.1" ``` And in the management logs: ``` 2025-08-27T16:28:39Z INFO ./caller_not_available:0: 2025/08/27 16:28:39 INFO: [transport] [server-handler-transport 0xc0007d0000] Closing: finished writing status 2025-08-27T16:28:39Z INFO ./caller_not_available:0: 2025/08/27 16:28:39 INFO: [transport] [server-handler-transport 0xc0007d01a0] Closing: finished writing status ``` This 8 times, before it times out and the app reports impossible to connect to server An android client does not have the same problem, but it requests another endpoint: ``` 192.168.188.134 - - [27/Aug/2025:16:31:18 +0000] "POST /management.ManagementService/GetServerKey HTTP/2.0" 200 61 "-" "grpc-go/1.64.1" 192.168.188.134 - - [27/Aug/2025:16:31:18 +0000] "POST /management.ManagementService/GetPKCEAuthorizationFlow HTTP/2.0" 200 307 "-" "grpc-go/1.64.1" ``` It succeeds with Server was changed **To Reproduce** Steps to reproduce the behavior: 1. Install the IOS app 2. Change server in Change server 3. Input a self hosted url 4. It timesout **Expected behavior** The IOS client should be able to change server. **0.55.1** IOS app 0.0.9 **Is any other VPN software installed?** No **Debug output** Can't get a debug from the phone, as it is not even connected to the server and the bundle shows nothing. To help us resolve the problem, please attach the following anonymized status output **Have you tried these troubleshooting steps?** - [X] Reviewed [client troubleshooting](https://docs.netbird.io/how-to/troubleshooting-client) (if applicable) - [ X 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 2025-11-20 07:06:15 -05:00
Author
Owner

@Sonlis commented on GitHub (Aug 27, 2025):

After a lot of trials and errors, turns out the problem was that Authelia does not support the DeviceAuthorization config in management.json, removing it fixed the problem: https://github.com/authelia/authelia/discussions/7185#discussioncomment-11786203

@Sonlis commented on GitHub (Aug 27, 2025): After a lot of trials and errors, turns out the problem was that Authelia does not support the DeviceAuthorization config in management.json, removing it fixed the problem: https://github.com/authelia/authelia/discussions/7185#discussioncomment-11786203
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SVI/netbird#2232