Commit Graph
4 Commits
Author SHA1 Message Date
Hasan BasbunarandClaude Opus 5.5 4e22e96e44 proxy, cockpit: what an independent review found in this version, each with its test
A key header of 64 KB of "\n" was read in 8.7 s under the interpreter's lock, with no key, every stream of the box still: it is
refused at once. The red banner of a start that barely moves is no longer drawn again at each reading, its Stop with it. The
words of a box with no lane name what starts one, and a start's length by lane. llama-server's own /chat/completions gets a
chat keepalive. The relay's sign-in page names where this browser reaches the cockpit, through a tunnel or TLS. A body the
cockpit does not read is never its connection's next request. A chunked body shows its size in Traffic. The other box of a
pair is told before a silent stream is cut, and binds nothing for it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-30 13:28:36 +01:00
Hasan BasbunarandClaude Opus 5.5 6714aec4fb proxy: a refused key is told where the key is, a file on the box
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-30 09:33:19 +01:00
Hasan BasbunarandClaude Opus 5.5 61ec37463e proxy v6.63: a 401 says what is wrong with the key and where the right one is
Every refused key was {"error":"Unauthorized"}: none sent, another box's,
one with quotes or two spaces, one under another scheme. Claude Code showed
"Failed to authenticate. API Error: 401 {"error":"Unauthorized"}", opencode
"Error: Unauthorized" (2026-11-30). The answer names the cause and the next
step, in each route's dialect, with WWW-Authenticate: Bearer, and never a byte
of the key nor of what was sent.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-30 09:33:19 +01:00
Hasan BasbunarandClaude Opus 5.5 a5a4deb310 proxy v6.63: a key in x-api-key is read as the bearer it stands for
Anthropic clients send a key in x-api-key; the engines read Authorization
alone, so the right key came back 401 (anthropic 1.12.1, the AI SDK's provider,
Claude Code with ANTHROPIC_API_KEY, 2026-11-30; anthropic 2.14.0 sends
Authorization). When a request has no Authorization, its
x-api-key is the bearer, under the same comparison and the same guards: the
door, the identity wall, its label and what a listed key may not do. It never
goes to the engine. The operator's /proxy/stop keeps asking Authorization.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-30 09:33:19 +01:00