Bug 410843 - PackageKit backend doesn't support proxy servers
Summary: PackageKit backend doesn't support proxy servers
Status: REPORTED
Alias: None
Product: Discover
Classification: Applications
Component: PackageKit (show other bugs)
Version: 5.19.5
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: Dan Leinir Turthra Jensen
URL:
Keywords:
: 424462 457360 464238 (view as bug list)
Depends on:
Blocks:
 
Reported: 2019-08-12 09:40 UTC by Julius Schwartzenberg
Modified: 2023-01-13 16:38 UTC (History)
8 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Julius Schwartzenberg 2019-08-12 09:40:52 UTC
SUMMARY
It's not possible to use Discover behind a proxy server.

STEPS TO REPRODUCE
1. Make sure there is no internet connectivity without an explicit proxy server
2. Set up a working proxy server in every possible way (environment variables, KDE settings, etc.)

OBSERVED RESULT
Discover still fails to connect and there's no way to provide it with proxy server settings

EXPECTED RESULT
Discover uses either the proxy settings from the environment or allows configuring them

SOFTWARE/OS VERSIONS
GNU/Linux: Fedora 30
KDE Plasma Version: 5.15.5
KDE Frameworks Version: 5.59.0
Qt Version: 5.12.4
Comment 1 Aleix Pol 2019-08-21 14:41:26 UTC
Are you sure? This is being supported since 5.15.0 through e08bc8fd55b90895560a60cccc0d1b583c6e42a9.

Would you be able to check your ~/.config/kioslaverc and make sure the data is correct?

Otherwise we'll need to see alternatives.

You could also try setting the proxy information using:
qdbus --system org.freedesktop.PackageKit /org/freedesktop/PackageKit org.freedesktop.PackageKit.SetProxy

to see if it's the backend that can't find it.

Also I'm assuming you're referring to the PackageKit backend, but if you are thinking of Flatpak, Snap or screenshots, tell us and we'll look into it.
Comment 2 Julius Schwartzenberg 2019-08-22 09:52:22 UTC
Yes, the PackageKit backend is complaining. I can access websites with Konqueror without problems. I have this in ~/.config/kioslaverc:

ProxyUrlDisplayFlags=11

[Proxy Settings]
NoProxyFor=localhost,127.0.0.0/8,::1,192.168.0.0/16,172.16.0.0/12,fe80::0/64,10.0.0.0/8
Proxy Config Script=
ProxyType=1
ReversedException=false
ftpProxy=
httpProxy=http://127.0.0.1 3128
httpsProxy=http://127.0.0.1 3128
socksProxy=socks://127.0.0.1 8010
Comment 3 Aleix Pol 2019-12-02 18:34:46 UTC
*** Bug 411316 has been marked as a duplicate of this bug. ***
Comment 4 Anton K 2020-09-28 12:04:44 UTC
I have the same error. (Bug 411316) 

Operating System: KDE neon 5.19
KDE Plasma Version: 5.19.5
KDE Frameworks Version: 5.74.0
Qt Version: 5.15.0
Kernel Version: 5.4.0-48-generic
Comment 5 Nate Graham 2022-08-01 16:31:33 UTC
*** Bug 457360 has been marked as a duplicate of this bug. ***
Comment 6 Nate Graham 2022-08-01 16:31:40 UTC
*** Bug 424462 has been marked as a duplicate of this bug. ***
Comment 7 Nate Graham 2023-01-13 16:38:14 UTC
*** Bug 464238 has been marked as a duplicate of this bug. ***