Skip to main content

Hi,


I am facing an issue with K2 in load balanced environment. When making smart object calls we are getting connection foceibly closed error. If we retry from workspace the activity will get succeeded. It is observed more frequent under load. Anyone faced this issue before?




Exception messages




Message



An existing connection was forcibly closed by the remote host



Stack trace



at System.Net.Sockets.Socket.Receive(Bytee] buffer, Int32 offset, Int32 size, SocketFlags socketFlags) at SourceCode.Hosting.Client.BaseAPI.SocketBaseAPIConnection.OnReceiveBuffer(Bytee]& recvBuff) at SourceCode.Hosting.Client.BaseAPI.BaseAPIConnectionBroker.OnReceiveBuffer(Bytee]& recvBuff) at SourceCode.Hosting.Client.BaseAPI.BaseAPIConnection.ReceiveData(ValueType& hd)


 





- Vinoy

http://www.k2underground.com/forums/t/7027.aspx


What happens if you bypass the load balancer (use HOSTS file entries to point at a single farm server)? I've seen cases where one farm server has more issues than the others, and when that one gets hit, you get errors such as this.


HTH,
Gail


Reply