fly wireguard remove fails (incorrect key size: 33)
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- go
- Domain
- cli, networking
Research direction
Start by reproducing fly wireguard remove for the malformed peer described in the report, then trace the removal path and how the server's key-size error is handled. Done means the malformed peer can be removed or the command returns a clear, non-500 error instead of the unhandled upstream failure.
Written by the indexing model from the issue text.
Description
Describe the bug
I was in the process of creating a Wireguard peer via GraphQL API. By mistake, I created a peer with a wrong key, and now fly wireguard remove is unable to remove it:
Error: server returned a non-200 status code: 500
Error: unhandled upstream service error: nats wg delete: delete peer: delete peer
aaaa1234 from kernel: pubkey parse error: wgtypes: incorrect key size: 33
- Operating system: Alpine Linux 3.19.1
fly versionflyctl v0.2.20 linux/amd64 Commit: 79d5a83e7d73d0a200f0cc9201822db4f1fdb91a BuildDate: 2024-03-15T21:31:19Z
- Dominant language
- Go
- Stars
- 1.7k
- Forks
- 311
- Avg merge
- 12h 50m
- Merged PRs (30d)
- 78
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from superfly/flyctl
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
Difficulty 3/5 1-2 days Newbie friendliness 72/100
-
Difficulty 5/5 Over a week Newbie friendliness 35/100
-
Difficulty 4/5 3-5 days Newbie friendliness 45/100
-
bug
Difficulty 4/5 3-5 days Newbie friendliness 48/100
Similar issues
-
optimization optimization:agents-md-curator
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
githubnext/gh-aw-cao#13143 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
blinklabs-io/bursa#904 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
yanet-platform/ipfw-go#129 ·
-
bug confmap/provider/googlesecretmanagerprovider needs triage
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
open-telemetry/opentelemetry-collector-contrib#51273 · 2 comments ·
-
bug: AI Gateway client filter lists "Unknown" twice when NULL and literal Unknown clients coexist Openbug
Difficulty 2/5 1-3 hours Newbie friendliness 90/100