Skip to content

Consider how to manage 503 responses for /cgi/stats/get blocked by eprints/anubis#2 #127

Description

@drn05r

eprints/anubis#2 will return 503 server unavailable on all /cgi/stats/... requests if rate-limiting has been exceeded. This is OK for /cgi/stats/report because this is a HTML page but /cgi/stats/get returns JSON data to provide to Google Chart to render a graph.

IRStats2's code should be modified to detect a 503 from /cgi/stats/get and render something suitable to indicate the graph is not currently available.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions