Commit d1c7775
committed
fix(worker): fetch celestrak over the public internet
celestrak.org sits behind Cloudflare, so a Worker fetch() to it was
routed internally ("orange-to-orange") instead of over the public
internet. That internal path times out with HTTP 522, so every source
failed and no group data reached KV — even though the cron now runs to
completion. The same URLs fetch fine from any ordinary client.
The global_fetch_strictly_public compatibility flag forces fetch() out
to Cloudflare's public front door, matching a normal client. It is not
enabled by default at any compatibility_date, so it must be set
explicitly.
Assisted-by: ClaudeCode:claude-opus-4-81 parent 9c7fa3c commit d1c7775
1 file changed
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
6 | 13 | | |
7 | 14 | | |
8 | 15 | | |
| |||
0 commit comments