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




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:

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...
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...
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 ...
polybar Cannot open shared object file
I was able to solve this on Arch 5.2.14-arch2-1-ARCH using yay I simply ran yay -S polybar waiting f...
polybar Polybar Dependency
For a quick fix it worked for me to just symlink Polybar requires jsoncpp to run Recently jsoncpp se...
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...
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...
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...
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...
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...
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...
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...
matplotlib ImportError: No module named artist
Your installation is broken reinstalling mpl via conda If this does not work try the mpl user mailin...
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...
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...
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 ...
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 ...
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...
peek Provide Snap package
I have releases Peek 1.1.0 and with it finally a stable Snap package The newest install instructons ...
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...
sway Load custom xkb keymap
Local user settings for keyboard layouts can be stored in ~/.xkb/symbols/ and then loaded by their n...
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...
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...
x11docker Support for webcam sharing
Good news! cheese now runs without a privileged setup I found in #86 that cheese and gnome-ring need...
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...
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...