GSConnect / gnome-shell-extension-gsconnect

KDE Connect implementation for GNOME
GNU General Public License v2.0
3.18k stars 255 forks source link

Browser extension totally broken 'Service unavailable' #1504

Closed dm30 closed 1 month ago

dm30 commented 1 year ago

ATTENTION: GSConnect only supports the latest, stable version of GNOME. We are no longer accepting bug reports for previous versions.

Everything works reasonably well but the browser extension for sharing links is totally broken. 'Service unavailable' I read in any browser, in Ubuntu or Windows or even Virtual machines. In Firefox, Chrome or any other browser packaged in any form. GSConnect or KDE connect. Doesn't make a difference. Stopped working at some point. Maybe with GNOME 43?

A clear and concise description of what the bug is.

Steps To Reproduce:

Click browser extension ---> returns 'Service unavailable' I don't know if related to Gnome Shell extension notice "your system native connector doesn't support API: v6"

Expected behavior

'Send' option to registered devices.

Screenshots

Support Log

Please generate a support log (Instructions) and paste any messages related to this issue between the two ``` lines below.

GSConnect: 54 (system)
GJS:       17400
Session:   x11
OS:        Ubuntu 22.10
--------------------------------------------------------------------------------
oct 29 22:03:03 kernel: Lockdown: systemd-logind: hibernation is restricted; see man kernel_lockdown.7
oct 29 22:03:05 systemd[1]: systemd-hostnamed.service: Deactivated successfully.
oct 29 22:03:06 gjs[19294]: Failed to load module "appmenu-gtk-module"
oct 29 22:03:06 dbus-daemon[1116]: [system] Activating via systemd: service name='org.freedesktop.hostname1' unit='dbus-org.freedesktop.hostname1.service' requested by ':1.267' (uid=1000 pid=19294 comm="gjs /usr/share/gnome-shell/extensions/gsconnect@an" label="unconfined")
oct 29 22:03:06 systemd[1]: Starting Hostname Service...
oct 29 22:03:07 dbus-daemon[1116]: [system] Successfully activated service 'org.freedesktop.hostname1'
oct 29 22:03:07 systemd[1]: Started Hostname Service.
oct 29 22:03:15 org.gnome.Shell.Extensions.GSConnect[8063]: [/service/device.js:sendPacket:449]: Nokia 9

System Details (please complete the following information):

Ubuntu 22.10 (GNOME 43). Firefox 106 and other up to date browsers.

Additional Notes:

I'll check Windows as well

Thank you very much Kind Regards

mattsches commented 1 year ago

It might be related to Firefox being installed as snap? Try

flatpak permission-set webextensions org.gnome.shell.extensions.gsconnect snap.firefox yes

If you don't have flatpak installed or want to know more about the specifics, read this for instructions and examples. There might be other documentation out there, but this post helped me fix it.

dm30 commented 1 year ago

Thank you. Firefox is installed as a native package. But happens in any format, any OS. I'm alone with this? Very weird.

thomasgauthier commented 1 year ago

I'm also experiencing this on Arch Linux with Gnome 43.3 and LibreWolf 110. It seems to work fine in Chromium.

Edit: Managed to get it working. LibreWolf needs some tweaks to work with native messaging.

diegonz commented 1 year ago
GSConnect: 55 (system)
GJS:       17600
Session:   x11
OS:        Ubuntu 23.04
-----------------------

Firefox as snap is working fine. Chrome 114.0.5735.133 showed service unavailable couple of times, now the icon is greyed out and not even clickable.

matteopaolucci commented 8 months ago

Same problem here, i have the flatpak version and i can send link from android to my laptop but i can not do the opposite. The extension after clicking on it shows: Service Unavailable.

NyllRE commented 1 month ago

Same problem but on Vivaldi Browser, Fedora (Nobara). everything is up to date

kachapman commented 1 month ago

Same problem, Brave browser. Tried the Gnome extension version and got the same error.

dm30 commented 1 month ago

Now works. I'll close it

NyllRE commented 1 month ago

@dm30 ??? image

niels0n commented 2 weeks ago

So, still no fix?