Bug 509732

Summary: kio sftp does not perform host dns resolution correctly, possibly due to cache problem
Product: [Applications] dolphin Reporter: Yann Salmon <contact+bugs+kde>
Component: generalAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: RESOLVED UNMAINTAINED    
Severity: normal CC: dolphin-bugs-null, kdedev
Priority: NOR    
Version First Reported In: 23.08.5   
Target Milestone: ---   
Platform: Kubuntu   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: kioclient log showing problem

Description Yann Salmon 2025-09-20 22:18:15 UTC
Created attachment 185125 [details]
kioclient log showing problem

SUMMARY

Accessing a sftp host on the LAN by name sometimes fails in Dolphin and kioclient

STEPS TO REPRODUCE
1. Have a computer with a permanent DHCP lease and a assigned name (ysalm-wifi) on the router's local DNS config
2. Power it on and also power on another computer (say local)
3. Do things on local, including sshing to ysalm-wifi.
4. Set ysalm-wifi to suspend.
5. Do things on local.
5. Power ysalm-wifi back up.
6. On local, in Dolphin or kioclient, navigate to sftp://ysalm-wifi.


OBSERVED RESULT

Get "No route to host" message.

EXPECTED RESULT

Accessing the host.

SOFTWARE/OS VERSIONS
Operating System: Kubuntu 24.04
KDE Plasma Version: 5.27.12
KDE Frameworks Version: 5.115.0
Qt Version: 5.15.13
Kernel Version: 6.14.0-29-generic (64-bit)
Graphics Platform: X11
Processors: 8 × Intel® Xeon® CPU E3-1245 v5 @ 3.50GHz
Memory: 31.2 Gio of RAM
Graphics Processor: NVIDIA GeForce GTX 1650/PCIe/SSE2
Manufacturer: Dell Inc.
Product Name: Precision Tower 3620

ADDITIONAL INFORMATION

Remote host is accessible by Dolphin/kioclient when using the IP address.

It is also accessible with ssh or sftp command, and resolvectl query finds it.

** kioclient finds the host again if resolvectl flush-caches is performed. **
Comment 1 TraceyC 2025-12-03 19:49:40 UTC
Hi, I'm afraid Dolphin 23.08.5 no longer receives updates or maintenance from KDE; active versions are 25.08.3 or newer. Please upgrade to an active version as soon as your distribution makes it available to you, or use other application distribution methods such as Flathub. Dolphin is a fast-moving project, and bugs in one version are often fixed in the next one.

 If you need support for Dolphin 23.08.5, please contact your distribution, who bears the responsibility of providing help for older releases that are no longer receiving updates from KDE.

If this issue is still reproducible in a supported version of Dolphin, feel free to re-open this bug report.

Thanks for understanding!