Skip to main content


 

Symptoms

 


Customer is getting the following error when smartforms executes rule that will send email.
61012 Exception from message source : System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it 127.0.0.1:9999
at System.Net.Sockets.Socket.EndConnect(IAsyncResult asyncResult)
at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socketand socket, IPAddressand address, ConnectSocketState state, IAsyncResult asyncResult, Exceptionand exception)
--- End of inner exception stack trace ---
at System.Web.Services.Protocols.WebClientProtocol.EndSend(IAsyncResult asyncResult, Objectand internalAsyncState, Streamand responseStream)
at System.Web.Services.Protocols.SoapHttpClientProtocol.InvokeAsyncCallback(IAsyncResult result)
InnerException: No connection could be made because the target machine actively refused it 127.0.0.1:9999
 

 

Diagnoses

 


The issue was caused by the following debug setting in the K2HostServer.exe.config
    <defaultProxy enabled="true" useDefaultCredentials="true">
      <proxy autoDetect="false" bypassonlocal="false" proxyaddress="http://127.0.0.1:9999" usesystemdefault="false" />
    </defaultProxy> 
 
 

 

Resolution

After removing the above debug setting and restarted K2 HostServer, the issue was resolved.

 

 



 
Be the first to reply!

Reply