https://bugs.kde.org/show_bug.cgi?id=517920

            Bug ID: 517920
           Summary: KDE Discover ignores `no_proxy` setting
    Classification: Applications
           Product: Discover
      Version First 5.18.0
       Reported In:
          Platform: Neon
                OS: Linux
            Status: REPORTED
          Severity: minor
          Priority: NOR
         Component: PackageKit
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
  Target Milestone: ---

SUMMARY
KDE Discover does not pass `no_proxy` to the PackageKit-Qt backend.
https://invent.kde.org/plasma/discover/-/blob/master/libdiscover/backends/PackageKitBackend/PackageKitBackend.cpp?ref_type=heads#L301

STEPS TO REPRODUCE
1. Find yourself in a walled network that requires explicitly setting a proxy
for internet access
2. Set up this proxy (`http_proxy`, `https_proxy` env variables)
3. Have a local repository mirror in local network
4. Add this mirror to the `no_proxy` variable

OBSERVED RESULT
1. apt in terminal works - `no_proxy` honoured
2. pkcon refresh in terminal doesn't work - tries to connect to local repo via
proxy, ignoring `no_proxy`
3. KDE Discover similarly doesn't work (basic functionality like browsing
available packages, etc)

EXPECTED RESULT
1. KDE Discover works (basic functionality is available)
2. pkcon refresh in terminal also works

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: KDE Neon
KDE Plasma Version: somewhere in 5.16 - 5.18 range
KDE Frameworks Version: -
Qt Version: -

ADDITIONAL INFORMATION
This is an issue I encountered in September 2019. I don't use KDE anymore and
no longer work in network environment in which this bug manifested, but judging
by relevant code nothing has changed since then and the issue still would be
present. Please see recent (August 2025 - January 2026) discussion on a
PackageKit GitHub issue where the issue was originally reported in 2019
https://github.com/PackageKit/PackageKit/issues/337

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to