Description
I have the latest version of the parse-server code, running on AWS Elastic Beanstalk with an mLab database:
- Elastic Beanstalk
- 64bit Amazon Linux 2016.03 v2.1.1 running Node.js (v4.4.3)
- nginx proxy server
- t2.medium single instance hosted in Virginia
- Parse server v2.2.16 (7/10/2016)
- Mongo DB driver (v2.1.18)
- mLab dedicated cluster (v3.0.10)
I am hitting some issues with push notifications between my clients. All the credentials were set up fine for iOS and Android and it was working great. Then, after some time, when I perform some client-to-client operations (for testing) in which one client sends push notifications to another client or group of clients through a Cloud Code method, I start to see some problems.
I get this error in Android Studio: failed with error: Invalid classname: _PushStatus, classnames can only have alphanumeric characters and _, and must start with an alpha character while sending push notification.
Subsequently, when I send any additional push notification through an Android device, it errors out (same error message). Also, when I then try to load the data browser (hosted on parse.com), I see that it fails.
After some debugging, the issue is "resolved" (until it happens the next time) when I remove the _PushStatus document in the _SCHEMA collection. This has happened three times now in the last 24 hours...and is obviously not something that would fly in production.
Is anyone else hitting this problem? How did you fix it? I think the problem is that _PushStatus is not a supported collection that should belong in the mLab schema.