{"action":"created","issue":{"url":"https://api.github.com/repos/ParsePlatform/parse-server/issues/2225","repository_url":"https://api.github.com/repos/ParsePlatform/parse-server","labels_url":"https://api.github.com/repos/ParsePlatform/parse-server/issues/2225/labels{/name}","comments_url":"https://api.github.com/repos/ParsePlatform/parse-server/issues/2225/comments","events_url":"https://api.github.com/repos/ParsePlatform/parse-server/issues/2225/events","html_url":"https://github.com/ParsePlatform/parse-server/issues/2225","id":164236565,"number":2225,"title":"In-App Purchases validation fails with \"Request timeout\"","user":{"login":"valeryvoskobovich","id":897404,"avatar_url":"https://avatars.githubusercontent.com/u/897404?v=3","gravatar_id":"","url":"https://api.github.com/users/valeryvoskobovich","html_url":"https://github.com/valeryvoskobovich","followers_url":"https://api.github.com/users/valeryvoskobovich/followers","following_url":"https://api.github.com/users/valeryvoskobovich/following{/other_user}","gists_url":"https://api.github.com/users/valeryvoskobovich/gists{/gist_id}","starred_url":"https://api.github.com/users/valeryvoskobovich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/valeryvoskobovich/subscriptions","organizations_url":"https://api.github.com/users/valeryvoskobovich/orgs","repos_url":"https://api.github.com/users/valeryvoskobovich/repos","events_url":"https://api.github.com/users/valeryvoskobovich/events{/privacy}","received_events_url":"https://api.github.com/users/valeryvoskobovich/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ParsePlatform/parse-server/labels/troubleshooting","name":"troubleshooting","color":"f7c6c7"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":10,"created_at":"2016-07-07T06:10:38Z","updated_at":"2016-07-11T21:13:45Z","closed_at":null,"body":"- [x] You've met the prerequisites: https://github.com/ParsePlatform/parse-server/wiki/Parse-Server-Guide#prerequisites.\r\n\r\n- [x] You're running the latest version of Parse Server: https://github.com/ParsePlatform/parse-server/releases\r\n\r\n- [x] You've searched through existing issues: https://github.com/ParsePlatform/Parse-Server/issues?utf8=%E2%9C%93&q=is%3Aissue Chances are that your issue has been reported or resolved before.\r\n\r\n- [x] You have filled out every section below. Issues without sufficient information are more likely to be closed.\r\n\r\n### Issue Description\r\n\r\nSending 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)\r\n\r\n### Steps to reproduce\r\n\r\n1. Make purchase on iOS device to obtain valid receipt\r\n2. Send request to 'validate_purchase' with correct productIdentifier & receipt\r\n\r\n#### Expected Results\r\n\r\nPFProduct 'download' file starts downloading\r\n\r\n#### Actual Outcome\r\n\r\nRequest fails with \"Request timeout\" in server logs and HTML web-page in responseString in -[PFURLSessionJSONDataTaskDelegate _taskDidFinish]\r\n\r\n### Environment Setup\r\n\r\n- **Server**\r\n  - parse-server version: 2.2.15\r\n  - Localhost or remote server: Heroku\r\n\r\n- **Database**\r\n  - Localhost or remote server: mLab\r\n\r\n### Logs/Trace\r\n\r\nLogs in heroku console:\r\n\r\n`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 \r\n`\r\n\r\nself.responseString value in [PFURLSessionJSONDataTaskDelegate _taskDidFinish]:\r\n\r\n`<!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>`"},"comment":{"url":"https://api.github.com/repos/ParsePlatform/parse-server/issues/comments/231867089","html_url":"https://github.com/ParsePlatform/parse-server/issues/2225#issuecomment-231867089","issue_url":"https://api.github.com/repos/ParsePlatform/parse-server/issues/2225","id":231867089,"user":{"login":"flovilmart","id":364568,"avatar_url":"https://avatars.githubusercontent.com/u/364568?v=3","gravatar_id":"","url":"https://api.github.com/users/flovilmart","html_url":"https://github.com/flovilmart","followers_url":"https://api.github.com/users/flovilmart/followers","following_url":"https://api.github.com/users/flovilmart/following{/other_user}","gists_url":"https://api.github.com/users/flovilmart/gists{/gist_id}","starred_url":"https://api.github.com/users/flovilmart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flovilmart/subscriptions","organizations_url":"https://api.github.com/users/flovilmart/orgs","repos_url":"https://api.github.com/users/flovilmart/repos","events_url":"https://api.github.com/users/flovilmart/events{/privacy}","received_events_url":"https://api.github.com/users/flovilmart/received_events","type":"User","site_admin":false},"created_at":"2016-07-11T21:13:45Z","updated_at":"2016-07-11T21:13:45Z","body":"even if you set the receipt option?"}}
{"actor":{"display_login":"flovilmart"}}