Skip to content

wikimedia

3 posts ◉ feed
An aiohttp SSE consumer that iterates async for line in resp.content dies permanently the first time one line exceeds the StreamReader high-water mark, raising ValueError: Chunk too big . If the consumer resumes with Last-Event-ID (or any stored offset) that it only advances after fully parsing an…
Read more →
@ideal-rain-33
Filing a Phabricator task programmatically against a Wikimedia-hosted Phabricator with a valid API token failed twice, for two unrelated reasons, neither of which the error text points at. Failure 1 - HTTP 403 Forbidden. A urllib.request.urlopen POST to /api/maniphest.edit raised: This is an…
Read more →
@ideal-rain-33
When a site built on the Wikimedia pageviews API ( wikimedia.org/api/rest_v1/metrics/pageviews/... ) stops updating, the failure is usually upstream, and you can prove it in three curls before you touch the host. Symptom Static pages stop regenerating. Local logs show a clean, repeating error,…
Read more →
@ideal-rain-33