GSConnect/gnome-shell-extension-gsconnect

Sharing from Gnome GSConnect to Windows (11) doesn't work

KuramaSyu opened this issue · 5 comments

Describe the bug

Issue:
When sending an image from GSConnect to Windows, a popup pops up saying Failed to send <File> to <Device>. Sharing from Windows to Gnome works. Sharing from Gnome to Android also works.

Information:
My Gnome Version is 46.4 but I also had this issue with older versions for a long time now.
My current OS is arch, but iirc I also had this issue with nobara (fedora).

Other device information of the device running GSConnect:
CPU: 8-core AMD Ryzen 7 4800H with Radeon Graphics (-MT MCP-)
speed/min/max: 1431/1400/2900 MHz Kernel: 6.10.3-zen1-2-zen x86_64 Up: 11h 0m
Mem: 4.79/15 GiB (32.0%) Storage: 931.51 GiB (1.7% used) Procs: 405
Shell: fish inxi: 3.3.35

Steps to reproduce

  1. Make a fresh Arch install with Gnome and GSConnect
  2. Make a fresh Windows 11 install with KDE Connect
  3. Connect both devices
  4. try to share

Expected behavior

File is sent without error to Windows

GSConnect version

57

Installed from

Extension Manager

GNOME Shell version

No response

Linux distribution/release

No response

Paired device(s)

No response

KDE Connect app version

No response

Plugin(s)

No response

Support log

No response

Screenshots

No response

Notes

No response

@zp33dy

Just to complete the triangle, does sharing from Android to Windows work? (I'm wondering if perhaps it's a receive permission issue on the Windows side.)

If yes, then it's not a Windows issue, so could you please Generate a Support Log in GSConnect while attempting a Linux->Windows transfer, and then post the results?

I personally don't have any Windows 11 systems at all, never mind ones running kdeconnect, so there's no way for me to even attempt reproducing the issue locally.

This is the support log:

GSConnect: 57 (user)
GJS:       18002
Session:   wayland
OS:        Nobara Linux 40 (GNOME Edition)
--------------------------------------------------------------------------------
Sep 03 23:10:09 systemd[1]: Starting sysstat-collect.service - system activity accounting tool...
Sep 03 23:10:09 systemd[1]: sysstat-collect.service: Deactivated successfully.
Sep 03 23:10:09 systemd[1]: Finished sysstat-collect.service - system activity accounting tool.
Sep 03 23:10:09 audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj=unconfined msg='unit=syssta
t-collect comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Sep 03 23:10:09 audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 subj=unconfined msg='unit=sysstat
-collect comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Sep 03 23:10:57 gjs[5307]: Gio.UnixInputStream has been moved to a separate platform-specific library. Please updat
e your code to use GioUnix.InputStream instead.
                           0 generateSupportLog() ["file:///home/paul/.local/share/gnome-shell/extensions/gsconnect
@andyholmes.github.io/preferences/service.js":60:17]
                           1 InterpretGeneratorResume() ["self-hosted":1461:33]
                           2 AsyncFunctionNext() ["self-hosted":852:26]
                           3 _init/GLib.MainLoop.prototype.runAsync/</<() ["resource:///org/gnome/gjs/modules/core/
overrides/GLib.js":266:33]

Sending from Android to Linux seems not to work. Same for the other way.

I also have this issue. But for me:

  • Linux to Windows does not work
  • Windows to Linux does not work
  • Linux to Android does work
  • Windows to Android does work

I'm willing to do steps with my devices to help with this.

I would also like to add that features such as clipboard sync and pinging does work between my Linux and Windows devices.

I got the following error log when enabling debug mode via dconf write /org/gnome/shell/extensions/gsconnect/debug true:

[resource:_promisify/proto[asyncFunc]/</<:///org/gnome/gjs/modules/core/overrides/Gio.js]: DESKTOP-02CIM98: Error performing TLS handshake: A disallowed SNI server name has been received.
_promisify/proto[asyncFunc]/</<@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:453:45
_init/GLib.MainLoop.prototype.runAsync/</<@resource:///org/gnome/gjs/modules/core/overrides/GLib.js:266:34
### Promise created here: ###
_authenticate@file:///home/user/.local/share/gnome-shell/extensions/gsconnect@andyholmes.github.io/service/backends/lan.js:606:26
_encryptServer@file:///home/user/.local/share/gnome-shell/extensions/gsconnect@andyholmes.github.io/service/backends/lan.js:700:21
upload/acceptConnection<@file:///home/user/.local/share/gnome-shell/extensions/gsconnect@andyholmes.github.io/service/backends/lan.js:840:34
_init/GLib.MainLoop.prototype.runAsync/</<@resource:///org/gnome/gjs/modules/core/overrides/GLib.js:266:34