1
我們正在嘗試獲得驗證推送到Windows電話的工作。密鑰存儲和配置完成,試圖發送我們收到以下錯誤日誌中的推然而,當:Worklight 6.1驗證推送到MPNS錯誤http而不是https
SEVERE: FWLSE0170E: Notification through Microsoft Push Notification Service (MPNS) was not sent to application myApp-windowsphone8-1.3, because the notification channel that MPNS returned is not a secure uniform resource identifier (URI) (http://s.notify.live.net/u/1/db3/HmQAAACXKSe....wYet/J...0/f...q-a...A/9L_...-fw5zixLg).
000000c5 com.worklight.integration.notification.mpns.MPNSSender E FWLSE0170E: Notification through Microsoft Push Notification Service (MPNS) was not sent to application myApp-windowsphone8-1.3, because the notification channel that MPNS returned is not a secure uniform resource identifier (URI)
我如何獲得這個軟件使用HTTPS?
謝謝!
編輯:這裏的應用descriptor.xml
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Licensed Materials - Property of IBM
5725-I43 (C) Copyright IBM Corp. 2006, 2013. All Rights Reserved.
US Government Users Restricted Rights - Use, duplication or
disclosure restricted by GSA ADP Schedule Contract with IBM Corp. --><!-- Attribute "id" must be identical to application folder name --><application xmlns="http://www.worklight.com/application-descriptor" id="myAPP" platformVersion="6.1.0.01.20140518-1532">
<displayName>xxx yyy App</displayName>
<description>xxx yyy App</description>
<author>
<name>xxx yyyyyyyyyyyyyyy</name>
<email>[email protected]</email>
<homepage>http:/xxxxxxx.org/</homepage>
<copyright>Copyright xxx yyyyyyyyyyyyyyyyyyyyyy</copyright>
</author>
<mainFile>index.html</mainFile>
<features/>
<thumbnailImage>common/images/thumbnail.png</thumbnailImage>
<iphone bundleId="cc.xxx.myAPP" version="1.3">
<worklightSettings include="false"/>
<pushSender password="*********"/>
<security>
<encryptWebResources enabled="false"/>
<testWebResourcesChecksum enabled="false" ignoreFileExtensions="png, jpg, jpeg, gif, mp4, mp3"/>
</security>
</iphone>
<android version="1.3">
<skins>
<skin name="default">
<folder name="common"/>
<folder name="android"/>
</skin>
<skin name="android.tablet">
<folder name="common"/>
<folder name="android"/>
<folder name="android.tablet"/>
</skin>
</skins>
<worklightSettings include="false"/>
<pushSender key="****************-**********************" senderId="nnnnnnnnnnnnnnnnnnn"/>
<security>
<encryptWebResources enabled="false"/>
<testWebResourcesChecksum enabled="false" ignoreFileExtensions="png, jpg, jpeg, gif, mp4, mp3"/>
<publicSigningKey>Replace this text with the actual public signing key of the certificate used to sign the APK, available by using the 'Extract public signing key' wizard.</publicSigningKey>
</security>
</android>
<windowsPhone8 version="1.3">
<uuid*****************-****-****-****-******************</uuid>
<pushSender>
<authenticatedPush serviceName="mobile.xxx.zz.cc" keyAlias="mobile_key" keyAliasPassword="**********" ></authenticatedPush>
</pushSender>
</windowsPhone8>
<windows8 version="1.2">
<uuid>**********-*****-******-***********</uuid>
</windows8>
你可以粘貼到你的application-descriptor.xml的問題嗎?看看你是否輸入了所有必需的細節。 – 2014-11-06 10:48:31
不幸的是,這不足以查看問題出在哪裏;你可以創建一個示例應用程序,只顯示你遇到的問題(沒有任何機密的應用程序),所以它可以被調試? – 2014-11-06 13:28:33
有沒有辦法在工作燈上啓用一些跟蹤或完全調試日誌記錄以獲取詳細信息? @IdanAdar – JerryVienna 2014-11-06 15:51:20