You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I´ve tried to send (iOS) Push notifications from my self-hosted Parse Server (and of course the Dashboard) and get the following Error message (Dashboard):
XMLHttpRequest failed: "Unable to connect to the Parse API"
and in the Server console:
/usr/lib/node_modules/parse-server/lib/ParseServer.js:334
throw err;
^
Error: mac verify failure
at Error (native)
at Object.createSecureContext (_tls_common.js:136:17)
at Object.TLSSocket._init.ssl.onclienthello.ssl.oncertcb.exports.connect (_tls_wrap.js:1007:48)
at apnSocket (/usr/lib/node_modules/parse-server/node_modules/apn/lib/socket.js:56:19)
at Connection.<anonymous> (/usr/lib/node_modules/parse-server/node_modules/apn/lib/connection.js:199:17)
at _fulfilled (/usr/lib/node_modules/parse-server/node_modules/q/q.js:834:54)
at self.promiseDispatch.done (/usr/lib/node_modules/parse-server/node_modules/q/q.js:863:30)
at Promise.promise.promiseDispatch (/usr/lib/node_modules/parse-server/node_modules/q/q.js:796:13)
at /usr/lib/node_modules/parse-server/node_modules/q/q.js:604:44
at runSingle (/usr/lib/node_modules/parse-server/node_modules/q/q.js:137:13)
I don´t know how to fix this.
If you need more Informations, just tell me which one i should post.
I had same issue. Problem was that when I exported .p12 file in Keychain I filled password to protect exported file. Solution that works for me is export new .p12 file and leave blank fields for password that has to protect exported file.
Activity
flovilmart commentedon Apr 1, 2016
Seems that your certificates are either invalid or unproperly configured. How do you configure parse-server with push?
SBC-Development commentedon Apr 1, 2016
I have created a configuration file and started the Parse server with the following command:
parse-server /home/parse/parse-config.jsonHere is the parse-config file:
I think that there is something not correct but i don´t know how to correct it.
maho125 commentedon Apr 2, 2016
I had same issue. Problem was that when I exported .p12 file in Keychain I filled password to protect exported file. Solution that works for me is export new .p12 file and leave blank fields for password that has to protect exported file.
flovilmart commentedon Apr 2, 2016
you can set the
passwordparameter alongside thepfxoption and it should work as expected.SBC-Development commentedon Apr 2, 2016
Okay, great..
Thank you!
I´ll try this now.
EDIT: Everything is working now, THANKS!