Skip to content

New Yorker API intermittently responds with 403s #293

@thisisparker

Description

@thisisparker

Specifically, the API endpoint appears to sometimes spit 403s when requested from cloud IP addresses — I am so far consistently getting good responses from my home network. But the status check Action here is ~50% 403s, and it's entirely in clusters: today's automated check was all green, which included 8 requests to that API, but the one triggered by a recent small PR had 8 failures.

I've observed similar behavior from a DigitalOcean IP.

It's this part of the downloader in particular, which already includes a kind of hacky approach to setting a custom User-Agent, so maybe there's more I can do there.

Otherwise, I might try just implementing a set of retries, though the clustering behavior makes me pretty pessimistic about that working.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions