All Products
Search
Document Center

Enterprise Distributed Application Service:What do I do if the HSF invalid call is removed?

Last Updated:Jun 08, 2023

Problem description

After a client initiates a connection request to the server, the following error message is returned:

invalid call is removed because of connection closed

Causes

  • Transient network interruptions: After a client establishes a session with the server, the client can initiate a call request to the server. If network problems cause the client to close the session when the server is processing the request and the client timeout period does not end, the preceding error message is returned.

  • Server restart: After a client initiates a request to the server, the server requires some time to respond. If a socket disconnection that is caused by server restart occurs, the client receives a "connection closed" callback from the server OS. In this case, the preceding error message is returned.

  • Server out of memory (OOM): The server is in the FullGC state, which causes an OOM error.

Solutions

If the service is idempotent, retry the service.

Check the network conditions of the server to troubleshoot transient network interruption issues.