Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[hailtop] Dont assume exact error message match for ClientPayloadErro…
…r retrying (#14545) The treatment of `ClientPayloadError` as a sometimes transient error was originally made in response to [an existing issue](aio-libs/aiohttp#4581) in aiohttp that can cause transient errors on the client that are difficult to distinguish from a real broken server. What's in `main` matched exactly on the error message, but that error message has [since changed](aio-libs/aiohttp@dc38630) to include more information, breaking our transient error handling. This change relaxes the requirement of the error response string to fix transient error handling for our current version of `aiohttp`. I wish I had a better approach. `ClientPayloadError` can also be thrown in the case of malformed data, so I am reticent to treat it as always transient, but we could perhaps make it a `limited_retries_error` and avoid inspecting the error message.
- Loading branch information