Trying to run down why I don't receive event notifications -- PPE environment.
I am able to create a subscription on HV and can see the subscription via SubscriptionManager.GetSubscriptions.
Verified my HttpNotificationChannel is an https URL and is accessible via the Internet.
HTTPNotificationChannel is in the same domain as the action url.
Application Configuration is configured properly: have access to Thing Type, access to eventing methods checked
However, if i add or delete a Thing (e.g. Height) on healthvault, no notification message is received.
Is there anything obvious I am missing or can try to run this down?
Your application will only receive notifications for changes by users that have authorized the app, and only to the data types the app is authorized to.
Make sure in ACC the app is indeed asking for access to Height data and also the user that's adding/deleting the Height item has authorized the app.
Does that help resolve the issue?
We're seeing an SSL error hitting the notification URL registered for your PPE subscription. If you open the URL in a browser you should see the same certificate error complaining that the SSL cert doesn't match the URL. Two options to fix this would be:
- Get a valid SSL cert for your URL domain and provision it on your webserver. OR
- In PPE only we allow you to use non-HTTPS URLs for your notification endpoint. You can change HTTPS to HTTP in your subscription and this should work. Be aware however that for production we require HTTPS and you will need to get a valid SSL certificate if you go-live to PROD.
- Proposed as answer by Ali EmamiMicrosoft employee, Owner Saturday, August 25, 2012 1:37 AM