Problem:
Case i) I got an exception while running the below code connected with enterprise network running on virtual machine.
try
{ PushNotificationChannel channel = null;
channel = await PushNotificationChannelManager.CreatePushNotificationChannelForApplicationAsync();
}
ie Timeout error while requesting for the Channel URI for push notification.
Case ii) Tried to get the url/server address which might be blocked by the enterprise network while connecting with WNS using fiddler but unfortunately was not successful.
Note : If I use open network the above code works as charm .
Looking for help, to fix the push notification issue on enterprise network. Also, if anyone knows how to get the WNS Server path/url which is being called when we requested for push channel uri.
I have replied this issue in this thread , you should make sure that your enterprise network do not have any policy which may block the following URLs. You can contact your network administrator to check the firewall settings.
1: The URL for Creating Channel URI: notify.windows.com
2: The URL for getting token: https://login.live.com/accesstoken.srf
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.