You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
bug(ci): cold toolchain downloads 403 from dl.registry.platformio.org — shared HTTP client sends no PlatformIO User-Agent #1783
Every board build whose toolchain/framework archive is not already in the cache now fails:
build error: package error: package error: download failed for
https://dl.registry.platformio.org/download/platformio/tool/framework-arduino-avr/5.4.0/framework-arduino-avr-5.4.0.tar.gz:
HTTP 403 Forbidden (gave up after 1 attempts at byte offset 0; error is not retryable)
Observed on main at 339e4ba in ci-minimal run 40862560392: Arduino Uno / build and Teensy 4.1 / build both failed within ~15 s, before compiling.
The same two boards passed 2 h earlier in run 40847963620 — same commit content, cached archives.
Cause
dl.registry.platformio.org started answering clients that do not identify as
PlatformIO Core with:
{"message":"This download method is not supported. Please use PlatformIO Core to install packages."}
fbuild_core::http::client() — the single shared reqwest client every fbuild download
uses — sets no User-Agent, so cold downloads 403. Only cached archives keep CI green,
i.e. any new board, any FBUILD_* cache reset, and every cold canary is red.
Accept/X-Requested-With headers do not help; only the UA prefix does.
Fix
Send a PlatformIO-compatible UA from the shared clients, naming fbuild in the comment part:
PlatformIO/6.2.0 (fbuild/2.5.47)
Impact
Blocks CI selected coverage on every PR that touches a board family with a cold cache,
which in turn blocks the merge queue — including the #1782 Windows fix.
Fixed by #1784 (merged 2026-10-29T11:57:54Z): the shared clients now send PlatformIO/6.2.0 (fbuild/<version>). Verified end-to-end on a cold cache — #1782's Arduino Uno / build and Teensy 4.1 / build, the two jobs this 403 killed, went green in run 40899365043-style head fa1d952f immediately after the fix.
Correction to my closing comment: the verifying run is 40869461656 (ci-minimal at fa1d952f, PR #1782). Its Arduino Uno / build and Teensy 4.1 / build — the two jobs this 403 killed — passed on a cold cache, and CI selected coverage went green.
Activity
zackees commentedon Oct 29, 2026
Fixed by #1784 (merged 2026-10-29T11:57:54Z): the shared clients now send
PlatformIO/6.2.0 (fbuild/<version>). Verified end-to-end on a cold cache — #1782'sArduino Uno / buildandTeensy 4.1 / build, the two jobs this 403 killed, went green in run 40899365043-style headfa1d952fimmediately after the fix.zackees commentedon Oct 29, 2026
Correction to my closing comment: the verifying run is 40869461656 (ci-minimal at
fa1d952f, PR #1782). ItsArduino Uno / buildandTeensy 4.1 / build— the two jobs this 403 killed — passed on a cold cache, andCI selected coveragewent green.test(http): prove on the wire that the shared clients send the Platfo…