Skip to content

Push Emoji issues #299

Closed
Closed
@gateway

Description

@gateway

Make sure these boxes are checked before submitting your issue -- thanks for reporting issues back to Parse Dashboard!

  • [ x] You're running version >=2.1.4 of Parse Server.
  • [x ] You've searched through existing issues. Chances are that your issue has been reported or resolved before.

Environment Setup

Latest Parse Server, Dashboard on Heroku

Steps to reproduce

Going into the parse dashboard, select push, convert to json.

emoji json

{"aps": {"alert": "High Five, bro \ue012"}}

or

{"aps":{"alert":"\ud83d\ude04","sound":"default"}}

Text json

{"aps":{"alert":"hello"}}

FYI normal text works but not with json payloads.

Logs/Trace

Note: If you get a browser JS error please run npm run dev. This will provide source maps and a much more useful stack trace.

2016-04-26T00:47:19.692907+00:00 app[web.1]: verbose: POST /parse/push { host: 'xxx.herokuapp.com',
2016-04-26T00:47:19.692922+00:00 app[web.1]: connection: 'close',
2016-04-26T00:47:19.692924+00:00 app[web.1]: origin: 'https://xxx.herokuapp.com',
2016-04-26T00:47:19.692926+00:00 app[web.1]: 'user-agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.112 Safari/537.36',
2016-04-26T00:47:19.692927+00:00 app[web.1]: 'content-type': 'text/plain',
2016-04-26T00:47:19.692927+00:00 app[web.1]: accept: '/',
2016-04-26T00:47:19.692928+00:00 app[web.1]: referer: 'https://lmdash.herokuapp.com/apps/Likemoji/push/new',
2016-04-26T00:47:19.692929+00:00 app[web.1]: 'accept-encoding': 'gzip, deflate',

2016-04-26T00:47:19.692930+00:00 app[web.1]: 'accept-language': 'en-US,en;q=0.8',
2016-04-26T00:47:19.692931+00:00 app[web.1]: 'x-request-id': '5cba2088-b254-4489-bef2-8f3e9bdd76c1',
2016-04-26T00:47:19.692932+00:00 app[web.1]: 'x-forwarded-for': '12.215.39.106',
2016-04-26T00:47:19.692933+00:00 app[web.1]: 'x-forwarded-proto': 'https',
2016-04-26T00:47:19.692933+00:00 app[web.1]: 'x-forwarded-port': '443',
2016-04-26T00:47:19.692934+00:00 app[web.1]: via: '1.1 vegur',
2016-04-26T00:47:19.692934+00:00 app[web.1]: 'connect-time': '1',
2016-04-26T00:47:19.692935+00:00 app[web.1]: 'x-request-start': '1461631639683',
2016-04-26T00:47:19.692936+00:00 app[web.1]: 'total-route-time': '0',
2016-04-26T00:47:19.692936+00:00 app[web.1]: 'content-length': '259' } {
2016-04-26T00:47:19.692938+00:00 app[web.1]: "where": {},
2016-04-26T00:47:19.692939+00:00 app[web.1]: "data": {
2016-04-26T00:47:19.692939+00:00 app[web.1]: "aps": {
2016-04-26T00:47:19.692940+00:00 app[web.1]: "alert": "High Five, bro "
2016-04-26T00:47:19.692941+00:00 app[web.1]: }
2016-04-26T00:47:19.692942+00:00 app[web.1]: }
2016-04-26T00:47:19.692942+00:00 app[web.1]: }
2016-04-26T00:47:19.773299+00:00 app[web.1]: verbose: {
2016-04-26T00:47:19.773310+00:00 app[web.1]: "headers": {
2016-04-26T00:47:19.773311+00:00 app[web.1]: "X-Parse-Push-Status-Id": "wr3Rb0Xj2d"
2016-04-26T00:47:19.773312+00:00 app[web.1]: },
2016-04-26T00:47:19.773313+00:00 app[web.1]: "response": {
2016-04-26T00:47:19.773314+00:00 app[web.1]: "result": true
2016-04-26T00:47:19.773314+00:00 app[web.1]: }
2016-04-26T00:47:19.773315+00:00 app[web.1]: }
2016-04-26T00:47:19.807983+00:00 app[web.1]: verbose: sending push to 4 installations
2016-04-26T00:47:19.809412+00:00 app[web.1]: verb parse-server-push-adapter APNS APNS Connection 0 Notification transmitted to xxx
2016-04-26T00:47:19.809930+00:00 app[web.1]: ERR! parse-server-push-adapter APNS no qualified connections for com.likemoji-dev xxxx
2016-04-26T00:47:19.810264+00:00 app[web.1]: ERR! parse-server-push-adapter APNS no qualified connections for com.likemoji-dev xxxx
2016-04-26T00:47:19.810730+00:00 app[web.1]: verb parse-server-push-adapter APNS APNS Connection 0 Notification transmitted to xxxx
2016-04-26T00:47:19.812299+00:00 app[web.1]: verbose: sent push! 2 success, 2 failures
2016-04-26T00:47:19.895047+00:00 app[web.1]: verb parse-server-push-adapter APNS APNS Connection 1 Notification transmitted to xxx
2016-04-26T00:47:19.896401+00:00 app[web.1]: verb parse-server-push-adapter APNS APNS Connection 0 Disconnected
2016-04-26T00:47:19.776980+00:00 heroku[router]: at=info method=POST path="/parse/push" host=xxx.herokuapp.com request_id=5cba2088-b254-4489-bef2-8f3e9bdd76c1 fwd="12.215.3
9.106" dyno=web.1 connect=1ms service=91ms status=200 bytes=533

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions