← Back to issue list

fix: try proxy settings with another gpg error

View original Github issue

Metadata

Project
craft-archives
Number
#229
Type
pull request
State
merged
Author
tigarmo
Labels
—
Created
Updated
Closed

Current evaluation

Merged in #229 (commit ddfadb5); GPG key retrieval now retries via the system HTTP proxy after a network-unreachable error. Shipped in 2.2.1.

Resolution: closed resolved

Reason: The approved PR was merged as commit ddfadb5. It extends proxy retry handling to GPG's "Network is unreachable" failure, complementing the existing timeout retry.

Evaluated by: mr-cal-bot

No scores available.

Issue body

In some environments it's possible that gpg says that the network is unreachable, rather than that the connection timed out, when a proxy needs to be used. - [ ] Have you followed the guidelines for contributing? - [ ] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)? - [ ] Have you successfully run `make lint && make test`? ---

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Merged in #229 (commit ddfadb5); GPG key retrieval now retries via the system HTTP proxy after a network-unreachable error. Shipped in 2.2.1.
stealth/space-bunny-alpha — closed resolved Merged proxy retry fix for environments where GPG reports the network as unreachable instead of a connection timeout.
qwen/qwen3.6-35b-a3b — — Merged a fix handling GPG network unreachable errors by applying proxy settings when timeouts fail. Approved by two reviewers, passed CI checks, and modified four files. Resolves proxy-related GPG connectivity issues.
qwen3.6-35b-a3b-mtp-q6 — — Merged a fix updating GPG proxy handling to recognize network unreachable errors alongside timeouts, ensuring reliable proxy configuration in restrictive environments.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#265 fix: retry fallback keyserver on transient gpg errors craft-archives merged Fixed transient GPG error 219 ('Server indicated a failure') by retrying the fallback keyserver and improving error messaging. Merged in #265.
75%
#5670 fix: hkp://keyserver.ubuntu.com:80 as default keyserver snapcraft merged Merged PR #5670 changed the default GPG keyserver to hkp://keyserver.ubuntu.com:80, resolving proxy-related key retrieval failures tracked by #5635.
71%