D27378: smb: map EHOSTUNREACH to ERR_CANNOT_CONNECT

Harald Sitter noreply at phabricator.kde.org
Fri Feb 14 10:09:10 GMT 2020


sitter added a comment.


  Nah. 50.50.50.50 is an actual host on the internet for all your router knows ^^
  
  You need to use an unassigned address within your actual home network, otherwise your router will (likely) send it off to the internet and then it will bounce around there for a bit as every router goes "does any router know 50.50.50.50?" until smb is tired of waiting and times out. Which is precisely what happend to you, IOW "we tried to talk to this host but got no reply before we got sick of waiting" and the waiting happend because routers all over the world tried to figure out who 50.50.50.50 is.
  
  The actual error this diff introduces is for example:
  F8103267: Screenshot_20200214_105251.png <https://phabricator.kde.org/F8103267>
  
  Somewhat unrelated, but, if you check job_error.cpp in KIO you'll find KIO::Job::detailedErrorStrings which is backed by KIO::rawErrorDetail and that has mountains of causes and possible solutions for a lot of the KIO error types. Dolphin should really find a way to use that data somehow and the data should be polished I guess, it's probably been dormant since kde3. I can totally see why a single line description for an error is not accurately explaining what that error is, what it means or what to do about it.

REPOSITORY
  R320 KIO Extras

REVISION DETAIL
  https://phabricator.kde.org/D27378

To: sitter, ngraham
Cc: kde-frameworks-devel, kfm-devel, pberestov, iasensio, fprice, LeGast00n, cblack, MrPepe, fbampaloukas, alexde, GB_2, Codezela, feverfew, meven, michaelh, spoorun, navarromorales, firef, ngraham, andrebarros, bruns, emmanuelp, mikesomov
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.kde.org/mailman/private/kfm-devel/attachments/20200214/e6326341/attachment.htm>


More information about the kfm-devel mailing list