hypothesis / hypothesis/viahtml

Consider not proxying 5xx status responses from upstream

Open
#65 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
9
Forks
5
PR merge metrics
No merged PRs in 30d

Description

Proxying 5xx status responses from upstream interferes with monitoring tools that use this status code to detect internal errors in a service. While we probably can't avoid proxying 4xx statuses because client-side code may rely on it, we probably can get away with substituting 5xx status responses with an alternate value. This would allow us to rely on 5xx statuses to detect the rate of internal errors for example.

See Slack discussion: https://hypothes-is.slack.com/archives/CR3E3S7K8/p1612979225052500?thread_ts=1612975098.050300&cid=CR3E3S7K8

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.