The channel faulted and it was not handled. Your WCF service should catch the error and return a message (fault contract) to the client. The client must close/abort the channel and create a new channel.
Basically, you need to implement proper error handling on both the server and client.
To check the real error, I would suggest you enable
Configuring Tracing at both client and service side.
You could share us the error log.
Best Regards,
Edward
MSDN Community Support
Please remember to click "Mark as Answer" the responses that resolved your issue.
If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.
None
0 Points
8 Posts
WCF in Azure Load Balanced servers
Jan 04, 2018 10:33 AM|huislaw|LINK
Hi,
We are currently testing our website in Azure.
There are two web servers with one load balancer.
We configured the website and the WCF in both server.
However, the error as the image below appears once a while.
https://ibb.co/k9YkKw
Is there anything we need to set to make it work in the load balancer environment?
It works all the time in our testing server without load balancer.
Thanks.
All-Star
53631 Points
23987 Posts
Re: WCF in Azure Load Balanced servers
Jan 04, 2018 07:57 PM|mgebhard|LINK
The channel faulted and it was not handled. Your WCF service should catch the error and return a message (fault contract) to the client. The client must close/abort the channel and create a new channel.
Basically, you need to implement proper error handling on both the server and client.
Contributor
3310 Points
1607 Posts
Re: WCF in Azure Load Balanced servers
Jan 05, 2018 05:31 AM|Edward Z|LINK
Hi huislaw,
To check the real error, I would suggest you enable Configuring Tracing at both client and service side.
You could share us the error log.
Best Regards,
Edward
Please remember to click "Mark as Answer" the responses that resolved your issue.
If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.