Post

Replies

Boosts

Views

Activity

Reply to "sandbox.itunes.apple.com/verifyReceipt": Connection reset
Hey Matt,I am also hitting this issue when performing server side receipt validation.{ "message": "read ECONNRESET", "name": "Error", "stack": "Error: read ECONNRESET\n at TLSWrap.onStreamRead (internal/stream_base_commons.js:111:27)", "config": { "url": "https://sandbox.itunes.apple.com/verifyReceipt", "method": "post", "data": "{\"receipt-data\":\"<MY RECEIPT DATA>",\"password\":\"<MY APP STORE SHARED SECRET>>\",\"exclude-old-transactions\":true}", "headers": { "Accept": "application/json, text/plain, */*", "Content-Type": "application/json;charset=utf-8", "User-Agent": "axios/0.19.2", "Content-Length": 7449 }, "transformRequest": [ null ], "transformResponse": [ null ], "timeout": 0, "xsrfCookieName": "XSRF-TOKEN", "xsrfHeaderName": "X-XSRF-TOKEN", "maxContentLength": -1 }, "code": "ECONNRESET" }I'm encountering this when I attempt to verify a sandbox receipt from my test server.I only attempt to connect to the sandbox endpoint for verifyReceipt if and only if I get a successful connection to the production AND it returns status 21007 as a response status.To me, this implies that there's an issue connecting to https://sandbox.itunes.apple.com/verifyReceiptHowever, I'm not sure what other information I can provide to help debug here.Happy to help or find more information, just let me know!-Clark
Apr ’20