iTunes Sandbox Extremely Slow

I'm developing IAP using sandbox enviornment, but the API is VERY VERY VERY EXTRMELY slow.

I takes about 30sec ~ 1minute to response after I make a payment on iOS, or, I am trying to restore the purchase, all I got is the


restoreCompletedTransactionsFailedWithError


callback, and with the "Cannot connect to iTunes Store" related error.

And same with the validation API: https://sandbox.itunes.apple.com/verifyReceipt


Only 1 out of 10 times will give me succesfull response, others just keep giving me timeout response.

This is really annoying, I've spent my whole day of waiting the response.


Anyone facing the same issue?

I'm 100% sure my network works fine.

Replies

Same issue here. Any update about the sandbox status?

what happens if you try pinging the server using the Terminal app


user$ ping sandbox.itunes.apple.com

My results are as follows

PING sandbox.itunes-apple.com.akadns.net (17.154.66.159): 56 data bytes

64 bytes from 17.154.66.159: icmp_seq=0 ttl=247 time=2.871 ms

64 bytes from 17.154.66.159: icmp_seq=1 ttl=247 time=3.001 ms


rich kubota - rkubota@apple.com

developer technical support CoreOS/Hardware/MFI

We are seeing the same issue as well. The sandbox very slow to return product prices, make purchases, and restore purchases. It also repeatedly asks us to verify our Apple ID in the Settings app, even though it is just a sandbox user. We have been working with IAPs for years and have never run into these kinds of issues.

user$ PING sandbox.itunes-apple.com.akadns.net (17.154.66.159): 56 data bytes

Request timeout for icmp_seq 0

Request timeout for icmp_seq 1

Request timeout for icmp_seq 2

Same issue here...

Ditto here. Its just a loop, enter the Sandbox user ID and password, and it will ask for it again. Plus this is an iMessage app I'm testing, and it will close the iMessage window in the background. Has anyone seen this get resolved in the past few days?

Update, about 10 minutes after replying here last night, I finally started getting the Sandbox prompts to purchase my app. So it took around 20-30 minutes for all my test purchase attempts to finally register back.


I didn't realize there was a health board to check, so I can't tell if this was green or what last night. For future reference... https://developer.apple.com/system-status/

Hi, today we're seeing a very erratic behavior from the IAP sandbox.


For some time,purchaes take way too long and trigger timeouts and then, after a while, they start responding fast, then back to long waiting times.


It doesn't seem like this website is 100% trustworthy...

https://developer.apple.com/system-status/


Did you guys find any work around /fix ?

Same here. The sandbox env is EXTREMELY slow. A ping times out. Trying to purchase some product results in not showing up the purchase dialog. Restoring works in 2 of 10 cases.


Also a curl request to https://sandbox.itunes.apple.com/verifyReceipt sporadically gives me


cURL error 56: OpenSSL SSL_read: SSL_ERROR_SYSCALL, errno 104 (see http://curl.haxx.se/libcurl/c/libcurl-errors.html)

Same this happening here on March 5, 2018. Still slow, dying to timeouts.

Same issue here.

It's nightmare as I can't debug my app even in TestFlight build.

I found a similar issue, but this have been left for over one year...

https://forums.developer.apple.com/thread/75076

Same here. Really slow connection for the itunes sandbox environment. I've opened a bug and it was closed as a duplicate. Hopefully it's going to be fixed soon.

The iTunes Server group has asked that if you are finding that the performance of the sandbox servers are slower than expected, please submit a bug report. The instructions for doing so are as follows.


First install the StoreKit and sysdiagnose profiles

Install StoreKit profile to an iOS 11+ device

Please login to the Apple Developer Bug Report - Profiles and Logs website

<https://developer.apple.com/bug-reporting/profiles-and-logs/>

Click the “Profile” URL associated with the “App Store/iTunes Store for iOS” item. You will download the “itmsdebugging.mobileconfig” file.

Click the “Profile” URL associated with the "sysdiagnose for iOS" item.

Read the instructions for triggering the sysdiagnose profile. Note where to find the sysdiagnose archive once you've sync'd the device with iTunes.

IMPORTANT - PLEASE RESTART THE DEVICE


CAPTURE THE DEVICE CONSOLE LOG - connect the device to a macOS X Sierra (or newer) system (macOS X 10.12.x)

1. Launch the Console app and select the device in the left side of the Console window

2. Before starting the iOS app, click “Clear”.

3. Start the application and perform the steps to replicate the problem.

4. When the issue occurs, trigger the sysdiagnose archive. Note the time of the event.

5. save the contents of the Console log. Please verify that the string “fetchSoftwareAddOns” appears in the console log. If this string does not appear, then the profile was either not installed properly or the device was not restarted after the install to the device.

6. Wait 5 minutes after triggering the sysdiagnose archive, then sync the device with iTunes.

7. When the sync is finished, navigate to the location of the sysdiagnose logs


To submit a bug report for investigation by iTunesConnect, please use the Apple Developer Bug Report web page - http://bugreport.apple.com.


After logging in, select the “Other” Product.


Fill out the bug report form. In the description section -

make sure to include the application ID

add the in app purchase identifiers which are failing

attach the console log as well as the sysdiagnose archive which you captured.

Indicate whether the problem is with the sandbox or production version of the app.

Describe what sequence of StoreKit API calls were made.

Note the time of the failure in the description.


By following these instructions, the Bug Report team will be able to expedite the assignment of the bug report to the correct group.


rich kubota - rkubota@apple.com

developer technical support CoreOS/Hardware/MFI

I also have this. But do you know if it will ruin the sandbox account if you fill it out? If you sign in to your sandbox account through the settings, the sandbox account wil (apparently) be converted to a normal account and it can't be used for sandbox purchases anymore. There is no information of this happening, it just happens.

I've checked the health board several times since I started having this erratic behavior and it has been green all along. So I guess it's not really that reliable