parse-server icon indicating copy to clipboard operation
parse-server copied to clipboard

unable to send push via cloud code

Open plaudev opened this issue 10 years ago • 32 comments

Hello, I can send push by cURL inline but can't do it with cloud code. Can you please help spot what I'm missing? Many thanks.

send push by cURL inline:

curl -X POST -H "X-Parse-Application-Id: myAppId" -H "X-Parse-Master-Key: myMasterKey" -H "Content-Type: application/json" -d '{ "where": { "deviceType": { "$in": [ "ios", "android" ] } }, "data": { "title": "greetings", "alert": "Howdy buddies!" } }' https://myApp.herokuapp.com/parse/push

return {"result":true}

Default cloud code

curl -X POST -H "X-Parse-Application-Id: myAppId" -H "Content-Type: application/json" -d {} https://myApp.herokuapp.com/parse/functions/hello

returns {"result":"Hi"}

Push by cloud code

curl -X POST -H "X-Parse-Application-Id: myAppId" -H "Content-Type: application/json" -d {} https://myApp.herokuapp.com/parse/functions/pushToAll

returns {"code":141,"error":{"code":100,"message":"XMLHttpRequest failed: \"Unable to connect to the Parse API\""}}

Push by cloud code even if I pass master key

curl -X POST -H "X-Parse-Application-Id: myAppId" -H "Content-Type: application/json" -H "X-Parse-Master-Key: myMasterKey" -d {} https://tinderpl.herokuapp.com/parse/functions/pushToAll

returns {"code":141,"error":{"code":100,"message":"XMLHttpRequest failed: \"Unable to connect to the Parse API\""}}

Here is my main.js:


Parse.Cloud.define('hello', function(request, response) {
  response.success('Hi');
});

Parse.Cloud.define("pushToAll", function (request, response) {

  var pushQuery = new Parse.Query(Parse.Installation);

  // Send push notification to query
  Parse.Push.send({
    where: pushQuery, // Set our installation query
    data: {
        "alert": "this is my message"
        }
    }, {
    success: function () {
        // Push was successful
        console.log("Message was sent successfully");
        response.success('true');
    },
    error: function (error) {
        response.error(error);
    }
  , useMasterKey: true});
});

plaudev avatar Aug 26 '16 17:08 plaudev

Can you provide the logs running parse-server with VERBOSE=1

flovilmart avatar Aug 26 '16 17:08 flovilmart

Thank you for response. Here are logs.

With this

curl -X POST -H "X-Parse-Application-Id: myAppId" -H "Content-Type: application/json" -d {} https://myApp.herokuapp.com/parse/functions/pushToAll
{"code":141,"error":{"code":100,"message":"XMLHttpRequest failed: \"Unable to connect to the Parse API\""}}

get this log

2016-08-26T20:31:31.414812+00:00 heroku[slug-compiler]: Slug compilation started
2016-08-26T20:31:31.414834+00:00 heroku[slug-compiler]: Slug compilation finished
2016-08-26T20:31:43.716022+00:00 heroku[web.1]: Starting process with command `node index.js`
2016-08-26T20:31:46.263310+00:00 app[web.1]: 
2016-08-26T20:31:48.657407+00:00 heroku[web.1]: State changed from starting to up
2016-08-26T20:31:48.483559+00:00 app[web.1]: Hello world!
2016-08-26T20:31:48.559808+00:00 app[web.1]: myApp is running on port 13057
2016-08-26T20:32:12.353005+00:00 app[web.1]: [36mverbose[39m: REQUEST for [POST] /parse/functions/pushToAll: {} method=POST, url=/parse/functions/pushToAll, host=myApp.herokuapp.com, connection=close, user-agent=curl/7.43.0, accept=*/*, x-parse-application-id=myAppId, content-type=application/json, x-request-id=ca51cb50-51d8-4b9d-94d3-dc9f6ed8175a, x-forwarded-for=99.250.194.89, x-forwarded-proto=https, x-forwarded-port=443, via=1.1 vegur, connect-time=1, x-request-start=1472243532318, total-route-time=0, content-length=2, 
2016-08-26T20:32:15.283989+00:00 app[web.1]: [31merror[39m: Failed running cloud function pushToAll for user undefined with:
2016-08-26T20:32:15.284000+00:00 app[web.1]:   Input: {}
2016-08-26T20:32:15.304020+00:00 app[web.1]: [31merror[39m: Error generating response. ParseError {
2016-08-26T20:32:15.304024+00:00 app[web.1]:   code: 141,
2016-08-26T20:32:15.304025+00:00 app[web.1]:    ParseError {
2016-08-26T20:32:15.304027+00:00 app[web.1]:      message: 'XMLHttpRequest failed: "Unable to connect to the Parse API"' } } code=141, code=100, message=XMLHttpRequest failed: "Unable to connect to the Parse API"
2016-08-26T20:32:15.310543+00:00 app[web.1]: [object Object]
2016-08-26T20:32:15.314317+00:00 heroku[router]: at=info method=POST path="/parse/functions/pushToAll" host=myApp.herokuapp.com request_id=ca51cb50-51d8-4b9d-94d3-dc9f6ed8175a fwd="99.250.194.89" dyno=web.1 connect=1ms service=2993ms status=400 bytes=636

with this

curl -X POST -H "X-Parse-Application-Id: myAppId" -H "Content-Type: application/json" -H "X-Parse-Master-Key: myMasterKey" -d {} https://myApp.herokuapp.com/parse/functions/pushToAll
{"code":141,"error":{"code":100,"message":"XMLHttpRequest failed: \"Unable to connect to the Parse API\""}}

get this log

2016-08-26T20:34:01.209196+00:00 app[web.1]: [36mverbose[39m: REQUEST for [POST] /parse/functions/pushToAll: {} method=POST, url=/parse/functions/pushToAll, host=myApp.herokuapp.com, connection=close, user-agent=curl/7.43.0, accept=*/*, x-parse-application-id=myAppId, content-type=application/json, x-parse-master-key=myMasterKey, x-request-id=a9b3f408-6591-4db2-a29c-91be213de264, x-forwarded-for=99.250.194.89, x-forwarded-proto=https, x-forwarded-port=443, via=1.1 vegur, connect-time=1, x-request-start=1472243641180, total-route-time=0, content-length=2, 
2016-08-26T20:34:03.340991+00:00 heroku[router]: at=info method=POST path="/parse/functions/pushToAll" host=myApp.herokuapp.com request_id=a9b3f408-6591-4db2-a29c-91be213de264 fwd="99.250.194.89" dyno=web.1 connect=1ms service=2158ms status=400 bytes=636
2016-08-26T20:34:03.335024+00:00 app[web.1]: [31merror[39m: Failed running cloud function pushToAll for user undefined with:
2016-08-26T20:34:03.335037+00:00 app[web.1]:   Error: {"code":141,"message":{"code":100,"message":"XMLHttpRequest failed: \"Unable to connect to the Parse API\""}} functionName=pushToAll, code=141, code=100, message=XMLHttpRequest failed: "Unable to connect to the Parse API", , user=undefined
2016-08-26T20:34:03.336583+00:00 app[web.1]: [31merror[39m: Error generating response. ParseError {
2016-08-26T20:34:03.336585+00:00 app[web.1]:   code: 141,
2016-08-26T20:34:03.336585+00:00 app[web.1]:   message: 
2016-08-26T20:34:03.336587+00:00 app[web.1]:      code: 100,
2016-08-26T20:34:03.336588+00:00 app[web.1]:      message: 'XMLHttpRequest failed: "Unable to connect to the Parse API"' } } code=141, code=100, message=XMLHttpRequest failed: "Unable to connect to the Parse API"
2016-08-26T20:34:03.339757+00:00 app[web.1]: [object Object]

plaudev avatar Aug 26 '16 20:08 plaudev

More logs just came out...

2016-08-26T20:43:34.519832+00:00 heroku[router]: at=info method=POST path="/parse/schemas" host=tinderpl.herokuapp.com request_id=44a673f9-41ff-4745-b7dd-27047f8ad5a7 fwd="99.250.194.89" dyno=web.1 connect=0ms service=34ms status=200 bytes=2490
2016-08-26T20:43:34.489267+00:00 app[web.1]: verbose: REQUEST for [GET] /parse/schemas: {} method=GET, url=/parse/schemas, host=tinderpl.herokuapp.com, connection=close, origin=http://0.0.0.0:4040, user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36, content-type=text/plain, accept=*/*, referer=http://0.0.0.0:4040/apps/tinderpl/browser/_Installation, accept-encoding=gzip, deflate, br, accept-language=en-US,en;q=0.8,zh-TW;q=0.6,zh;q=0.4, x-request-id=44a673f9-41ff-4745-b7dd-27047f8ad5a7, x-forwarded-for=99.250.194.89, x-forwarded-proto=https, x-forwarded-port=443, via=1.1 vegur, connect-time=0, x-request-start=1472244214484, total-route-time=0, content-length=217, 
2016-08-26T20:43:34.515157+00:00 app[web.1]: verbose: RESPONSE from [GET] /parse/schemas: {
2016-08-26T20:43:34.515162+00:00 app[web.1]:   "response": {
2016-08-26T20:43:34.515162+00:00 app[web.1]:     "results": [
2016-08-26T20:43:34.515163+00:00 app[web.1]:       {
2016-08-26T20:43:34.515169+00:00 app[web.1]:         "className": "_User",
2016-08-26T20:43:34.515169+00:00 app[web.1]:         "fields": {
2016-08-26T20:43:34.515170+00:00 app[web.1]:           "objectId": {
2016-08-26T20:43:34.515170+00:00 app[web.1]:             "type": "String"
2016-08-26T20:43:34.515171+00:00 app[web.1]:           },
2016-08-26T20:43:34.515172+00:00 app[web.1]:           "createdAt": {
2016-08-26T20:43:34.515172+00:00 app[web.1]:             "type": "Date"
2016-08-26T20:43:34.515178+00:00 app[web.1]:           "password": {
2016-08-26T20:43:34.515182+00:00 app[web.1]:           "emailVerified": {
2016-08-26T20:43:34.515183+00:00 app[web.1]:           },
2016-08-26T20:43:34.515183+00:00 app[web.1]:           "authData": {
2016-08-26T20:43:34.515184+00:00 app[web.1]:           }
2016-08-26T20:43:34.515185+00:00 app[web.1]:         },
2016-08-26T20:43:34.515186+00:00 app[web.1]:         "classLevelPermissions": {
2016-08-26T20:43:34.515186+00:00 app[web.1]:           "find": {
2016-08-26T20:43:34.515187+00:00 app[web.1]:             "*": true
2016-08-26T20:43:34.515187+00:00 app[web.1]:           },
2016-08-26T20:43:34.515188+00:00 app[web.1]:           "get": {
2016-08-26T20:43:34.515188+00:00 app[web.1]:             "*": true
2016-08-26T20:43:34.515189+00:00 app[web.1]:           },
2016-08-26T20:43:34.515189+00:00 app[web.1]:           "create": {
2016-08-26T20:43:34.515190+00:00 app[web.1]:             "*": true
2016-08-26T20:43:34.515193+00:00 app[web.1]:           },
2016-08-26T20:43:34.515197+00:00 app[web.1]:       {
2016-08-26T20:43:34.515197+00:00 app[web.1]:         "className": "_Session",
2016-08-26T20:43:34.515198+00:00 app[web.1]:           "objectId": {
2016-08-26T20:43:34.515199+00:00 app[web.1]:           },
2016-08-26T20:43:34.515200+00:00 app[web.1]:           "createdAt": {
2016-08-26T20:43:34.515202+00:00 app[web.1]:             "type": "Date"
2016-08-26T20:43:34.515205+00:00 app[web.1]:           "restricted": {
2016-08-26T20:43:34.515207+00:00 app[web.1]:             "type": "Pointer",
2016-08-26T20:43:34.515208+00:00 app[web.1]:           },
2016-08-26T20:43:34.515209+00:00 app[web.1]:             "type": "String"
2016-08-26T20:43:34.515210+00:00 app[web.1]:           "sessionToken": {
2016-08-26T20:43:34.515211+00:00 app[web.1]:             "type": "String"
2016-08-26T20:43:34.515212+00:00 app[web.1]:           "expiresAt": {
2016-08-26T20:43:34.515213+00:00 app[web.1]:             "type": "Date"
2016-08-26T20:43:34.515214+00:00 app[web.1]:           "createdWith": {
2016-08-26T20:43:34.515215+00:00 app[web.1]:             "type": "Object"
2016-08-26T20:43:34.515215+00:00 app[web.1]:           }
2016-08-26T20:43:34.515216+00:00 app[web.1]:         },
2016-08-26T20:43:34.515217+00:00 app[web.1]:         "classLevelPermissions": {
2016-08-26T20:43:34.515217+00:00 app[web.1]:           "find": {
2016-08-26T20:43:34.515218+00:00 app[web.1]:             "*": true
2016-08-26T20:43:34.515220+00:00 app[web.1]:             "*": true
2016-08-26T20:43:34.515221+00:00 app[web.1]:           },
2016-08-26T20:43:34.515222+00:00 app[web.1]:           },
2016-08-26T20:43:34.515224+00:00 app[web.1]:           },
2016-08-26T20:43:34.515230+00:00 app[web.1]:         "fields": {
2016-08-26T20:43:34.515237+00:00 app[web.1]:           "foo": {
2016-08-26T20:43:34.515248+00:00 app[web.1]:           "delete": {
2016-08-26T20:43:34.515260+00:00 app[web.1]:             "type": "ACL"
2016-08-26T20:43:34.515266+00:00 app[web.1]:             "type": "Array"
2016-08-26T20:43:34.515272+00:00 app[web.1]:           "GCMSenderId": {
2016-08-26T20:43:34.515272+00:00 app[web.1]:             "type": "String"
2016-08-26T20:43:34.515273+00:00 app[web.1]:           },
2016-08-26T20:43:34.515273+00:00 app[web.1]:           "timeZone": {
2016-08-26T20:43:34.515274+00:00 app[web.1]:             "type": "String"
2016-08-26T20:43:34.515274+00:00 app[web.1]:           },
2016-08-26T20:43:34.515275+00:00 app[web.1]:             "type": "String"
2016-08-26T20:43:34.515276+00:00 app[web.1]:           "badge": {
2016-08-26T20:43:34.515277+00:00 app[web.1]:             "type": "Number"
2016-08-26T20:43:34.515282+00:00 app[web.1]:           "appVersion": {
2016-08-26T20:43:34.515283+00:00 app[web.1]:             "type": "String"
2016-08-26T20:43:34.515283+00:00 app[web.1]:           },
2016-08-26T20:43:34.515284+00:00 app[web.1]:             "type": "String"
2016-08-26T20:43:34.515285+00:00 app[web.1]:           },
2016-08-26T20:43:34.515286+00:00 app[web.1]:             "type": "String"
2016-08-26T20:43:34.515288+00:00 app[web.1]:             "type": "String"
2016-08-26T20:43:34.515292+00:00 app[web.1]:             "*": true
2016-08-26T20:43:34.515292+00:00 app[web.1]:           "create": {
2016-08-26T20:43:34.515293+00:00 app[web.1]:             "*": true
2016-08-26T20:43:34.515294+00:00 app[web.1]:           },
2016-08-26T20:43:34.515294+00:00 app[web.1]:           "update": {
2016-08-26T20:43:34.515299+00:00 app[web.1]:             "*": true
2016-08-26T20:43:34.515300+00:00 app[web.1]:           "delete": {
2016-08-26T20:43:34.515302+00:00 app[web.1]:           "addField": {
2016-08-26T20:43:34.515305+00:00 app[web.1]:   }
2016-08-26T20:43:34.515307+00:00 app[web.1]: } results=[className=_User, type=String, type=Date, type=Date, type=ACL, type=String, type=String, type=String, type=Boolean, type=Object, *=true, *=true, *=true, *=true, *=true, *=true, className=_Session, type=String, type=Date, type=Date, type=ACL, type=Boolean, type=Pointer, targetClass=_User, type=String, type=String, type=Date, type=Object, *=true, *=true, *=true, *=true, *=true, *=true, className=TestObject, type=String, type=Date, type=Date, type=ACL, type=String, type=String, *=true, *=true, *=true, *=true, *=true, *=true, className=_Installation, type=String, type=Date, type=Date, type=ACL, type=String, type=String, type=Array, type=String, type=String, type=String, type=String, type=String, type=Number, type=String, type=String, type=String, type=String, *=true, *=true, *=true, *=true, *=true, *=true]
2016-08-26T20:43:34.524688+00:00 app[web.1]: } method=GET, url=/parse/classes/_Installation, host=tinderpl.herokuapp.com, connection=close, origin=http://0.0.0.0:4040, user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36, content-type=text/plain, accept=*/*, referer=http://0.0.0.0:4040/apps/tinderpl/browser/_Installation, accept-encoding=gzip, deflate, br, accept-language=en-US,en;q=0.8,zh-TW;q=0.6,zh;q=0.4, x-request-id=6aa1fbbb-e905-4353-a644-56d66ababe0e, x-forwarded-for=99.250.194.89, x-forwarded-proto=https, x-forwarded-port=443, via=1.1 vegur, connect-time=0, x-request-start=1472244214527, total-route-time=0, content-length=272, , limit=200, order=-createdAt,-createdAt
2016-08-26T20:43:34.561524+00:00 app[web.1]:         "timeZone": "America/Toronto",
2016-08-26T20:43:34.561525+00:00 app[web.1]:         "installationId": "52711bcb-d22f-472c-9bc1-cfdaa78a1af9",
2016-08-26T20:43:34.561537+00:00 app[web.1]:         "deviceToken": "92f67f7e634983303e544c238ed2ae4fcdc75408ad496264138a590fa3aae692",
2016-08-26T20:43:34.561538+00:00 app[web.1]:         "localeIdentifier": "en-CA",
2016-08-26T20:43:34.561542+00:00 app[web.1]:         "objectId": "jwqEIyLNcF",
2016-08-26T20:43:34.561543+00:00 app[web.1]:         "channels": [
2016-08-26T20:43:34.561552+00:00 app[web.1]:   }
2016-08-26T20:43:34.561554+00:00 app[web.1]: } results=[objectId=E6VdjH2akl, timeZone=America/Toronto, installationId=52711bcb-d22f-472c-9bc1-cfdaa78a1af9, channels=[], appName=Tinder, badge=2, deviceType=ios, appIdentifier=com.plaudev.Tinder, appVersion=1.14.2, parseVersion=1.14.2, deviceToken=92f67f7e634983303e544c238ed2ae4fcdc75408ad496264138a590fa3aae692, localeIdentifier=en-CA, createdAt=2016-08-25T23:28:28.624Z, updatedAt=2016-08-25T23:38:40.490Z, objectId=jwqEIyLNcF, timeZone=America/Toronto, appVersion=1.14.2, channels=[], deviceType=ios, appName=Tinder, badge=1, installationId=cd6681e7-a27a-41d0-96c7-4dd201854350, appIdentifier=com.plaudev.Tinder, parseVersion=1.14.2, deviceToken=e3508cedc06b8f7c700a7e619348d4dd3b887672b2b7ce14984bfac08bc06a94, localeIdentifier=en-CA, updatedAt=2016-08-25T23:38:40.490Z, createdAt=2016-08-23T16:26:07.925Z]
2016-08-26T20:43:34.834311+00:00 app[web.1]: verbose: REQUEST for [GET] /parse/classes/_User: {
2016-08-26T20:43:34.834326+00:00 app[web.1]:   "where": {},
2016-08-26T20:43:34.834327+00:00 app[web.1]:   "limit": 0,
2016-08-26T20:43:34.834328+00:00 app[web.1]:   "count": 1
2016-08-26T20:43:34.834332+00:00 app[web.1]: } method=GET, url=/parse/classes/_User, host=tinderpl.herokuapp.com, connection=close, origin=http://0.0.0.0:4040, user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36, content-type=text/plain, accept=*/*, referer=http://0.0.0.0:4040/apps/tinderpl/browser/_Installation, accept-encoding=gzip, deflate, br, accept-language=en-US,en;q=0.8,zh-TW;q=0.6,zh;q=0.4, x-request-id=cf6a64df-f031-4bfe-8079-e6d5c3052cb6, x-forwarded-for=99.250.194.89, x-forwarded-proto=https, x-forwarded-port=443, via=1.1 vegur, connect-time=0, x-request-start=1472244214560, total-route-time=0, content-length=248, , limit=0, count=1
2016-08-26T20:43:34.837433+00:00 app[web.1]:   "where": {},
2016-08-26T20:43:34.837433+00:00 app[web.1]:   "limit": 0,
2016-08-26T20:43:34.837485+00:00 app[web.1]: } method=GET, url=/parse/classes/_Session, host=tinderpl.herokuapp.com, connection=close, origin=http://0.0.0.0:4040, user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36, content-type=text/plain, accept=*/*, referer=http://0.0.0.0:4040/apps/tinderpl/browser/_Installation, accept-encoding=gzip, deflate, br, accept-language=en-US,en;q=0.8,zh-TW;q=0.6,zh;q=0.4, x-request-id=1ff02787-5c42-479f-bb95-3854f5ec9086, x-forwarded-for=99.250.194.89, x-forwarded-proto=https, x-forwarded-port=443, via=1.1 vegur, connect-time=0, x-request-start=1472244214634, total-route-time=0, content-length=248, , limit=0, count=1
2016-08-26T20:43:34.839945+00:00 app[web.1]:   "where": {},
2016-08-26T20:43:34.839945+00:00 app[web.1]:   "limit": 0,
2016-08-26T20:43:34.839946+00:00 app[web.1]:   "count": 1
2016-08-26T20:43:34.839946+00:00 app[web.1]: } method=GET, url=/parse/classes/TestObject, host=tinderpl.herokuapp.com, connection=close, origin=http://0.0.0.0:4040, user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36, content-type=text/plain, accept=*/*, referer=http://0.0.0.0:4040/apps/tinderpl/browser/_Installation, accept-encoding=gzip, deflate, br, accept-language=en-US,en;q=0.8,zh-TW;q=0.6,zh;q=0.4, x-request-id=c769bf77-f36e-4d98-90a2-b5e2317bf1dd, x-forwarded-for=99.250.194.89, x-forwarded-proto=https, x-forwarded-port=443, via=1.1 vegur, connect-time=0, x-request-start=1472244214624, total-route-time=0, content-length=248, , limit=0, count=1
2016-08-26T20:43:34.841611+00:00 app[web.1]: verbose: REQUEST for [GET] /parse/classes/_Installation: {
2016-08-26T20:43:34.841612+00:00 app[web.1]:   "where": {},
2016-08-26T20:43:34.841613+00:00 app[web.1]:   "limit": 0,
2016-08-26T20:43:34.841613+00:00 app[web.1]:   "count": 1
2016-08-26T20:43:34.841614+00:00 app[web.1]: } method=GET, url=/parse/classes/_Installation, host=tinderpl.herokuapp.com, connection=close, origin=http://0.0.0.0:4040, user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36, content-type=text/plain, accept=*/*, referer=http://0.0.0.0:4040/apps/tinderpl/browser/_Installation, accept-encoding=gzip, deflate, br, accept-language=en-US,en;q=0.8,zh-TW;q=0.6,zh;q=0.4, x-request-id=b987c9e4-69ef-4504-968e-32048f387888, x-forwarded-for=99.250.194.89, x-forwarded-proto=https, x-forwarded-port=443, via=1.1 vegur, connect-time=0, x-request-start=1472244214627, total-route-time=0, content-length=248, , limit=0, count=1
2016-08-26T20:43:35.116951+00:00 heroku[router]: at=info method=POST path="/parse/classes/_Installation" host=tinderpl.herokuapp.com request_id=b987c9e4-69ef-4504-968e-32048f387888 fwd="99.250.194.89" dyno=web.1 connect=0ms service=488ms status=200 bytes=543
2016-08-26T20:43:35.115914+00:00 heroku[router]: at=info method=POST path="/parse/classes/_User" host=tinderpl.herokuapp.com request_id=cf6a64df-f031-4bfe-8079-e6d5c3052cb6 fwd="99.250.194.89" dyno=web.1 connect=0ms service=554ms status=200 bytes=543
2016-08-26T20:43:35.151351+00:00 heroku[router]: at=info method=POST path="/parse/classes/_Session" host=tinderpl.herokuapp.com request_id=1ff02787-5c42-479f-bb95-3854f5ec9086 fwd="99.250.194.89" dyno=web.1 connect=0ms service=515ms status=200 bytes=543
2016-08-26T20:43:35.955105+00:00 heroku[router]: at=info method=POST path="/parse/classes/_Session" host=tinderpl.herokuapp.com request_id=e047e5b6-27d4-4618-940b-fd862fa76ebb fwd="99.250.194.89" dyno=web.1 connect=0ms service=23ms status=200 bytes=2440
2016-08-26T20:43:35.938814+00:00 app[web.1]: verbose: REQUEST for [GET] /parse/classes/_Session: {
2016-08-26T20:43:35.938825+00:00 app[web.1]:   "where": {},
2016-08-26T20:43:35.938826+00:00 app[web.1]:   "limit": 200,
2016-08-26T20:43:35.954755+00:00 app[web.1]: verbose: RESPONSE from [GET] /parse/classes/_Session: {
2016-08-26T20:43:35.954757+00:00 app[web.1]:   "response": {
2016-08-26T20:43:35.954758+00:00 app[web.1]:     "results": [
2016-08-26T20:43:35.954759+00:00 app[web.1]:       {
2016-08-26T20:43:35.954761+00:00 app[web.1]:         "sessionToken": "r:4ba396bbc1003169b8c4aed637b388b4",
2016-08-26T20:43:35.954761+00:00 app[web.1]:         "user": {
2016-08-26T20:43:35.954764+00:00 app[web.1]:         "createdWith": {
2016-08-26T20:43:35.954765+00:00 app[web.1]:           "action": "signup",
2016-08-26T20:43:35.954766+00:00 app[web.1]:           "authProvider": "anonymous"
2016-08-26T20:43:35.954768+00:00 app[web.1]:         "expiresAt": {
2016-08-26T20:43:35.954770+00:00 app[web.1]:           "iso": "2017-08-25T23:28:28.578Z"
2016-08-26T20:43:35.954770+00:00 app[web.1]:         },
2016-08-26T20:43:35.954771+00:00 app[web.1]:         "createdAt": "2016-08-25T23:28:28.579Z",
2016-08-26T20:43:35.954772+00:00 app[web.1]:         "updatedAt": "2016-08-25T23:28:28.579Z"
2016-08-26T20:43:35.954772+00:00 app[web.1]:       },
2016-08-26T20:43:35.954773+00:00 app[web.1]:       {
2016-08-26T20:43:35.954773+00:00 app[web.1]:         "objectId": "dCMFWimSK5",
2016-08-26T20:43:35.954775+00:00 app[web.1]:           "__type": "Pointer",
2016-08-26T20:43:35.954776+00:00 app[web.1]:           "className": "_User",
2016-08-26T20:43:35.954777+00:00 app[web.1]:           "objectId": "Uon4KjlI0u"
2016-08-26T20:43:35.954777+00:00 app[web.1]:         },
2016-08-26T20:43:35.954778+00:00 app[web.1]:           "action": "login",
2016-08-26T20:43:35.954779+00:00 app[web.1]:           "authProvider": "facebook"
2016-08-26T20:43:35.954784+00:00 app[web.1]:         "createdAt": "2016-08-24T03:34:12.908Z"
2016-08-26T20:43:35.954786+00:00 app[web.1]:         "objectId": "pCxZWGsE8L",
2016-08-26T20:43:35.954788+00:00 app[web.1]:           "__type": "Pointer",
2016-08-26T20:43:35.954790+00:00 app[web.1]:         },
2016-08-26T20:43:35.954790+00:00 app[web.1]:         "createdWith": {
2016-08-26T20:43:35.954791+00:00 app[web.1]:           "action": "login",
2016-08-26T20:43:35.954792+00:00 app[web.1]:         },
2016-08-26T20:43:35.954793+00:00 app[web.1]:         "restricted": false,
2016-08-26T20:43:35.954794+00:00 app[web.1]:           "__type": "Date",
2016-08-26T20:43:35.954794+00:00 app[web.1]:           "iso": "2017-08-23T16:26:55.898Z"
2016-08-26T20:43:35.954795+00:00 app[web.1]:         },
2016-08-26T20:43:35.954795+00:00 app[web.1]:         "updatedAt": "2016-08-23T16:26:55.899Z",
2016-08-26T20:43:35.954796+00:00 app[web.1]:         "createdAt": "2016-08-23T16:26:55.899Z"
2016-08-26T20:43:35.954796+00:00 app[web.1]:       },
2016-08-26T20:43:35.954797+00:00 app[web.1]:       {
2016-08-26T20:43:35.954798+00:00 app[web.1]:         "objectId": "tCAa9YrKes",
2016-08-26T20:43:35.954798+00:00 app[web.1]:         "sessionToken": "r:f0a12b1138332aa0949de0d291ab9a4e",
2016-08-26T20:43:35.954799+00:00 app[web.1]:         "user": {
2016-08-26T20:43:35.954800+00:00 app[web.1]:           "className": "_User",
2016-08-26T20:43:35.954801+00:00 app[web.1]:           "objectId": "IU1CwSqPAc"
2016-08-26T20:43:35.954806+00:00 app[web.1]:           "iso": "2017-08-23T03:18:54.296Z"
2016-08-26T20:43:35.954811+00:00 app[web.1]:         "user": {
2016-08-26T20:43:35.954812+00:00 app[web.1]:           "className": "_User",
2016-08-26T20:43:35.954814+00:00 app[web.1]:         "createdWith": {
2016-08-26T20:43:35.954816+00:00 app[web.1]:         "restricted": false,
2016-08-26T20:43:35.954818+00:00 app[web.1]:           "iso": "2017-08-22T21:03:01.772Z"
2016-08-26T20:43:35.954819+00:00 app[web.1]:         "updatedAt": "2016-08-22T21:03:01.773Z",
2016-08-26T20:43:35.954820+00:00 app[web.1]:         "createdAt": "2016-08-22T21:03:01.773Z"
2016-08-26T20:43:35.954820+00:00 app[web.1]:       }
2016-08-26T20:43:35.954821+00:00 app[web.1]:     ]
2016-08-26T20:43:35.954822+00:00 app[web.1]:   }
2016-08-26T20:43:35.954832+00:00 app[web.1]: } results=[objectId=cbaqpqDiAJ, sessionToken=r:4ba396bbc1003169b8c4aed637b388b4, __type=Pointer, className=_User, objectId=oLtQR1ZGg1, action=signup, authProvider=anonymous, restricted=false, installationId=52711bcb-d22f-472c-9bc1-cfdaa78a1af9, __type=Date, iso=2017-08-25T23:28:28.578Z, createdAt=2016-08-25T23:28:28.579Z, updatedAt=2016-08-25T23:28:28.579Z, objectId=dCMFWimSK5, sessionToken=r:ae40a14b8b4f66e69bd946ad7505a799, __type=Pointer, className=_User, objectId=Uon4KjlI0u, action=login, authProvider=facebook, restricted=false, __type=Date, iso=2017-08-24T03:34:12.908Z, updatedAt=2016-08-24T03:34:12.908Z, createdAt=2016-08-24T03:34:12.908Z, objectId=pCxZWGsE8L, sessionToken=r:8c370bfa5e89af9e529cdec8cb68adcd, __type=Pointer, className=_User, objectId=Uon4KjlI0u, action=login, authProvider=facebook, restricted=false, __type=Date, iso=2017-08-23T16:26:55.898Z, updatedAt=2016-08-23T16:26:55.899Z, createdAt=2016-08-23T16:26:55.899Z, objectId=tCAa9YrKes, sessionToken=r:f0a12b1138332aa0949de0d291ab9a4e, __type=Pointer, className=_User, objectId=IU1CwSqPAc, action=login, authProvider=anonymous, restricted=false, __type=Date, iso=2017-08-23T03:18:54.296Z, updatedAt=2016-08-23T03:18:54.297Z, createdAt=2016-08-23T03:18:54.297Z, objectId=kGnUbuBCGR, sessionToken=r:07012211fbf602ca1c0997002bc58439, __type=Pointer, className=_User, objectId=exmYlGRTkA, action=login, authProvider=anonymous, restricted=false, __type=Date, iso=2017-08-22T21:03:01.772Z, updatedAt=2016-08-22T21:03:01.773Z, createdAt=2016-08-22T21:03:01.773Z]
2016-08-26T20:43:35.119978+00:00 heroku[router]: at=info method=POST path="/parse/classes/TestObject" host=tinderpl.herokuapp.com request_id=c769bf77-f36e-4d98-90a2-b5e2317bf1dd fwd="99.250.194.89" dyno=web.1 connect=0ms service=494ms status=200 bytes=543
2016-08-26T20:43:38.947789+00:00 app[web.1]:                 "user": {
2016-08-26T20:43:38.947791+00:00 app[web.1]:                   "type": "Pointer",
2016-08-26T20:43:38.947792+00:00 app[web.1]:                 },
2016-08-26T20:43:38.947792+00:00 app[web.1]:                 "installationId": {
2016-08-26T20:43:38.947793+00:00 app[web.1]:                 "sessionToken": {
2016-08-26T20:43:38.923621+00:00 app[web.1]: verbose: REQUEST for [GET] /parse/scriptlog?level=info&n=100: {} method=GET, url=/parse/scriptlog?level=info&n=100, host=tinderpl.herokuapp.com, connection=close, origin=http://0.0.0.0:4040, user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36, content-type=text/plain, accept=*/*, referer=http://0.0.0.0:4040/apps/tinderpl/logs/info, accept-encoding=gzip, deflate, br, accept-language=en-US,en;q=0.8,zh-TW;q=0.6,zh;q=0.4, x-request-id=3d9c97d5-d14a-44e4-ab24-c4dda0c3d92e, x-forwarded-for=99.250.194.89, x-forwarded-proto=https, x-forwarded-port=443, via=1.1 vegur, connect-time=0, x-request-start=1472244218917, total-route-time=0, content-length=217, 
2016-08-26T20:43:38.947456+00:00 app[web.1]: verbose: RESPONSE from [GET] /parse/scriptlog?level=info&n=100: {
2016-08-26T20:43:38.947458+00:00 app[web.1]:   "response": [
2016-08-26T20:43:38.947459+00:00 app[web.1]:     {
2016-08-26T20:43:38.947795+00:00 app[web.1]:                 },
2016-08-26T20:43:38.947460+00:00 app[web.1]:       "url": "/parse/scriptlog?level=info&n=100",
2016-08-26T20:43:38.947796+00:00 app[web.1]:                 }
2016-08-26T20:43:38.947466+00:00 app[web.1]:         "connection": "close",
2016-08-26T20:43:38.947467+00:00 app[web.1]:         "user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36",
2016-08-26T20:43:38.947468+00:00 app[web.1]:         "content-type": "text/plain",
2016-08-26T20:43:38.947801+00:00 app[web.1]:                 "update": {
2016-08-26T20:43:38.947802+00:00 app[web.1]:                   "*": true
2016-08-26T20:43:38.947803+00:00 app[web.1]:                 }
2016-08-26T20:43:38.947472+00:00 app[web.1]:         "via": "1.1 vegur",
2016-08-26T20:43:38.947804+00:00 app[web.1]:             },
2016-08-26T20:43:38.947474+00:00 app[web.1]:       },
2016-08-26T20:43:38.947806+00:00 app[web.1]:                   "type": "String"
2016-08-26T20:43:38.947474+00:00 app[web.1]:       "body": {},
2016-08-26T20:43:38.947807+00:00 app[web.1]:                 "updatedAt": {
2016-08-26T20:43:38.947808+00:00 app[web.1]:                   "type": "Date"
2016-08-26T20:43:38.947811+00:00 app[web.1]:               },
2016-08-26T20:43:38.947816+00:00 app[web.1]:                 "delete": {
2016-08-26T20:43:38.947818+00:00 app[web.1]:             },
2016-08-26T20:43:38.947819+00:00 app[web.1]:               "fields": {
2016-08-26T20:43:38.947820+00:00 app[web.1]:                 "createdAt": {
2016-08-26T20:43:38.947821+00:00 app[web.1]:                 },
2016-08-26T20:43:38.947478+00:00 app[web.1]:               "sessionToken": "r:4ba396bbc1003169b8c4aed637b388b4",
2016-08-26T20:43:38.947479+00:00 app[web.1]:               "user": {
2016-08-26T20:43:38.947479+00:00 app[web.1]:                 "__type": "Pointer",
2016-08-26T20:43:38.947480+00:00 app[web.1]:                 "objectId": "oLtQR1ZGg1"
2016-08-26T20:43:38.947480+00:00 app[web.1]:               "createdWith": {
2016-08-26T20:43:38.947825+00:00 app[web.1]:                 "deviceToken": {
2016-08-26T20:43:38.947825+00:00 app[web.1]:                   "type": "String"
2016-08-26T20:43:38.947482+00:00 app[web.1]:               "expiresAt": {
2016-08-26T20:43:38.947484+00:00 app[web.1]:               "createdAt": "2016-08-25T23:28:28.579Z",
2016-08-26T20:43:38.947826+00:00 app[web.1]:                 },
2016-08-26T20:43:38.947827+00:00 app[web.1]:                 "deviceType": {
2016-08-26T20:43:38.947827+00:00 app[web.1]:                   "type": "String"
2016-08-26T20:43:38.947827+00:00 app[web.1]:                 },
2016-08-26T20:43:38.947485+00:00 app[web.1]:             {
2016-08-26T20:43:38.947485+00:00 app[web.1]:               "objectId": "dCMFWimSK5",
2016-08-26T20:43:38.947828+00:00 app[web.1]:                 },
2016-08-26T20:43:38.947497+00:00 app[web.1]:                 "iso": "2017-08-23T16:26:55.898Z"
2016-08-26T20:43:38.947835+00:00 app[web.1]:                 "badge": {
2016-08-26T20:43:38.947837+00:00 app[web.1]:                 },
2016-08-26T20:43:38.947502+00:00 app[web.1]:                 "action": "login",
2016-08-26T20:43:38.947839+00:00 app[web.1]:                 },
2016-08-26T20:43:38.947839+00:00 app[web.1]:                   "type": "String"
2016-08-26T20:43:38.947840+00:00 app[web.1]:                 }
2016-08-26T20:43:38.947840+00:00 app[web.1]:               },
2016-08-26T20:43:38.947840+00:00 app[web.1]:               "classLevelPermissions": {
2016-08-26T20:43:38.947841+00:00 app[web.1]:                 "find": {
2016-08-26T20:43:38.947841+00:00 app[web.1]:                 },
2016-08-26T20:43:38.947504+00:00 app[web.1]:               "updatedAt": "2016-08-23T03:18:54.297Z",
2016-08-26T20:43:38.947842+00:00 app[web.1]:                 },
2016-08-26T20:43:38.947509+00:00 app[web.1]:               "sessionToken": "r:07012211fbf602ca1c0997002bc58439",
2016-08-26T20:43:38.947844+00:00 app[web.1]:                 },
2016-08-26T20:43:38.947510+00:00 app[web.1]:                 "className": "_User",
2016-08-26T20:43:38.947510+00:00 app[web.1]:                 "objectId": "exmYlGRTkA"
2016-08-26T20:43:38.947845+00:00 app[web.1]:                 },
2016-08-26T20:43:38.947845+00:00 app[web.1]:                 "addField": {
2016-08-26T20:43:38.947511+00:00 app[web.1]:               "createdWith": {
2016-08-26T20:43:38.947513+00:00 app[web.1]:                 "__type": "Date",
2016-08-26T20:43:38.947513+00:00 app[web.1]:                 "iso": "2017-08-22T21:03:01.772Z"
2016-08-26T20:43:38.947514+00:00 app[web.1]:               "createdAt": "2016-08-22T21:03:01.773Z"
2016-08-26T20:43:38.947859+00:00 app[web.1]:       "headers": {
2016-08-26T20:43:38.947859+00:00 app[web.1]:         "connection": "close",
2016-08-26T20:43:38.947862+00:00 app[web.1]:         "referer": "http://0.0.0.0:4040/apps/tinderpl/browser/_Installation",
2016-08-26T20:43:38.947862+00:00 app[web.1]:         "accept-encoding": "gzip, deflate, br",
2016-08-26T20:43:38.947535+00:00 app[web.1]:       "headers": {
2016-08-26T20:43:38.947536+00:00 app[web.1]:         "connection": "close",
2016-08-26T20:43:38.947536+00:00 app[web.1]:         "origin": "http://0.0.0.0:4040",
2016-08-26T20:43:38.947865+00:00 app[web.1]:         "via": "1.1 vegur",
2016-08-26T20:43:38.947865+00:00 app[web.1]:         "x-request-start": "1472244214484",
2016-08-26T20:43:38.947539+00:00 app[web.1]:         "accept-language": "en-US,en;q=0.8,zh-TW;q=0.6,zh;q=0.4",
2016-08-26T20:43:38.947541+00:00 app[web.1]:         "x-request-id": "e047e5b6-27d4-4618-940b-fd862fa76ebb",
2016-08-26T20:43:38.947541+00:00 app[web.1]:         "x-forwarded-for": "99.250.194.89",
2016-08-26T20:43:38.947867+00:00 app[web.1]:       "body": {},
2016-08-26T20:43:38.947867+00:00 app[web.1]:       "message": "REQUEST for [GET] /parse/schemas: {}",
2016-08-26T20:43:38.947543+00:00 app[web.1]:         "x-request-start": "1472244215930",
2016-08-26T20:43:38.947543+00:00 app[web.1]:         "content-length": "272"
2016-08-26T20:43:38.947544+00:00 app[web.1]:       },
2016-08-26T20:43:38.947544+00:00 app[web.1]:         "where": {},
2016-08-26T20:43:38.947545+00:00 app[web.1]:         "order": "-createdAt,-createdAt"
2016-08-26T20:43:38.947545+00:00 app[web.1]:       },
2016-08-26T20:43:38.947871+00:00 app[web.1]:       },
2016-08-26T20:43:38.947872+00:00 app[web.1]:       "timestamp": "2016-08-26T20:34:03.335Z"
2016-08-26T20:43:38.947547+00:00 app[web.1]:       "timestamp": "2016-08-26T20:43:35.937Z"
2016-08-26T20:43:38.947873+00:00 app[web.1]:       "functionName": "pushToAll",
2016-08-26T20:43:38.947873+00:00 app[web.1]:       "error": {
2016-08-26T20:43:38.947874+00:00 app[web.1]:         "message": {
2016-08-26T20:43:38.947875+00:00 app[web.1]:       },
2016-08-26T20:43:38.947876+00:00 app[web.1]:       "params": {},
2016-08-26T20:43:38.947876+00:00 app[web.1]:       "level": "error",
2016-08-26T20:43:38.947549+00:00 app[web.1]:           "results": [],
2016-08-26T20:43:38.947549+00:00 app[web.1]:           "count": 2
2016-08-26T20:43:38.947549+00:00 app[web.1]:         }
2016-08-26T20:43:38.947879+00:00 app[web.1]:       "url": "/parse/functions/pushToAll",
2016-08-26T20:43:38.947550+00:00 app[web.1]:       "level": "verbose",
2016-08-26T20:43:38.947880+00:00 app[web.1]:         "connection": "close",
2016-08-26T20:43:38.947551+00:00 app[web.1]:       "timestamp": "2016-08-26T20:43:35.116Z"
2016-08-26T20:43:38.947553+00:00 app[web.1]:           "count": 7
2016-08-26T20:43:38.947556+00:00 app[web.1]:     {
2016-08-26T20:43:38.947558+00:00 app[web.1]:       "message": "RESPONSE from [GET] /parse/classes/_User: {\n  \"response\": {\n    \"results\": [],\n    \"count\": 4\n  }\n}",
2016-08-26T20:43:38.947561+00:00 app[web.1]:         }
2016-08-26T20:43:38.947562+00:00 app[web.1]:     },
2016-08-26T20:43:38.947892+00:00 app[web.1]:       "level": "error",
2016-08-26T20:43:38.947892+00:00 app[web.1]:       "message": "Error generating response. ParseError {\n  code: 141,\n  message: \n   ParseError {\n     code: 100,\n     message: 'XMLHttpRequest failed: \"Unable to connect to the Parse API\"' } }",
2016-08-26T20:43:38.947566+00:00 app[web.1]:         "referer": "http://0.0.0.0:4040/apps/tinderpl/browser/_Installation",
2016-08-26T20:43:38.947568+00:00 app[web.1]:         "x-forwarded-for": "99.250.194.89",
2016-08-26T20:43:38.947568+00:00 app[web.1]:         "x-forwarded-proto": "https",
2016-08-26T20:43:38.947568+00:00 app[web.1]:         "x-forwarded-port": "443",
2016-08-26T20:43:38.947896+00:00 app[web.1]:       },
2016-08-26T20:43:38.947897+00:00 app[web.1]:       "params": {},
2016-08-26T20:43:38.947569+00:00 app[web.1]:         "via": "1.1 vegur",
2016-08-26T20:43:38.947570+00:00 app[web.1]:         "content-length": "248"
2016-08-26T20:43:38.947571+00:00 app[web.1]:       "body": {
2016-08-26T20:43:38.947898+00:00 app[web.1]:     {
2016-08-26T20:43:38.947899+00:00 app[web.1]:       "method": "POST",
2016-08-26T20:43:38.947572+00:00 app[web.1]:         "count": 1
2016-08-26T20:43:38.947899+00:00 app[web.1]:       "url": "/parse/functions/pushToAll",
2016-08-26T20:43:38.947573+00:00 app[web.1]:     },
2016-08-26T20:43:38.947900+00:00 app[web.1]:         "connection": "close",
2016-08-26T20:43:38.947901+00:00 app[web.1]:         "accept": "*/*",
2016-08-26T20:43:38.947901+00:00 app[web.1]:         "content-type": "application/json",
2016-08-26T20:43:38.947902+00:00 app[web.1]:         "x-request-id": "ca51cb50-51d8-4b9d-94d3-dc9f6ed8175a",
2016-08-26T20:43:38.947575+00:00 app[web.1]:       "headers": {
2016-08-26T20:43:38.947577+00:00 app[web.1]:         "user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36",
2016-08-26T20:43:38.947577+00:00 app[web.1]:         "content-type": "text/plain",
2016-08-26T20:43:38.947903+00:00 app[web.1]:         "via": "1.1 vegur",
2016-08-26T20:43:38.947904+00:00 app[web.1]:         "x-request-start": "1472243532318",
2016-08-26T20:43:38.947904+00:00 app[web.1]:         "total-route-time": "0",
2016-08-26T20:43:38.947579+00:00 app[web.1]:         "x-request-id": "c769bf77-f36e-4d98-90a2-b5e2317bf1dd",
2016-08-26T20:43:38.947579+00:00 app[web.1]:         "x-forwarded-for": "99.250.194.89",
2016-08-26T20:43:38.947580+00:00 app[web.1]:         "x-forwarded-port": "443",
2016-08-26T20:43:38.947907+00:00 app[web.1]:   ]
2016-08-26T20:43:38.947583+00:00 app[web.1]:         "x-request-start": "1472244214624",
2016-08-26T20:43:38.947910+00:00 app[web.1]:   "response": {
2016-08-26T20:43:38.947911+00:00 app[web.1]:         "objectId": "cbaqpqDiAJ",
2016-08-26T20:43:38.947912+00:00 app[web.1]:           "className": "_User",
2016-08-26T20:43:38.947585+00:00 app[web.1]:         "count": 1
2016-08-26T20:43:38.947913+00:00 app[web.1]:         "createdWith": {
2016-08-26T20:43:38.947914+00:00 app[web.1]:           "action": "signup",
2016-08-26T20:43:38.947585+00:00 app[web.1]:       "level": "verbose",
2016-08-26T20:43:38.947915+00:00 app[web.1]:         "expiresAt": {
2016-08-26T20:43:38.947917+00:00 app[web.1]:       },
2016-08-26T20:43:38.947588+00:00 app[web.1]:         "host": "tinderpl.herokuapp.com",
2016-08-26T20:43:38.947918+00:00 app[web.1]:         "objectId": "dCMFWimSK5",
2016-08-26T20:43:38.947589+00:00 app[web.1]:         "origin": "http://0.0.0.0:4040",
2016-08-26T20:43:38.947590+00:00 app[web.1]:         "user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36",
2016-08-26T20:43:38.947592+00:00 app[web.1]:         "accept-encoding": "gzip, deflate, br",
2016-08-26T20:43:38.947593+00:00 app[web.1]:         "x-request-id": "1ff02787-5c42-479f-bb95-3854f5ec9086",
2016-08-26T20:43:38.947593+00:00 app[web.1]:         "x-forwarded-proto": "https",
2016-08-26T20:43:38.947595+00:00 app[web.1]:         "x-request-start": "1472244214634",
2016-08-26T20:43:38.947595+00:00 app[web.1]:         "content-length": "248"
2016-08-26T20:43:38.947596+00:00 app[web.1]:       },
2016-08-26T20:43:38.947596+00:00 app[web.1]:       "body": {
2016-08-26T20:43:38.947596+00:00 app[web.1]:         "where": {},
2016-08-26T20:43:38.947925+00:00 app[web.1]:         "objectId": "pCxZWGsE8L",
2016-08-26T20:43:38.947597+00:00 app[web.1]:         "count": 1
2016-08-26T20:43:38.947926+00:00 app[web.1]:           "__type": "Pointer",
2016-08-26T20:43:38.947926+00:00 app[web.1]:           "className": "_User",
2016-08-26T20:43:38.947599+00:00 app[web.1]:     {
2016-08-26T20:43:38.947927+00:00 app[web.1]:         },
2016-08-26T20:43:38.947600+00:00 app[web.1]:       "url": "/parse/classes/_User",
2016-08-26T20:43:38.947600+00:00 app[web.1]:       "headers": {
2016-08-26T20:43:38.947601+00:00 app[web.1]:         "user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36",
2016-08-26T20:43:38.947603+00:00 app[web.1]:         "accept-encoding": "gzip, deflate, br",
2016-08-26T20:43:38.947932+00:00 app[web.1]:         "createdAt": "2016-08-23T16:26:55.899Z"
2016-08-26T20:43:38.947606+00:00 app[web.1]:         "via": "1.1 vegur",
2016-08-26T20:43:38.947932+00:00 app[web.1]:       {
2016-08-26T20:43:38.947606+00:00 app[web.1]:         "connect-time": "0",
2016-08-26T20:43:38.947606+00:00 app[web.1]:         "x-request-start": "1472244214560",
2016-08-26T20:43:38.947606+00:00 app[web.1]:         "total-route-time": "0",
2016-08-26T20:43:38.947934+00:00 app[web.1]:           "objectId": "IU1CwSqPAc"
2016-08-26T20:43:38.947935+00:00 app[web.1]:         },
2016-08-26T20:43:38.947607+00:00 app[web.1]:       "body": {
2016-08-26T20:43:38.947935+00:00 app[web.1]:           "action": "login",
2016-08-26T20:43:38.947609+00:00 app[web.1]:       },
2016-08-26T20:43:38.947936+00:00 app[web.1]:           "authProvider": "anonymous"
2016-08-26T20:43:38.947936+00:00 app[web.1]:         },
2016-08-26T20:43:38.947936+00:00 app[web.1]:         "restricted": false,
2016-08-26T20:43:38.947610+00:00 app[web.1]:       "timestamp": "2016-08-26T20:43:34.833Z"
2016-08-26T20:43:38.947938+00:00 app[web.1]:         },
2016-08-26T20:43:38.947611+00:00 app[web.1]:       "result": {
2016-08-26T20:43:38.947938+00:00 app[web.1]:         "createdAt": "2016-08-23T03:18:54.297Z"
2016-08-26T20:43:38.947939+00:00 app[web.1]:       {
2016-08-26T20:43:38.947613+00:00 app[web.1]:               "installationId": "52711bcb-d22f-472c-9bc1-cfdaa78a1af9",
2016-08-26T20:43:38.947614+00:00 app[web.1]:               ],
2016-08-26T20:43:38.947941+00:00 app[web.1]:           "className": "_User",
2016-08-26T20:43:38.947615+00:00 app[web.1]:               "deviceType": "ios",
2016-08-26T20:43:38.947942+00:00 app[web.1]:         "createdWith": {
2016-08-26T20:43:38.947616+00:00 app[web.1]:               "parseVersion": "1.14.2",
2016-08-26T20:43:38.947943+00:00 app[web.1]:           "authProvider": "anonymous"
2016-08-26T20:43:38.947616+00:00 app[web.1]:               "deviceToken": "92f67f7e634983303e544c238ed2ae4fcdc75408ad496264138a590fa3aae692",
2016-08-26T20:43:38.947944+00:00 app[web.1]:         },
2016-08-26T20:43:38.947618+00:00 app[web.1]:             },
2016-08-26T20:43:38.947948+00:00 app[web.1]:   "limit": 200,
2016-08-26T20:43:38.947624+00:00 app[web.1]:               "localeIdentifier": "en-CA",
2016-08-26T20:43:38.947628+00:00 app[web.1]:       "message": "RESPONSE from [GET] /parse/classes/_Installation: {\n  \"response\": {\n    \"results\": [\n      {\n        \"objectId\": \"E6VdjH2akl\",\n        \"timeZone\": \"America/Toronto\",\n        \"installationId\": \"52711bcb-d22f-472c-9bc1-cfdaa78a1af9\",\n        \"channels\": [\n          \"\"\n        ],\n        \"appName\": \"Tinder\",\n        \"badge\": 2,\n        \"deviceType\": \"ios\",\n        \"appIdentifier\": \"com.plaudev.Tinder\",\n        \"appVersion\": \"1.14.2\",\n        \"parseVersion\": \"1.14.2\",\n        \"deviceToken\": \"92f67f7e634983303e544c238ed2ae4fcdc75408ad496264138a590fa3aae692\",\n        \"localeIdentifier\": \"en-CA\",\n        \"createdAt\": \"2016-08-25T23:28:28.624Z\",\n        \"updatedAt\": \"2016-08-25T23:38:40.490Z\"\n      },\n      {\n        \"objectId\": \"jwqEIyLNcF\",\n        \"timeZone\": \"America/Toronto\",\n        \"appVersion\": \"1.14.2\",\n        \"channels\": [\n          \"\"\n        ],\n        \"deviceType\": \"ios\",\n        \"appName\": \"Tinder\",\n        \"badge\": 1,\n        \"installationId\": \"cd6681e7-a27a-41d0-96c7-4dd201854350\",\n        \"appIdentifier\": \"com.plaudev.Tinder\",\n        \"parseVersion\": \"1.14.2\",\n        \"deviceToken\": \"e3508cedc06b8f7c700a7e619348d4dd3b887672b2b7ce14984bfac08bc06a94\",\n        \"localeIdentifier\": \"en-CA\",\n        \"updatedAt\": \"2016-08-25T23:38:40.490Z\",\n        \"createdAt\": \"2016-08-23T16:26:07.925Z\"\n      }\n    ]\n  }\n}",
2016-08-26T20:43:38.947630+00:00 app[web.1]:       "headers": {
2016-08-26T20:43:38.947631+00:00 app[web.1]:         "origin": "http://0.0.0.0:4040",
2016-08-26T20:43:38.947952+00:00 app[web.1]:     "results": [],
2016-08-26T20:43:38.947632+00:00 app[web.1]:         "content-type": "text/plain",
2016-08-26T20:43:38.947954+00:00 app[web.1]:   }
2016-08-26T20:43:38.947956+00:00 app[web.1]:     "results": [],
2016-08-26T20:43:38.947956+00:00 app[web.1]:     "count": 5
2016-08-26T20:43:38.947635+00:00 app[web.1]:         "via": "1.1 vegur",
2016-08-26T20:43:38.947636+00:00 app[web.1]:         "total-route-time": "0",
2016-08-26T20:43:38.947637+00:00 app[web.1]:         "content-length": "272"
2016-08-26T20:43:38.947637+00:00 app[web.1]:       },
2016-08-26T20:43:38.947956+00:00 app[web.1]:   }
2016-08-26T20:43:38.947959+00:00 app[web.1]: }, timestamp=2016-08-26T20:43:34.840Z, method=GET, url=/parse/classes/TestObject, host=tinderpl.herokuapp.com, connection=close, origin=http://0.0.0.0:4040, user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36, content-type=text/plain, accept=*/*, referer=http://0.0.0.0:4040/apps/tinderpl/browser/_Installation, accept-encoding=gzip, deflate, br, accept-language=en-US,en;q=0.8,zh-TW;q=0.6,zh;q=0.4, x-request-id=c769bf77-f36e-4d98-90a2-b5e2317bf1dd, x-forwarded-for=99.250.194.89, x-forwarded-proto=https, x-forwarded-port=443, via=1.1 vegur, connect-time=0, x-request-start=1472244214624, total-route-time=0, content-length=248, , limit=0, count=1, level=verbose, message=REQUEST for [GET] /parse/classes/TestObject: {
2016-08-26T20:43:38.947959+00:00 app[web.1]:   "where": {},
2016-08-26T20:43:38.947638+00:00 app[web.1]:         "order": "-createdAt,-createdAt"
2016-08-26T20:43:38.947961+00:00 app[web.1]:   "count": 1
2016-08-26T20:43:38.947639+00:00 app[web.1]:       },
2016-08-26T20:43:38.947640+00:00 app[web.1]:     },
2016-08-26T20:43:38.947970+00:00 app[web.1]:       {
2016-08-26T20:43:38.947971+00:00 app[web.1]:         "channels": [
2016-08-26T20:43:38.947972+00:00 app[web.1]:         ],
2016-08-26T20:43:38.947643+00:00 app[web.1]:               "fields": {
2016-08-26T20:43:38.947974+00:00 app[web.1]:         "deviceToken": "92f67f7e634983303e544c238ed2ae4fcdc75408ad496264138a590fa3aae692",
2016-08-26T20:43:38.947976+00:00 app[web.1]:         "updatedAt": "2016-08-25T23:38:40.490Z"
2016-08-26T20:43:38.947978+00:00 app[web.1]:       {
2016-08-26T20:43:38.947979+00:00 app[web.1]:         "appVersion": "1.14.2",
2016-08-26T20:43:38.947646+00:00 app[web.1]:                 "ACL": {
2016-08-26T20:43:38.947647+00:00 app[web.1]:                   "type": "ACL"
2016-08-26T20:43:38.947980+00:00 app[web.1]:         ],
2016-08-26T20:43:38.947981+00:00 app[web.1]:         "badge": 1,
2016-08-26T20:43:38.947983+00:00 app[web.1]:         "deviceToken": "e3508cedc06b8f7c700a7e619348d4dd3b887672b2b7ce14984bfac08bc06a94",
2016-08-26T20:43:38.947984+00:00 app[web.1]:         "createdAt": "2016-08-23T16:26:07.925Z"
2016-08-26T20:43:38.947984+00:00 app[web.1]:       }
2016-08-26T20:43:38.947649+00:00 app[web.1]:                 "email": {
2016-08-26T20:43:38.947985+00:00 app[web.1]: }, timestamp=2016-08-26T20:43:34.558Z, method=GET, url=/parse/classes/_Installation, host=tinderpl.herokuapp.com, connection=close, origin=http://0.0.0.0:4040, user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36, content-type=text/plain, accept=*/*, referer=http://0.0.0.0:4040/apps/tinderpl/browser/_Installation, accept-encoding=gzip, deflate, br, accept-language=en-US,en;q=0.8,zh-TW;q=0.6,zh;q=0.4, x-request-id=6aa1fbbb-e905-4353-a644-56d66ababe0e, x-forwarded-for=99.250.194.89, x-forwarded-proto=https, x-forwarded-port=443, via=1.1 vegur, connect-time=0, x-request-start=1472244214527, total-route-time=0, content-length=272, , limit=200, order=-createdAt,-createdAt, level=verbose, message=REQUEST for [GET] /parse/classes/_Installation: {
2016-08-26T20:43:38.947986+00:00 app[web.1]:   "where": {},
2016-08-26T20:43:38.947650+00:00 app[web.1]:                 "emailVerified": {
2016-08-26T20:43:38.947992+00:00 app[web.1]:   "response": {
2016-08-26T20:43:38.947651+00:00 app[web.1]:                 },
2016-08-26T20:43:38.947993+00:00 app[web.1]:         "className": "_User",
2016-08-26T20:43:38.947654+00:00 app[web.1]:                 "find": {
2016-08-26T20:43:38.947995+00:00 app[web.1]:           "createdAt": {
2016-08-26T20:43:38.947996+00:00 app[web.1]:           "updatedAt": {
2016-08-26T20:43:38.947656+00:00 app[web.1]:                 "create": {
2016-08-26T20:43:38.947657+00:00 app[web.1]:                 },
2016-08-26T20:43:38.947658+00:00 app[web.1]:                   "*": true
2016-08-26T20:43:38.947658+00:00 app[web.1]:                 },
2016-08-26T20:43:38.947659+00:00 app[web.1]:                   "*": true
2016-08-26T20:43:38.947660+00:00 app[web.1]:               }
2016-08-26T20:43:38.947660+00:00 app[web.1]:             },
2016-08-26T20:43:38.947661+00:00 app[web.1]:               "className": "_Session",
2016-08-26T20:43:38.947661+00:00 app[web.1]:               "fields": {
2016-08-26T20:43:38.947661+00:00 app[web.1]:                 "objectId": {
2016-08-26T20:43:38.947662+00:00 app[web.1]:                   "type": "String"
2016-08-26T20:43:38.947662+00:00 app[web.1]:                 "createdAt": {
2016-08-26T20:43:38.947662+00:00 app[web.1]:                   "type": "Date"
2016-08-26T20:43:38.947663+00:00 app[web.1]:                 },
2016-08-26T20:43:38.947663+00:00 app[web.1]:                 "updatedAt": {
2016-08-26T20:43:38.947664+00:00 app[web.1]:                   "type": "ACL"
2016-08-26T20:43:38.947665+00:00 app[web.1]:                 },
2016-08-26T20:43:38.947665+00:00 app[web.1]:                 "restricted": {
2016-08-26T20:43:38.947665+00:00 app[web.1]:                   "type": "Boolean"
2016-08-26T20:43:38.947666+00:00 app[web.1]:                 },
2016-08-26T20:43:38.958067+00:00 heroku[router]: at=info method=POST path="/parse/releases/latest" host=tinderpl.herokuapp.com request_id=a55b97cd-57ee-4c59-9266-024129b8a88a fwd="99.250.194.89" dyno=web.1 connect=1ms service=21ms status=404 bytes=549
2016-08-26T20:43:38.948015+00:00 app[web.1]:             "type": "Date"
2016-08-26T20:43:38.948016+00:00 app[web.1]:           },
2016-08-26T20:43:38.948017+00:00 app[web.1]:           "ACL": {
2016-08-26T20:43:38.948018+00:00 app[web.1]:           "username": {
2016-08-26T20:43:38.948018+00:00 app[web.1]:             "type": "String"
2016-08-26T20:43:38.948019+00:00 app[web.1]:             "type": "String"
2016-08-26T20:43:38.948019+00:00 app[web.1]:           },
2016-08-26T20:43:38.948020+00:00 app[web.1]:           "email": {
2016-08-26T20:43:38.948021+00:00 app[web.1]:           },
2016-08-26T20:43:38.948022+00:00 app[web.1]:             "type": "Object"
2016-08-26T20:43:38.948022+00:00 app[web.1]:           }
2016-08-26T20:43:38.948023+00:00 app[web.1]:         },
2016-08-26T20:43:38.948023+00:00 app[web.1]:         "classLevelPermissions": {
2016-08-26T20:43:38.948023+00:00 app[web.1]:           "find": {
2016-08-26T20:43:38.948023+00:00 app[web.1]:             "*": true
2016-08-26T20:43:38.948024+00:00 app[web.1]:           },
2016-08-26T20:43:38.948024+00:00 app[web.1]:           "get": {
2016-08-26T20:43:38.948024+00:00 app[web.1]:             "*": true
2016-08-26T20:43:38.948025+00:00 app[web.1]:           "create": {
2016-08-26T20:43:38.948025+00:00 app[web.1]:             "*": true
2016-08-26T20:43:38.948026+00:00 app[web.1]:           },
2016-08-26T20:43:38.948026+00:00 app[web.1]:           "update": {
2016-08-26T20:43:38.948026+00:00 app[web.1]:             "*": true
2016-08-26T20:43:38.948027+00:00 app[web.1]:           },
2016-08-26T20:43:38.948027+00:00 app[web.1]:           "delete": {
2016-08-26T20:43:38.948027+00:00 app[web.1]:             "*": true
2016-08-26T20:43:38.948028+00:00 app[web.1]:           },
2016-08-26T20:43:38.948028+00:00 app[web.1]:           "addField": {
2016-08-26T20:43:38.948029+00:00 app[web.1]:       {
2016-08-26T20:43:38.948030+00:00 app[web.1]:         "className": "_Session",
2016-08-26T20:43:38.948030+00:00 app[web.1]:         "fields": {
2016-08-26T20:43:38.948031+00:00 app[web.1]:           },
2016-08-26T20:43:38.948031+00:00 app[web.1]:           "createdAt": {
2016-08-26T20:43:38.948032+00:00 app[web.1]:           },
2016-08-26T20:43:38.948032+00:00 app[web.1]:           "updatedAt": {
2016-08-26T20:43:38.948033+00:00 app[web.1]:             "type": "Date"
2016-08-26T20:43:38.948033+00:00 app[web.1]:           },
2016-08-26T20:43:38.948033+00:00 app[web.1]:           "ACL": {
2016-08-26T20:43:38.948034+00:00 app[web.1]:             "type": "ACL"
2016-08-26T20:43:38.948058+00:00 app[web.1]:           "restricted": {
2016-08-26T20:43:38.948058+00:00 app[web.1]:             "type": "Boolean"
2016-08-26T20:43:38.948059+00:00 app[web.1]:           },
2016-08-26T20:43:38.948059+00:00 app[web.1]:             "type": "Pointer",
2016-08-26T20:43:38.948060+00:00 app[web.1]:             "targetClass": "_User"
2016-08-26T20:43:38.948060+00:00 app[web.1]:           },
2016-08-26T20:43:38.948067+00:00 app[web.1]:           "sessionToken": {
2016-08-26T20:43:38.948067+00:00 app[web.1]:             "type": "String"
2016-08-26T20:43:38.948068+00:00 app[web.1]:           },
2016-08-26T20:43:38.948068+00:00 app[web.1]:           "expiresAt": {
2016-08-26T20:43:38.948068+00:00 app[web.1]:             "type": "Date"
2016-08-26T20:43:38.948069+00:00 app[web.1]:           },
2016-08-26T20:43:38.948069+00:00 app[web.1]:             "type": "Object"
2016-08-26T20:43:38.948070+00:00 app[web.1]:           }
2016-08-26T20:43:38.948070+00:00 app[web.1]:         },
2016-08-26T20:43:38.948071+00:00 app[web.1]:             "*": true
2016-08-26T20:43:38.948071+00:00 app[web.1]:           },
2016-08-26T20:43:38.948072+00:00 app[web.1]:           },
2016-08-26T20:43:38.948078+00:00 app[web.1]:           },
2016-08-26T20:43:38.948079+00:00 app[web.1]:             "*": true
2016-08-26T20:43:38.948079+00:00 app[web.1]:           },
2016-08-26T20:43:38.948079+00:00 app[web.1]:             "*": true
2016-08-26T20:43:38.948080+00:00 app[web.1]:           },
2016-08-26T20:43:38.948080+00:00 app[web.1]:           "addField": {
2016-08-26T20:43:38.948080+00:00 app[web.1]:             "*": true
2016-08-26T20:43:38.948081+00:00 app[web.1]:         }
2016-08-26T20:43:38.948081+00:00 app[web.1]:       },
2016-08-26T20:43:38.948082+00:00 app[web.1]:         "className": "TestObject",
2016-08-26T20:43:38.948082+00:00 app[web.1]:         "fields": {
2016-08-26T20:43:38.948083+00:00 app[web.1]:           "objectId": {
2016-08-26T20:43:38.948083+00:00 app[web.1]:             "type": "String"
2016-08-26T20:43:38.948084+00:00 app[web.1]:           "createdAt": {
2016-08-26T20:43:38.948085+00:00 app[web.1]:             "type": "Date"
2016-08-26T20:43:38.948086+00:00 app[web.1]:           "ACL": {
2016-08-26T20:43:38.948086+00:00 app[web.1]:             "type": "ACL"
2016-08-26T20:43:38.948086+00:00 app[web.1]:           "foo": {
2016-08-26T20:43:38.948087+00:00 app[web.1]:             "type": "String"
2016-08-26T20:43:38.948087+00:00 app[web.1]:           },
2016-08-26T20:43:38.948088+00:00 app[web.1]:             "type": "String"
2016-08-26T20:43:38.948089+00:00 app[web.1]:         "classLevelPermissions": {
2016-08-26T20:43:38.948089+00:00 app[web.1]:           "find": {
2016-08-26T20:43:38.948090+00:00 app[web.1]:           },
2016-08-26T20:43:38.948090+00:00 app[web.1]:           "get": {
2016-08-26T20:43:38.948090+00:00 app[web.1]:             "*": true
2016-08-26T20:43:38.948091+00:00 app[web.1]:           },
2016-08-26T20:43:38.948091+00:00 app[web.1]:             "*": true
2016-08-26T20:43:38.948092+00:00 app[web.1]:           },
2016-08-26T20:43:38.948092+00:00 app[web.1]:           "update": {
2016-08-26T20:43:38.948092+00:00 app[web.1]:             "*": true
2016-08-26T20:43:38.948093+00:00 app[web.1]:             "*": true
2016-08-26T20:43:38.948094+00:00 app[web.1]:           },
2016-08-26T20:43:38.948096+00:00 app[web.1]:         "className": "_Installation",
2016-08-26T20:43:38.948097+00:00 app[web.1]:           "objectId": {
2016-08-26T20:43:38.948097+00:00 app[web.1]:             "type": "String"
2016-08-26T20:43:38.948097+00:00 app[web.1]:           },
2016-08-26T20:43:38.948098+00:00 app[web.1]:           },
2016-08-26T20:43:38.948099+00:00 app[web.1]:             "type": "Date"
2016-08-26T20:43:38.948100+00:00 app[web.1]:           "ACL": {
2016-08-26T20:43:38.948100+00:00 app[web.1]:           },
2016-08-26T20:43:38.948103+00:00 app[web.1]:           },
2016-08-26T20:43:38.948103+00:00 app[web.1]:           "deviceToken": {
2016-08-26T20:43:38.948103+00:00 app[web.1]:             "type": "String"
2016-08-26T20:43:38.948104+00:00 app[web.1]:           },
2016-08-26T20:43:38.948104+00:00 app[web.1]:           "channels": {
2016-08-26T20:43:38.948105+00:00 app[web.1]:           },
2016-08-26T20:43:38.948105+00:00 app[web.1]:           "deviceType": {
2016-08-26T20:43:38.948106+00:00 app[web.1]:           "pushType": {
2016-08-26T20:43:38.948106+00:00 app[web.1]:           },
2016-08-26T20:43:38.948109+00:00 app[web.1]:           "GCMSenderId": {
2016-08-26T20:43:38.948109+00:00 app[web.1]:             "type": "String"
2016-08-26T20:43:38.948110+00:00 app[web.1]:           },
2016-08-26T20:43:38.948110+00:00 app[web.1]:           "timeZone": {
2016-08-26T20:43:38.948111+00:00 app[web.1]:           },
2016-08-26T20:43:38.948111+00:00 app[web.1]:           "localeIdentifier": {
2016-08-26T20:43:38.948111+00:00 app[web.1]:             "type": "String"
2016-08-26T20:43:38.948112+00:00 app[web.1]:           },
2016-08-26T20:43:38.948112+00:00 app[web.1]:           "badge": {
2016-08-26T20:43:38.948112+00:00 app[web.1]:             "type": "Number"
2016-08-26T20:43:38.948113+00:00 app[web.1]:           },
2016-08-26T20:43:38.948114+00:00 app[web.1]:           "appName": {
2016-08-26T20:43:38.948115+00:00 app[web.1]:           },
2016-08-26T20:43:38.948115+00:00 app[web.1]:             "type": "String"
2016-08-26T20:43:38.948116+00:00 app[web.1]:           "parseVersion": {
2016-08-26T20:43:38.948116+00:00 app[web.1]:             "type": "String"
2016-08-26T20:43:38.948117+00:00 app[web.1]:           }
2016-08-26T20:43:38.948117+00:00 app[web.1]:         },
2016-08-26T20:43:38.948117+00:00 app[web.1]:         "classLevelPermissions": {
2016-08-26T20:43:38.948118+00:00 app[web.1]:           "find": {
2016-08-26T20:43:38.948118+00:00 app[web.1]:           },
2016-08-26T20:43:38.948119+00:00 app[web.1]:           },
2016-08-26T20:43:38.948119+00:00 app[web.1]:           "create": {
2016-08-26T20:43:38.948120+00:00 app[web.1]:             "*": true
2016-08-26T20:43:38.948120+00:00 app[web.1]:           },
2016-08-26T20:43:38.948120+00:00 app[web.1]:           "update": {
2016-08-26T20:43:38.948121+00:00 app[web.1]:           },
2016-08-26T20:43:38.948122+00:00 app[web.1]:           },
2016-08-26T20:43:38.948123+00:00 app[web.1]:             "*": true
2016-08-26T20:43:38.948123+00:00 app[web.1]:           }
2016-08-26T20:43:38.948124+00:00 app[web.1]:       }
2016-08-26T20:43:38.948125+00:00 app[web.1]:   code: 141,
2016-08-26T20:43:38.948126+00:00 app[web.1]:    ParseError {
2016-08-26T20:43:38.948126+00:00 app[web.1]:      code: 100,
2016-08-26T20:43:38.948129+00:00 app[web.1]:      message: 'XMLHttpRequest failed: "Unable to connect to the Parse API"' } }, timestamp=2016-08-26T20:34:03.335Z, functionName=pushToAll, code=141, code=100, message=XMLHttpRequest failed: "Unable to connect to the Parse API", , level=error, message=Failed running cloud function pushToAll for user undefined with:
2016-08-26T20:43:38.948129+00:00 app[web.1]:   Error: {"code":141,"message":{"code":100,"message":"XMLHttpRequest failed: \"Unable to connect to the Parse API\""}}, timestamp=2016-08-26T20:34:03.333Z, method=POST, url=/parse/functions/pushToAll, host=tinderpl.herokuapp.com, connection=close, user-agent=curl/7.43.0, accept=*/*, x-parse-application-id=myAppId, content-type=application/json, x-parse-master-key=myMasterKey, x-request-id=a9b3f408-6591-4db2-a29c-91be213de264, x-forwarded-for=99.250.194.89, x-forwarded-proto=https, x-forwarded-port=443, via=1.1 vegur, connect-time=1, x-request-start=1472243641180, total-route-time=0, content-length=2, , level=verbose, message=REQUEST for [POST] /parse/functions/pushToAll: {}, timestamp=2016-08-26T20:34:01.199Z, code=141, code=100, message=XMLHttpRequest failed: "Unable to connect to the Parse API", level=error, message=Error generating response. ParseError {
2016-08-26T20:43:38.948130+00:00 app[web.1]:   code: 141,
2016-08-26T20:43:38.948130+00:00 app[web.1]:   message: 
2016-08-26T20:43:38.948131+00:00 app[web.1]:      message: 'XMLHttpRequest failed: "Unable to connect to the Parse API"' } }, timestamp=2016-08-26T20:32:15.302Z, functionName=pushToAll, code=141, code=100, message=XMLHttpRequest failed: "Unable to connect to the Parse API", , level=error, message=Failed running cloud function pushToAll for user undefined with:
2016-08-26T20:43:38.948133+00:00 app[web.1]:   Error: {"code":141,"message":{"code":100,"message":"XMLHttpRequest failed: \"Unable to connect to the Parse API\""}}, timestamp=2016-08-26T20:32:15.282Z, method=POST, url=/parse/functions/pushToAll, host=tinderpl.herokuapp.com, connection=close, user-agent=curl/7.43.0, accept=*/*, x-parse-application-id=myAppId, content-type=application/json, x-request-id=ca51cb50-51d8-4b9d-94d3-dc9f6ed8175a, x-forwarded-for=99.250.194.89, x-forwarded-proto=https, x-forwarded-port=443, via=1.1 vegur, connect-time=1, x-request-start=1472243532318, total-route-time=0, content-length=2, , level=verbose, message=REQUEST for [POST] /parse/functions/pushToAll: {}, timestamp=2016-08-26T20:32:12.347Z]
2016-08-26T20:43:35.110780+00:00 app[web.1]: verbose: RESPONSE from [GET] /parse/classes/_Session: {
2016-08-26T20:43:35.110793+00:00 app[web.1]:   "response": {
2016-08-26T20:43:35.110795+00:00 app[web.1]:   }
2016-08-26T20:43:35.113190+00:00 app[web.1]: verbose: RESPONSE from [GET] /parse/classes/_User: {
2016-08-26T20:43:35.113193+00:00 app[web.1]:   }
2016-08-26T20:43:35.113194+00:00 app[web.1]: } results=[], count=4
2016-08-26T20:43:35.115453+00:00 app[web.1]: verbose: RESPONSE from [GET] /parse/classes/TestObject: {
2016-08-26T20:43:35.115454+00:00 app[web.1]:   "response": {
2016-08-26T20:43:35.115454+00:00 app[web.1]:     "count": 7
2016-08-26T20:43:35.115455+00:00 app[web.1]:   }
2016-08-26T20:43:35.116685+00:00 app[web.1]: verbose: RESPONSE from [GET] /parse/classes/_Installation: {
2016-08-26T20:43:35.116686+00:00 app[web.1]:   "response": {
2016-08-26T20:43:35.116687+00:00 app[web.1]:     "results": [],
2016-08-26T20:43:35.116687+00:00 app[web.1]:     "count": 2
2016-08-26T20:43:35.116688+00:00 app[web.1]:   }
2016-08-26T20:43:35.116688+00:00 app[web.1]: } results=[], count=2
2016-08-26T20:43:38.957975+00:00 heroku[router]: at=info method=POST path="/parse/scriptlog?level=info&n=100" host=tinderpl.herokuapp.com request_id=3d9c97d5-d14a-44e4-ab24-c4dda0c3d92e fwd="99.250.194.89" dyno=web.1 connect=0ms service=39ms status=200 bytes=27309
 Autoscroll with output

plaudev avatar Aug 26 '16 20:08 plaudev

Still more logs came out just now. Noticing right around last batch ended and this batch begins the time stamp seems to go back & forth a few seconds. Many thanks.

Edit: I think some of these extra ones just came from me using the parse-dashboard

2016-08-26T20:43:35.115454+00:00 app[web.1]:     "results": [],
2016-08-26T20:43:35.115455+00:00 app[web.1]:   }
2016-08-26T20:43:35.115455+00:00 app[web.1]: } results=[], count=7
2016-08-26T20:43:35.116685+00:00 app[web.1]: verbose: RESPONSE from [GET] /parse/classes/_Installation: {
2016-08-26T20:43:35.116688+00:00 app[web.1]:   }
2016-08-26T20:43:38.957975+00:00 heroku[router]: at=info method=POST path="/parse/scriptlog?level=info&n=100" host=tinderpl.herokuapp.com request_id=3d9c97d5-d14a-44e4-ab24-c4dda0c3d92e fwd="99.250.194.89" dyno=web.1 connect=0ms service=39ms status=200 bytes=27309
2016-08-26T20:43:35.115454+00:00 app[web.1]:     "results": [],
2016-08-26T20:43:35.115454+00:00 app[web.1]:     "count": 7
2016-08-26T20:43:35.115455+00:00 app[web.1]: } results=[], count=7
2016-08-26T20:43:35.116685+00:00 app[web.1]: verbose: RESPONSE from [GET] /parse/classes/_Installation: {
2016-08-26T20:43:35.116687+00:00 app[web.1]:     "results": [],
2016-08-26T20:43:35.116688+00:00 app[web.1]:   }
2016-08-26T20:43:35.116688+00:00 app[web.1]: } results=[], count=2
2016-08-26T20:43:38.957975+00:00 heroku[router]: at=info method=POST path="/parse/scriptlog?level=info&n=100" host=tinderpl.herokuapp.com request_id=3d9c97d5-d14a-44e4-ab24-c4dda0c3d92e fwd="99.250.194.89" dyno=web.1 connect=0ms service=39ms status=200 bytes=27309
2016-08-26T20:43:35.115454+00:00 app[web.1]:     "results": [],
2016-08-26T20:43:35.115454+00:00 app[web.1]:     "count": 7
2016-08-26T20:43:35.115455+00:00 app[web.1]:   }
2016-08-26T20:43:35.115455+00:00 app[web.1]: } results=[], count=7
2016-08-26T20:43:35.116685+00:00 app[web.1]: verbose: RESPONSE from [GET] /parse/classes/_Installation: {
2016-08-26T20:43:35.116686+00:00 app[web.1]:   "response": {
2016-08-26T20:43:35.116687+00:00 app[web.1]:     "results": [],
2016-08-26T20:43:35.116687+00:00 app[web.1]:     "count": 2
2016-08-26T20:43:35.116688+00:00 app[web.1]:   }
2016-08-26T20:43:35.116688+00:00 app[web.1]: } results=[], count=2
2016-08-26T20:43:38.957975+00:00 heroku[router]: at=info method=POST path="/parse/scriptlog?level=info&n=100" host=tinderpl.herokuapp.com request_id=3d9c97d5-d14a-44e4-ab24-c4dda0c3d92e fwd="99.250.194.89" dyno=web.1 connect=0ms service=39ms status=200 bytes=27309
2016-08-26T20:59:46.125144+00:00 heroku[router]: at=info method=POST path="/parse/schemas" host=tinderpl.herokuapp.com request_id=ab38dfac-38d4-41da-98bd-3fd9016f3591 fwd="99.250.194.89" dyno=web.1 connect=0ms service=18ms status=200 bytes=2490
2016-08-26T20:59:46.092613+00:00 app[web.1]: verbose: REQUEST for [GET] /parse/schemas: {} method=GET, url=/parse/schemas, host=tinderpl.herokuapp.com, connection=close, origin=http://0.0.0.0:4040, user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36, content-type=text/plain, accept=*/*, referer=http://0.0.0.0:4040/apps/tinderpl/push/new, accept-encoding=gzip, deflate, br, accept-language=en-US,en;q=0.8,zh-TW;q=0.6,zh;q=0.4, x-request-id=ab38dfac-38d4-41da-98bd-3fd9016f3591, x-forwarded-for=99.250.194.89, x-forwarded-proto=https, x-forwarded-port=443, via=1.1 vegur, connect-time=0, x-request-start=1472245186105, total-route-time=0, content-length=217, 
2016-08-26T20:59:46.106312+00:00 app[web.1]: verbose: RESPONSE from [GET] /parse/schemas: {
2016-08-26T20:59:46.106314+00:00 app[web.1]:   "response": {
2016-08-26T20:59:46.106315+00:00 app[web.1]:     "results": [
2016-08-26T20:59:46.106316+00:00 app[web.1]:       {
2016-08-26T20:59:46.106316+00:00 app[web.1]:         "className": "_User",
2016-08-26T20:59:46.106317+00:00 app[web.1]:         "fields": {
2016-08-26T20:59:46.106317+00:00 app[web.1]:           "objectId": {
2016-08-26T20:59:46.106318+00:00 app[web.1]:             "type": "String"
2016-08-26T20:59:46.106319+00:00 app[web.1]:           "createdAt": {
2016-08-26T20:59:46.106320+00:00 app[web.1]:           },
2016-08-26T20:59:46.106321+00:00 app[web.1]:             "type": "Date"
2016-08-26T20:59:46.106322+00:00 app[web.1]:           },
2016-08-26T20:59:46.106323+00:00 app[web.1]:             "type": "ACL"
2016-08-26T20:59:46.106323+00:00 app[web.1]:           },
2016-08-26T20:59:46.106324+00:00 app[web.1]:           "username": {
2016-08-26T20:59:46.106324+00:00 app[web.1]:             "type": "String"
2016-08-26T20:59:46.106325+00:00 app[web.1]:           "password": {
2016-08-26T20:59:46.106327+00:00 app[web.1]:           "email": {
2016-08-26T20:59:46.106327+00:00 app[web.1]:             "type": "String"
2016-08-26T20:59:46.106328+00:00 app[web.1]:           },
2016-08-26T20:59:46.106328+00:00 app[web.1]:           "emailVerified": {
2016-08-26T20:59:46.106329+00:00 app[web.1]:           },
2016-08-26T20:59:46.106330+00:00 app[web.1]:           "authData": {
2016-08-26T20:59:46.106332+00:00 app[web.1]:         "classLevelPermissions": {
2016-08-26T20:59:46.106333+00:00 app[web.1]:           "find": {
2016-08-26T20:59:46.106333+00:00 app[web.1]:             "*": true
2016-08-26T20:59:46.106340+00:00 app[web.1]:           "delete": {
2016-08-26T20:59:46.106342+00:00 app[web.1]:             "*": true
2016-08-26T20:59:46.106344+00:00 app[web.1]:       },
2016-08-26T20:59:46.106344+00:00 app[web.1]:       {
2016-08-26T20:59:46.106345+00:00 app[web.1]:         "className": "_Session",
2016-08-26T20:59:46.106347+00:00 app[web.1]:           },
2016-08-26T20:59:46.106348+00:00 app[web.1]:           "createdAt": {
2016-08-26T20:59:46.106351+00:00 app[web.1]:           },
2016-08-26T20:59:46.106352+00:00 app[web.1]:             "type": "ACL"
2016-08-26T20:59:46.106352+00:00 app[web.1]:           },
2016-08-26T20:59:46.106353+00:00 app[web.1]:           "restricted": {
2016-08-26T20:59:46.106353+00:00 app[web.1]:             "type": "Boolean"
2016-08-26T20:59:46.106354+00:00 app[web.1]:           },
2016-08-26T20:59:46.106355+00:00 app[web.1]:             "type": "Pointer",
2016-08-26T20:59:46.106356+00:00 app[web.1]:             "targetClass": "_User"
2016-08-26T20:59:46.106356+00:00 app[web.1]:           },
2016-08-26T20:59:46.106357+00:00 app[web.1]:           "installationId": {
2016-08-26T20:59:46.106358+00:00 app[web.1]:             "type": "String"
2016-08-26T20:59:46.106359+00:00 app[web.1]:           "sessionToken": {
2016-08-26T20:59:46.106359+00:00 app[web.1]:             "type": "String"
2016-08-26T20:59:46.106370+00:00 app[web.1]:             "type": "Object"
2016-08-26T20:59:46.106371+00:00 app[web.1]:         },
2016-08-26T20:59:46.106371+00:00 app[web.1]:         "classLevelPermissions": {
2016-08-26T20:59:46.106372+00:00 app[web.1]:           "find": {
2016-08-26T20:59:46.106372+00:00 app[web.1]:             "*": true
2016-08-26T20:59:46.106373+00:00 app[web.1]:           },
2016-08-26T20:59:46.106376+00:00 app[web.1]:           "update": {
2016-08-26T20:59:46.106378+00:00 app[web.1]:           "delete": {
2016-08-26T20:59:46.106379+00:00 app[web.1]:           },
2016-08-26T20:59:46.106380+00:00 app[web.1]:             "*": true
2016-08-26T20:59:46.106381+00:00 app[web.1]:           }
2016-08-26T20:59:46.106381+00:00 app[web.1]:         }
2016-08-26T20:59:46.106382+00:00 app[web.1]:       },
2016-08-26T20:59:46.106383+00:00 app[web.1]:         "className": "TestObject",
2016-08-26T20:59:46.106384+00:00 app[web.1]:         "fields": {
2016-08-26T20:59:46.106385+00:00 app[web.1]:           },
2016-08-26T20:59:46.106386+00:00 app[web.1]:             "type": "Date"
2016-08-26T20:59:46.106387+00:00 app[web.1]:           },
2016-08-26T20:59:46.106387+00:00 app[web.1]:           "updatedAt": {
2016-08-26T20:59:46.106388+00:00 app[web.1]:             "type": "Date"
2016-08-26T20:59:46.106389+00:00 app[web.1]:           "ACL": {
2016-08-26T20:59:46.106389+00:00 app[web.1]:           },
2016-08-26T20:59:46.106390+00:00 app[web.1]:           "foo": {
2016-08-26T20:59:46.106390+00:00 app[web.1]:             "type": "String"
2016-08-26T20:59:46.106391+00:00 app[web.1]:           },
2016-08-26T20:59:46.106391+00:00 app[web.1]:           "local": {
2016-08-26T20:59:46.106392+00:00 app[web.1]:             "type": "String"
2016-08-26T20:59:46.106392+00:00 app[web.1]:           }
2016-08-26T20:59:46.106393+00:00 app[web.1]:         },
2016-08-26T20:59:46.106393+00:00 app[web.1]:         "classLevelPermissions": {
2016-08-26T20:59:46.106394+00:00 app[web.1]:           "find": {
2016-08-26T20:59:46.106397+00:00 app[web.1]:           "create": {
2016-08-26T20:59:46.106398+00:00 app[web.1]:           "update": {
2016-08-26T20:59:46.106399+00:00 app[web.1]:             "*": true
2016-08-26T20:59:46.106400+00:00 app[web.1]:             "*": true
2016-08-26T20:59:46.106401+00:00 app[web.1]:           },
2016-08-26T20:59:46.106401+00:00 app[web.1]:           "addField": {
2016-08-26T20:59:46.106402+00:00 app[web.1]:             "*": true
2016-08-26T20:59:46.106402+00:00 app[web.1]:           }
2016-08-26T20:59:46.106403+00:00 app[web.1]:         }
2016-08-26T20:59:46.106403+00:00 app[web.1]:       },
2016-08-26T20:59:46.106404+00:00 app[web.1]:       {
2016-08-26T20:59:46.106404+00:00 app[web.1]:         "className": "_Installation",
2016-08-26T20:59:46.106405+00:00 app[web.1]:         "fields": {
2016-08-26T20:59:46.106405+00:00 app[web.1]:           "objectId": {
2016-08-26T20:59:46.106406+00:00 app[web.1]:             "type": "String"
2016-08-26T20:59:46.106406+00:00 app[web.1]:           },
2016-08-26T20:59:46.106407+00:00 app[web.1]:           "createdAt": {
2016-08-26T20:59:46.106408+00:00 app[web.1]:           },
2016-08-26T20:59:46.106408+00:00 app[web.1]:           "updatedAt": {
2016-08-26T20:59:46.106409+00:00 app[web.1]:             "type": "Date"
2016-08-26T20:59:46.106409+00:00 app[web.1]:           },
2016-08-26T20:59:46.106410+00:00 app[web.1]:             "type": "ACL"
2016-08-26T20:59:46.106411+00:00 app[web.1]:           },
2016-08-26T20:59:46.106415+00:00 app[web.1]:             "type": "String"
2016-08-26T20:59:46.106416+00:00 app[web.1]:           "deviceToken": {
2016-08-26T20:59:46.106417+00:00 app[web.1]:             "type": "String"
2016-08-26T20:59:46.106417+00:00 app[web.1]:           },
2016-08-26T20:59:46.106418+00:00 app[web.1]:           "channels": {
2016-08-26T20:59:46.106418+00:00 app[web.1]:             "type": "Array"
2016-08-26T20:59:46.106419+00:00 app[web.1]:           },
2016-08-26T20:59:46.106420+00:00 app[web.1]:             "type": "String"
2016-08-26T20:59:46.106420+00:00 app[web.1]:           },
2016-08-26T20:59:46.106421+00:00 app[web.1]:           "pushType": {
2016-08-26T20:59:46.106421+00:00 app[web.1]:             "type": "String"
2016-08-26T20:59:46.106422+00:00 app[web.1]:           },
2016-08-26T20:59:46.106422+00:00 app[web.1]:           "GCMSenderId": {
2016-08-26T20:59:46.106423+00:00 app[web.1]:             "type": "String"
2016-08-26T20:59:46.106423+00:00 app[web.1]:           },
2016-08-26T20:59:46.106424+00:00 app[web.1]:           "timeZone": {
2016-08-26T20:59:46.106424+00:00 app[web.1]:             "type": "String"
2016-08-26T20:59:46.106425+00:00 app[web.1]:           },
2016-08-26T20:59:46.106425+00:00 app[web.1]:           "localeIdentifier": {
2016-08-26T20:59:46.106426+00:00 app[web.1]:           },
2016-08-26T20:59:46.106427+00:00 app[web.1]:           "badge": {
2016-08-26T20:59:46.106427+00:00 app[web.1]:             "type": "Number"
2016-08-26T20:59:46.106436+00:00 app[web.1]:             "type": "String"
2016-08-26T20:59:46.106437+00:00 app[web.1]:           },
2016-08-26T20:59:46.106437+00:00 app[web.1]:           "appIdentifier": {
2016-08-26T20:59:46.106439+00:00 app[web.1]:           "parseVersion": {
2016-08-26T20:59:46.106439+00:00 app[web.1]:             "type": "String"
2016-08-26T20:59:46.106440+00:00 app[web.1]:         },
2016-08-26T20:59:46.106442+00:00 app[web.1]:             "*": true
2016-08-26T20:59:46.106443+00:00 app[web.1]:           },
2016-08-26T20:59:46.106443+00:00 app[web.1]:           "get": {
2016-08-26T20:59:46.106444+00:00 app[web.1]:             "*": true
2016-08-26T20:59:46.106444+00:00 app[web.1]:           },
2016-08-26T20:59:46.106444+00:00 app[web.1]:           "create": {
2016-08-26T20:59:46.106445+00:00 app[web.1]:             "*": true
2016-08-26T20:59:46.106447+00:00 app[web.1]:           "delete": {
2016-08-26T20:59:47.496259+00:00 heroku[router]: at=info method=POST path="/parse/classes/_PushStatus" host=tinderpl.herokuapp.com request_id=b94a6736-10e8-4ea0-9703-8849b6dd5644 fwd="99.250.194.89" dyno=web.1 connect=0ms service=81ms status=200 bytes=1769
2016-08-26T20:59:47.402655+00:00 app[web.1]: verbose: REQUEST for [GET] /parse/classes/_PushStatus: {
2016-08-26T20:59:47.402674+00:00 app[web.1]:   "limit": 10,
2016-08-26T20:59:47.402675+00:00 app[web.1]:   "order": "-createdAt"
2016-08-26T20:59:47.477207+00:00 app[web.1]: verbose: RESPONSE from [GET] /parse/classes/_PushStatus: {
2016-08-26T20:59:47.477210+00:00 app[web.1]:   "response": {
2016-08-26T20:59:47.477211+00:00 app[web.1]:     "results": [
2016-08-26T20:59:47.477212+00:00 app[web.1]:       {
2016-08-26T20:59:47.477213+00:00 app[web.1]:         "objectId": "W3TBKaj9zU",
2016-08-26T20:59:47.477213+00:00 app[web.1]:         "pushTime": "2016-08-26T17:24:19.115Z",
2016-08-26T20:59:47.477215+00:00 app[web.1]:         "payload": "{\"title\":\"greetings\",\"alert\":\"Howdy buddies!\"}",
2016-08-26T20:59:47.477216+00:00 app[web.1]:         "status": "succeeded",
2016-08-26T20:59:47.477217+00:00 app[web.1]:         "pushHash": "472e97e0bfd5c318dd75350b4c422f11",
2016-08-26T20:59:47.477218+00:00 app[web.1]:         "createdAt": "2016-08-26T17:24:19.115Z",
2016-08-26T20:59:47.477218+00:00 app[web.1]:         "updatedAt": "2016-08-26T17:24:19.636Z",
2016-08-26T20:59:47.477219+00:00 app[web.1]:         "numFailed": 0,
2016-08-26T20:59:47.477219+00:00 app[web.1]:         "sentPerType": {
2016-08-26T20:59:47.477220+00:00 app[web.1]:         },
2016-08-26T20:59:47.477221+00:00 app[web.1]:         "ACL": {}
2016-08-26T20:59:47.477221+00:00 app[web.1]:       },
2016-08-26T20:59:47.477223+00:00 app[web.1]:         "objectId": "NWswhbDzcR",
2016-08-26T20:59:47.477224+00:00 app[web.1]:         "query": "{}",
2016-08-26T20:59:47.477226+00:00 app[web.1]:         "source": "rest",
2016-08-26T20:59:47.477226+00:00 app[web.1]:         "status": "succeeded",
2016-08-26T20:59:47.477228+00:00 app[web.1]:         "createdAt": "2016-08-25T23:38:40.477Z",
2016-08-26T20:59:47.477228+00:00 app[web.1]:         "updatedAt": "2016-08-25T23:38:40.527Z",
2016-08-26T20:59:47.477229+00:00 app[web.1]:         "numFailed": 0,
2016-08-26T20:59:47.477231+00:00 app[web.1]:         "ACL": {}
2016-08-26T20:59:47.477234+00:00 app[web.1]:         "query": "{\"deviceType\":{\"$in\":[\"ios\",\"android\"]}}",
2016-08-26T20:59:47.477235+00:00 app[web.1]:         "payload": "{\"title\":\"tinderpl\",\"alert\":\"Tinder tender thunder tundra\"}",
2016-08-26T20:59:47.477237+00:00 app[web.1]:         "numSent": 2,
2016-08-26T20:59:47.477239+00:00 app[web.1]:         "updatedAt": "2016-08-25T23:36:30.572Z",
2016-08-26T20:59:47.477240+00:00 app[web.1]:         "numFailed": 0,
2016-08-26T20:59:47.477244+00:00 app[web.1]:         "sentPerType": {
2016-08-26T20:59:47.477244+00:00 app[web.1]:           "ios": 2
2016-08-26T20:59:47.477245+00:00 app[web.1]:         },
2016-08-26T20:59:47.477249+00:00 app[web.1]: } results=[objectId=W3TBKaj9zU, pushTime=2016-08-26T17:24:19.115Z, query={"deviceType":{"$in":["ios","android"]}}, payload={"title":"greetings","alert":"Howdy buddies!"}, source=rest, status=succeeded, numSent=2, pushHash=472e97e0bfd5c318dd75350b4c422f11, createdAt=2016-08-26T17:24:19.115Z, updatedAt=2016-08-26T17:24:19.636Z, numFailed=0, ios=2, , objectId=NWswhbDzcR, pushTime=2016-08-25T23:38:40.477Z, query={}, payload={"alert":"Love me tender, Love me true... Elvis in the house!","badge":"Increment"}, source=rest, status=succeeded, numSent=2, pushHash=03ad3710f822e81080d66c24ac054380, createdAt=2016-08-25T23:38:40.477Z, updatedAt=2016-08-25T23:38:40.527Z, numFailed=0, ios=2, , objectId=rzGEQotEoM, pushTime=2016-08-25T23:36:30.103Z, query={"deviceType":{"$in":["ios","android"]}}, payload={"title":"tinderpl","alert":"Tinder tender thunder tundra"}, source=rest, status=succeeded, numSent=2, pushHash=e6b71a7a911a6cbfee7919d115c28959, createdAt=2016-08-25T23:36:30.103Z, updatedAt=2016-08-25T23:36:30.572Z, numFailed=0, ios=2, ]
2016-08-26T21:00:14.726894+00:00 heroku[router]: at=info method=POST path="/parse/classes/_User" host=tinderpl.herokuapp.com request_id=6196b464-0057-47f5-9acd-3c325aad29db fwd="99.250.194.89" dyno=web.1 connect=0ms service=19ms status=200 bytes=543
2016-08-26T21:00:14.778306+00:00 heroku[router]: at=info method=POST path="/parse/classes/_Session" host=tinderpl.herokuapp.com request_id=27741598-ffa2-417f-bc62-950ad04f79ab fwd="99.250.194.89" dyno=web.1 connect=0ms service=16ms status=200 bytes=543
2016-08-26T21:00:14.694909+00:00 app[web.1]: verbose: REQUEST for [GET] /parse/classes/_User: {
2016-08-26T21:00:14.694933+00:00 app[web.1]:   "where": {},
2016-08-26T21:00:14.694934+00:00 app[web.1]:   "limit": 0,
2016-08-26T21:00:14.694935+00:00 app[web.1]:   "count": 1
2016-08-26T21:00:14.708286+00:00 app[web.1]: verbose: RESPONSE from [GET] /parse/classes/_User: {
2016-08-26T21:00:14.708290+00:00 app[web.1]:     "results": [],
2016-08-26T21:00:14.708291+00:00 app[web.1]:     "count": 4
2016-08-26T21:00:14.708291+00:00 app[web.1]:   }
2016-08-26T21:00:14.708292+00:00 app[web.1]: } results=[], count=4
2016-08-26T21:00:14.748585+00:00 app[web.1]: verbose: REQUEST for [GET] /parse/classes/_Session: {
2016-08-26T21:00:14.748589+00:00 app[web.1]:   "limit": 0,
2016-08-26T21:00:14.748589+00:00 app[web.1]:   "count": 1
2016-08-26T21:00:14.759934+00:00 app[web.1]: verbose: RESPONSE from [GET] /parse/classes/_Session: {
2016-08-26T21:00:14.759938+00:00 app[web.1]:     "count": 5
2016-08-26T21:00:14.759940+00:00 app[web.1]: } results=[], count=5
2016-08-26T21:00:14.798387+00:00 app[web.1]: verbose: REQUEST for [GET] /parse/classes/TestObject: {
2016-08-26T21:00:14.798389+00:00 app[web.1]:   "where": {},
2016-08-26T21:00:14.798389+00:00 app[web.1]:   "limit": 0,
2016-08-26T21:00:14.798389+00:00 app[web.1]:   "count": 1
2016-08-26T21:00:14.798391+00:00 app[web.1]: } method=GET, url=/parse/classes/TestObject, host=tinderpl.herokuapp.com, connection=close, origin=http://0.0.0.0:4040, user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36, content-type=text/plain, accept=*/*, referer=http://0.0.0.0:4040/apps/tinderpl/browser, accept-encoding=gzip, deflate, br, accept-language=en-US,en;q=0.8,zh-TW;q=0.6,zh;q=0.4, x-request-id=cf0940a5-0783-4a30-89ee-9b2ac7137b9f, x-forwarded-for=99.250.194.89, x-forwarded-proto=https, x-forwarded-port=443, via=1.1 vegur, connect-time=0, x-request-start=1472245214800, total-route-time=0, content-length=248, , limit=0, count=1
2016-08-26T21:00:14.807712+00:00 app[web.1]: verbose: REQUEST for [GET] /parse/classes/_Installation: {
2016-08-26T21:00:14.807714+00:00 app[web.1]:   "limit": 0,
2016-08-26T21:00:14.807716+00:00 app[web.1]: } method=GET, url=/parse/classes/_Installation, host=tinderpl.herokuapp.com, connection=close, origin=http://0.0.0.0:4040, user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36, content-type=text/plain, accept=*/*, referer=http://0.0.0.0:4040/apps/tinderpl/browser, accept-encoding=gzip, deflate, br, accept-language=en-US,en;q=0.8,zh-TW;q=0.6,zh;q=0.4, x-request-id=45f5cc1c-8289-4271-ac09-80baa872ab7f, x-forwarded-for=99.250.194.89, x-forwarded-proto=https, x-forwarded-port=443, via=1.1 vegur, connect-time=0, x-request-start=1472245214801, total-route-time=0, content-length=248, , limit=0, count=1
2016-08-26T21:00:14.809711+00:00 app[web.1]: verbose: REQUEST for [GET] /parse/classes/_User: {
2016-08-26T21:00:14.809712+00:00 app[web.1]:   "where": {},
2016-08-26T21:00:14.809713+00:00 app[web.1]:   "limit": 0,
2016-08-26T21:00:14.813027+00:00 app[web.1]: verbose: REQUEST for [GET] /parse/classes/_Session: {
2016-08-26T21:00:14.813029+00:00 app[web.1]:   "limit": 0,
2016-08-26T21:00:14.813029+00:00 app[web.1]:   "count": 1
2016-08-26T21:00:14.813030+00:00 app[web.1]: } method=GET, url=/parse/classes/_Session, host=tinderpl.herokuapp.com, connection=close, origin=http://0.0.0.0:4040, user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36, content-type=text/plain, accept=*/*, referer=http://0.0.0.0:4040/apps/tinderpl/browser/_Installation, accept-encoding=gzip, deflate, br, accept-language=en-US,en;q=0.8,zh-TW;q=0.6,zh;q=0.4, x-request-id=cc214551-7f2d-4328-9752-13b3a087d5dd, x-forwarded-for=99.250.194.89, x-forwarded-proto=https, x-forwarded-port=443, via=1.1 vegur, connect-time=0, x-request-start=1472245214812, total-route-time=0, content-length=248, , limit=0, count=1
2016-08-26T21:00:14.836827+00:00 app[web.1]: verbose: REQUEST for [GET] /parse/classes/_Installation: {
2016-08-26T21:00:14.836830+00:00 app[web.1]:   "limit": 0,
2016-08-26T21:00:14.836830+00:00 app[web.1]:   "count": 1
2016-08-26T21:00:14.836832+00:00 app[web.1]: } method=GET, url=/parse/classes/_Installation, host=tinderpl.herokuapp.com, connection=close, origin=http://0.0.0.0:4040, user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36, content-type=text/plain, accept=*/*, referer=http://0.0.0.0:4040/apps/tinderpl/browser/_Installation, accept-encoding=gzip, deflate, br, accept-language=en-US,en;q=0.8,zh-TW;q=0.6,zh;q=0.4, x-request-id=0f334470-a7a2-4278-95be-d82e9f3af931, x-forwarded-for=99.250.194.89, x-forwarded-proto=https, x-forwarded-port=443, via=1.1 vegur, connect-time=0, x-request-start=1472245214817, total-route-time=0, content-length=248, , limit=0, count=1
2016-08-26T21:00:14.837928+00:00 app[web.1]:   "limit": 0,
2016-08-26T21:00:15.052825+00:00 heroku[router]: at=info method=POST path="/parse/classes/_Installation" host=tinderpl.herokuapp.com request_id=45f5cc1c-8289-4271-ac09-80baa872ab7f fwd="99.250.194.89" dyno=web.1 connect=0ms service=250ms status=200 bytes=543
2016-08-26T21:00:15.065131+00:00 heroku[router]: at=info method=POST path="/parse/classes/_Session" host=tinderpl.herokuapp.com request_id=cc214551-7f2d-4328-9752-13b3a087d5dd fwd="99.250.194.89" dyno=web.1 connect=0ms service=251ms status=200 bytes=543
2016-08-26T21:00:15.057352+00:00 heroku[router]: at=info method=POST path="/parse/classes/TestObject" host=tinderpl.herokuapp.com request_id=047fa7d3-39fd-4014-83f3-5faa1426d72b fwd="99.250.194.89" dyno=web.1 connect=0ms service=234ms status=200 bytes=543
2016-08-26T21:00:15.066222+00:00 heroku[router]: at=info method=POST path="/parse/classes/_User" host=tinderpl.herokuapp.com request_id=6e8f4ffe-45db-424f-9280-3f1fac532d2e fwd="99.250.194.89" dyno=web.1 connect=0ms service=253ms status=200 bytes=543
2016-08-26T21:00:15.040769+00:00 heroku[router]: at=info method=POST path="/parse/classes/TestObject" host=tinderpl.herokuapp.com request_id=cf0940a5-0783-4a30-89ee-9b2ac7137b9f fwd="99.250.194.89" dyno=web.1 connect=0ms service=238ms status=200 bytes=543
2016-08-26T21:00:15.051757+00:00 heroku[router]: at=info method=POST path="/parse/classes/_Installation" host=tinderpl.herokuapp.com request_id=0f334470-a7a2-4278-95be-d82e9f3af931 fwd="99.250.194.89" dyno=web.1 connect=0ms service=232ms status=200 bytes=543
2016-08-26T21:00:15.032958+00:00 app[web.1]: verbose: RESPONSE from [GET] /parse/classes/TestObject: {
2016-08-26T21:00:15.032972+00:00 app[web.1]:   "response": {
2016-08-26T21:00:15.032973+00:00 app[web.1]:     "results": [],
2016-08-26T21:00:15.032974+00:00 app[web.1]:   }
2016-08-26T21:00:15.045251+00:00 app[web.1]:   "response": {
2016-08-26T21:00:15.045253+00:00 app[web.1]:     "count": 2
2016-08-26T21:00:15.045253+00:00 app[web.1]:   }
2016-08-26T21:00:15.045254+00:00 app[web.1]: } results=[], count=2
2016-08-26T21:00:15.047057+00:00 app[web.1]: verbose: RESPONSE from [GET] /parse/classes/_Session: {
2016-08-26T21:00:15.047060+00:00 app[web.1]:     "results": [],
2016-08-26T21:00:15.047060+00:00 app[web.1]:     "count": 5
2016-08-26T21:00:15.047061+00:00 app[web.1]:   }
2016-08-26T21:00:15.047061+00:00 app[web.1]: } results=[], count=5
2016-08-26T21:00:15.048787+00:00 app[web.1]: verbose: RESPONSE from [GET] /parse/classes/_User: {
2016-08-26T21:00:15.048789+00:00 app[web.1]:     "results": [],
2016-08-26T21:00:15.048790+00:00 app[web.1]:     "count": 4
2016-08-26T21:00:15.053258+00:00 app[web.1]:   "response": {
2016-08-26T21:00:15.053259+00:00 app[web.1]:     "results": [],
2016-08-26T21:00:15.053260+00:00 app[web.1]:     "count": 2
2016-08-26T21:00:15.053260+00:00 app[web.1]:   }
2016-08-26T21:00:15.054848+00:00 app[web.1]: verbose: RESPONSE from [GET] /parse/classes/TestObject: {
2016-08-26T21:00:15.054851+00:00 app[web.1]:     "results": [],
2016-08-26T21:00:15.054851+00:00 app[web.1]:     "count": 7
2016-08-26T21:00:15.054852+00:00 app[web.1]:   }
2016-08-26T21:00:15.054852+00:00 app[web.1]: } results=[], count=7
2016-08-26T21:00:15.263924+00:00 app[web.1]:   "limit": 200,
2016-08-26T21:00:15.263925+00:00 app[web.1]:   "order": "-createdAt,-createdAt"
2016-08-26T21:00:15.263927+00:00 app[web.1]: } method=GET, url=/parse/classes/_Installation, host=tinderpl.herokuapp.com, connection=close, origin=http://0.0.0.0:4040, user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36, content-type=text/plain, accept=*/*, referer=http://0.0.0.0:4040/apps/tinderpl/browser/_Installation, accept-encoding=gzip, deflate, br, accept-language=en-US,en;q=0.8,zh-TW;q=0.6,zh;q=0.4, x-request-id=787a3e3e-7ebb-4c55-af0d-e242eebc924c, x-forwarded-for=99.250.194.89, x-forwarded-proto=https, x-forwarded-port=443, via=1.1 vegur, connect-time=0, x-request-start=1472245215074, total-route-time=0, content-length=272, , limit=200, order=-createdAt,-createdAt
2016-08-26T21:00:15.293507+00:00 heroku[router]: at=info method=POST path="/parse/classes/_Installation" host=tinderpl.herokuapp.com request_id=787a3e3e-7ebb-4c55-af0d-e242eebc924c fwd="99.250.194.89" dyno=web.1 connect=0ms service=217ms status=200 bytes=1422
2016-08-26T21:00:15.284811+00:00 app[web.1]: verbose: RESPONSE from [GET] /parse/classes/_Installation: {
2016-08-26T21:00:15.284834+00:00 app[web.1]:   "response": {
2016-08-26T21:00:15.284835+00:00 app[web.1]:     "results": [
2016-08-26T21:00:15.284835+00:00 app[web.1]:       {
2016-08-26T21:00:15.284836+00:00 app[web.1]:         "objectId": "E6VdjH2akl",
2016-08-26T21:00:15.284837+00:00 app[web.1]:         "timeZone": "America/Toronto",
2016-08-26T21:00:15.284838+00:00 app[web.1]:         "channels": [
2016-08-26T21:00:15.284838+00:00 app[web.1]:           ""
2016-08-26T21:00:15.284839+00:00 app[web.1]:         ],
2016-08-26T21:00:15.284839+00:00 app[web.1]:         "appName": "Tinder",
2016-08-26T21:00:15.284840+00:00 app[web.1]:         "badge": 2,
2016-08-26T21:00:15.284843+00:00 app[web.1]:         "localeIdentifier": "en-CA",
2016-08-26T21:00:15.284843+00:00 app[web.1]:         "createdAt": "2016-08-25T23:28:28.624Z",
2016-08-26T21:00:15.284844+00:00 app[web.1]:       },
2016-08-26T21:00:15.284845+00:00 app[web.1]:       {
2016-08-26T21:00:15.284845+00:00 app[web.1]:         "objectId": "jwqEIyLNcF",
2016-08-26T21:00:15.284846+00:00 app[web.1]:         "timeZone": "America/Toronto",
2016-08-26T21:00:15.284846+00:00 app[web.1]:         "appVersion": "1.14.2",
2016-08-26T21:00:15.284847+00:00 app[web.1]:         "channels": [
2016-08-26T21:00:15.284847+00:00 app[web.1]:           ""
2016-08-26T21:00:15.284848+00:00 app[web.1]:         ],
2016-08-26T21:00:15.284848+00:00 app[web.1]:         "deviceType": "ios",
2016-08-26T21:00:15.284848+00:00 app[web.1]:         "appName": "Tinder",
2016-08-26T21:00:15.284849+00:00 app[web.1]:         "badge": 1,
2016-08-26T21:00:15.284849+00:00 app[web.1]:         "installationId": "cd6681e7-a27a-41d0-96c7-4dd201854350",
2016-08-26T21:00:15.284850+00:00 app[web.1]:         "appIdentifier": "com.plaudev.Tinder",
2016-08-26T21:00:15.284851+00:00 app[web.1]:         "deviceToken": "e3508cedc06b8f7c700a7e619348d4dd3b887672b2b7ce14984bfac08bc06a94",
2016-08-26T21:00:15.284852+00:00 app[web.1]:         "localeIdentifier": "en-CA",
2016-08-26T21:00:15.284852+00:00 app[web.1]:         "updatedAt": "2016-08-25T23:38:40.490Z",
2016-08-26T21:00:15.284854+00:00 app[web.1]:     ]
2016-08-26T21:00:15.284854+00:00 app[web.1]:   }
2016-08-26T21:00:15.284855+00:00 app[web.1]: } results=[objectId=E6VdjH2akl, timeZone=America/Toronto, installationId=52711bcb-d22f-472c-9bc1-cfdaa78a1af9, channels=[], appName=Tinder, badge=2, deviceType=ios, appIdentifier=com.plaudev.Tinder, appVersion=1.14.2, parseVersion=1.14.2, deviceToken=92f67f7e634983303e544c238ed2ae4fcdc75408ad496264138a590fa3aae692, localeIdentifier=en-CA, createdAt=2016-08-25T23:28:28.624Z, updatedAt=2016-08-25T23:38:40.490Z, objectId=jwqEIyLNcF, timeZone=America/Toronto, appVersion=1.14.2, channels=[], deviceType=ios, appName=Tinder, badge=1, installationId=cd6681e7-a27a-41d0-96c7-4dd201854350, appIdentifier=com.plaudev.Tinder, parseVersion=1.14.2, deviceToken=e3508cedc06b8f7c700a7e619348d4dd3b887672b2b7ce14984bfac08bc06a94, localeIdentifier=en-CA, updatedAt=2016-08-25T23:38:40.490Z, createdAt=2016-08-23T16:26:07.925Z]
2016-08-26T21:00:19.978832+00:00 heroku[router]: at=info method=POST path="/parse/classes/TestObject" host=tinderpl.herokuapp.com request_id=20764eb6-edb6-48da-91c7-128bb4ac1360 fwd="99.250.194.89" dyno=web.1 connect=1ms service=17ms status=200 bytes=1838
2016-08-26T21:00:19.959865+00:00 app[web.1]: verbose: REQUEST for [GET] /parse/classes/TestObject: {
2016-08-26T21:00:19.959889+00:00 app[web.1]:   "limit": 200,
2016-08-26T21:00:19.959891+00:00 app[web.1]: } method=GET, url=/parse/classes/TestObject, host=tinderpl.herokuapp.com, connection=close, origin=http://0.0.0.0:4040, user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36, content-type=text/plain, accept=*/*, referer=http://0.0.0.0:4040/apps/tinderpl/browser/TestObject, accept-encoding=gzip, deflate, br, accept-language=en-US,en;q=0.8,zh-TW;q=0.6,zh;q=0.4, x-request-id=20764eb6-edb6-48da-91c7-128bb4ac1360, x-forwarded-for=99.250.194.89, x-forwarded-proto=https, x-forwarded-port=443, via=1.1 vegur, connect-time=1, x-request-start=1472245219959, total-route-time=0, content-length=272, , limit=200, order=-createdAt,-createdAt
2016-08-26T21:00:19.970841+00:00 app[web.1]:     "results": [
2016-08-26T21:00:19.970842+00:00 app[web.1]:       {
2016-08-26T21:00:19.970843+00:00 app[web.1]:         "local": "host 5000",
2016-08-26T21:00:19.970844+00:00 app[web.1]:         "createdAt": "2016-08-25T23:28:29.398Z",
2016-08-26T21:00:19.970847+00:00 app[web.1]:             "read": true
2016-08-26T21:00:19.970848+00:00 app[web.1]:             "read": true,
2016-08-26T21:00:19.970849+00:00 app[web.1]:             "write": true
2016-08-26T21:00:19.970851+00:00 app[web.1]:       },
2016-08-26T21:00:19.970852+00:00 app[web.1]:         "objectId": "0cxF9yWBTS",
2016-08-26T21:00:19.970853+00:00 app[web.1]:         "foo": "bar no client key",
2016-08-26T21:00:19.970853+00:00 app[web.1]:         "updatedAt": "2016-08-24T03:59:31.847Z",
2016-08-26T21:00:19.970856+00:00 app[web.1]:           },
2016-08-26T21:00:19.970857+00:00 app[web.1]:             "read": true,
2016-08-26T21:00:19.970859+00:00 app[web.1]:         }
2016-08-26T21:00:19.970860+00:00 app[web.1]:       },
2016-08-26T21:00:19.970861+00:00 app[web.1]:         "objectId": "GfhS3lf9MV",
2016-08-26T21:00:19.970862+00:00 app[web.1]:         "foo": "bar 1.14.2",
2016-08-26T21:00:19.970862+00:00 app[web.1]:         "updatedAt": "2016-08-23T03:18:54.420Z",
2016-08-26T21:00:19.970866+00:00 app[web.1]:           "IU1CwSqPAc": {
2016-08-26T21:00:19.970868+00:00 app[web.1]:       },
2016-08-26T21:00:19.970869+00:00 app[web.1]:       {
2016-08-26T21:00:19.970870+00:00 app[web.1]:         "foo": "bar",
2016-08-26T21:00:19.970871+00:00 app[web.1]:         "updatedAt": "2016-08-22T21:10:45.421Z",
2016-08-26T21:00:19.970872+00:00 app[web.1]:           "*": {
2016-08-26T21:00:19.970873+00:00 app[web.1]:           },
2016-08-26T21:00:19.970874+00:00 app[web.1]:           "exmYlGRTkA": {
2016-08-26T21:00:19.970874+00:00 app[web.1]:             "write": true
2016-08-26T21:00:19.970875+00:00 app[web.1]:       },
2016-08-26T21:00:19.970876+00:00 app[web.1]:       {
2016-08-26T21:00:19.970876+00:00 app[web.1]:         "objectId": "IP89F7bZ29",
2016-08-26T21:00:19.970877+00:00 app[web.1]:         "ACL": {
2016-08-26T21:00:19.970878+00:00 app[web.1]:             "read": true
2016-08-26T21:00:19.970879+00:00 app[web.1]:             "read": true,
2016-08-26T21:00:19.970879+00:00 app[web.1]:             "write": true
2016-08-26T21:00:19.970880+00:00 app[web.1]:           }
2016-08-26T21:00:19.970880+00:00 app[web.1]:       },
2016-08-26T21:00:19.970881+00:00 app[web.1]:       {
2016-08-26T21:00:19.970881+00:00 app[web.1]:         "objectId": "FkXenZo7sM",
2016-08-26T21:00:19.970881+00:00 app[web.1]:         "foo": "bar",
2016-08-26T21:00:19.970882+00:00 app[web.1]:         "updatedAt": "2016-08-22T21:03:54.227Z",
2016-08-26T21:00:19.970882+00:00 app[web.1]:         "ACL": {
2016-08-26T21:00:19.970883+00:00 app[web.1]:           "*": {
2016-08-26T21:00:19.970884+00:00 app[web.1]:           },
2016-08-26T21:00:19.970885+00:00 app[web.1]:             "write": true
2016-08-26T21:00:19.970886+00:00 app[web.1]:       {
2016-08-26T21:00:19.970887+00:00 app[web.1]:         "foo": "bar",
2016-08-26T21:00:19.970887+00:00 app[web.1]:         "updatedAt": "2016-08-22T21:03:01.911Z",
2016-08-26T21:00:19.970888+00:00 app[web.1]:         "ACL": {
2016-08-26T21:00:19.970888+00:00 app[web.1]:           "*": {
2016-08-26T21:00:19.970889+00:00 app[web.1]:             "read": true
2016-08-26T21:00:19.970889+00:00 app[web.1]:           "exmYlGRTkA": {
2016-08-26T21:00:19.970890+00:00 app[web.1]:             "write": true
2016-08-26T21:00:19.970891+00:00 app[web.1]:       }
2016-08-26T21:00:19.970891+00:00 app[web.1]:   }
2016-08-26T21:00:19.970889+00:00 app[web.1]:             "read": true
2016-08-26T21:00:19.970889+00:00 app[web.1]:             "read": true
2016-08-26T21:00:19.970889+00:00 app[web.1]:           },
2016-08-26T21:00:19.970889+00:00 app[web.1]:             "read": true,
2016-08-26T21:00:19.970890+00:00 app[web.1]:           }
2016-08-26T21:00:19.970890+00:00 app[web.1]:         }
2016-08-26T21:00:19.970891+00:00 app[web.1]:     ]
2016-08-26T21:00:19.970892+00:00 app[web.1]: } results=[objectId=ZgveLYeZkG, local=host 5000, createdAt=2016-08-25T23:28:29.398Z, updatedAt=2016-08-25T23:28:29.398Z, read=true, read=true, write=true, objectId=0cxF9yWBTS, foo=bar no client key, updatedAt=2016-08-24T03:59:31.847Z, createdAt=2016-08-24T03:59:31.847Z, read=true, read=true, write=true, objectId=GfhS3lf9MV, foo=bar 1.14.2, updatedAt=2016-08-23T03:18:54.420Z, createdAt=2016-08-23T03:18:54.420Z, read=true, read=true, write=true, objectId=hQhhJj9VDe, foo=bar, updatedAt=2016-08-22T21:10:45.421Z, createdAt=2016-08-22T21:10:45.421Z, read=true, read=true, write=true, objectId=IP89F7bZ29, foo=bar, updatedAt=2016-08-22T21:08:32.267Z, createdAt=2016-08-22T21:08:32.267Z, read=true, read=true, write=true, objectId=FkXenZo7sM, foo=bar, updatedAt=2016-08-22T21:03:54.227Z, createdAt=2016-08-22T21:03:54.227Z, read=true, read=true, write=true, objectId=x2PALb2Le0, foo=bar, updatedAt=2016-08-22T21:03:01.911Z, createdAt=2016-08-22T21:03:01.911Z, read=true, read=true, write=true]
2016-08-26T21:00:19.970889+00:00 app[web.1]:             "read": true
2016-08-26T21:00:19.970890+00:00 app[web.1]:             "write": true
2016-08-26T21:00:19.970891+00:00 app[web.1]:       }
2016-08-26T21:00:19.970892+00:00 app[web.1]: } results=[objectId=ZgveLYeZkG, local=host 5000, createdAt=2016-08-25T23:28:29.398Z, updatedAt=2016-08-25T23:28:29.398Z, read=true, read=true, write=true, objectId=0cxF9yWBTS, foo=bar no client key, updatedAt=2016-08-24T03:59:31.847Z, createdAt=2016-08-24T03:59:31.847Z, read=true, read=true, write=true, objectId=GfhS3lf9MV, foo=bar 1.14.2, updatedAt=2016-08-23T03:18:54.420Z, createdAt=2016-08-23T03:18:54.420Z, read=true, read=true, write=true, objectId=hQhhJj9VDe, foo=bar, updatedAt=2016-08-22T21:10:45.421Z, createdAt=2016-08-22T21:10:45.421Z, read=true, read=true, write=true, objectId=IP89F7bZ29, foo=bar, updatedAt=2016-08-22T21:08:32.267Z, createdAt=2016-08-22T21:08:32.267Z, read=true, read=true, write=true, objectId=FkXenZo7sM, foo=bar, updatedAt=2016-08-22T21:03:54.227Z, createdAt=2016-08-22T21:03:54.227Z, read=true, read=true, write=true, objectId=x2PALb2Le0, foo=bar, updatedAt=2016-08-22T21:03:01.911Z, createdAt=2016-08-22T21:03:01.911Z, read=true, read=true, write=true]
2016-08-26T21:00:19.970889+00:00 app[web.1]:             "read": true
2016-08-26T21:00:19.970889+00:00 app[web.1]:           },
2016-08-26T21:00:19.970889+00:00 app[web.1]:           "exmYlGRTkA": {
2016-08-26T21:00:19.970890+00:00 app[web.1]:           }
2016-08-26T21:00:19.970890+00:00 app[web.1]:         }
2016-08-26T21:00:19.970891+00:00 app[web.1]:       }
2016-08-26T21:00:19.970891+00:00 app[web.1]:     ]
2016-08-26T21:00:19.970891+00:00 app[web.1]:   }
2016-08-26T21:00:19.970889+00:00 app[web.1]:             "read": true
2016-08-26T21:00:19.970889+00:00 app[web.1]:           },
2016-08-26T21:00:19.970889+00:00 app[web.1]:           "exmYlGRTkA": {
2016-08-26T21:00:19.970891+00:00 app[web.1]:     ]
2016-08-26T21:00:19.970891+00:00 app[web.1]:   }
2016-08-26T21:00:19.970892+00:00 app[web.1]: } results=[objectId=ZgveLYeZkG, local=host 5000, createdAt=2016-08-25T23:28:29.398Z, updatedAt=2016-08-25T23:28:29.398Z, read=true, read=true, write=true, objectId=0cxF9yWBTS, foo=bar no client key, updatedAt=2016-08-24T03:59:31.847Z, createdAt=2016-08-24T03:59:31.847Z, read=true, read=true, write=true, objectId=GfhS3lf9MV, foo=bar 1.14.2, updatedAt=2016-08-23T03:18:54.420Z, createdAt=2016-08-23T03:18:54.420Z, read=true, read=true, write=true, objectId=hQhhJj9VDe, foo=bar, updatedAt=2016-08-22T21:10:45.421Z, createdAt=2016-08-22T21:10:45.421Z, read=true, read=true, write=true, objectId=IP89F7bZ29, foo=bar, updatedAt=2016-08-22T21:08:32.267Z, createdAt=2016-08-22T21:08:32.267Z, read=true, read=true, write=true, objectId=FkXenZo7sM, foo=bar, updatedAt=2016-08-22T21:03:54.227Z, createdAt=2016-08-22T21:03:54.227Z, read=true, read=true, write=true, objectId=x2PALb2Le0, foo=bar, updatedAt=2016-08-22T21:03:01.911Z, createdAt=2016-08-22T21:03:01.911Z, read=true, read=true, write=true]
2016-08-26T21:00:19.970889+00:00 app[web.1]:             "read": true
2016-08-26T21:00:19.970889+00:00 app[web.1]:           "exmYlGRTkA": {
2016-08-26T21:00:19.970890+00:00 app[web.1]:             "write": true
2016-08-26T21:00:19.970891+00:00 app[web.1]:     ]
2016-08-26T21:00:19.970891+00:00 app[web.1]:   }
2016-08-26T21:00:19.970892+00:00 app[web.1]: } results=[objectId=ZgveLYeZkG, local=host 5000, createdAt=2016-08-25T23:28:29.398Z, updatedAt=2016-08-25T23:28:29.398Z, read=true, read=true, write=true, objectId=0cxF9yWBTS, foo=bar no client key, updatedAt=2016-08-24T03:59:31.847Z, createdAt=2016-08-24T03:59:31.847Z, read=true, read=true, write=true, objectId=GfhS3lf9MV, foo=bar 1.14.2, updatedAt=2016-08-23T03:18:54.420Z, createdAt=2016-08-23T03:18:54.420Z, read=true, read=true, write=true, objectId=hQhhJj9VDe, foo=bar, updatedAt=2016-08-22T21:10:45.421Z, createdAt=2016-08-22T21:10:45.421Z, read=true, read=true, write=true, objectId=IP89F7bZ29, foo=bar, updatedAt=2016-08-22T21:08:32.267Z, createdAt=2016-08-22T21:08:32.267Z, read=true, read=true, write=true, objectId=FkXenZo7sM, foo=bar, updatedAt=2016-08-22T21:03:54.227Z, createdAt=2016-08-22T21:03:54.227Z, read=true, read=true, write=true, objectId=x2PALb2Le0, foo=bar, updatedAt=2016-08-22T21:03:01.911Z, createdAt=2016-08-22T21:03:01.911Z, read=true, read=true, write=true]

plaudev avatar Aug 26 '16 21:08 plaudev

@plaudev I think you are missing a } character after the error callback, and another { character before useMasterKey: true}.

So instead of: , useMasterKey: true}); you should have: }, {useMasterKey: true});

Besides that, I would recommend you to use the promise style, as you will get a cleaner code - the callback are defined after the send function is called, and not inside it. Try this (not tested):

var pushQuery = new Parse.Query(Parse.Installation);
var pushContents = {
    where: pushQuery, // Set our installation query
    data: {
        "alert": "this is my message"
        }
  };

Parse.Push.send(pushContents, {useMasterKey: true}).then(function(success) {
    // Push was successful
    console.log("Message was sent successfully");
    response.success('true');
}, function(error) {
    response.error(error);
});

natanrolnik avatar Aug 29 '16 09:08 natanrolnik

@natanrolnik, good morning & thank you for your suggestion. I just added your code into main.js as follows and got same result with or without master key in cURL:

curl -X POST -H "X-Parse-Application-Id: myAppId" -H "Content-Type: application/json" -d {} https://myApp.herokuapp.com/parse/functions/pushToAllTwo

{"code":141,"error":{"code":100,"message":"XMLHttpRequest failed: \"Unable to connect to the Parse API\""}}

Parse.Cloud.define("pushToAllTwo", function (request, response) {

  var pushQuery = new Parse.Query(Parse.Installation);
  var pushContents = {
    where: pushQuery, // Set our installation query
    data: {
        "alert": "this is my other message"
        }
  };

  Parse.Push.send(pushContents, {useMasterKey: true}).then(function(success) {
      // Push was successful
      console.log("Message was sent successfully");
      response.success('true');
  }, function(error) {
      response.error(error);
  });
});

logs


2016-08-29T11:00:57.286481+00:00 app[web.1]: verbose: REQUEST for [POST] /parse/functions/pushToAllTwo: {} method=POST, url=/parse/functions/pushToAllTwo, host=tinderpl.herokuapp.com, connection=close, user-agent=curl/7.43.0, accept=*/*, x-parse-application-id=myAppId, content-type=application/json, x-request-id=c7881749-7fdd-4ed9-bbcf-431fd6ee22b6, x-forwarded-for=99.250.194.89, x-forwarded-proto=https, x-forwarded-port=443, via=1.1 vegur, connect-time=1, x-request-start=1472468457265, total-route-time=0, content-length=2, 
2016-08-29T11:00:58.574592+00:00 heroku[router]: at=info method=POST path="/parse/functions/pushToAllTwo" host=tinderpl.herokuapp.com request_id=c7881749-7fdd-4ed9-bbcf-431fd6ee22b6 fwd="99.250.194.89" dyno=web.1 connect=1ms service=1306ms status=400 bytes=636
2016-08-29T11:00:58.563369+00:00 app[web.1]: error: Failed running cloud function pushToAllTwo for user undefined with:
2016-08-29T11:00:58.563379+00:00 app[web.1]:   Input: {}
2016-08-29T11:00:58.563380+00:00 app[web.1]:   Error: {"code":141,"message":{"code":100,"message":"XMLHttpRequest failed: \"Unable to connect to the Parse API\""}} functionName=pushToAllTwo, code=141, code=100, message=XMLHttpRequest failed: "Unable to connect to the Parse API", , user=undefined
2016-08-29T11:00:58.580997+00:00 app[web.1]: error: Error generating response. ParseError {
2016-08-29T11:00:58.580999+00:00 app[web.1]:   code: 141,
2016-08-29T11:00:58.580999+00:00 app[web.1]:   message: 
2016-08-29T11:00:58.581000+00:00 app[web.1]:      code: 100,
2016-08-29T11:00:58.581001+00:00 app[web.1]:      message: 'XMLHttpRequest failed: "Unable to connect to the Parse API"' } } code=141, code=100, message=XMLHttpRequest failed: "Unable to connect to the Parse API"
2016-08-29T11:00:58.583519+00:00 app[web.1]: [object Object]
2016-08-29T11:03:30.173530+00:00 app[web.1]: verbose: REQUEST for [POST] /parse/functions/pushToAll: {} method=POST, url=/parse/functions/pushToAll, host=tinderpl.herokuapp.com, connection=close, user-agent=curl/7.43.0, accept=*/*, x-parse-application-id=myAppId, content-type=application/json, x-parse-master-key=myMasterKey, x-request-id=0824e825-dc9a-499a-a196-d334681d3fcf, x-forwarded-for=99.250.194.89, x-forwarded-proto=https, x-forwarded-port=443, via=1.1 vegur, connect-time=0, x-request-start=1472468610146, total-route-time=0, content-length=2, 
2016-08-29T11:03:32.632221+00:00 heroku[router]: at=info method=POST path="/parse/functions/pushToAll" host=tinderpl.herokuapp.com request_id=0824e825-dc9a-499a-a196-d334681d3fcf fwd="99.250.194.89" dyno=web.1 connect=0ms service=2484ms status=400 bytes=636
2016-08-29T11:03:32.646723+00:00 app[web.1]: error: Failed running cloud function pushToAll for user undefined with:
2016-08-29T11:03:32.646734+00:00 app[web.1]:   Input: {}
2016-08-29T11:03:32.648638+00:00 app[web.1]: error: Error generating response. ParseError {
2016-08-29T11:03:32.648642+00:00 app[web.1]:   code: 141,
2016-08-29T11:03:32.648655+00:00 app[web.1]:   message: 
2016-08-29T11:03:32.648657+00:00 app[web.1]:      code: 100,
2016-08-29T11:03:32.648661+00:00 app[web.1]:      message: 'XMLHttpRequest failed: "Unable to connect to the Parse API"' } } code=141, code=100, message=XMLHttpRequest failed: "Unable to connect to the Parse API"

plaudev avatar Aug 29 '16 11:08 plaudev

@plaudev is your serverURL configured correctly when you initialize the Parse Server? Did you configure correctly your push adapter?

natanrolnik avatar Aug 29 '16 11:08 natanrolnik

@natanrolnik, I did not specifically configure an adapter as I did not think it is required.

Push works if I do it inline in cURL and my default cloud code works. I am assuming that means my server is configured correctly. Is that not so? Thanks

plaudev avatar Aug 29 '16 14:08 plaudev

@plaudev the problem may really come from the missing / misconfigured serverURL key in your ParseServer initialization options.

flovilmart avatar Aug 29 '16 14:08 flovilmart

@flovilmart, I have PARSER_SERVER_URL set for two apps including the one in question. I have a 3rd app that has SERVER_URL set. So I need to set SERVER_URL? Thanks

And by the way, when I use cloud code with cURL to send push, do I need to pass the master key, or is inclusion of useMasterKey: true in main.js sufficient?

plaudev avatar Aug 29 '16 20:08 plaudev

@flovilmart, I have just relaunched the parse server with an added environ variable SERVER_URL set to same value as PARSER_SERVER_URL but still getting the same cannot connect to parse API error. Thanks

plaudev avatar Aug 29 '16 20:08 plaudev

Or do you mean having to set this in main.js?

Parse.serverURL = 'https://myApp.herokuapp.com/parse'

As noted in https://github.com/ParsePlatform/parse-server/wiki/Parse-Server-Guide?

I will try that as soon as I can get back to my Mac. Thanks

plaudev avatar Aug 29 '16 20:08 plaudev

It should be set when you initialize ParseServer. Do you run multiple ParseServer on the same instance/process

flovilmart avatar Aug 29 '16 20:08 flovilmart

I only have one parse server per heroku app. I will insert that line into my main.js when I get back to my Mac sometime in the next hour or two. Thx

plaudev avatar Aug 29 '16 21:08 plaudev

That should be automatically done by ParseServer, if you specify serverURL when you create the instance.

flovilmart avatar Aug 29 '16 21:08 flovilmart

@flovilmart, this is what I have in my index.js. As noted in the original post, I can do parse queries, send push notification with inline cURL and do cloud code, just not send push with cloud code. Thx

var api = new ParseServer({
  databaseURI: databaseUri,
  cloud: process.env.CLOUD_CODE_MAIN || __dirname + '/cloud/main.js',
  appId: process.env.APP_ID,
  masterKey: process.env.MASTER_KEY,
  serverURL: process.env.PARSER_SERVER_URL,
  liveQuery: {
    classNames: ["Posts", "Comments"]
  },
  push: {
    //android: {
    //  senderId: "",
    //  apiKey: ""
    //},
    ios: {
      pfx: "certs/Certificates.nopw.p12",
      bundleId: "com.plaudev.myApp",
      production: false
    }
  }
});

plaudev avatar Aug 29 '16 21:08 plaudev

Seems that you have a typo:  PARSER_SERVER_URL

flovilmart avatar Aug 29 '16 21:08 flovilmart

That's the variable name that Heroku defaulted to when the Parse app was deployed. I mean, if that env variable did not work, I should not be able to do all the other things with the Parse app, right?

plaudev avatar Aug 29 '16 21:08 plaudev

alright, then, if that's how it's supposed to be...

flovilmart avatar Aug 29 '16 21:08 flovilmart

So I just have to live with not able to push with cloud code, then?

plaudev avatar Aug 29 '16 21:08 plaudev