netbirdio / netbird

Connect your devices into a secure WireGuard®-based overlay network with SSO, MFA and granular access controls.
https://netbird.io
BSD 3-Clause "New" or "Revised" License
10.61k stars 474 forks source link

netbird client disappears from top bar of Mac OS #2250

Open gecube opened 2 months ago

gecube commented 2 months ago

Hi!

When extensively working with Netbird for a long time, I noticed many times, that it suddenly disappears from top bar of Mac OS. Looks like:

Screenshot 2024-07-03 at 07 57 21

One may see that there is no Netbird icon.

It should look like:

Screenshot 2024-06-28 at 16 11 35

or netbird icon should be orange (active). But I see otherwise.

After that when I click on NetBird application - it does not appear in top bar, but focus is jumping back to Finder window. It is very weird. But it helps to restart the laptop - then again everything is fine.

mlsmaycon commented 2 months ago

@gecube can you confirm if the app is visible after closing some of the other apps in the top bar?

gecube commented 2 months ago

@mlsmaycon Hi! Thanks for the question. No, I can't confirm it.

mlsmaycon commented 2 months ago

To clarify, you removed the other apps and NetBird wasn't visible?

gecube commented 2 months ago

@mlsmaycon yes, removing of other apps don't help.

https://youtu.be/c30GlsCws4E

gecube commented 2 months ago

Hi! Stuck by the same issue.

The connectivity is present. The icon in toolbar is not showing:

Screenshot 2024-07-17 at 09 09 54
ps aux | grep netbird 
george           81289   0.0  0.0 410734288   1504 s001  S+    9:10AM   0:00.00 grep netbird
root             80727   0.0  0.2 412034272  73440   ??  Ss    9:08AM   0:00.60 /usr/local/bin/netbird service run --config /etc/netbird/config.json --log-level info --log-file /var/log/netbird/client.log
root             80369   0.0  0.0 410865392   6464   ??  S     8:43AM   0:00.37 curl -L https://github.com/netbirdio/netbird/releases/download/v0.28.4/netbird_0.28.4_darwin_arm64.pkg -o /tmp/netbird-latest.pkg
root             80365   0.0  0.0 410592928   1056   ??  S     8:43AM   0:00.05 tee -a /var/log/netbird_vpn-install.log
gecube commented 2 months ago

When running UI client manually - it appears again.

Screenshot 2024-07-17 at 09 10 54 Screenshot 2024-07-17 at 09 10 51
ps aux | grep netbird
george           81335   0.0  0.0 410724048   1312 s001  S+    9:11AM   0:00.00 grep netbird
george           81313   0.0  0.2 413096688  61952   ??  S     9:10AM   0:00.36 /Applications/NetBird.app/Contents/MacOS/netbird-ui
root             80727   0.0  0.2 412034272  73712   ??  Ss    9:08AM   0:00.78 /usr/local/bin/netbird service run --config /etc/netbird/config.json --log-level info --log-file /var/log/netbird/client.log
root             80369   0.0  0.0 410865392   6464   ??  S     8:43AM   0:00.38 curl -L https://github.com/netbirdio/netbird/releases/download/v0.28.4/netbird_0.28.4_darwin_arm64.pkg -o /tmp/netbird-latest.pkg
root             80365   0.0  0.0 410592928   1056   ??  S     8:43AM   0:00.06 tee -a /var/log/netbird_vpn-install.log

Looks that for some reason NetBird.app is shut downing...

fre4ki commented 1 month ago

Hey guys,

any news on this? I have the same issue. Any workarround? I cannot edit my URLs for self-hosted.