Service MessagingCommunication Exception - The End

2019-06-02 16:34发布

问题:

Have a service bus queue where we are polling for the messages using the ServiceBus QueueClient/ReceiveMessage.

The service bus version used is 3.1.4 and the connectivity mode is https.

We are getting the following exception in one of the machines:

Microsoft.ServiceBus.Messaging.MessagingCommunicationException: The server rejected the upgrade request. 400 This endpoint is only for web-socket requests ---> System.ServiceModel.CommunicationException: The server rejected the upgrade request. 400 This endpoint is only for web-socket requests ---> System.IO.IOException: The server rejected the upgrade request. 400 This endpoint is only for web-socket requests

Unable to figure out the root cause of this issue as to why we are getting only in one specific machine the MessagingCommunicationException.