Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"No active internet connection" in Parabolic #518

Closed
TreeTox opened this issue Aug 5, 2023 · 49 comments · Fixed by #527
Closed

"No active internet connection" in Parabolic #518

TreeTox opened this issue Aug 5, 2023 · 49 comments · Fixed by #527
Labels
bug Something isn't working in-beta This issue is fixed in a beta version
Milestone

Comments

@TreeTox
Copy link

TreeTox commented Aug 5, 2023

Everything has been working fine. No config changes eg via Flatseal but since latest update, unable to download anything, with message, "No active internet connection"

sc

@nlogozzo
Copy link
Member

nlogozzo commented Aug 5, 2023

Are you running flatpak or snap?

Can you please run flatpak update to double check for am update as we released a patched version to fix this...

@nlogozzo
Copy link
Member

nlogozzo commented Aug 5, 2023

If your still facing issues, can you try V2023.8.1-beta1: https://github.com/NickvisionApps/Parabolic/releases/tag/2023.8.1-beta1

@TreeTox
Copy link
Author

TreeTox commented Aug 5, 2023

Thanks for getting back to me so fast!
Running a flatpak. Tried snap too - same message.
Also tried the beta, exactly the same.

sc2

@nlogozzo
Copy link
Member

nlogozzo commented Aug 5, 2023

Hmmm...what distro are you running? What version? Are you using a VPN or some other network?

@nlogozzo nlogozzo added the bug Something isn't working label Aug 5, 2023
@nlogozzo nlogozzo added this to the V2023.8.1 milestone Aug 5, 2023
@dtfleetwood
Copy link

Seeing this as well, on Fedora 38.

@nlogozzo
Copy link
Member

nlogozzo commented Aug 6, 2023

Seeing this as well, on Fedora 38.

GNOME or KDE?

@nlogozzo
Copy link
Member

nlogozzo commented Aug 6, 2023

@dtfleetwood Also are you using a VPN or something like that?

@dtfleetwood
Copy link

No VPN, wired network to router to internet.

@dtfleetwood
Copy link

Oh and Gnome, sorry I missed that question.

@nlogozzo
Copy link
Member

nlogozzo commented Aug 6, 2023

If your still facing issues, can you try V2023.8.1-beta1: https://github.com/NickvisionApps/Parabolic/releases/tag/2023.8.1-beta1

@dtfleetwood Could you try the beta as well?

@dtfleetwood
Copy link

Still no network.

@fsobolev
Copy link
Member

fsobolev commented Aug 6, 2023

Could you please run this command and provide the result?

dbus-send --system --type=method_call --dest=org.freedesktop.NetworkManager --print-reply /org/freedesktop/NetworkManager org.freedesktop.DBus.Properties.Get string:'org.freedesktop.NetworkManager' string:'State'

And also please enter the app's sandbox (I assume you use flatpak?)

flatpak run --command=sh org.nickvision.tubeconverter

and run the command above again.

@dtfleetwood
Copy link

Result from running outside the sandbox:

dbus-send --system --type=method_call --dest=org.freedesktop.NetworkManager --print-reply /org/freedesktop/NetworkManager org.freedesktop.DBus.Properties.Get string:'org.freedesktop.NetworkManager' string:'State'
method return time=1691358583.849314 sender=:1.22 -> destination=:1.8583 serial=232619 reply_serial=2
variant uint32 60

From inside the sandbox:

[📦 org.nickvision.tubeconverter ~]$ dbus-send --system --type=method_call --dest=org.freedesktop.NetworkManager --print-reply /org/freedesktop/NetworkManager org.freedesktop.DBus.Properties.Get string:'org.freedesktop.NetworkManager' string:'State'
method return time=1691358648.669602 sender=:1.22 -> destination=:1.8588 serial=232624 reply_serial=2
variant uint32 60

@fsobolev
Copy link
Member

fsobolev commented Aug 6, 2023

@dtfleetwood Thanks, this helps a lot

@dtfleetwood
Copy link

No problem! I installed the app for the first time just before I posted here. Happy to help out.

@nlogozzo
Copy link
Member

nlogozzo commented Aug 6, 2023

No problem! I installed the app for the first time just before I posted here. Happy to help out.

Yes, we know the fix now :) I'll try to get a beta out tonight so you can test and at least use the app!

@fsobolev fsobolev added the in-beta This issue is fixed in a beta version label Aug 6, 2023
@fsobolev
Copy link
Member

fsobolev commented Aug 6, 2023

@TreeTox If you will still have the problem in the new beta version feel free to reopen the issue and in that case please provide the output of the command I mentioned above.

@nlogozzo
Copy link
Member

nlogozzo commented Aug 6, 2023

https://github.com/NickvisionApps/Parabolic/releases/tag/2023.8.1-beta2

@dtfleetwood Please test and let us know how it goes :)

*Should be available through flathub-beta in the coming minutes...make sure your on the correct version before testing

@TreeTox
Copy link
Author

TreeTox commented Aug 6, 2023

I run NordVPN but I tried it with the VPN off, and the same message. No other settings, just vanilla Fedora 38 with no complex custom firewalls or blocks.

OS: Fedora Linux 38 (KDE Plasma) x86_64
Host: Inspiron 5405 1.7.0
Kernel: 6.4.7-200.fc38.x86_64
Uptime: 11 hours, 13 mins
Packages: 1 (dpkg), 2928 (rpm), 39 (flatpak), 27 (snap)
Shell: bash 5.2.15
Resolution: 2560x1080
DE: Plasma 5.27.6
WM: kwin
WM Theme: plastik
heme: [Plasma], Breeze [GTK2/3]
Icons: [Plasma], breeze-dark [GTK2/3]
Terminal: yakuake
CPU: AMD Ryzen 7 4700U with Radeon Graphics (8) @ 2.000GHz
GPU: AMD ATI 03:00.0 Renoir
Memory: 6913MiB / 15337MiB

@nlogozzo
Copy link
Member

nlogozzo commented Aug 6, 2023

I run NordVPN but I tried it with the VPN off, and the same message. No other settings, just vanilla Fedora 38 with no complex custom firewalls or blocks.

OS: Fedora Linux 38 (KDE Plasma) x86_64 Host: Inspiron 5405 1.7.0 Kernel: 6.4.7-200.fc38.x86_64 Uptime: 11 hours, 13 mins Packages: 1 (dpkg), 2928 (rpm), 39 (flatpak), 27 (snap) Shell: bash 5.2.15 Resolution: 2560x1080 DE: Plasma 5.27.6 WM: kwin WM Theme: plastik heme: [Plasma], Breeze [GTK2/3] Icons: [Plasma], breeze-dark [GTK2/3] Terminal: yakuake CPU: AMD Ryzen 7 4700U with Radeon Graphics (8) @ 2.000GHz GPU: AMD ATI 03:00.0 Renoir Memory: 6913MiB / 15337MiB

Thanks for the info...Please try beta2: https://github.com/NickvisionApps/Parabolic/releases/tag/2023.8.1-beta2

@TreeTox
Copy link
Author

TreeTox commented Aug 6, 2023

I run NordVPN but I tried it with the VPN off, and the same message. No other settings, just vanilla Fedora 38 with no complex custom firewalls or blocks.
OS: Fedora Linux 38 (KDE Plasma) x86_64 Host: Inspiron 5405 1.7.0 Kernel: 6.4.7-200.fc38.x86_64 Uptime: 11 hours, 13 mins Packages: 1 (dpkg), 2928 (rpm), 39 (flatpak), 27 (snap) Shell: bash 5.2.15 Resolution: 2560x1080 DE: Plasma 5.27.6 WM: kwin WM Theme: plastik heme: [Plasma], Breeze [GTK2/3] Icons: [Plasma], breeze-dark [GTK2/3] Terminal: yakuake CPU: AMD Ryzen 7 4700U with Radeon Graphics (8) @ 2.000GHz GPU: AMD ATI 03:00.0 Renoir Memory: 6913MiB / 15337MiB

Thanks for the info...Please try beta2: https://github.com/NickvisionApps/Parabolic/releases/tag/2023.8.1-beta2

Amazing - I can confirm the beta has now worked!
You guys have been very quick , very fast turnaround.

@nlogozzo
Copy link
Member

nlogozzo commented Aug 6, 2023

Amazing - I can confirm the beta has now worked!

Glad it works!!!

You guys have been very quick , very fast turnaround.

Thank you to all of you for using our apps and working with us to find these bugs and fix them :)

--

Stable release should be out by the end of the week

@dtfleetwood
Copy link

https://github.com/NickvisionApps/Parabolic/releases/tag/2023.8.1-beta2

@dtfleetwood Please test and let us know how it goes :)

*Should be available through flathub-beta in the coming minutes...make sure your on the correct version before testing

Can confirm it's working on my system! Sorry for the delay, I'm on Lisbon time. Great job and quick turnaround, thanks everyone!

@cassiofb-dev
Copy link

I'm with this issue, is this fix only in the beta?

@nlogozzo
Copy link
Member

nlogozzo commented Sep 3, 2023

@cassiofb-dev This was fixed in stable about a month ago....what version of Parabolic are you running? Is it the latest 2023.8.3?

@cassiofb-dev
Copy link

I think so, I just installed from flathub. I'll provide debug info bellow:

org.nickvision.tubeconverter
2023.8.3
GTK 4.10.4
libadwaita 1.3.3
Flatpak
yt-dlp 2023.07.06
psutil 5.9.5
ffmpeg version 6.0
aria2 version 1.36.0
en-US
LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=en_US.UTF-8

@fsobolev
Copy link
Member

fsobolev commented Sep 3, 2023

Could you please provide an output of commands I mentioned in this comment?

@nlogozzo
Copy link
Member

nlogozzo commented Sep 3, 2023

@cassiofb-dev Could you open the terminal and run these 2 commands and provide the output:

flatpak run --command=sh org.nickvision.tubeconverter
dbus-send --system --type=method_call --dest=org.freedesktop.NetworkManager --print-reply /org/freedesktop/NetworkManager org.freedesktop.DBus.Properties.Get string:'org.freedesktop.NetworkManager' string:'State'

This will tell us how Parabolic sees your internet connection...

@nlogozzo
Copy link
Member

nlogozzo commented Sep 3, 2023

Could you please provide an output of commands I mentioned in this comment?

Beat me too it 😅

@cassiofb-dev
Copy link

Okay, here is the output:

localhost:~$ flatpak run --command=sh org.nickvision.tubeconverter
[📦 org.nickvision.tubeconverter ~]$ dbus-send --system --type=method_call --dest=org.freedesktop.NetworkManager --print-reply /org/freedesktop/NetworkManager org.freedesktop.DBus.Properties.Get string:'org.freedesktop.NetworkManager' string:'State'
method return time=1693761470.055625 sender=:1.3 -> destination=:1.174 serial=332 reply_serial=2
   variant       uint32 50
[📦 org.nickvision.tubeconverter ~]$

@nlogozzo
Copy link
Member

nlogozzo commented Sep 3, 2023

@fsobolev ConnectedLocal...hmm

@cassiofb-dev Are you using a VPN or in an enterprise network or something?

@cassiofb-dev
Copy link

@fsobolev ConnectedLocal...hmm

@cassiofb-dev Are you using a VPN or in an enterprise network or something?

No, just normal network. Other flatpak apps can access internet (I'm using flatpak firefox too).

@nlogozzo
Copy link
Member

nlogozzo commented Sep 3, 2023

No, just normal network. Other flatpak apps can access internet (I'm using flatpak firefox too).

Ok, no worries. Just that your system reports the connection as a "local" connection instead of a "global" one....but no worries will be fixed in this week's stable release :) Use #569 to track

@cassiofb-dev
Copy link

No, just normal network. Other flatpak apps can access internet (I'm using flatpak firefox too).

Ok, no worries. Just that your system reports the connection as a "local" connection instead of a "global" one....but no worries will be fixed in this week's stable release :) Use #569 to track

Thanks, I use yt-dlp sometimes and a GUI would help me a lot 🙏

@cassiofb-dev
Copy link

@nlogozzo worked like a charm thanks!

image

@cassiofb-dev
Copy link

@nlogozzo sorry to trouble you again but the message is back.

@nlogozzo
Copy link
Member

@cassiofb-dev has anything about your internet connection changed? Ethernet to wifi? Start using a VPN?

@nlogozzo
Copy link
Member

CC @fsobolev

@cassiofb-dev
Copy link

No, just ethernet. A issue I'm also having now is with github.io domain but all other things in internet are ok.

@nlogozzo
Copy link
Member

Okay, here is the output:

localhost:~$ flatpak run --command=sh org.nickvision.tubeconverter
[📦 org.nickvision.tubeconverter ~]$ dbus-send --system --type=method_call --dest=org.freedesktop.NetworkManager --print-reply /org/freedesktop/NetworkManager org.freedesktop.DBus.Properties.Get string:'org.freedesktop.NetworkManager' string:'State'
method return time=1693761470.055625 sender=:1.3 -> destination=:1.174 serial=332 reply_serial=2
   variant       uint32 50
[📦 org.nickvision.tubeconverter ~]$

@cassiofb-dev could you run this command again and provide us with the new output

@cassiofb-dev
Copy link

Hmm... Strange, the output changed. Here is it:

[📦 org.nickvision.tubeconverter ~]$ dbus-send --system --type=method_call --dest=org.freedesktop.NetworkManager --print-reply /org/freedesktop/NetworkManager org.freedesktop.DBus.Properties.Get string:'org.freedesktop.NetworkManager' string:'State'
Failed to open connection to "system" message bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
[📦 org.nickvision.tubeconverter ~]$

@nlogozzo
Copy link
Member

@fsobolev Any idea what's going on?

@fsobolev
Copy link
Member

@fsobolev Any idea what's going on?

We use portal now instead of asking NetworkManager directly, the permission was removed because it's not needed anymore and so the old command doesn't give any result inside flatpak.
The portal doesn't give network status like NetworkManager does, GetAvailable returns only boolean whether the network is available, so we can't now control what state should be considered as available network.
I looked what it does under the hood, and it treats ConnectedLocal as no available network. No surprise, because according to docs it should indeed be treated like so.

There is only local IPv4 and/or IPv6 connectivity, but no default route to access the Internet. The graphical shell should indicate no network connectivity.

So from the start it's not the bug on our side, but it seems in network manager that gives ConnectedLocal status while there is a full internet connection.

@nlogozzo
Copy link
Member

@cassiofb-dev so then I'd open a bug here: https://gitlab.freedesktop.org/NetworkManager/NetworkManager and state that you have full network connectivity and access but NetworkManager is saying you are ConnectedLocal instead of ConnectedGlobal.

What does GNOME shell's network icon say in the top panel to the right? Does it show full connectivity?

@cassiofb-dev
Copy link

@nlogozzo I think you got the issue. Even Gnome can't use my network, its really strange because the browser and multiplayer games are fine:

image

@nlogozzo
Copy link
Member

@nlogozzo I think you got the issue. Even Gnome can't use my network, its really strange because the browser and multiplayer games are fine:

Yeah so you have internet it's just the NetworkManager is telling Parabolic and other system tools that you don't. Definitely open an issue for NetworkManager.

What distro are you using?

@nlogozzo
Copy link
Member

If anything however I will add a --nonetcheck argument that you can pass to Parabolic to bypass the network check which will still let you use the application.

Something like flatpak run org.nickvision.tubeconverter --nonetcheck

@cassiofb-dev
Copy link

@nlogozzo No need, the issue was on my side. Actually gnome network manager did not have permission to manage connection. I just give permissions following this guide https://wiki.debian.org/NetworkManager, it also works on alpine that also does not give permission.

Now it's working again, thanks for the patience 🙏

@nlogozzo
Copy link
Member

@nlogozzo No need, the issue was on my side. Actually gnome network manager did not have permission to manage connection. I just give permissions following this guide https://wiki.debian.org/NetworkManager, it also works on alpine that also does not give permission.

Now it's working again, thanks for the patience 🙏

Oh OK glad you got it fixed!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working in-beta This issue is fixed in a beta version
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants