sandbox is unstable?

hi.

We use nodejs server and iap_verifier module.Many of our projects use this module, which has been very stable

Payment verification seems that the online environment server link is normal, but there is a problem with the sandbox server link.

The sandbox server has a high probability of error, but it will succeed after multiple verifications.

The server uses EC2 of AWS

Is the sandbox server currently unstable?



the module print the log:

2020-02-29T12:38:31.033Z - info: statusCode: 200
2020-02-29T12:38:31.033Z - info: headers: [object Object]
2020-02-29T12:38:31.033Z - info: data {"status":21007}
2020-02-29T12:38:31.034Z - info: end: apple response: {"status":21007}
2020-02-29T12:38:31.034Z - info: Process status 21007
2020-02-29T12:38:31.035Z - info: Retry on Sandbox
2020-02-29T12:38:31.035Z - info: verify!
2020-02-29T12:38:31.211Z - info: In App purchase verification error: Error: read ECONNRESET
2020-02-29T12:38:31.211Z - info: STATUS undefined
2020-02-29T12:38:31.212Z - info: verify done valid [false,{"code":"ECONNRESET","errno":"ECONNRESET","syscall":"read"}]


module print error code:

https = require('https');
       ...
       request = https.request(options, (response) => {
       ...
        return request.on('error', (err) => {
          if (this.debug) {
            console.log(`In App purchase verification error: ${err}`);
          }
          return cb(false, 'error', err);
        });

use same cmd of curl to post a verify request , some time sandbox server has an error in my Mac like this:


curl: (35) LibreSSL SSL_connect: SSL_ERROR_SYSCALL in connection to sandbox.itunes.apple.com:443


sometime return successfull.



use same cmd of curl to post a verify request , some time sandbox server has an error in my server which is ec2 of AWS like this:

curl: (35) TCP connection reset by peer


sometime return successfull

I confirm every word. I have the same situation. IS IT SANDBOX UNSTABLE??

Hi, we also have some trouble with InAppPurchase Sanbox. Did you succeed contacting Apple Tech support ?

I can also confirm this is an issue. It only started happening recently.

Having this issue very randomly as well in the sandbox, very unlikely to reproduce, it just happens...

I (had) have also such issue offten in sandbox mode, and rarly in production too. Is anybody know what is going on and how (when) it could be fixed?


thank you

We have the same problem.

We sent the application to App Store Connect and the review team rejected it for 3 times. The errors are the same, the sandbox works intermittently.

I don't know how to solve because is an Apple problem and the review team do not understand this.

ahhh, we also have the same error, and it was intermittent.

even though it was successfully connected, the status code is 21002.


but we tried it in the production environment, it run well :/

I've had this happen ocassionaly in the past and after ruling out all issues on our side, and determining that it was a sandbox issue with the help of Apple staff here on the furms, I've politely asked the reviewer to factory reset the test device, and after that our app passed review without any issues.

sandbox is unstable?
 
 
Q