Bug 510034 - Dolphin sftp: navigation from /www to /www/wwwlogs fails or hangs; direct URL sometimes works on KF5 5.115, Dolphin 23.08.5
Summary: Dolphin sftp: navigation from /www to /www/wwwlogs fails or hangs; direct URL...
Status: REPORTED
Alias: None
Product: kio-extras
Classification: Frameworks and Libraries
Component: SFTP (other bugs)
Version First Reported In: 23.08.5
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-09-28 21:33 UTC by welcome_w@mail.ru
Modified: 2025-09-28 21:33 UTC (History)
0 users

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


Attachments
kio_sftp_www_to_wwwlogs.log: Full kio_sftp debug output while opening sftp://IP/www and clicking into wwwlogs; shows parallel jobs and immediate refusal/hang (102.35 KB, text/x-log)
2025-09-28 21:33 UTC, welcome_w@mail.ru
Details

Note You need to log in before you can comment on or make changes to this bug.
Description welcome_w@mail.ru 2025-09-28 21:33:30 UTC
Created attachment 185352 [details]
kio_sftp_www_to_wwwlogs.log: Full kio_sftp debug output while opening sftp://IP/www and clicking into wwwlogs; shows parallel jobs and immediate refusal/hang

Summary:
Dolphin sftp: navigating from /www to /www/wwwlogs fails with "Connection refused/Access denied" or hangs; direct URL sometimes works

Description:
On Kubuntu 24.04 (Plasma 5.27.12, KF 5.115.0, Dolphin 23.08.5, Qt 5.15.13), navigating a remote host via sftp shows unstable behavior. Opening sftp://IP/www lists fine, but clicking into sftp://IP/www/wwwlogs often causes "Connection refused"/"Access denied" in the UI, or prolonged "Opening…" hang. Directly opening sftp://IP/www/wwwlogs sometimes works. SSH/terminal sftp works; sshfs works reliably.

Steps to Reproduce:
1. Start Dolphin with logging.
2. Open sftp://45.144.178.11/www
3. Click into "wwwlogs"
4. Observe error "Connection refused"/"Access denied" or hang "Opening…"

Observed Result:
- kio_sftp spawns parallel jobs (listing + statfs/free space). One job immediately fails with Connection refused; UI shows denial or hangs. See attached logs.

Expected Result:
- Seamless navigation from /www into /www/wwwlogs without reconnect/refused state.

System Information:
- Plasma: 5.27.12
- Dolphin: 23.08.5
- Qt: 5.15.13
- KDE Frameworks: 5.115.0
- kio: 5.115.0-0ubuntu6
- kio-extras: 23.08.5-0ubuntu5
- libssh: 0.10.6-2ubuntu0.1
- OpenSSH server: OpenSSH_9.6p1 (Ubuntu), OpenSSL 3.0.13
- Distro: Ubuntu 24.04 (Kubuntu)
- Server reachable; authentication succeeds; sshfs works reliably.

Additional Notes:
- Disabling previews/free space polling reduces frequency but not fully.
- Prior sftp tabs/history exacerbate reproducer; clean profile still shows issue.
- Attached logs:
  - kio_sftp_www_to_wwwlogs.log
  - kio_sftp_www_to_wwwlogs_libssh.log

Attachments:
Please see the two .log files collected as per KDE kio_sftp debugging guide.