Closed
Description
Community Note
- Please vote on this issue by adding a 👍 reaction to the original issue to help us know what to work on
- Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
Bug description
In a workflow, calling sdk.requests.send()
in a request taking more than 30s will return the message OperationFailed(Unknown error)
. According to the logs, it seems that the reason is a default timeout of 30s, so the message could be more specific i.e. OperationFailed(timeout)
.
How to reproduce
A call to await sdk.requests.send(spec)
with a spec
that takes more than 30 seconds to reply will show in the logs:
2024-09-06T15:41:35.766045Z ERROR executor:0|arbiter:2 service|task: Task (19) failed: User(WorkflowError { reason: ExecutionError, node_id: Some("2"), message: "Runtime error\n\nCaused by:\n Failed to send request: OperationFailed(Unknown error) (l:145,c:43)\n \n Stack backtrace:\n at run (workflow:145:43)\n " })
Environment & setup
OS: Mac OS
OS version: 14.5
Caido client: Caido Desktop
Caido version: 0.40.0
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Released