Raise request_canceled error instead of ambiguous_timeout for HTTP request that receive IO error

Description

Currently we are raising an ambiguous_timeout if an http request receives an IO error and we need to stop the connection. It would seem that a request_canceled error the is more appropriate response.

We call stop() if we receive an IO error (code here). And stop() will send an ambiguous_timeout error to the handler (code here):

Environment

None

Release Notes Description

None

Activity

Show:
Fixed
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Sprint

Story Points

Fix versions

Labels

Affects versions

Priority

Instabug

Open Instabug

Sentry

Zendesk Support

Created January 24, 2024 at 3:09 AM
Updated May 22, 2024 at 4:06 PM
Resolved May 21, 2024 at 5:12 PM
Instabug