You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Erlang httpc client under high loads can sometimes work with an error socket_closed_remotely.
I made an example to reproduce this error in docker compose.
In example, you can switch httpc to hackney.
httpc will return frequent socket_closed_remotely, while hackney always works successfully.
The error is reproduced in different versions of Erlang 24/25/26/27
The error is somehow related to the number of parallel requests, the size of the request body and the size of the response body.
Describe the bug
Erlang httpc client under high loads can sometimes work with an error socket_closed_remotely.
I made an example to reproduce this error in docker compose.
In example, you can switch httpc to hackney.
httpc will return frequent socket_closed_remotely, while hackney always works successfully.
The error is reproduced in different versions of Erlang 24/25/26/27
The error is somehow related to the number of parallel requests, the size of the request body and the size of the response body.
To Reproduce
https://github.com/viplifes/socket_closed_remotely
docker compose up --build
Expected behavior
No errors httpc
Affected versions
Erlang 24/25/26/27
Additional context
https://github.com/viplifes/socket_closed_remotely
The text was updated successfully, but these errors were encountered: