c# - WCF: "Failed to open System.ServiceModel.Channels.ClientReliableDuplexSessionChannel" -
I currently have a WCF service with a callback agreement (duplex), and when I use that application It uses its computer everything works fine, but when I try it from a different computer, it does not connect.
Once these problems have occurred I started switching to callback using this wsDualHttpBinding because when I wsHttpBinding everything is fine has worked.
Why is not the web service accepting requests from other computers? Is it necessary to modify some hosting settings?
Regarding logs, I am getting this:
within the allotted time of open operation 00:01:00 Not completed Time may be a part of a long term expiration allocated for this operation
Failed to open System.ServiceModel.Channels.ClientReliableDuplexSessionChannel
Error System.ServiceModel.Channels. ClientReliableDuplexSessionChannel
Error System.ServiceModel.Channels.ServiceChannel
Failed to open System.ServiceModel.Channels.ServiceChannel
port my router Open (both TCP and UDP) so that there is no problem.
ServiceContract (name = "MusicRepo_DBAccess_Service", CallbackContract = typeof (IOnlineUsersCallback), SessionMode = SessionMode.Required)]
Service:
< Code> [ServiceBehavior (ConcurrencyMode = ConcurrencyMode.Reentrant, InstanceContextMode = InstanceContextMode.Single)] [U
The thing is, when I switched wsHttpBinding (which was working fine) wsDualHttpBinding (because I needed callback) < / P>
[Update]
Now I switch from wsDualHttpBinding to NetTcpBinding And for some reason, everything is working fine
I have used to help in establishing hosting on IIS, and thanks to the callback, everything works. Used to be.
I now switch from wsDualHttpBinding to NetTcpBinding And for some reason, everything is working fine.
I have used to help me on hosting the IIS, and thank you everything is working as expected in the form of work.
Comments
Post a Comment