7 Replies
      Latest reply on Sep 8, 2019 5:27 AM by renat6
      ToomToom Level 1 Level 1 (0 points)

        We want to start collecting the Auto Renewable Subscription notifications as described here:

        https://help.apple.com/itunes-connect/developer/#/dev0067a330b

         

        We're using Flask/Gunicorn/Nginx on a Google Compute Engine instance. All the SSL implementation is working, and it receives/works fine with all of our cURL tests. However, we have yet to see anything post from Apple. I added the "Subscription Status URL" to our app 2 days ago, we've had hundreds of subscription events (indicated in our analytics), but have not had any connection attempts from a legitimate server besides our tests (that we can see in our NGINX access logs).

         

        How long does it take for Apple to start sending the notifications? Do we need to release an update to the app for it to go live?

        • Re: Not Receiving Auto-Renewable Subscription Server Notifications
          anupam.dhanuka Level 1 Level 1 (0 points)

          Hi

           

          We are also not receiving any notifications on a URL we have setup. Our server is setup on Amazon EC2. Our cURL tests are working fine. Also we have setup SSL and this is also working properly via cURL.

           

          Any way to know if the Apple server is sending notifications or if it is receiving any error from our server?

          • Re: Not Receiving Auto-Renewable Subscription Server Notifications
            sidneibjunior Level 1 Level 1 (0 points)

            I'm also having problems regarding to the Apple's subscriptions notifications.

             

            When I first subscript a product, my server receives a INITIAL_BUY notification, which is right.

            But when the subscription expires, I receive no renew notifications.  The renew notification arrives more than 10 minutes late, and the subscription period on sandbox environment is only 5 minutes.

             

            Is this delay normal on test environments?

            Should I expect the same delay on production?

             

            Tks,

            Sidnei

              • Re: Not Receiving Auto-Renewable Subscription Server Notifications
                Brizzly Level 1 Level 1 (0 points)

                Hello, I'm also not receiving any notifications on a URL.

                Am I the only one?

                  • Re: Not Receiving Auto-Renewable Subscription Server Notifications
                    Brizzly Level 1 Level 1 (0 points)

                    I filled a bug report : https://bugreport.apple.com/web/?problemID=45139272

                    Under investigation.

                      • Re: Not Receiving Auto-Renewable Subscription Server Notifications
                        Brizzly Level 1 Level 1 (0 points)

                        nscurl --ats-diagnostics **URL**

                         

                        Starting ATS Diagnostics

                         

                        Configuring ATS Info.plist keys and displaying the result of HTTPS loads to **URL**

                        A test will "PASS" if URLSession:task:didCompleteWithError: returns a nil error.

                        Use '--verbose' to view the ATS dictionaries used and to display the error received in URLSession:task:didCompleteWithError:.

                        ================================================================================

                         

                        Default ATS Secure Connection

                        ---

                        ATS Default Connection

                        Result : PASS

                        ---

                         

                        ================================================================================

                         

                        Allowing Arbitrary Loads

                         

                        ---

                        Allow All Loads

                        Result : PASS

                        ---

                         

                        ================================================================================

                         

                        Configuring TLS exceptions for **URL**

                         

                        ---

                        TLSv1.3

                        2018-11-28 19:07:37.110 nscurl[26863:1382085] NSURLSession/NSURLConnection HTTP load failed (kCFStreamErrorDomainSSL, -9858)

                        Result : FAIL

                        ---

                         

                        ---

                        TLSv1.2

                        Result : PASS

                        ---

                         

                        ---

                        TLSv1.1

                        Result : PASS

                        ---

                         

                        ---

                        TLSv1.0

                        Result : PASS

                        ---

                         

                        ================================================================================

                         

                        Configuring PFS exceptions for **URL**

                         

                        ---

                        Disabling Perfect Forward Secrecy

                        Result : PASS

                        ---

                         

                        ================================================================================

                         

                        Configuring PFS exceptions and allowing insecure HTTP for **URL**

                         

                        ---

                        Disabling Perfect Forward Secrecy and Allowing Insecure HTTP

                        Result : PASS

                        ---

                         

                        ================================================================================

                         

                        Configuring TLS exceptions with PFS disabled for **URL**

                         

                        ---

                        TLSv1.3 with PFS disabled

                        2018-11-28 19:07:38.025 nscurl[26863:1382073] NSURLSession/NSURLConnection HTTP load failed (kCFStreamErrorDomainSSL, -9858)

                        Result : FAIL

                        ---

                         

                        ---

                        TLSv1.2 with PFS disabled

                        Result : PASS

                        ---

                         

                        ---

                        TLSv1.1 with PFS disabled

                        Result : PASS

                        ---

                         

                        ---

                        TLSv1.0 with PFS disabled

                        Result : PASS

                        ---

                         

                        ================================================================================

                         

                        Configuring TLS exceptions with PFS disabled and insecure HTTP allowed for **URL**

                         

                        ---

                        TLSv1.3 with PFS disabled and insecure HTTP allowed

                        2018-11-28 19:07:38.665 nscurl[26863:1382084] NSURLSession/NSURLConnection HTTP load failed (kCFStreamErrorDomainSSL, -9858)

                        Result : FAIL

                        ---

                         

                        ---

                        TLSv1.2 with PFS disabled and insecure HTTP allowed

                        Result : PASS

                        ---

                         

                        ---

                        TLSv1.1 with PFS disabled and insecure HTTP allowed

                        Result : PASS

                        ---

                         

                        ---

                        TLSv1.0 with PFS disabled and insecure HTTP allowed

                        Result : PASS

                        ---

                         

                         

                        @Apple : My bug report is still pending.... please help me !

                         

                        Thanks.