Page MenuHomePhabricator

NPR blocking Citoid user-agent string, causing timeouts.
Closed, ResolvedPublicBUG REPORT

Event Timeline

Mvolz renamed this task from Citing NPR article with Citoid does not work to Citing NPR article with Citoid times out in production but not locally.Nov 5 2024, 11:00 AM
Mvolz reopened this task as Open.
Mvolz added subscribers: zoe, akosiaris, Mvolz.

@Mvolz Try this from your test env

curl --http1.1 -H "User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/110.0.0.0 Safari/537.36 Citoid/WMF (mailto:noc@wikimedia.org)" -vvv https://www.npr.org/2024/03/19/1239528787/female-genital-mutilation-is-illegal-in-the-gambia-but-maybe-not-for-much-longer

While not entirely consistent, the above times out for me after 55 seconds in most cases. Using HTTP2 instead of HTTP/1.1 returns even faster. My guess is that Citoid has been put in some blocklist on their part.

Mvolz renamed this task from Citing NPR article with Citoid times out in production but not locally to NPR blocking Citoid user-agent string, causing timeouts. .Nov 6 2024, 11:42 AM
Mvolz assigned this task to SonjaPerry.