SolvedWaybar Network sometimes shows as disconnected when it's not

I often get the network shown as Disconnected when it's actually not. Restarting waybar fixes it. Let me know what kind of information you need to debug this.

24 Answers

✔️Accepted Answer

I've been able to reproduce this reliably.

System: Arch Linux, systemd-networkd, iwd

/etc/systemd/network/25-wireless.network:

[Match]
Name=wlan0

[Network]
DHCP=yes

Steps to reproduce:

  1. Connect to network A: iwctl station wlan0 connect A
  2. Connect to network B: iwctl station wlan0 connect B
  3. Restart waybar. At this point, the network B should be shown by the Network module.
  4. Connect back to network A: iwctl station wlan0 connect A. The network module will now show a disconnected state.

The problem can be temporarily resolved by either:

  • Restarting waybar
  • Restarting systemd-networkd: systemctl restart systemd-networkd.service

Running waybar with --log-level trace reveals nothing about the bug.

Other Answers:

It seems like #354 came back. I'm also experiencing this.

Experiencing the same issue, but on my end, it seems related to multihead and/or sleep. Whenever I come back from sleep, the status shows disconnected until I reload sway, and sometimes, one of the screen shows my SSID while the other shows up disconnected.

Related Issues:

7
Waybar Network sometimes shows as disconnected when it's not
I've been able to reproduce this reliably System: Arch Linux systemd-networkd I often get the networ...
71
polybar Dropping Unmatched Character
OK after quite a while fighting with this I've managed to get rid of the warnings On my (Arch) box s...
25
polybar GCC 7.1.0 Build Errors
A good workaround for that one is to use Clang for the time being Just add Into the build() section ...
24
polybar Cannot open shared object file libjsoncpp.so
I was able to solve this on Arch 5.2.14-arch2-1-ARCH using yay I simply ran yay -S polybar waiting f...
19
polybar Polybar Dependency
For a quick fix it worked for me to just symlink Polybar requires jsoncpp to run Recently jsoncpp se...
17
polybar Building from AUR: Missing required python module: xcbgen
Not sure if this has been logged elsewhere I was trying to rebuild polybar with pacaur because the n...
13
polybar Reload running polybar instance in-place
You can issue the command polybar-msg cmd restart which will restart all the bars So you can call th...
12
polybar Cannot finish make install (Ubuntu 18.04)
So taking the ownership comments into account I managed to finally build the polybar with the follow...
175
matplotlib 'NSWindow drag regions should only be invalidated on the Main Thread!' - macos/python
If you are running a webserver and using it to save Matplotlib make sure to set the backend to a non...
118
matplotlib Getting "No module named '_tkinter'" error
Oh that is easy to fix then If you didn't install tk in your python then you can not use the tk back...
72
matplotlib Segmentation fault (core dumped) when import matplotlib.pyplot
@arisliang See this section in the documentation :) The easiest way might be After updates of basica...
21
matplotlib error import matplotlib.pyplot as plt
This is what I did on Windows to make pyplot work pip uninstall matplotlib python -m pip install --u...
16
matplotlib ImportError: No module named artist
Your installation is broken reinstalling mpl via conda If this does not work try the mpl user mailin...
13
matplotlib Installation on CentOS using pip in virtualenv
These commands worked for me on a fresh CentOS 7 container: Bug summary running pip install matplotl...
12
matplotlib plt.plot() terminating with uncaught exception of type NSException
If I try to use Qt5Agg I get the following error: However quite surprisingly if I explicitly tell ma...
63
peek convert fails due to resource limits
I think I've found the issue or at least a workaround Hi I'm on Debian with version below ...
27
peek mouse/interaction with recording area on i3
So the way to do it is to make both peek and the window you're trying to capture into floating mode ...
18
sway Layout save/restore
I would consider a patch but I'm not interested in doing this myself and I'm worried about the compl...
9
peek Provide Snap package
I have releases Peek 1.1.0 and with it finally a stable Snap package The newest install instructons ...
7
sway Wayland compositor does not work with Firefox
I have an issue with Alt+[1-9] not switching tabs (and just typing [1-9]) using latest Nightly + swa...
4
sway Load custom xkb keymap
Local user settings for keyboard layouts can be stored in ~/.xkb/symbols/ and then loaded by their n...
3
ksnip Drag and Drop from ksnip to other applications
This is now implemented with Left Mouse+Shift When taking screenshot it apears in the ksnipwindow an...
3
x11docker orchestrating x11docker docker-compose?
you must get tired of people calling you a genius...! here is the d-c file that worked: I just lifte...
3
x11docker Support for webcam sharing
Good news! cheese now runs without a privileged setup I found in #86 that cheese and gnome-ring need...
3
peek Doesn't launch from applicatoin menu in Fedora 23
By the way if anyone wants to package it here is the SPEC file. Fedora 23 - Gnome Can launch from CL...
3
sway Issues with osu! - pen jumps on click
So I think I may have found the issue However I'm not sure how to solve it Tablet tools use absolute...