Open STA error
Can anyone help in understanding the error cause for the following error
Error 10054: An existing connection was forcibly closed by the remote host .) while sending the request on connection x/y.
Re: Open STA error
As per the OpenSTA concern, each request is given a unique id, which can have separate socket connection for each request and disconnect at once after the end of the function by placing disconnect all command. Otherwise, you can reuse the address each time by disconnecting after each request.
In your case, the following may be the reason:
1. It shows that you are using the same connection id for different request simultaneously. So, It forcing to close one request and hence the error.
2. When the socket connection exceeded the limit in the client or server end. It resets the connection.
Check the above suggestions and try out.