<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Splunk Mobile Access Server: push notifications do not work in Deployment Architecture</title>
    <link>https://community.splunk.com/t5/Deployment-Architecture/Splunk-Mobile-Access-Server-push-notifications-do-not-work/m-p/146514#M23115</link>
    <description>&lt;P&gt;Hi Stephan,&lt;/P&gt;

&lt;P&gt;Could you please open a support ticket? We will send you an updated the push notification server certificate. The current one is revoked. Alternatively you can wait for 1 or 2 months, when the v2 mobile server is released.&lt;/P&gt;</description>
    <pubDate>Mon, 15 Dec 2014 09:12:30 GMT</pubDate>
    <dc:creator>jzhong_splunk</dc:creator>
    <dc:date>2014-12-15T09:12:30Z</dc:date>
    <item>
      <title>Splunk Mobile Access Server: push notifications do not work</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Splunk-Mobile-Access-Server-push-notifications-do-not-work/m-p/146513#M23114</link>
      <description>&lt;P&gt;Hi *,&lt;/P&gt;

&lt;P&gt;after installing the Mobile Server according to the manual, I am able to access the dashboards -- everthing works as expected. Then I wanted to test push notification to the iPad. The "telnet"-command to check the connection to Apples Push service got a "connect", so the basic communication betwee mserver's host and Apple works.&lt;BR /&gt;
But when a trigger fired, the push notification did not get thought. In the log messages for the mserver (Version 1.0.1) the following is written:&lt;BR /&gt;
2014-12-05T23:52:52.412+01:00 - info:  category=update_subscribed_alert_groups, alertGroups=[name=PoE over current port error, app=search, subscribed=true, name=EDNS Nachrichtentest, app=search, subscribed=true], worker=9&lt;BR /&gt;
2014-12-05T23:57:13.940+01:00 - info:  category=start_checking_triggered_alerts, worker=2&lt;BR /&gt;
2014-12-05T23:57:13.940+01:00 - info:  category=check_triggered_alerts, worker=2&lt;BR /&gt;
2014-12-05T23:57:14.028+01:00 - info:  category=clean_up_removed_alert_groups, alertGroups=[], worker=2&lt;BR /&gt;
2014-12-05T23:57:14.029+01:00 - info:  category=start_syncing_fired_alert_groups, worker=2&lt;BR /&gt;
2014-12-05T23:57:14.089+01:00 - info:  category=fired_alert_groups_synced, syncedAlertGroups=1, worker=2&lt;BR /&gt;
2014-12-05T23:57:14.098+01:00 - info:  category=sync_triggered_alerts, removedAlertGroups=0, syncedAlertGroups=1, sentSubscribers=1, sentMessages=1, worker=2&lt;BR /&gt;
2014-12-05T23:57:14.098+01:00 - info:  category=finish_checking_triggered_alerts, removedAlertGroups=0, syncedAlertGroups=1, sentSubscribers=1, sentMessages=1, worker=2&lt;BR /&gt;
2014-12-05T23:57:14.846+01:00 - warn:  category=apple_push_notification_socket_error, code=ECONNRESET, worker=2&lt;BR /&gt;
2014-12-05T23:57:14.851+01:00 - warn:  category=apple_push_notification_socket_error, , worker=2&lt;BR /&gt;
2014-12-05T23:57:15.370+01:00 - warn:  category=apple_push_notification_socket_error, code=ECONNRESET, worker=2&lt;BR /&gt;
2014-12-05T23:57:15.377+01:00 - warn:  category=apple_push_notification_socket_error, , worker=2&lt;BR /&gt;
2014-12-05T23:57:15.899+01:00 - warn:  category=apple_push_notification_socket_error, code=ECONNRESET, worker=2&lt;BR /&gt;
2014-12-05T23:57:15.907+01:00 - warn:  category=apple_push_notification_socket_error, , worker=2&lt;BR /&gt;
... and this goes on forever, until I stopped the Mobile server, disabled the alarm and restarted the Mobile server. A second test confirmed this result: again after an alarm has fired, the same "warn"-messages were generated and no push happened.&lt;/P&gt;

&lt;P&gt;Any helpful hints?&lt;BR /&gt;
Thanks in advance,&lt;BR /&gt;
Stephan&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 18:20:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Splunk-Mobile-Access-Server-push-notifications-do-not-work/m-p/146513#M23114</guid>
      <dc:creator>swasserroth</dc:creator>
      <dc:date>2020-09-28T18:20:22Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Mobile Access Server: push notifications do not work</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Splunk-Mobile-Access-Server-push-notifications-do-not-work/m-p/146514#M23115</link>
      <description>&lt;P&gt;Hi Stephan,&lt;/P&gt;

&lt;P&gt;Could you please open a support ticket? We will send you an updated the push notification server certificate. The current one is revoked. Alternatively you can wait for 1 or 2 months, when the v2 mobile server is released.&lt;/P&gt;</description>
      <pubDate>Mon, 15 Dec 2014 09:12:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Splunk-Mobile-Access-Server-push-notifications-do-not-work/m-p/146514#M23115</guid>
      <dc:creator>jzhong_splunk</dc:creator>
      <dc:date>2014-12-15T09:12:30Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Mobile Access Server: push notifications do not work</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Splunk-Mobile-Access-Server-push-notifications-do-not-work/m-p/146515#M23116</link>
      <description>&lt;P&gt;Thanks for the answer, I have opened a support ticket to get a valid license for the Apple push notification API.&lt;/P&gt;

&lt;P&gt;And I've added "bug" as additional tag...&lt;/P&gt;</description>
      <pubDate>Mon, 15 Dec 2014 10:28:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Splunk-Mobile-Access-Server-push-notifications-do-not-work/m-p/146515#M23116</guid>
      <dc:creator>swasserroth</dc:creator>
      <dc:date>2014-12-15T10:28:36Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Mobile Access Server: push notifications do not work</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Splunk-Mobile-Access-Server-push-notifications-do-not-work/m-p/146516#M23117</link>
      <description>&lt;P&gt;I have reviewed this with jzhong ( original answer ) to provide a more detailed response. For the  point 1 in Note section:  "1. I attach the new Apple Push Notification certificate."   you need to contat &lt;A href="mailto:support@splunk.com" target="_blank"&gt;support@splunk.com&lt;/A&gt;&lt;/P&gt;

&lt;H2&gt;Overview&lt;/H2&gt;

&lt;P&gt;Mobile access server talks to Apple's push notification gateway via a binary interface using SSL. The SSL certificate required for these connections is obtained from Member Center. To make the push notification work for a re-signed iOS app, mobile access server needs to use a different SSL certificate provided by customer.&lt;/P&gt;

&lt;H2&gt;Steps&lt;/H2&gt;

&lt;P&gt;1) Obtain a .p12 SSL certificate and a passphrase for communication with Apple's push notification gateway. Typically, this is a certificate used to talk to the production push notification gateway of Apple. You can find more details here:&lt;/P&gt;

&lt;P&gt;&lt;A href="https://developer.apple.com/library/ios/documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/Chapters/ProvisioningDevelopment.html#//apple_ref/doc/uid/TP40008194-CH104-SW1" target="_blank"&gt;https://developer.apple.com/library/ios/documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/Chapters/ProvisioningDevelopment.html#//apple_ref/doc/uid/TP40008194-CH104-SW1&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;I also found the descrption on this page quite extensive:&lt;/P&gt;

&lt;P&gt;&lt;A href="http://www.raywenderlich.com/32960/apple-push-notification-services-in-ios-6-tutorial-part-1" target="_blank"&gt;http://www.raywenderlich.com/32960/apple-push-notification-services-in-ios-6-tutorial-part-1&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;2) Copy the .p12 certificate above to a certain location in your mobile access server, which the mobile access server has the permission to access.&lt;/P&gt;

&lt;P&gt;3) In the MOBILE_ACCESS_SERVER_HOME/server/config/config_local.json file, create/modify the following JSON properties:&lt;/P&gt;

&lt;P&gt;{&lt;BR /&gt;
...&lt;BR /&gt;
"ios": {&lt;BR /&gt;
"apn": {&lt;BR /&gt;
"${apn_env}": {&lt;BR /&gt;
"push_cert": "${/path/to/your/apn/ssl/certificate.p12}",&lt;BR /&gt;
"push_passphrase": "${your_apn_passphrase}"&lt;BR /&gt;
}&lt;BR /&gt;
}&lt;BR /&gt;
}&lt;BR /&gt;
...&lt;BR /&gt;
}&lt;/P&gt;

&lt;P&gt;Here are three variables:&lt;/P&gt;

&lt;P&gt;3.1) apn_env: It could be either "production" or "sandbox" depending on which push notification gateway you need to connect to. Typically it is "production".&lt;/P&gt;

&lt;P&gt;3.2) "push_cert" value: it should be a path to your APN SSL certificate p12 file in step 2.&lt;/P&gt;

&lt;P&gt;3.3) "push_passphrase" value: it should be the passphrase for the p12 certificate.&lt;/P&gt;

&lt;P&gt;4) Once the change is done, restart your server.&lt;/P&gt;

&lt;H2&gt;Notes&lt;/H2&gt;

&lt;OL&gt;
&lt;LI&gt;&lt;P&gt;I attach the new Apple Push Notification certificate.&lt;/P&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;P&gt;The v1 customer doesn’t need to update the /server/config/config_local.json. They can stop the mobile access server, then replace this p12 file, start the server again. It should work.&lt;/P&gt;&lt;/LI&gt;
&lt;/OL&gt;</description>
      <pubDate>Mon, 28 Sep 2020 18:36:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Splunk-Mobile-Access-Server-push-notifications-do-not-work/m-p/146516#M23117</guid>
      <dc:creator>mzorzi</dc:creator>
      <dc:date>2020-09-28T18:36:38Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Mobile Access Server: push notifications do not work</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Splunk-Mobile-Access-Server-push-notifications-do-not-work/m-p/146517#M23118</link>
      <description>&lt;P&gt;I installed version 2.0.0 of the MAS however I still get the same errors. Do I need to get a cert from Apple?&lt;/P&gt;</description>
      <pubDate>Thu, 05 Feb 2015 22:36:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Splunk-Mobile-Access-Server-push-notifications-do-not-work/m-p/146517#M23118</guid>
      <dc:creator>jobauer</dc:creator>
      <dc:date>2015-02-05T22:36:18Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Mobile Access Server: push notifications do not work</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Splunk-Mobile-Access-Server-push-notifications-do-not-work/m-p/146518#M23119</link>
      <description>&lt;P&gt;I just checked the file ./server/config/notification/apn_certificate_production.p12, which contains the required certificate: the certificate shipped with the 2.0.0 version of the Mobile Access Server should work. It is identical with the cert I have received from Splunk after cert shipped with 1.0.1 was expired...&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 18:51:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Splunk-Mobile-Access-Server-push-notifications-do-not-work/m-p/146518#M23119</guid>
      <dc:creator>swasserroth</dc:creator>
      <dc:date>2020-09-28T18:51:54Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Mobile Access Server: push notifications do not work</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Splunk-Mobile-Access-Server-push-notifications-do-not-work/m-p/146519#M23120</link>
      <description>&lt;P&gt;our new mobile add-on is release, please use this add-on instead:&lt;BR /&gt;
&lt;A href="https://splunkbase.splunk.com/app/2887/"&gt;https://splunkbase.splunk.com/app/2887/&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Also, please be aware that Splunk mobile app on IOS/android will only work on new add-on.&lt;/P&gt;</description>
      <pubDate>Fri, 09 Oct 2015 03:56:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Splunk-Mobile-Access-Server-push-notifications-do-not-work/m-p/146519#M23120</guid>
      <dc:creator>mchang_splunk</dc:creator>
      <dc:date>2015-10-09T03:56:48Z</dc:date>
    </item>
  </channel>
</rss>

