Service MessagingCommunication Exception - The End point is only for web socket requests

爱⌒轻易说出口 提交于 2019-12-08 06:36:13

问题


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.

来源:https://stackoverflow.com/questions/41672060/service-messagingcommunication-exception-the-end-point-is-only-for-web-socket

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!