rfd-api.shared.oxide.computer: DB-backed endpoints failing (all logins + anonymous RFD reads)
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 12/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Cần làm rõ
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- postgresql, rust
- Lĩnh vực
- authentication, backend, database
Hướng nghiên cứu
The reporter suspects a storage failure behind the OAuth client lookup (get_oauth_client in v-api 0.5.14, which maps non-DoesNotExist errors to server_error) and the 500 on GET /rfd/1. Start with the request IDs in the issue and the server logs for those requests, then check database connectivity and the host's recent restart or upgrade history. Done means the root cause is identified and the failing endpoints return their expected responses; the issue has no agreed fix yet, so this needs maintainer involvement.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Hi oxidecomputer 😃
Summary
When I tried to sign-in to rfd.shared.oxide.computer (2026-11-25, UTC), it fails for every method, and anonymous reads of public RFDs return 500. From what I could make out, the endpoints that don't touch the database still respond normally, so it looks like the API's storage layer is, potentially, failing.
Symptoms
- Google sign-in:
/login/oauth/google/code/authorizereturns 400{"error":"server_error"} - GitHub sign-in: same response
- Email sign-in: "Failed to send magic link email"
- Public RFDs (e.g.
/rfd/0001) redirect anonymous visitors to/login
What's failing vs working
| Endpoint | Result |
|---|---|
GET /.well-known/openid-configuration |
200 |
GET /login/oauth/google/public-pkce |
normal 400 ("Provider does not support web pkce clients") |
GET /login/oauth/{google,github}/code/authorize, real client_id |
400 server_error |
| same, random client_id | 400 server_error (expected invalid_client) |
GET /rfd/1, no token |
500 Internal |
When I invoked a local test script to check some of the above I noted:
- A random client_id returns
server_errorrather than "Unknown client id". In v-api 0.5.14,get_oauth_clientmaps any lookup error other thanDoesNotExisttoserver_error, and the registration caller holdsGetOAuthClientsAll. - This all points to a, potential, storage failure, not a permissions problem. The 500 on anonymous
/rfd/1fits the same cause.
What I did to test / check
# expected: invalid_client "Unknown client id"; actual: server_error
CH=$(openssl rand 32 | openssl dgst -sha256 -binary | openssl base64 -A | tr '+/' '-_' | tr -d '=')
curl -s "https://rfd-api.shared.oxide.computer/login/oauth/google/code/authorize?response_type=code&client_id=$(uuidgen | tr A-Z a-z)&redirect_uri=https%3A%2F%2Frfd.shared.oxide.computer%2Fauth%2Fgoogle%2Fcallback&state=x&code_challenge_method=S256&code_challenge=$CH"
# expected: 200 (RFD 1 is public); actual: 500
curl -s -o /dev/null -w '%{http_code}\n' https://rfd-api.shared.oxide.computer/rfd/1
Request IDs
- authorize, real client (Google):
6328e977-202a-4ad9-9496-632aca0ec21c - authorize, real client (GitHub):
bd86d617-9610-4dce-9732-f17cc6c955da - authorize, random client:
cd28f754-e4ea-4e1d-a1c0-615d9ab97206 GET /rfd/1:84bc35e0-7f69-4cd1-bae1-64613c93e623- original browser login failure:
aafefbea-0ef8-4871-a07c-54e784542ec3
Possibly related
- On checking through some of the previous issues and fixes I noted #492. From what I can make out this issue is not the same as #492 (no cookies involved; anonymous reads fail too).
- Possibly this is a a similar type of incident as noted in #500, but the failing component looks like Postgres rather than KMS keys: the failing paths (OAuth client lookup, anonymous
GET /rfd/1) don't use signing keys, and looking at v-api #527 where it already makes key-resolution failures fatal at startup. - Might be worth checking whether
apt-daily-upgradeor a host/DB restart ran in the past few hours or days
- Ngôn ngữ chính
- Rust
- Star
- 98
- Fork
- 23
- Merge trung bình
- 17 giờ 47 phút
- Pull request đã merge (30 ngày)
- 13
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của oxidecomputer/rfd-api
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 45/100
oxidecomputer/rfd-api#609 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Upgrade to newer RubyĐang mở
Độ khó 4/5 1-2 ngày Mức phù hợp với người mới 43/100
oxidecomputer/rfd-api#578 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 55/100
oxidecomputer/rfd-api#467 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Manage concurrent RFD handlingĐang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 45/100
oxidecomputer/rfd-api#429 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 15/100
oxidecomputer/rfd-api#368 · 1 bình luận · 2 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của oxidecomputer/rfd-api
Issue tương tự
-
[Bug]: Add Data's question says "Link to the file" for a GeoPackage where small tables are copiedĐang mởunconfirmed possible issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 64/100
Maintainer thường phản hồi trong vòng 1 ngày
-
documentation
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
jerney-nexus/epikrise#364 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
Yeachan-Heo/gajae-code#8058 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug daemon
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Maintainer thường phản hồi trong vòng 1 ngày
-
good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
Maintainer thường phản hồi trong vòng 1 ngày