-
Notifications
You must be signed in to change notification settings - Fork 403
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ios-client cannot be in Connected state after switching to the background. #1899
Comments
Hello @jiangslee, this shouldn't be the case. To help us understand better the case, can you update the app to the latest version, enable trace logs, and export them by accessing the Advanced menu of NetBird's app? |
Hello @mlsmaycon, Thank you very much for paying attention to this problem of mine. I have updated to the latest version 0.0.4 and enabled Trace Logs, but I did not see any logs file. |
You need to click on share logs, that will let you choose a path in your device to store the logs which then you can use to share them with us. |
**choose a path in your device to store the logs ** |
@mlsmaycon I’ve sent you the log file on Slack |
Same problem. IOS app become quite unusable these days. I can't recall since when, maybe after upgrade IOS version to 17.4, connection will lost when netbird app are background. Repeat switch foreground reconnect and switch background auto disconnect 3 or 4 times, connection seems could stable for a while. Situation became worse recently, needs more retry. |
@KortanZ How many peers you have? I have sent the logs to the Netbird team via slack, hoping they can find a solution. In addition, I searched for relevant information. The possible reason is that network extension (tunnel) has memory limitations in iOS.
|
Really thanks for help! @jiangslee
total peers are around over 20, active peers may around 4 to 10. And i just upgrade ios to version 17.5, and situation is way much better. Connection will last a long period and only disconnet if app go background for quite a while. May be something wrong with my own server's reverse proxy configurition which cause gRPC timeout. I'm using Caddy with a really simple config. I'll use official nginx config to have a try to see if there any different happened. |
@pascal-fischer Thanks for your hard work. |
Describe the problem
Sorry for posting an issue here (the same issue has been posted in the ios-client repository).
After opening Netbird ios-client on my iPhone and switching to other apps, Netbird ios-client seems to automatically close and disconnect.
I don't find an option in the iPhone settings for the Netbird client to keep refreshing in the background. Sadly, this affects the network I use netbird on my iPhone.
I don’t know if anyone has encountered a similar situation.
How to solve it?
To Reproduce
Steps to reproduce the behavior:
Disconnected
Expected behavior
Netbird ios client can be in
Connected
state.Are you using NetBird Cloud?
self-host.
NetBird version
netbird version
ios-client 0.0.3
ios 17.4.1
NetBird status -d output:
Not applicable in ios-client
Screenshots
20230329netbird-ios-client-issue1899.mp4
Additional context
netbirdio/ios-client#9
The text was updated successfully, but these errors were encountered: