Bug 355462 - kttp and https kioslaves don't work if Network Manager isn't running or if it is not managing any interfaces.
Summary: kttp and https kioslaves don't work if Network Manager isn't running or if it...
Status: CLOSED NOT A BUG
Alias: None
Product: frameworks-kio
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR grave
Target Milestone: ---
Assignee: David Faure
URL:
Keywords: regression
Depends on:
Blocks:
 
Reported: 2015-11-17 02:57 UTC by Łukasz Sierżęga
Modified: 2018-08-22 19:55 UTC (History)
2 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 Ł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.