Bug 370370 - "Copy to ..." won't work for an sftp connection
Summary: "Copy to ..." won't work for an sftp connection
Status: RESOLVED WORKSFORME
Alias: None
Product: kio-extras
Classification: Frameworks and Libraries
Component: SFTP (show other bugs)
Version: unspecified
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-10-09 19:49 UTC by Toralf Förster
Modified: 2020-04-18 04:33 UTC (History)
6 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster 2016-10-09 19:49:52 UTC
This issue is not fixed by the fix of bug #362988 at the same system :

A right click onto a file and "Copy to..." to a previously remembered
destination still doesn't work.

tested at a stable Gentoo with QT 5.6.1, KF 5.27, Plasma 5.7.5 and 16.08.1

And: opening an sftp:// location and clicking on PDF/TXT/PNG or other files work, for a JPEG  file however the assigned application showFoto gets an empty file (KolourPaint works fine)

Reproducible: Always
Comment 1 Toralf Förster 2016-11-13 10:24:55 UTC
FWIW I do still get in ~/.local/share/sddm/xorg-session.log :

log_kio_sftp:
log_kio_sftp:
log_kio_sftp: *** kio_sftp Done
log_kio_sftp: *** kio_sftp Done
log_kio_sftp: pid =  9309
log_kio_sftp:
log_kio_sftp: pid =  9310
log_kio_sftp:
log_kio_sftp: special(): polling
log_kio_sftp: special(): polling
finished() called twice! Please fix the KIO slave.


with 5.27 + 5.8.3 + 16.08.2
Comment 2 Toralf Förster 2017-03-18 10:02:53 UTC
grepping for sftp and killing the oldest one helped eventually:

tfoerste@t44 ~ $ pgrep -a sftp
31969 sftp.so [kdeinit5] sftp local:/var/run/user/1000/klauncherJ31498.1.slave-socket local:/var/run/user/1000/dolphink31960.4.slave-socket
31970 sftp.so [kdeinit5] sftp local:/var/run/user/1000/klauncherJ31498.1.slave-socket local:/var/run/user/1000/dolphini31960.5.slave-socket
31977 sftp.so [kdeinit5] sftp local:/var/run/user/1000/klauncherJ31498.1.slave-socket local:/var/run/user/1000/dolphinT31960.6.slave-socket
31978 sftp.so [kdeinit5] sftp local:/var/run/user/1000/klauncherJ31498.1.slave-socket local:/var/run/user/1000/dolphinZ31960.7.slave-socket
31981 sftp.so [kdeinit5] sftp local:/var/run/user/1000/klauncherJ31498.1.slave-socket local:/var/run/user/1000/dolphinw31960.8.slave-socket
tfoerste@t44 ~ $ kill 31969
tfoerste@t44 ~ $ kill 31970
tfoerste@t44 ~ $ kill 31971
tfoerste@t44 ~ $ kill 31969

but this is ugly
Comment 3 Toralf Förster 2017-05-25 10:10:08 UTC
situation is now much more worse since I swirtched to 5.34 and 17.0.4.1.
Now even login failed, sddm log is :

log_kio_sftp: *** Starting kio_sftp 
log_kio_sftp: pid =  5985
log_kio_sftp: debug =  
log_kio_sftp: "zwiebes" @ "www.zwiebeltoralf.de" : 0
log_kio_sftp: 
log_kio_sftp: list directory:  QUrl("sftp://zwiebes@www.zwiebeltoralf.de/public_html")
log_kio_sftp: checking cache: info.username = "zwiebes" , info.url = "sftp://zwiebes@www.zwiebeltoralf.de"
log_kio_sftp: *** Starting kio_sftp 
log_kio_sftp: pid =  5986
log_kio_sftp: debug =  
log_kio_sftp: "zwiebes" @ "www.zwiebeltoralf.de" : 0
log_kio_sftp: 
log_kio_sftp: file system free space of QUrl("sftp://zwiebes@www.zwiebeltoralf.de/public_html")
log_kio_sftp: checking cache: info.username = "zwiebes" , info.url = "sftp://zwiebes@www.zwiebeltoralf.de"
log_kio_sftp: Creating the SSH session and setting options
log_kio_sftp: Trying to connect to the SSH server
log_kio_sftp: username= "zwiebes" , host= "www.zwiebeltoralf.de" , port= 22
log_kio_sftp: Creating the SSH session and setting options
log_kio_sftp: Trying to connect to the SSH server
log_kio_sftp: username= "zwiebes" , host= "www.zwiebeltoralf.de" , port= 22
log_kio_sftp: Getting the SSH server hash
log_kio_sftp: Checking if the SSH server is known
log_kio_sftp: Trying to authenticate with the server
log_kio_sftp: Getting the SSH server hash
log_kio_sftp: Checking if the SSH server is known
log_kio_sftp: Trying to authenticate with the server
log_kio_sftp: *** Starting kio_sftp 
log_kio_sftp: pid =  5989
log_kio_sftp: debug =  
log_kio_sftp: "zwiebes" @ "www.zwiebeltoralf.de" : 0
log_kio_sftp: 
log_kio_sftp: file system free space of QUrl("sftp://zwiebes@www.zwiebeltoralf.de/public_html")
log_kio_sftp: checking cache: info.username = "zwiebes" , info.url = "sftp://zwiebes@www.zwiebeltoralf.de"
log_kio_sftp: Creating the SSH session and setting options
log_kio_sftp: Trying to connect to the SSH server
log_kio_sftp: username= "zwiebes" , host= "www.zwiebeltoralf.de" , port= 22
log_kio_sftp: Trying to authenticate with public key
log_kio_sftp: Trying to authenticate with public key
log_kio_sftp: Getting the SSH server hash
log_kio_sftp: Checking if the SSH server is known
log_kio_sftp: Trying to authenticate with the server
log_kio_sftp: Trying to authenticate with password
log_kio_sftp: Trying to authenticate with password
log_kio_sftp: Trying to authenticate with public key
log_kio_sftp: Trying to authenticate with password



then it hangs for a longer time, then asks for the password but that won't work (password is fine), log is telling:


log_kio_sftp: Username: "zwiebes" first attempt? false error: "Incorrect username or password"
log_kio_sftp: Username: "zwiebes" first attempt? false error: "Incorrect username or password"
log_kio_sftp: Username: "zwiebes" first attempt? false error: "Incorrect username or password"
QXcbConnection: XCB error: 3 (BadWindow), sequence: 25687, resource id: 83886083, major code: 15 (QueryTree), minor code: 0
log_kio_sftp: Username: "zwiebes" first attempt? false error: "Incorrect username or password"
log_kio_sftp: Username: "zwiebes" first attempt? false error: "Incorrect username or password"
log_kio_sftp: Username: "zwiebes" first attempt? false error: "Incorrect username or password"
log_kio_sftp: User canceled password/retry dialog
log_kio_sftp: 
log_kio_sftp: connected ? false username: old= "zwiebes" new= "zwiebes"
log_kio_sftp: User canceled password/retry dialog
log_kio_sftp: 
log_kio_sftp: connected ? false username: old= "zwiebes" new= "zwiebes"
log_kio_sftp: User canceled password/retry dialog
log_kio_sftp: 
log_kio_sftp: connected ? false username: old= "zwiebes" new= "zwiebes"
log_kio_sftp: file system free space of QUrl("sftp://zwiebes@www.zwiebeltoralf.de/public_html")
log_kio_sftp: checking cache: info.username = "zwiebes" , info.url = "sftp://zwiebes@www.zwiebeltoralf.de"
log_kio_sftp: Creating the SSH session and setting options
log_kio_sftp: Trying to connect to the SSH server
log_kio_sftp: username= "zwiebes" , host= "www.zwiebeltoralf.de" , port= 22
log_kio_sftp: Getting the SSH server hash
log_kio_sftp: Checking if the SSH server is known
log_kio_sftp: Trying to authenticate with the server
log_kio_sftp: Trying to authenticate with public key
log_kio_sftp: Trying to authenticate with password
log_kio_sftp: Username: "zwiebes" first attempt? true error: ""
log_kio_sftp: User canceled password/retry dialog
log_kio_sftp: 
log_kio_sftp: connected ? false username: old= "zwiebes" new= "zwiebes"
QXcbConnection: XCB error: 3 (BadWindow), sequence: 30286, resource id: 79691811, major code: 18 (ChangeProperty), minor code: 0
log_kio_sftp: 
log_kio_sftp: 
log_kio_sftp: *** kio_sftp Done
log_kio_sftp: pid =  5986
log_kio_sftp: *** kio_sftp Done
log_kio_sftp: 
log_kio_sftp: pid =  5989
log_kio_sftp: 
log_kio_sftp: 
log_kio_sftp: *** kio_sftp Done
log_kio_sftp: pid =  5985
log_kio_sftp:
Comment 4 Joan 2017-07-10 12:24:09 UTC
It happens to mee, altought killing all the sftp processes doesn't make any difference.
KF 5.31 / Dolphin 16.12.3
Comment 5 Harald Sitter 2020-03-04 16:31:46 UTC
Is this still a problem with the 19.12 release? Which version of libssh is used?
Comment 6 Harald Sitter 2020-03-04 16:32:06 UTC
status
Comment 7 Bug Janitor Service 2020-03-19 04:33:14 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 8 Toralf Förster 2020-03-19 19:50:44 UTC
cannot test this b/c sftp does not work at all since few releases (see the appropriate bug)
Comment 9 Bug Janitor Service 2020-04-03 04:33:09 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 10 Bug Janitor Service 2020-04-18 04:33:15 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!