Hi,
I am working on windows 8 app which is using wcf duplex messaging for two way communication between server and client.
I have deployed my duplex WCF service on Azure portal which is using TCP binding. I have tested this service on local IIS and everything is working fine. Only on Azure it is giving me errors.
The error details are as follows
Message: The socket connection was aborted. This could be caused by an error processing your message or a receive timeout being exceeded by the remote host, or an underlying network resource issue. Local socket timeout was '00:00:59.7149641'.
Inner Exception: "An existing connection was forcibly closed by the remote host"
SocketErrorCode: System.Net.Sockets.SocketError.ConnectionReset
StackTrace: at System.ServiceModel.Channels.SocketConnection.HandleReceiveAsyncCompleted()
at System.ServiceModel.Channels.SocketConnection.OnReceiveAsync(Object sender, SocketAsyncEventArgs eventArgs)
I have created a singleton class which creates a client proxy and then call the wcf method like this
var result= await ProxySlate.GetInstance().GetClientProxy.GetUserInfoAsync();
Ovais Mehboob Ahmed Khan http://ovaismehboob.wordpress.com