Telemetry POST beacons get 405 — hydrate event lost on every page load #1
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Bug
scripts/ssr-server.pyonly handles/telemetryindo_GET(line ~183).do_POSTonly knows/api/saveand returns 405 for everything else.The client sends most telemetry via the
new Image().srcGET trick, but thehydrateevent goes out as a POST (presumablynavigator.sendBeacon, which always POSTs). Result: every page load logs a console error and the hydrate beacon — the event the telemetry system was built around ("did the page actually hydrate on the iPhone?") — never reaches the server log.Observed during a live browser test (v30.44):
Fix options
/telemetrybranch intodo_POST(2 lines), or