Discussion:
[kdeconnect] [Bug 381542] New: File transfer not working between computers
eemantsal
2017-06-22 19:11:54 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=381542

Bug ID: 381542
Summary: File transfer not working between computers
Product: kdeconnect
Version: unspecified
Platform: Gentoo Packages
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: plasmoid
Assignee: ***@gmail.com
Reporter: ***@openaliasbox.org
Target Milestone: ---

Created attachment 106237
--> https://bugs.kde.org/attachment.cgi?id=106237&action=edit
KDEC eternal file transfer

Whenever I try to send a file to one of my computers to another one in my same
home network the sender PC seems to behave normally: I right click on a file in
Dolphin, choose «Send vía KDEConnect» and that's it. Then I go to the recipient
PC and I see a pending action notification in the systray; I click on it and I
see what you can see in my attached screenshot; it's like the transfer process
was awaiting, stalled, whatever, and it never ends nor stops; it's me who has
to stop it clicking the stop button at the right of the progress bar.

The file transfers work perfectly from PC to mobiles, nevertheless.

One PC has KDEconenct 1.0.3 on Plasma 5.10.2 and KDE Frameworks 5.35; the other
has KDEConnect from the master repo (Gentoo's version "9999"), since few hours
ago, befor it had 1.0.3 too, Plasma 5.10.1 and KDE Frameworks 5.34
--
You are receiving this mail because:
You are watching all bug changes.
Aleix Pol
2017-06-25 09:29:00 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=381542

Aleix Pol <***@kde.org> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |***@kde.org

--- Comment #1 from Aleix Pol <***@kde.org> ---
Can you try doing this while running kdeconnectd (probably something like
/usr/lib64/libexec/kdeconnectd) on the console? it would be good to see if
there's some kind of error.

I haven't been able to test it yet and since I'm travelling today I could take
few days, so let's get this investigated meanwhile.
--
You are receiving this mail because:
You are watching all bug changes.
eemantsal
2017-06-25 16:29:00 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=381542

--- Comment #2 from eemantsal <***@openaliasbox.org> ---
Ok, I stopped kdeconnectd in both PCs and started it again from Konsole as you
said; then I linked again both computers and tried to send from Dolphin a test
file from PC A to PC B with the same repoerted results.
After I click on Send vía kdeconnect, the output in Konsole is as follows:

PC A (sender):
incomingConnection
nextPendingConnection (emtpy: false )

PC B:
kdeconnect.plugin.share: File transfer
kdeconnect.core: FileTransferJob Downloading payload to
QUrl("file:///home/user/Descargas/Archivo_de_prueba")
kdeconnect.core: error... "The host name did not match any of the valid hosts
for this certificate"

After verifying that the transfer is again stalled I stop it in PC B (receiver)
as said in my first message, clicking the stop button in the Plasma
notifications widget. Then Konsole returns this:

QDBusAbstractAdaptor: Cannot relay signal SharePlugin::shareReceived(QUrl):
Type not registered with QtDBus in parameter list: QUrl
kdeconnect.plugin.share: File transfer finished. Success: false
QUrl("file:///home/user/Descargas/Archivo_de_prueba")

In the sender PC nothing changes.


Then I tried the contrary way, sending from PC B to A expecting everything were
the same, but there's a difference, a new error message in the first output
message as you can see here.

PC B's Konsole output (now sending):
incomingConnection
nextPendingConnection (emtpy: false )
error uploading QAbstractSocket::RemoteHostClosedError

That 3rd line wasn't present in the A -> B scenario.
The rest of the output is the same than before excepting the different path to
save files:

PC A (now receiving):
kdeconnect.plugin.share: File transfer
kdeconnect.core: FileTransferJob Downloading payload to
QUrl("file:///home/user/Descargas/KDE Connect/Archivo_de_prueba")
kdeconnect.core: error... "The host name did not match any of the valid hosts
for this certificate"

Stopping the transfer:
PC A:
QDBusAbstractAdaptor: Cannot relay signal SharePlugin::shareReceived(QUrl):
Type not registered with QtDBus in parameter list: QUrl
kdeconnect.plugin.share: File transfer finished. Success: false
QUrl("file:///home/user/Descargas/KDE Connect/Archivo_de_prueba")
--
You are receiving this mail because:
You are watching all bug changes.
Aleix Pol
2017-07-07 14:18:31 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=381542

Aleix Pol <***@kde.org> changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |CONFIRMED
Ever confirmed|0 |1

--- Comment #3 from Aleix Pol <***@kde.org> ---
I can reproduce the remote host closing the connection unexpectedly. I'm not
sure what's the best fix yet.
--
You are receiving this mail because:
You are watching all bug changes.
Aleix Pol
2017-07-07 15:27:14 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=381542

--- Comment #4 from Aleix Pol <***@kde.org> ---
Git commit 29888cb78be5a58e5ae3ad18f626d76ce1810f6f by Aleix Pol.
Committed on 07/07/2017 at 15:26.
Pushed by apol into branch 'master'.

Improve debug information

If we're ignoring an ssl issue, at least show it.
On connected show whether the socket is valid, otherwise we get remote
devices disconnected without any message. (In this case HostNameMismatch)
Also fixes a typo

M +3 -2 core/backends/lan/lanlinkprovider.cpp
M +1 -1 core/backends/lan/server.cpp

https://commits.kde.org/kdeconnect-kde/29888cb78be5a58e5ae3ad18f626d76ce1810f6f
--
You are receiving this mail because:
You are watching all bug changes.
Albert Vaca
2017-07-13 22:20:25 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=381542

Albert Vaca <***@gmail.com> changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|CONFIRMED |RESOLVED
Latest Commit| |https://commits.kde.org/kde
| |connect-kde/83c250e9f16b478
| |6cd1a535e08a0761ea7c9ca2a
Resolution|--- |FIXED

--- Comment #5 from Albert Vaca <***@gmail.com> ---
Git commit 83c250e9f16b4786cd1a535e08a0761ea7c9ca2a by Albert Vaca.
Committed on 13/07/2017 at 22:19.
Pushed by albertvaka into branch 'master'.

Trust the name stored in the certificate

Having a separate copy of it in the config leads to them not being in sync

M +8 -12 core/kdeconnectconfig.cpp

https://commits.kde.org/kdeconnect-kde/83c250e9f16b4786cd1a535e08a0761ea7c9ca2a
--
You are receiving this mail because:
You are watching all bug changes.
Fortsæt læsning på narkive:
Loading...