Description
Before opening the issue please ensure that you have:
- Read the migration guide to parse-server 3.0.0
- Read the migration guide to Parse SDK JS 2.0.0
Issue Description
Having upgraded initially from Parse Server 2.2.12 to Parse Server 2.8.4 then when this didn't work to Parse Server 3.1.1 push notifications are no longer working. The Verbose output is the following:
�[36mverbose�[39m: _PushStatus 7idQCLfPT6: sending push to installations with 1 batches
�[36mverbose�[39m: Sending push to 16
�[36mverbose�[39m: _PushStatus 7idQCLfPT6: sent push! 0 success, 16 failures
�[36mverbose�[39m: _PushStatus 7idQCLfPT6: needs cleanup devicesToRemove=[]
I have looked through all of the issues regarding push on both parse-server and parse-server-push-adaptor and have tried all offered solutions. Nothing has worked. I have tried taking the device token and sending via an APNS tester using my exact dev certificate used on parse and this successfully delivers every time. I initially tried PS 2.8.4 no luck then have tried 3.1.1 also the same error noted above. I'm using MongoDb on Mlab and AWS Elastic Beanstalk Running Node 8.11.4 and the following Package.json:
{
"name": "parse-server-example",
"version": "1.4.0",
"description": "An example Parse API server using the parse-server module",
"main": "index.js",
"repository": {
"type": "git",
"url": "https://github.com/ParsePlatform/parse-server-example"
},
"license": "MIT",
"dependencies": {
"cron": "1.1.0",
"express": "~4.11.x",
"firebase-admin": "^4.2.1",
"kerberos": "~0.0.x",
"parse": "~1.11.1",
"parse-server": "2.8.4",
"parse-server-accountkit-auth": "^1.0.0"
},
"devDependencies": {
"@angular/cli": "1.5.0",
"@angular/compiler-cli": "^5.0.0"
},
"scripts": {
"start": "node index.js"
},
"engines": {
"node": ">=8.11"
}
}
Has there been some upgrade with regard to _PushStatus which I need to know about between 2.2.12 and 2.8.4/3.1.1 with regards to _SCHEMA or is this not relevant to Mongo and just to Postgres? No entries in my _PushStatus table have a expiration_interval column.
Also I can't seem to get anymore verbose output with regard to the APNS error returned information than the above, is this right or do I need to run it locally to catch every bit if information to debug this?
Steps to reproduce
Send Push on Cloudcode to devices using usual and checked syntax that is stated to work by other posters.
Expected Results
Pushes to be sent and delivered.
Actual Outcome
Pushes are not received.
Environment Setup
-
Server
- parse-server version (Be specific! Don't say 'latest'.) : 2.8.4 and 3.1.1
- Operating System: OSX on Cli AWS EB Linux
- Hardware: AWS EB
- Localhost or remote server? AWS EB
-
Database
- MongoDB version: 3.0.12
- Storage engine: MLAB
- Hardware: MLAB/AWS EB
- Localhost or remote server? Remote AWS Eb connecting to MLAB Mongo DB
Logs/Trace
�[36mverbose�[39m: _PushStatus 7idQCLfPT6: sending push to installations with 1 batches
�[36mverbose�[39m: Sending push to 16
�[36mverbose�[39m: _PushStatus 7idQCLfPT6: sent push! 0 success, 16 failures
�[36mverbose�[39m: _PushStatus 7idQCLfPT6: needs cleanup devicesToRemove=[]
This logging seems sparse, that's all I get with VERBOSE=1.