问题描述
我使用的Azure移动服务做推送通知。我有一个推送通知服务总线创建的。当我试图通过REST服务,我得到以下响应连接到:
I am using Azure mobile services to do Push Notifications. I have a push notification service bus created. When I try to connect to that through a REST service I get the following response:
404No service is hosted at the specified address. TrackingId:dfc9aea1-e229-4eb7-b393-c8cd6bce258d_G19,TimeStamp:11/3/2014 8:39:21 PM
邮递员请求看起来像这样,可以完全实现的问题:
The POSTMAN request looks like so which duplicates the problem:
我如何进一步解决这一点,因为服务是那里?我缺少什么?
How do I further troubleshoot this because the service is there? What am I missing?
推荐答案
以上API的引用可以在这里找到:
A reference to the above API can be found here:http://msdn.microsoft.com/en-us/library/azure/dn223266.aspx
与微软的故障排除后,我们发现这个问题是双重的。
After troubleshooting with Microsoft we found the problem to be two-fold.
您应该使用连接字符串键毂页面上找到。名为DefaultFullSharedAccessSignature。
The Connection String key you should be using is found on the hubs page. Named 'DefaultFullSharedAccessSignature'.
接下来的事情是集线器名称不应命名空间。
在我的URI ...
The next thing is the hub name shouldn't be the namespace.In my URI…
的qb-alphahub-ns/messages/?api-version=2013-10
https://qb-alphahub-ns.servicebus.windows.net/qb-alphahub-ns/messages/?api-version=2013-10
应
的qb-alphahub/messages/?api-version=2013-10
https://qb-alphahub-ns.servicebus.windows.net/qb-alphahub/messages/?api-version=2013-10
这篇关于Azure的推送通知REST服务没有在指定地址托管的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!