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 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.

we are seeing successes now although response is slow.

Note that the ping test is still failing. You can test pings from around the world and see them fail here: https://tools.keycdn.com/ping

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!

It is not working now.

In Taiwan.


ping sandbox.itunes.apple.com fail again.

Same problem. Also review team is waiting from me to upload a video that shows the in-app purchase flow. Sandbox looping asking over and over the Apple Id.

I am seeing extremely slow prompts for purchases (several minutes) with no confirmation callbacks. I see no errors in my logs but these calls are asynchronous.

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

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

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

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. 😠

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

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


Hoping for a resolution soon...

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...

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.

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.