Error 513 "PEM routines:PEM_read_bio:no start line"
See original GitHub issueHi! Wonderful work on this.
Just followed along with the terrific iOs Micro Walkthrough and got all the way to the very end without a hitch.
However, when I try to send the final Push notification from meteor shell
it doesn’t arrive, and I see this:
I20151212-11:40:14.410(-5)? Push: Sent message "Congratulations" to 1 ios apps 0 android apps
I20151212-11:40:14.414(-5)? Got error code 513 for token abcdefg12345etcetcetc
W20151212-11:40:14.414(-5)? (STDERR)
W20151212-11:40:14.415(-5)? (STDERR) /Users/lpender/.meteor/packages/raix_push/.3.0.2.1qkywpz++os+web.browser+web.cordova/npm/node_modules/apn/node_modules/q/q.js:155
W20151212-11:40:14.415(-5)? (STDERR) throw e;
W20151212-11:40:14.415(-5)? (STDERR) ^
W20151212-11:40:14.416(-5)? (STDERR) Error: error:0906D06C:PEM routines:PEM_read_bio:no start line
W20151212-11:40:14.416(-5)? (STDERR) at Object.exports.createCredentials (crypto.js:129:17)
W20151212-11:40:14.416(-5)? (STDERR) at Object.exports.connect (tls.js:1345:27)
W20151212-11:40:14.416(-5)? (STDERR) at apnSocketLegacy (/Users/lpender/.meteor/packages/raix_push/.3.0.2.1qkywpz++os+web.browser+web.cordova/npm/node_modules/apn/lib/socket.js:40:19)
W20151212-11:40:14.416(-5)? (STDERR) at Connection.initialize.spread.fail.terminated (/Users/lpender/.meteor/packages/raix_push/.3.0.2.1qkywpz++os+web.browser+web.cordova/npm/node_modules/apn/lib/con
nection.js:175:17)
W20151212-11:40:14.417(-5)? (STDERR) at /Users/lpender/.meteor/packages/raix_push/.3.0.2.1qkywpz++os+web.browser+web.cordova/npm/node_modules/apn/node_modules/q/q.js:1229:26
W20151212-11:40:14.417(-5)? (STDERR) at _fulfilled (/Users/lpender/.meteor/packages/raix_push/.3.0.2.1qkywpz++os+web.browser+web.cordova/npm/node_modules/apn/node_modules/q/q.js:834:54)
W20151212-11:40:14.417(-5)? (STDERR) at self.promiseDispatch.done (/Users/lpender/.meteor/packages/raix_push/.3.0.2.1qkywpz++os+web.browser+web.cordova/npm/node_modules/apn/node_modules/q/q.js:863:30
)
W20151212-11:40:14.417(-5)? (STDERR) at Promise.promise.promiseDispatch (/Users/lpender/.meteor/packages/raix_push/.3.0.2.1qkywpz++os+web.browser+web.cordova/npm/node_modules/apn/node_modules/q/q.js:
796:13)
W20151212-11:40:14.418(-5)? (STDERR) at /Users/lpender/.meteor/packages/raix_push/.3.0.2.1qkywpz++os+web.browser+web.cordova/npm/node_modules/apn/node_modules/q/q.js:556:49
W20151212-11:40:14.418(-5)? (STDERR) at runSingle (/Users/lpender/.meteor/packages/raix_push/.3.0.2.1qkywpz++os+web.browser+web.cordova/npm/node_modules/apn/node_modules/q/q.js:137:13)
=> Exited with code: 8
Many thanks
Issue Analytics
- State:
- Created 8 years ago
- Comments:11 (3 by maintainers)
Top Results From Across the Web
OpenSSL: PEM routines:PEM_read_bio:no start line:pem_lib ...
Try to run openssl x509 -text -inform DER -in server_cert.pem and see what the output ... You can get this misleading error if...
Read more >How to fix "PEM_read_bio:no start line error" nginx error
[emerg]: SSL_CTX_use_PrivateKey_file("/etc/ssl/cert.pem") failed (SSL: error:0906D06C:PEM routines:PEM_read_bio:no start line error:140B0009:SSL ...
Read more >Please tutorial how to fix "error:0909006C:PEM routines ...
Please read through the template below and answer all relevant questions. ... error:0909006C:PEM routines:get_name:no start line.
Read more >openssl PEM_read_bio:no start line:pem_lib.c:707:Expecting ...
Very new to SSL installation in Tomcat 8.5. OS: CentOS 7. I have SSL certificates from GoDaddy and have the private key used...
Read more >Error 0906D06C:PEM routines:PEM_read_bio:no start line ...
Description Configuration does not load when upgrading to 11.6.5.2. Next error is prompted after some minutes of a failing configuration loading ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I’ve had the same issue - I mistakenly put a key .pem file in the “cert” setting and vice versa.
Ops, I get it I should switch “apn-dev”: { “key”: “apn-development/PushChatCert.pem”, “cert”: “apn-development/PushChatKey.pem” }, to “apn-dev”: { “key”: “apn-development/PushChatKey.pem”, “cert”: “apn-development/PushChatCert.pem” },