TitanHW opened a new issue #1722:
URL: https://github.com/apache/dubbo-go/issues/1722


   <!-- Please use this template while reporting a bug and provide as much info 
as possible. Not doing so may result in your bug not being addressed in a 
timely manner. Thanks!
   
   -->
   
   
   **What happened**:
   producer throws an error : An existing connection was forcibly closed by the 
remote host
   ```
   ERROR   [email protected]/session.go:549   [session.conn.read] = error:read 
tcp *** -> ***: 
   wsarecv: An existing connection was forcibly closed by the remote host.
   github.com/apache/dubbo-getty.(*gettyTCPConn).recv
   ```
   
   **What you expected to happen**:
   
   No error should be reported when the consumer is closed
   
   **How to reproduce it (as minimally and precisely as possible)**:
   make sure service discovery is enabled, exit the consumer process normally, 
the producer will report the error
   
   **Anything else we need to know?**:
   
   Comparing the results of these two samples, you will find the difference
   
[https://github.com/apache/dubbo-go-samples/tree/master/helloworld](https://github.com/apache/dubbo-go-samples/tree/master/helloworld)
   
[https://github.com/apache/dubbo-go-samples/tree/master/registry/servicediscovery/nacos](https://github.com/apache/dubbo-go-samples/tree/master/registry/servicediscovery/nacos)
   
   "servicediscovery/nacos' will throw "wsarecv: An existing connection was 
forcibly closed by the remote host.' error


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to