mrDoctorWho / ejabberd_mod_apns

An ejabberd module to send PUSH messages to iOS devices through APNS
MIT License
33 stars 19 forks source link

Using this module, I am getting a error while making a ssl connection. I have pasted below the module configuration down #1

Closed neeraj022 closed 8 years ago

neeraj022 commented 8 years ago

mod_apns: address: "gateway.push.apple.com" port: 2195 certfile: "~/my-ejabberd/etc/cert.pem" keyfile: "~/my-ejabberd/etc/key.pem"

password: "password"

neeraj022 commented 8 years ago

It would be great, if I can get a help on this.

mrDoctorWho commented 8 years ago

Hello,

What is that error you're getting? Can you post the erlang exception?

neeraj022 commented 8 years ago

While making a ssl connection, I am printing the error reason if the connection is unsuccessful. Reason printed on the console is :

[{options,{socket_options,[{mode,binary}]}}]

mrDoctorWho commented 8 years ago

So did you manage to fix it in any way?

P.S. I answered you on email, not sure if you noticed.