Reputation: 439
I came through this weird behaviour with node-apn throwing error 8 sometimes only. Debugged for same certificate, token and app build.
Details as follows
Has anyone faced similar issue, and possible solution?
Upvotes: 0
Views: 331
Reputation: 21629
The device token for production is different than the development one, so if you send a development token to production APNS servers (or vice versa), that's the cause of the problem Error 8
Check if the App ID & other details matches with the build, using following command:
openssl x509 -text -noout -in
<cert file path>
Upvotes: 0