Bug 355462

Summary: kttp and https kioslaves don't work if Network Manager isn't running or if it is not managing any interfaces.
Product: [Frameworks and Libraries] frameworks-kio Reporter: Łukasz Sierżęga <xarafaxz>
Component: generalAssignee: David Faure <faure>
Status: CLOSED NOT A BUG    
Severity: grave CC: kdelibs-bugs-null, nate
Priority: NOR Keywords: regression
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Łukasz Sierżęga 2015-11-17 02:57:13 UTC
And if kio-http not work the same apply for akregator and the other.

xarafaxz@ada ~ % LANG=c kioclient5 cat http://www.google.pl/ 
"The file or folder http://www.google.pl/ does not exist."

xarafaxz@ada ~ % curl http://www.google.pl/ > /dev/null 
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 19423    0 19423    0     0   168k      0 --:--:-- --:--:-- --:--:--  169k


Reproducible: Always

Steps to Reproduce:
1. Shut down Network Manager
2. Setup network connectivity manually.
3. Try to get something with kio-http, update Akregator RSS etc.



This bug affects all software that use kio-http/s
Akregator is just one example.

I use a lot of complex network setups and network manager is extreme pain in my ass.
Comment 1 Łukasz Sierżęga 2015-12-29 22:40:37 UTC
I do some gdb stuff and it looks like that in:
http.cpp:1916

> m_networkConfig->isOnline() 
return incorrectly false.

I've write some stub program with QNetworkConfigurationManager->isOnline() but it works perfectly fine.
Comment 2 Nate Graham 2018-08-22 19:55:37 UTC
I think this is expected. We rely on network manager to handle connections for us. If it's not running, it can't do the work we need it to do. If you have issues with network manager that make it painful to use, please report them upstream.