Symptoms

invalid call is removed because of connection closed

Causes

  • Transient network disconnection: After the provider and consumer establish a connection, the consumer initiates a call request. An error is returned if the provider is still processing this request within the timeout period of the consumer and the consumer is disconnected due to network and other problems.
  • Provider restart: After the consumer initiates a request, it waits for a response from the provider. If the provider is restarted at this time, the socket is disconnected and the consumer receives an operating system connection closed callback. In this case, an error is returned.
  • Server out of memory (OOM): FullGC is always performed before OOM occurs on the server.

Solutions


If the service is idempotent, retry the service. Check the server network. This problem is often caused by network disconnection (transient disconnection).