Skip to content

Failure adding apt repository #597

Description

@dhsmith1001

AddRepoFailure.txt

Using Ubuntu 24.04, get network timeouts trying to add the apt repository:

# add-apt-repository ppa:yuezk/globalprotect-openconnect
Repository: 'Types: deb
URIs: https://ppa.launchpadcontent.net/yuezk/globalprotect-openconnect/ubuntu/
Suites: noble
Components: main
'
Description:
A GlobalProtect VPN client (GUI) for Linux, based on OpenConnect and Tauri, supports SSO authentication mode.
More info: https://launchpad.net/~yuezk/+archive/ubuntu/globalprotect-openconnect
Adding repository.
Press [ENTER] to continue or Ctrl-c to cancel.
Traceback (most recent call last):
  File "/usr/bin/add-apt-repository", line 452, in <module>
    sys.exit(0 if addaptrepo.main() else 1)
                  ^^^^^^^^^^^^^^^^^
  File "/usr/bin/add-apt-repository", line 445, in main
    shortcut.add()
  File "/usr/lib/python3/dist-packages/softwareproperties/shortcuthandler.py", line 226, in add
    self.add_source()
  File "/usr/lib/python3/dist-packages/softwareproperties/shortcuthandler.py", line 316, in add_source
    self._add_deb822_source()
  File "/usr/lib/python3/dist-packages/softwareproperties/shortcuthandler.py", line 265, in _add_deb822_source
    if self.trustedparts_content:
       ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 154, in trustedparts_content
    key = self.lpppa.getSigningKeyData()
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/lazr/restfulclient/resource.py", line 642, in __call__
    response, content = self.root._browser._request(
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/lazr/restfulclient/_browser.py", line 484, in _request
    raise error
lazr.restfulclient.errors.ServerError: HTTP Error 504: Gateway Time-out
Response headers:
---
-content-encoding: gzip
cache-control: no-cache
content-length: 92
content-type: text/html
date: Sat, 02 May 2026 14:12:08 GMT
server: Apache/2.4.41 (Ubuntu)
status: 504
vary: Accept-Encoding
---
Response body:
---
b"<html><body><h1>504 Gateway Time-out</h1>\nThe server didn't respond in time.\n</body></html>\n"
---

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions