I'm sitting behind a proxy. My up-to-date Fedora 27/KDE installation works with a proxy configuration script (under System Settings > Network > Settings) that is used by my Chrome browser as well. Through that Chrome browser and its proxy config I can access the Fedora 27 updates repo correctly: https://mirrors.fedoraproject.org/metalink?repo=fedora-27&arch=x86_64 Still, KDE Discover failes fetching this URL: cannot update repo 'fedora': Cannot prepare internal mirrorlist: Curl error (28): Timeout was reached for https://mirrors.fedoraproject.org/metalink?repo=fedora-27&arch=x86_64 [Connection timed out after 30001 milliseconds] --- In an unpriviledged shell a curl call to that URL times out as no proxy is provided: curl 'https://mirrors.fedoraproject.org/metalink?repo=fedora-27&arch=x86_64' .. and succeedes when a proxy is added: curl -x 'http://.../' 'https://mirrors.fedoraproject.org/metalink?repo=fedora-27&arch=x86_64' <?xml version="1.0" encoding="utf-8"?> <metalink version="3.0" xmlns="http://www.metalinker.org/" type="dynamic" pubdate="Thu, 06 Sep 2018 11:28:39 GMT" generator="mirrormanager" xmlns:mm0="http://fedorahosted.org/mirrormanager"> <files> <file name="repomd.xml"> ...
Aleix, is this an issue with Discover, or with PackageKit? If the latter, is there anything Discover can do here to forward the proxy information to it?
Looks like it's something we'll have to implement ourselves: https://github.com/hughsie/PackageKit/blob/master/docs/setting-the-proxy.txt
Git commit e08bc8fd55b90895560a60cccc0d1b583c6e42a9 by Aleix Pol. Committed on 20/09/2018 at 10:13. Pushed by apol into branch 'master'. Forward proxy information to the PackageKit daemon At start and upon change. M +31 -3 libdiscover/backends/PackageKitBackend/PackageKitBackend.cpp M +1 -0 libdiscover/backends/PackageKitBackend/PackageKitBackend.h https://commits.kde.org/discover/e08bc8fd55b90895560a60cccc0d1b583c6e42a9
*** Bug 401505 has been marked as a duplicate of this bug. ***