86 Replies
      Latest reply on Apr 25, 2018 11:05 PM by mo.ag
      JohnnyTseng Level 1 Level 1 (0 points)

        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.

        • Re: iTunes Sandbox Extremely Slow
          mlostek Level 1 Level 1 (0 points)

          Same issue here. Any update about the sandbox status?

            • Re: iTunes Sandbox Extremely Slow
              rkubota Level 1 Level 1 (20 points)

              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

            • Re: iTunes Sandbox Extremely Slow
              markymark Level 1 Level 1 (0 points)

              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.

                • Re: iTunes Sandbox Extremely Slow
                  CartoonSmart.com Level 3 Level 3 (270 points)

                  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?

                    • Re: iTunes Sandbox Extremely Slow
                      Awedell Level 1 Level 1 (0 points)

                      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.

                  • Re: iTunes Sandbox Extremely Slow
                    emix Level 1 Level 1 (0 points)

                    Same issue here...

                    • Re: iTunes Sandbox Extremely Slow
                      xalbillos Level 1 Level 1 (0 points)

                      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 ?

                      • Re: iTunes Sandbox Extremely Slow
                        oisu Level 1 Level 1 (0 points)

                        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

                        • Re: iTunes Sandbox Extremely Slow
                          Sisky_RO Level 1 Level 1 (0 points)

                          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.

                            • Re: iTunes Sandbox Extremely Slow
                              rich Apple Staff Apple Staff (255 points)

                              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

                                • Re: iTunes Sandbox Extremely Slow
                                  zyntx Level 1 Level 1 (0 points)

                                  Thanks Rich for the details, have also sent in a bug

                                  • Re: iTunes Sandbox Extremely Slow
                                    aaronvegh Level 1 Level 1 (0 points)

                                    Thanks Rich. I've filed rdar://39526310

                                     

                                    Hoping for a resolution soon...

                                    • Re: iTunes Sandbox Extremely Slow
                                      aaronvegh Level 1 Level 1 (0 points)

                                      Hi Rich,

                                      Just wanted to check back in. My radar was marked as a duplicate and closed. The ticket it duped is rdar://39526782, which has also been closed. Meanwhile I'm still getting no pings back from the server:

                                       

                                      $ ping sandbox.itunes.apple.com

                                      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

                                      Request timeout for icmp_seq 3

                                      Request timeout for icmp_seq 4

                                      Request timeout for icmp_seq 5

                                      Request timeout for icmp_seq 6

                                      ^C

                                      --- sandbox.itunes-apple.com.akadns.net ping statistics ---

                                      8 packets transmitted, 0 packets received, 100.0% packet loss

                                       

                                      Can you shed any light on this?

                                       

                                      Thanks,

                                      Aaron

                                      • Re: iTunes Sandbox Extremely Slow
                                        benroux Level 1 Level 1 (0 points)

                                        Are you certain that this server even accepts pings in the first place? I am fairly sure we are gathering useless data here. Unless this is actually as bad as it seems, in which case this is positively inexcusable from a company of any appreciable size. Results from 3 different machines:

                                         

                                        Local Machine (Denver)

                                        $ ping -c5 sandbox.itunes.apple.com

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

                                         

                                        --- sandbox.itunes-apple.com.akadns.net ping statistics ---

                                        5 packets transmitted, 0 packets received, 100.0% packet loss

                                         

                                        Production Server (AWS, East)

                                        $ ping -c 5 sandbox.itunes.apple.com

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

                                         

                                        --- sandbox.itunes-apple.com.akadns.net ping statistics ---

                                        5 packets transmitted, 0 received, 100% packet loss, time 4031ms

                                         

                                        Web Server (Linode, Central)

                                        $ ping -c 5 sandbox.itunes.apple.com

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

                                         

                                        --- sandbox.itunes-apple.com.akadns.net ping statistics ---

                                        5 packets transmitted, 0 received, 100% packet loss, time 4044ms

                                         

                                        CLI Web Requests

                                        $ curl -I https://sandbox.itunes.apple.com/

                                        HTTP/1.1 503 Service Unavailable

                                        Content-Length: 62

                                        Connection: close

                                        Cache-Control: no-cache,no-store

                                        Pragma: no-cache

                                         

                                        $ curl -I https://sandbox.itunes.apple.com/verifyReceipt

                                        HTTP/1.1 200 Apple WebObjects

                                        cache-control: private

                                        // ... a lot more details i wont bother pasting ...

                                        expires: Mon, 23 Apr 2018 19:27:02 GMT

                                        x-apple-application-instance: 990169

                                        content-length: 16

                                    • Re: iTunes Sandbox Extremely Slow
                                      g8tauk Level 1 Level 1 (0 points)

                                      I have same problem. 2 days ago it worked, but now it does not work.

                                      I can not test in-app purchase feature in sandbox environment(TestFlight) before release app.


                                      SKProductsRequest returns an error in sandbox environment.

                                      The error is:

                                      Error Domain=SSErrorDomain Code=109 "Cannot connect to iTunes Store" UserInfo={NSLocalizedDescription=Cannot connect to iTunes Store, SSErrorHTTPStatusCodeKey=404}

                                      • Re: iTunes Sandbox Extremely Slow
                                        olivertiit Level 1 Level 1 (0 points)

                                        Same for me. about 80% of request fail. 2700 tests constantly in failed state with same timeout....

                                        • Re: iTunes Sandbox Extremely Slow
                                          Lauxita Level 1 Level 1 (0 points)

                                          Since yesterday morning is same for me!

                                           

                                           

                                          From PHP i use https://sandbox.itunes.apple.com/verifyReceipt, very slow but works.

                                          From iOS in iTunes sandbox ,  is extremely slow and about 90% of requests fails. Most of times i get:

                                           

                                          Error Domain=NSURLErrorDomain Code=-1001 "Imposible conectarse a iTunes Store" UserInfo={NSUnderlyingError=0x1c0647a40 {Error Domain=kCFErrorDomainCFNetwork Code=-1001 "(null)" UserInfo={_kCFStreamErrorCodeKey=-2102, _kCFStreamErrorDomainKey=4}}, NSErrorFailingURLStringKey=https://p100-sandbox.itunes.apple.com/WebObjects/MZFinance.woa/wa/inAppBuy, NSErrorFailingURLKey=https://p100-sandbox.itunes.apple.com/WebObjects/MZFinance.woa/wa/inAppBuy, _kCFStreamErrorDomainKey=4, _kCFStreamErrorCodeKey=-2102, NSLocalizedDescription=Imposible conectarse a iTunes Store}

                                          • Re: iTunes Sandbox Extremely Slow
                                            mattifromfuture Level 1 Level 1 (0 points)

                                            Same here. We've been having problems for some time now. Today it has been almost impossible to succeed a purchase in TestFlight beta. Also the iTunes sign in prompt shows in erratic fashion, sometimes in a loop. Sometimes the sign in promp appears even if the tested app is closed. This puts our pipeline pretty much to a halt.

                                              • Re: iTunes Sandbox Extremely Slow
                                                rich Apple Staff Apple Staff (255 points)

                                                I strongly suggest that you submit bug reports on this matter. I'm one of the few Apple engineers to read this post. If I tell the iTunes team that this is a big issue, they ask - why aren't there bug reports. Upper Apple management prioritizes issues based on the number of bug reports collected for an issue. While my instructions for submitting a bug report above may seem onerous, go ahead and submit a report and include some ping results. If you can capture the console log with the StoreKit profile active, so much the better.

                                                 

                                                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

                                                 

                                                rich kubota - rkubota@apple.com

                                                developer technical support CoreOS/Hardware/MFI

                                                  • Re: iTunes Sandbox Extremely Slow
                                                    The_Unknown Level 1 Level 1 (0 points)

                                                    Thanks for your efforts, rich. But seriously: This is ridiculous! Such a large company like Apple should have anticipated that by itself not by us developers complaining by bug reports! Don‘t you have a monitoring strategy checking the performance of your systems? If I‘d tell my company‘s customers that we wait until enough users of some website complained until we do something they‘d for sure would‘ve not be our customers for long anymore. With Google services I personally never have had such problems!

                                                    • Re: iTunes Sandbox Extremely Slow
                                                      cvad Level 1 Level 1 (0 points)

                                                      There is not a Sandox or IAP option. Filed under some generic heading.

                                                       

                                                      Dozens / hundreds of apps must be getting rejected becaus eof this issue. No one stops to think, "maybe it's us, not them?"

                                                       

                                                      Very frustrating.

                                                  • Re: iTunes Sandbox Extremely Slow
                                                    Pavel V Level 2 Level 2 (50 points)

                                                    Same issue for me. After few tries it seems to work well for some time. I thought there is a problem in my code, even I've not changed it

                                                    • Re: iTunes Sandbox Extremely Slow
                                                      mattifromfuture Level 1 Level 1 (0 points)

                                                      This bug also seems to cause the device to keep requesting for sanbox login. I just reset my iPhone and restored a recent backup and guess what. It wants my password to process some sandbox crap. So the failure is stored into a backup.This bug not only destroys your production line, it also corrupts your device.

                                                       

                                                      I'm ATM unable to create even a bug report because the device just keeps asking for the password for the sanbbox purchases. It looks like there's an endless supply of previously failed purchases in some queue.

                                                      • Re: iTunes Sandbox Extremely Slow
                                                        pakawash Level 1 Level 1 (0 points)

                                                        I have the same issue. Somethimes it working but I have more failure than success

                                                        Transaction Failed with error: Error Domain=SKErrorDomain Code=0 "Cannot connect to iTunes Store" UserInfo={NSLocalizedDescription=Cannot connect to iTunes Store}

                                                        ...

                                                        • Re: iTunes Sandbox Extremely Slow
                                                          Phrease Level 1 Level 1 (0 points)

                                                          This issue appears to be happening quite frequently as well. All Sandbox purchases that were attempted today are now timing out.

                                                          • Re: iTunes Sandbox Extremely Slow
                                                            gomiflo Level 1 Level 1 (0 points)

                                                            I'm looking for some suggestions on how to proceed.  Are there any workarounds?  It has been going on for so long that I am not sure how to move forward.  Are people simply releasing into the production environment and hoping for the best?

                                                            • Re: iTunes Sandbox Extremely Slow
                                                              mungbeans Level 1 Level 1 (10 points)

                                                              March 20th.

                                                               

                                                              Have several devices - for hours the same result, not able to connect to IAP sandbox AT ALL.

                                                               

                                                              Tried multiple times, multiple devices, over a period of multiple hours. Always unable to connect to iTunes store.

                                                               

                                                              Totally ridiculous, IAP sanbox has always been a joke and totally fragile, just ridiculous.

                                                                • Re: iTunes Sandbox Extremely Slow
                                                                  rich Apple Staff Apple Staff (255 points)

                                                                  To help get attention on this matter, please submit a bug report. Once you've submitted the bug report please send me the bug report number so that I can forward them to iTunes Server engineering. My direct email address is "rkubota@apple.com". If you've already submitted the bug report, please send me the bug report number.

                                                                   

                                                                  To submit a bug report on this issue, iTunes engineering has requested the following.

                                                                   

                                                                  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.

                                                                   

                                                                  rich kubota - rkubota@apple.com

                                                                  developer technical support CoreOS/Hardware/MFI

                                                                • Re: iTunes Sandbox Extremely Slow
                                                                  almatri Level 1 Level 1 (0 points)

                                                                  I have the same issue.

                                                                   

                                                                  Even when open the sandbox verify receipt link in the browser it is very slow.

                                                                  while it is very fast in the production link

                                                                  https://sandbox.itunes.apple.com/verifyReceipt

                                                                  https://buy.itunes.apple.com/verifyReceipt

                                                                  • Re: iTunes Sandbox Extremely Slow
                                                                    PGHM Level 1 Level 1 (0 points)

                                                                    Nice, I thought I was going crazy because the same code was working fine before... submitted a bug report too as suggested by the apple engineer. The bad thing is our app has been rejected now for three times because of their bug and we cannot get patches in...

                                                                      • Re: iTunes Sandbox Extremely Slow
                                                                        rkubota Level 1 Level 1 (20 points)

                                                                        Thank you for everyone who has submitted bug reports and forwarded the bug reports to me. I'm aware that we are investigating this issue.

                                                                         

                                                                        For anyone who has not submitted a bug report, I would urge you to submit a bug report, to indicate you are affected and that the problem persists. As evidence, please open the Terminal app and ping the sandbox server. Capture the results and paste them into the bug report.

                                                                         

                                                                        user$ ping -c 5 sandbox.itunes.apple.com

                                                                         

                                                                        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

                                                                        paste the results of the ping commandline.

                                                                         

                                                                        Please send the bug report to me at "rkubota@apple.com"

                                                                         

                                                                        rich kubota - rkubota@apple.com

                                                                        developer technical support CoreOS/Hardware/MFI

                                                                          • Re: iTunes Sandbox Extremely Slow
                                                                            mattifromfuture Level 1 Level 1 (0 points)

                                                                            Thank you for your help! Just submitted one bug report.

                                                                            • Re: iTunes Sandbox Extremely Slow
                                                                              joshAtAvenza Level 1 Level 1 (0 points)

                                                                              Bug logged, and thanks!

                                                                              • Re: iTunes Sandbox Extremely Slow
                                                                                Oleskii Kirizii Level 1 Level 1 (0 points)

                                                                                Unfortunately the problem still persists.

                                                                                Thank you for support - I've created and sent another bug report.

                                                                                • Re: iTunes Sandbox Extremely Slow
                                                                                  M_Mendes Level 1 Level 1 (0 points)

                                                                                  Same extremely low performance issue here, in Brazil. Cannot test StoreKit functionalities because of Itunes Sandbox no availability.

                                                                                   

                                                                                  Trying ping the server:

                                                                                  Flying-Fortress:~ marcelmendesfilho$ ping -c 5 sandbox.itunes.apple.com

                                                                                  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

                                                                                  Request timeout for icmp_seq 3

                                                                                   

                                                                                  Xcode messages while app's waiting for a response from server trying to validate a receipt:

                                                                                   

                                                                                  validateAppReceipt() the upload task returned an error: Optional(Error Domain=NSURLErrorDomain Code=-1005 "The network connection was lost." UserInfo={NSUnderlyingError=0x1c8041140 {Error Domain=kCFErrorDomainCFNetwork Code=-1005 "(null)" UserInfo={NSErrorPeerAddressKey=<CFData 0x1c4096ad0 [0x1b4669538]>{length = 16, capacity = 16, bytes = 0x100201bb119a429f0000000000000000}, _kCFStreamErrorCodeKey=-4, _kCFStreamErrorDomainKey=4}}, NSErrorFailingURLStringKey=https://sandbox.itunes.apple.com/verifyReceipt, NSErrorFailingURLKey=https://sandbox.itunes.apple.com/verifyReceipt, _kCFStreamErrorDomainKey=4, _kCFStreamErrorCodeKey=-4, NSLocalizedDescription=The network connection was lost.})

                                                                                   

                                                                                  2018-04-18 08:02:35.574765-0300 Canário[14466:7422871] Task <2E837F50-7B1D-4CEB-BBC2-29904827ABCC>.<1> finished with error - code: -1001

                                                                                  validateAppReceipt() the upload task returned an error: Optional(Error Domain=NSURLErrorDomain Code=-1001 "The request timed out." UserInfo={NSUnderlyingError=0x1c0240150 {Error Domain=kCFErrorDomainCFNetwork Code=-1001 "(null)" UserInfo={_kCFStreamErrorCodeKey=-2102, _kCFStreamErrorDomainKey=4}}, NSErrorFailingURLStringKey=https://sandbox.itunes.apple.com/verifyReceipt, NSErrorFailingURLKey=https://sandbox.itunes.apple.com/verifyReceipt, _kCFStreamErrorDomainKey=4, _kCFStreamErrorCodeKey=-2102, NSLocalizedDescription=The request timed out.})

                                                                                   

                                                                                  Yesterday I wasn't able to make a purchase in sandbox environment. Receiving "Cannot connect to ITunes Store. Try later." all afternoon (GMT -3). Tried 5 times with no success. Gave up and tried 4 hours later. Got 1 answer, others failed again.

                                                                                   

                                                                                  What's happening?????

                                                                                   

                                                                                  Please solve this!! I'm wasting a time I cannot afford on this!

                                                                                   

                                                                                  I've opened a bug report: 39523855

                                                                                   

                                                                                  Marcel

                                                                                  • Re: iTunes Sandbox Extremely Slow
                                                                                    bombbombtom Level 1 Level 1 (0 points)

                                                                                    I guess I can file a radar but I'm more than a little surprised that radar is necessary to make sure a server is actually running. Surely the responsible team monitors their systems for uptime?

                                                                                     

                                                                                    ping -a sandbox.itunes.apple.com
                                                                                    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
                                                                                    Request timeout for icmp_seq 3
                                                                                    Request timeout for icmp_seq 4
                                                                                    Request timeout for icmp_seq 5
                                                                                    Request timeout for icmp_seq 6
                                                                                    Request timeout for icmp_seq 7
                                                                                    Request timeout for icmp_seq 8
                                                                                    

                                                                                     

                                                                                    I started checking about 24 hours ago and have yet to have a single returned packet.

                                                                                • Re: iTunes Sandbox Extremely Slow
                                                                                  spacekirill Level 1 Level 1 (0 points)

                                                                                  Good afternoon. Previously, there were problems with payments - it took a lot of time, most often on the client were given a error about incorrect payment data, in 9 out of 10 cases. Today, suddenly, the payment began to work very quickly. What has changed? Did you fix it?

                                                                                  Thank you.

                                                                                  • Re: iTunes Sandbox Extremely Slow
                                                                                    jaramire Level 1 Level 1 (0 points)

                                                                                    I'm back to borderline unusable and ping's failing .

                                                                                     

                                                                                    ping -c 5 sandbox.itunes.apple.com

                                                                                    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

                                                                                    Request timeout for icmp_seq 3

                                                                                     

                                                                                     

                                                                                    --- sandbox.itunes-apple.com.akadns.net ping statistics ---

                                                                                    5 packets transmitted, 0 packets received, 100.0% packet loss

                                                                                    • Re: iTunes Sandbox Extremely Slow
                                                                                      David-B Level 1 Level 1 (0 points)

                                                                                      I'm having the same issue everyone else in this thread is. I can sometimes get an IAP to successfully go through in the Sandbox, but it is very, very slow. I'm working on code right now for a feature where I need to be able to hit verifyReceipt and get a usable response, but that is never working no matter how many times I try.

                                                                                       

                                                                                      Here's the Terminal output from the ping rich from Apple mentioned trying:

                                                                                       

                                                                                      $ ping -c 5 sandbox.itunes.apple.com

                                                                                      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

                                                                                      Request timeout for icmp_seq 3

                                                                                      --- sandbox.itunes-apple.com.akadns.net ping statistics ---

                                                                                      5 packets transmitted, 0 packets received, 100.0% packet loss

                                                                                        • Re: iTunes Sandbox Extremely Slow
                                                                                          augie009 Level 1 Level 1 (0 points)

                                                                                          Same issue here, PING timeouts, Storekit timesout.  I created a bug report. 

                                                                                            • Re: iTunes Sandbox Extremely Slow
                                                                                              augie009 Level 1 Level 1 (0 points)

                                                                                              Monday, 4/16, Sandbox itunes store has been unreachable for 4 days.  I've attached several screenshots to my RADAR with Apple, showing pings to the sandbox store with ping timeouts and wait times increased to 10 seconds, all of which are 100% packet loss.   No reponse yet from Apple.

                                                                                                • Re: iTunes Sandbox Extremely Slow
                                                                                                  neilc Level 1 Level 1 (0 points)

                                                                                                  I'm seeing the same: 100% packet loss when pinging sandbox.itunes.apple.com and yet the developer system status shows everything all green. Retrieving products seems fine, but doing anything substantive—like purchasing products or restoring purchases—is very hit & miss. Mostly miss.

                                                                                                • Re: iTunes Sandbox Extremely Slow
                                                                                                  CartoonSmart.com Level 3 Level 3 (270 points)

                                                                                                  Does any know if Apple Reviewers test purchases in the same Sandbox that we're all having issues with? I heard from a student the other day that got the generic rejection phrased something like  "testing failed on an IPv6 network" (which can lead devs down a wild goose chase of believing it has something to do with an IPv6 connection). 

                                                                                                   

                                                                                                  He was using the same exact Store code in 4 other of his approved apps. Now he's stuck trying to explain to his Apple reviewer to just test the dang thing again.  But obviously if they are in the non-Live Sandbox like all of us, they too are going to have the same issues.

                                                                                              • Re: iTunes Sandbox Extremely Slow
                                                                                                ghostmote Level 1 Level 1 (0 points)

                                                                                                Same issue. And the App review team reject us with 2.1 Performance, because IAP failed

                                                                                                • Re: iTunes Sandbox Extremely Slow
                                                                                                  alexlavrdc Level 1 Level 1 (0 points)

                                                                                                  I am also having network problems connecting to sandbox.itunes.apple.com.

                                                                                                   

                                                                                                  Going to contact apple tech support.

                                                                                                  • Re: iTunes Sandbox Extremely Slow
                                                                                                    Developer333 Level 1 Level 1 (0 points)

                                                                                                    I'm experiencing the same problem.

                                                                                                    App successfully gets the list of in-app purchases.

                                                                                                    Than asks AppleID/Password only 1 of 30 times

                                                                                                    And gets unknown error(SwiftyStoreKit). (kCFErrorDomainCFNetwork - "Cannot connect to iTunes Store" 0x00000001af03d138)

                                                                                                    It worked fine about a week ago.

                                                                                                     

                                                                                                    It goes to "confirm in-app purchase" if I login with real(not sandbox) iTunes account.

                                                                                                    But than also gets an error.

                                                                                                     

                                                                                                    And now I'm requested to submit a video of in-app purchase process, but I can't.

                                                                                                     

                                                                                                     

                                                                                                    MacBook-Pro:~ user$ ping -c 5 sandbox.itunes.apple.com

                                                                                                    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

                                                                                                    Request timeout for icmp_seq 3

                                                                                                    • Re: iTunes Sandbox Extremely Slow
                                                                                                      jenshk Level 1 Level 1 (0 points)

                                                                                                      Same here in Hong Kong. It's basically unusable

                                                                                                      • Re: iTunes Sandbox Extremely Slow
                                                                                                        Developer333 Level 1 Level 1 (0 points)

                                                                                                        Sandbox testing is working fine now!

                                                                                                        Thank you!

                                                                                                        • Re: iTunes Sandbox Extremely Slow
                                                                                                          blynch Level 1 Level 1 (0 points)

                                                                                                          Working on server-side receipt validation myself. Seeing random Sandbox response times (2s to 180s) and many connection reset errors (ECONNRESET). Ping results in timeouts as well.

                                                                                                          • Re: iTunes Sandbox Extremely Slow
                                                                                                            modernmind Level 1 Level 1 (0 points)

                                                                                                            It's the same for me in Sweden. My binary got rejected in review because the IAP fails due to Apple's sandbox server...

                                                                                                            • Re: iTunes Sandbox Extremely Slow
                                                                                                              yamo Level 1 Level 1 (0 points)

                                                                                                              Same here in San Francisco. All our games cannot be tested which is blocking release.

                                                                                                              Created a bug report with a client log and ping results.

                                                                                                              • Re: iTunes Sandbox Extremely Slow
                                                                                                                John-Doe Level 1 Level 1 (0 points)

                                                                                                                OK Guys!! I think I'm up to something here... Turns out, if I activate my test account, It seems it doesn't hang any more. Or Apple in her great majesty, fixed our sandbox. Either way, my last two purchases went through some what ok.

                                                                                                                 

                                                                                                                Although, A better error than '0 "Cannot connect to iTunes Store"' would be nice!!!!

                                                                                                                 

                                                                                                                 

                                                                                                                cheers!

                                                                                                                • Re: iTunes Sandbox Extremely Slow
                                                                                                                  ivan cheng Level 1 Level 1 (0 points)

                                                                                                                  Same here.
                                                                                                                  ping sandbox.itunes.apple.com fails now

                                                                                                                  • Re: iTunes Sandbox Extremely Slow
                                                                                                                    M_Mendes Level 1 Level 1 (0 points)

                                                                                                                    Same extremely low performance issue here, in Brazil. Cannot test StoreKit functionalities because of Itunes Sandbox no availability.

                                                                                                                     

                                                                                                                    Trying ping the server:

                                                                                                                    Flying-Fortress:~ marcelmendesfilho$ ping -c 5 sandbox.itunes.apple.com

                                                                                                                    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

                                                                                                                    Request timeout for icmp_seq 3

                                                                                                                     

                                                                                                                    Xcode messages while app's waiting for a response from sandbox server when trying to validate a receipt:

                                                                                                                     

                                                                                                                    validateAppReceipt() the upload task returned an error: Optional(Error Domain=NSURLErrorDomain Code=-1005 "The network connection was lost." UserInfo={NSUnderlyingError=0x1c8041140 {Error Domain=kCFErrorDomainCFNetwork Code=-1005 "(null)" UserInfo={NSErrorPeerAddressKey=<CFData 0x1c4096ad0 [0x1b4669538]>{length = 16, capacity = 16, bytes = 0x100201bb119a429f0000000000000000}, _kCFStreamErrorCodeKey=-4, _kCFStreamErrorDomainKey=4}}, NSErrorFailingURLStringKey=https://sandbox.itunes.apple.com/verifyReceipt, NSErrorFailingURLKey=https://sandbox.itunes.apple.com/verifyReceipt, _kCFStreamErrorDomainKey=4, _kCFStreamErrorCodeKey=-4, NSLocalizedDescription=The network connection was lost.})

                                                                                                                     

                                                                                                                     

                                                                                                                    2018-04-18 08:02:35.574765-0300 Canário[14466:7422871] Task <2E837F50-7B1D-4CEB-BBC2-29904827ABCC>.<1> finished with error - code: -1001 validateAppReceipt() the upload task returned an error: Optional(Error Domain=NSURLErrorDomain Code=-1001 "The request timed out." UserInfo={NSUnderlyingError=0x1c0240150 {Error Domain=kCFErrorDomainCFNetwork Code=-1001 "(null)" UserInfo={_kCFStreamErrorCodeKey=-2102, _kCFStreamErrorDomainKey=4}}, NSErrorFailingURLStringKey=https://sandbox.itunes.apple.com/verifyReceipt, NSErrorFailingURLKey=https://sandbox.itunes.apple.com/verifyReceipt, _kCFStreamErrorDomainKey=4, _kCFStreamErrorCodeKey=-2102, NSLocalizedDescription=The request timed out.})

                                                                                                                     

                                                                                                                    Yesterday I wasn't able to make a purchase in sandbox environment. Receiving "Cannot connect to ITunes Store. Try later." all afternoon (GMT -3). Tried 6+ times with no success. Gave up and tried 4 hours later. Got 1 answer, all others failed.

                                                                                                                     

                                                                                                                    What's happening?????

                                                                                                                     

                                                                                                                    Please solve this!! I'm wasting a time I cannot afford on this!

                                                                                                                     

                                                                                                                    I've opened a bug report: 39523855

                                                                                                                     

                                                                                                                    Marcel

                                                                                                                    • Re: iTunes Sandbox Extremely Slow
                                                                                                                      ben73 Level 1 Level 1 (0 points)

                                                                                                                      Same here.

                                                                                                                       

                                                                                                                      $ ping -c 5 sandbox.itunes.apple.com

                                                                                                                      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

                                                                                                                      Request timeout for icmp_seq 3

                                                                                                                       

                                                                                                                       

                                                                                                                      --- sandbox.itunes-apple.com.akadns.net ping statistics ---

                                                                                                                      5 packets transmitted, 0 packets received, 100.0% packet loss

                                                                                                                       

                                                                                                                       

                                                                                                                      Looks like Apple is rotten.

                                                                                                                      • Re: iTunes Sandbox Extremely Slow
                                                                                                                        mo.ag Level 1 Level 1 (0 points)

                                                                                                                        Although the system status at https://developer.apple.com/system-status/ is showing as Issue Resolved,

                                                                                                                        Still sandbox services are slow.

                                                                                                                        Trying since Two day...loosing precious business days...hope Apple is listening...

                                                                                                                        • Re: iTunes Sandbox Extremely Slow
                                                                                                                          gsdrackspace Level 1 Level 1 (0 points)

                                                                                                                          Same here. Can't use sandbox for last two days. I even rebuilt my current live app (where purchasing works) with ABSOLUTELY no changes other than switching to sandbox and it constantly gets cannot connect to appstore error.

                                                                                                                           

                                                                                                                          When iterating the products list to register them - it registers the first product - then fails the minute it tries to register the .when callbacks for it.e


                                                                                                                          I've built with xcode 8 and xcode 9 with the same results.

                                                                                                                           

                                                                                                                          I'm preparing to submit an official bug report but I can't see how this can be anyone's problem except Apple. If they're using their own sandbox with no issues then perhaps it's a regional DNS issue. I can no longer ping the sandbox address at all (and could previously)


                                                                                                                          But seeing people say that they are being rejected because of sandbox issues that seems like reviewers are seeing the same problem.

                                                                                                                          • Re: iTunes Sandbox Extremely Slow
                                                                                                                            JoshRonk Level 1 Level 1 (0 points)

                                                                                                                            Slow sandbox testing here too almost non exsitant. Getting frustrating not being able to reliably test purchases and then have apple reject because they cant test them.

                                                                                                                            • Re: iTunes Sandbox Extremely Slow
                                                                                                                              dsilkensen Level 1 Level 1 (0 points)

                                                                                                                              Seems to have been resolved for me as of Today 12:30 PM PT.

                                                                                                                               

                                                                                                                              Failed on second attempt, but all subsequent attempts have been successful.

                                                                                                                              • Re: iTunes Sandbox Extremely Slow
                                                                                                                                Illia Chemolosov Level 1 Level 1 (0 points)

                                                                                                                                Sometimes works, sometimes errors... Unreliable at the moment

                                                                                                                                • Re: iTunes Sandbox Extremely Slow
                                                                                                                                  mo.ag Level 1 Level 1 (0 points)

                                                                                                                                  Again sandbox services down....

                                                                                                                                  its too much...