Skip to content
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

iPhone app loose connection #3130

Open
signmeuptwice opened this issue Dec 30, 2024 · 4 comments
Open

iPhone app loose connection #3130

signmeuptwice opened this issue Dec 30, 2024 · 4 comments

Comments

@signmeuptwice
Copy link

signmeuptwice commented Dec 30, 2024

Describe the problem

iPhone is connected then goes to sleep.
wake iphone and it is not connected anymore; all network is gone.
app says disconnected, click reconnect and it does not work.
close the app and reopen it; still cannot connect
Server says peer is connected but it is not..
in the app I tap multiple times fast on the connect button and somehow get a "disconnecting"
iphone disconnects then I can reconnect.

To Reproduce
connect and let phone go to sleep
does not happen all the time.

Expected behavior
connection still alive

Are you using NetBird Cloud?
no, self hosted

NetBird version
0.3.5.1
iphone version is dev 0.35.0-dev

not sure how I can provide logs from the iphone app ? Or I get them from the server ? Im using the install script from the doc

@jiangslee
Copy link

#1899 (comment)

How many peers you have?

I currently limit the number of peers that can connect to each other through policies to ensure that Netbird can be used temporarily under iOS.

@signmeuptwice
Copy link
Author

I have 7 peers total. It seems that the issue is much more prominent when using the new Networks feature for me.
Here is my testing so far.
Networks alone -> I would say not working; disconnects all the time when it manages to find the networks
Network Routes alone -> solid but still issues from time to time
both Network Routes and Networks -> seems same as previous; like Networks as no effect

@jiangslee
Copy link

#2340 (comment)

try to export the trace logs?

@carsten-re
Copy link

Hi @jiangslee,
I'm encountering the same issue.
Netbird is running on 0.35.2 and iOS client is on latest 0.34.0.
I'll attach the trace logs from my device, there are several issues. One example:
2025-01-02T15:07:56Z ERRO client/internal/rosenpass/netbird_handler.go:73: Failed to get WireGuard device: file does not exist
2025-01-02T15:07:56Z DEBG client/internal/rosenpass/netbird_handler.go:61: Handshake expired

When the connection is not working, the App still shows, that it is "Connected".
netbird-log.txt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants