Timeout error hyper::Error(Body, Kind(TimedOut))?
#3964
-
|
Hi, my http client based on hyper is failing with this error: This is my code: And I understand the concept of a timeout but I don't quite understand what this error means because I can't find a number of seconds. minutes, etc related to timeout in hyper Any idea who is generating this timeout and/or how to increase it? Is this timeout generated triggered by hyper/tokyo or by the server? thank you very much |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
|
Sorry the error is somewhat opaque. In reality, it's not coming from hyper: hyper doesn't have a body timeout feature. The body error in hyper usually wraps whatever error the body implementation returned, since hyper is generic over bodies. So likely the that timeout is coming from some other body provider. |
Beta Was this translation helpful? Give feedback.
-
|
ok, understood, ty |
Beta Was this translation helpful? Give feedback.
Sorry the error is somewhat opaque. In reality, it's not coming from hyper: hyper doesn't have a body timeout feature. The body error in hyper usually wraps whatever error the body implementation returned, since hyper is generic over bodies. So likely the that timeout is coming from some other body provider.