Flatpak Flathub VPN

Is it normal I need to turn off my VPN to download apps from either of those? This is an example of the error I get. If I turn VPN off it downloads fine. Downloading from Fedora repo works fine.

While pulling runtime/org.freedesktop.Platform.Compat.i386/x86_64/25.08 from remote flathub: While fetching https://dl.flathub.org/repo/deltas/go/bcUgvppkZWcMZK6TmWXW1E55kYcez+B3vOA0MrUwY/3: [56] Failure when receiving data from the peer

Don’t know which VPN you use. I use NordVPN and I can just use it, no problems here.

I use ProtonVPN

Sorry, I have no experiences with ProtonVPN so I can’t help you any further.
Searches on internet only gave me that I can get the protonvpn flatpak on flathub, nothing about flathub not bin reachable with the vpn switched on.
Can you download packages from flathub when using the packagemanager in your distro?

Works fine here.

leigh@mpd-pc:~$ flatpak list
Name                                   Application ID                         Version  Branch       Installation
Shortwave                              de.haeckerfelix.Shortwave              5.1.0    stable       system
Mesa                                   org.freedesktop.Platform.GL.default    26.0.5   25.08        system
Mesa (Extra)                           org.freedesktop.Platform.GL.default    26.0.5   25.08-extra  system
Codecs Extra Extension                 org.freedesktop.Platform.codecs-extra           25.08-extra  system
GNOME Application Platform version 49  org.gnome.Platform                              49           system
GNOME Application Platform version 50  org.gnome.Platform                              50           system
Mint-Y-Dark-Aqua Gtk Theme             org.gtk.Gtk3theme.Mint-Y-Dark-Aqua              3.22         system
leigh@mpd-pc:~$ flatpak update
Looking for updates…


        ID                                          Branch            Op       Remote        Download
 1. [✓] org.freedesktop.Platform.GL.default         25.08             u        flathub         5.9 MB / 142.3 MB
 2. [✓] org.freedesktop.Platform.GL.default         25.08-extra       u        flathub         6.0 MB / 142.4 MB
 3. [✓] org.freedesktop.Platform.codecs-extra       25.08-extra       u        flathub       540.2 kB / 14.4 MB
 4. [✓] org.gnome.Platform.Locale                   49                u        flathub         1.5 kB / 385.9 MB
 5. [✓] org.gnome.Platform.Locale                   50                u        flathub         1.5 kB / 386.0 MB
 6. [✓] org.gnome.Platform                          50                u        flathub       304.5 kB / 408.9 MB
 7. [✓] org.gnome.Platform                          49                u        flathub         5.9 kB / 408.0 MB

Updates complete.
Updating appstream data for remote fedora
Updating appstream data for remote fedora-testing
Updating appstream data for remote flathub
leigh@mpd-pc:~$ nmcli |grep -i proton
proton0: connected to ProtonVPN UK#753
	"proton0"
	interface: proton0
	interface: proton0
leigh@mpd-pc:~$ 

It’s the same if I use Discover.


saraneth@fedora:~$ flatpak list
Name                    Application ID                     Version                  Branch      Installation
Discord                 com.discordapp.Discord             1.0.139                  stable      system
Heroic                  com.heroicgameslauncher.hgl        v2.22.0                  stable      system
ProtonPlus              com.vysp3r.ProtonPlus              0.5.20                   stable      system
Proton Mail             me.proton.Mail                     1.13.0                   stable      system
Freedesktop Platform    org.freedesktop.Platform           freedesktop-sdk-25.08.12 25.08       system
i386                    ….freedesktop.Platform.Compat.i386                          25.08       system
Mesa                    …g.freedesktop.Platform.GL.default 26.0.6                   25.08       system
Mesa (Extra)            …g.freedesktop.Platform.GL.default 26.0.6                   25.08-extra system
nvidia-595-71-05        …ktop.Platform.GL.nvidia-595-71-05                          1.4         system
Mesa                    …freedesktop.Platform.GL32.default 26.0.6                   25.08       system
nvidia-595-71-05        …op.Platform.GL32.nvidia-595-71-05                          1.4         system
Nvidia VAAPI driver     …freedesktop.Platform.VAAPI.nvidia                          25.08       system
Codecs Extra Extension  …freedesktop.Platform.codecs-extra                          25.08-extra system
GNOME Application Plat… org.gnome.Platform                                          50          system
Breeze GTK theme        org.gtk.Gtk3theme.Breeze           6.6.5                    3.22        system
KDE Application Platfo… org.kde.Platform                                            6.10        system
qBittorrent             org.qbittorrent.qBittorrent        5.2.0                    stable      system
saraneth@fedora:~$ flatpak update
Looking for updates…

Nothing to update.
Updating appstream data for remote fedora
saraneth@fedora:~$ flatpak install blender
Looking for matches…
Remotes found with refs similar to ‘blender’:

   1) ‘fedora’ (system)
   2) ‘flathub’ (system)

Which do you want to use (0 to abort)? [0-2]: 2
Similar refs found for ‘blender’ in remote ‘flathub’ (system):

   1) runtime/org.blender.Blender.Codecs/x86_64/stable
   2) app/org.blender.Blender/x86_64/stable

Which do you want to use (0 to abort)? [0-2]: 2

org.blender.Blender permissions:
    ipc      network      fallback-x11         pulseaudio      wayland
    x11      dri          file access [1]

    [1] /run/spnav.sock:ro, host


        ID                                  Branch          Op          Remote          Download
 1. [✓] org.blender.Blender.Codecs          stable          i           flathub         11.1 MB / 11.1 MB
 2. [✓] org.blender.Blender.Locale          stable          i           flathub          4.9 kB / 22.3 MB
 3. [✗] org.blender.Blender                 stable          i           flathub         59.8 MB / 494.0 MB

error: Failed to install org.blender.Blender: While pulling app/org.blender.Blender/x86_64/stable from remote flathub: While fetching https://dl.flathub.org/repo/deltas/m+/IAaD20rlbb18NfdUd3nLjayKOfEpcTEcbgkrdIHB8/2: [56] Failure when receiving data from the peer

Hi, I am also using proton VPN and I asked them why do Proton’s flatpak apps are not signed in flathub and they explained to me that flathub Proton apps cannot function properly, because they are placed in a restricted container and app cannot get required permissions and that it is just like an experiment to them. They recommend to install apps at the moment directly. For a VPN you can follow this link:
https://protonvpn.com/support/official-linux-vpn-fedora

Don’t use “System tray icon (optional)” unless your using gnome-shell, it requires gnome-shell.

Naa, it works perfectly fine for me with KDE

Yes, she is using KDE
Do not run this code:

sudo dnf install libappindicator-gtk3 gnome-shell-extension-appindicator gnome-extensions-app

Hmm, what is this urge I am feeling to run it?? xD

Have a look how Proton VPN is installed.
Installed as system, you might have access issues as mentioned.

 flatpak list |grep Proton
Proton VPN	com.protonvpn.www	4.16.2	stable	flathub	user

If you use the free proton vpn it can also be that you get blocked from some systems. They believe everyone who uses the free version is a malicious person.

It’s not that I cannot install protonvpn from flatpak/flathub. It’s that I cannot install anything else from flatpak/flathub while protonvpn is running.
I am also using the paid version.

I understood perfectly. Can you run the command I posted?
Look if you have the same version?

neth@fedora:~$  flatpak list |grep Proton
ProtonPlus      com.vysp3r.ProtonPlus   0.5.20  stable  system
Proton Mail     me.proton.Mail  1.13.0  stable  system

ProtonVPN is installed with file from proton website as it is missing features if not. The big one being Split Tunneling.

Yes, there is no split tunnelling feature in fedora’s version.
But as I understand now, you never used ProtonVPN app from the Flathub?
You installed it to the system?
If you would run
rpm -qa | grep proton
You should have these programs inside your system?

python3-proton-vpn-local-agent-1.6.2-1.fc44.x86_64
python3-proton-core-0.7.4-1.fc44.noarch
python3-proton-vpn-api-core-5.2.3-1.fc44.noarch
proton-vpn-daemon-0.13.7-1.fc44.noarch
proton-vpn-gtk-app-4.16.4-1.fc44.noarch
python3-proton-keyring-linux-0.2.1-1.fc44.noarch
proton-vpn-gnome-desktop-0.10.1-1.fc44.noarch
protonvpn-stable-release-1.0.4-1.noarch

if so, then I would try to contact proton company and ask them about the problem directly. It might be something specific about KDE.

This was an issue with the version installed from flathub too. It seems to be most servers, not all. Seems to maybe be flathub blocking ProtonVPN but I cannot know



neth@fedora:~$ rpm -qa | grep proton
proton-authenticator-1.1.5-1.x86_64
protonvpn-stable-release-1.0.4-1.noarch
python3-proton-vpn-local-agent-1.6.2-1.fc44.x86_64
python3-proton-core-0.7.4-1.fc44.noarch
proton-vpn-daemon-0.13.7-1.fc44.noarch
python3-proton-keyring-linux-0.2.1-1.fc44.noarch
proton-vpn-gnome-desktop-0.10.1-1.fc44.noarch
python3-proton-vpn-api-core-5.2.3-1.fc44.noarch
proton-vpn-gtk-app-4.16.4-1.fc44.noarch

That is what I said above.

So, system updates also do not work?
Try to ask them directly and post to us what they will reply.
Protonvpn Support

You might have to install it as user. Yours is installed as system.

Good idea watch with the support of them.