parse-server: In-App Purchases validation fails with "Request timeout"
- You’ve met the prerequisites: https://github.com/ParsePlatform/parse-server/wiki/Parse-Server-Guide#prerequisites.
- You’re running the latest version of Parse Server: https://github.com/ParsePlatform/parse-server/releases
- You’ve searched through existing issues: https://github.com/ParsePlatform/Parse-Server/issues?utf8=✓&q=is%3Aissue Chances are that your issue has been reported or resolved before.
- You have filled out every section below. Issues without sufficient information are more likely to be closed.
Issue Description
Sending the request to ‘validate_purchase’ from iOS device (Parse iOS SDK v1.13.0) every time fails with ‘Request timeout’ in server logs and HTML web-page in responseString (please see below)
Steps to reproduce
- Make purchase on iOS device to obtain valid receipt
- Send request to ‘validate_purchase’ with correct productIdentifier & receipt
Expected Results
PFProduct ‘download’ file starts downloading
Actual Outcome
Request fails with “Request timeout” in server logs and HTML web-page in responseString in -[PFURLSessionJSONDataTaskDelegate _taskDidFinish]
Environment Setup
- Server
- parse-server version: 2.2.15
- Localhost or remote server: Heroku
- Database
- Localhost or remote server: mLab
Logs/Trace
Logs in heroku console:
at=error code=H12 desc="Request timeout" method=POST path="/parse/validate_purchase" host=mytestapp.herokuapp.com request_id=3d2ed6f9-d18b-4b8d-a8a2-addb60afe45c fwd="93.84.7.35" dyno=web.1 connect=0ms service=30257ms status=503 bytes=0
self.responseString value in [PFURLSessionJSONDataTaskDelegate _taskDidFinish]:
<!DOCTYPE html> <html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style type="text/css"> html, body, iframe { margin: 0; padding: 0; height: 100%; } iframe { display: block; width: 100%; border: none; } </style> <title>Application Error</title> </head> <body> <iframe src="//s3.amazonaws.com/heroku_pages/error.html"> <p>Application Error</p> </iframe> </body> </html>
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Comments: 19 (19 by maintainers)
@valeryvoskobovich I’m wasn’t a node.js developer either 😃 I’m sure you’ll work something out