Flatpak update kills network

Hello!

I started using EndeavourOS some weeks ago and had a pretty good start so far.
Because there is not good support for Linux when using Nvidia GeForce Now i was using Windows again for half a week (Dual Boot).

Today i came back and did my usual sudo pacman -Syyu after start up.
When finished i continued with flatpak update.

When flatpak began to pull the first package the wired connection just stopped working out of nowhere. While NetworkManager states that i have the physical connection, it cannot get an IP-address. I can’t even connect to the router. Using a static address does also not help. sudo systemctl restart NetworkManager did not help to get it back working again.
Restarting the pc does help getting the network back but as soon as i try to use flatpak update again, the connection will stop working.

Using sudo systemctl stop firewalld while updating does also not help.
When using journalctl -u firewalld -f and journalctl -u NetworkManager -f in separate tabs while doing the update (after a restart), i see no new entry when networks start to stop.
I also looked into sudo dmesg and did not find anything giving me a hint.

I have no clue what i’m doing wrong or where to look next. It feels strange that a simple flatpak update kills my connection, never had that before. I would be very happy if someone could try to help me getting this fixed :slight_smile:

You just run that command or does it actually update always a specific flatpak application?
In KDE system settings you could check in flatpak kcm under “advanced” how each flatpak app interacts with the system.

Can you share what flatpaks you have installed?

You can run flatpak list

I added a screenshot of the output from flatpak list:

1 Like

I don’t know what happened, but i re-run flatpak update to take a screenshot for the answer.
Before posting here i did re-run it so many times and did several restarts. Since, i have changed nothing on the system, just left my pc running while doing some work. Now it suddenly completed without dropping network and the issue is gone. I feel stupid now. :smiley:

To answer your question:
It had ~20 updates to do at every run. Since no update could complete, this was for every run.
The problem started always at the very first package (In downloading stage) an it was this package:
*org.freedesktop.Platform.GL.default * (24.08)

The percentage of downloading varied but as soon as network dropped every package download timed out. After some time.

I will wait for a day or two fro some new updates to appear now that the problem somehow is solved by itself. So i can check if i run into it again and i will close this topic if not.

Thank you!

you have 100 entries which means you have 3 actual packages since 40 things attach themself to each package (all hyperbole but true nonetheless). this company is going bats*** crazy with the freedesktop stuff…I have 3 packages and multiple freedesktop stuffs get updated almost daily…

in fact my flatpak life has gotten 10X more bloated and 10X busier and I have no idea what is going on in Flathub world since I don’t follow everything but this has mostly nothing to do with your issue since I digress…

not a flatpak problem by any stretch, but I don’t know why your update is getting timed out…but since your problem disappeared maybe you had an ISP hiccup or a service that went to disabled to enabled. edit: changed word

Flatpak update runs process /usr/bin/flatpak which connects to 146.75.121.91 (dl.flathub.org):443
You would need to check that IP connection with tool nmap or hping, assuming your local network works ok. And assuming that flathub.org does not temporarily ban because of excessive IP traffic.

I personally never experience any time out issue with dl.flathub.org.