Can't receive App Store Server Test Notification

I have setup my https server to receive App Store Server Notification. But I can not receive the test notification. The following is what I did and checked:

  1. Running my https server (It's a simple https server build with python) on port 11234. The server url is https://recorderplus.com:11234
  2. Setup the sandbox server url in App Store Connect: https://recorderplus.com:11234
  3. Use App Store Server Library(python) to request a test notification, And get a response: SendTestNotificationResponse(testNotificationToken='f6ea15ca-0f4f-4233-8ae6-6ecc8a7ab43c_1719371691827')
  4. But my https server did not receive the test notification.
  5. To make sure my https server works fine. In browser(firefox) I input "https://recorderplus.com:11234", the browser can get the result page from https server.
  6. My https server also support Post command, I run the command "curl -X POST -d "test" https://recorderplus.com:11234", my https server can get the post and print it.

Did I miss anything? Is there anything I should do or check to make my server receive the test notification?

Hi, guys

I figured it out by myself.

  1. Use App Store Server Library(python) to request a test notification,

client.request_test_notification()

And get a response: SendTestNotificationResponse(testNotificationToken='f6ea15ca-0f4f-4233-8ae6-6ecc8a7ab43c_1719371691827')

In the response, I can get a test Notification token, then use the token to get the notification status:

response = client.get_test_notification_status('f6ea15ca-0f4f-4233-8ae6-6ecc8a7ab43c_1719371691827') print(response)

from the printed response, I find the error message: TLS_ISSUE

  1. In the command line, test my https server with openssl:

openssl s_client -connect recorderplus.com:1234

Then I will get the message that certificate chain is not complete.

It turns out that I only loaded the certificate of my site.

To resolve this issue, I should load the full certificate chain.

Found the fullchain.cer and load it, all things are ok now.

Can't receive App Store Server Test Notification
 
 
Q