Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

spawned process to handle the connection crashes sometimes #105

Open
ehelaya opened this issue May 16, 2016 · 2 comments
Open

spawned process to handle the connection crashes sometimes #105

ehelaya opened this issue May 16, 2016 · 2 comments
Labels

Comments

@ehelaya
Copy link

ehelaya commented May 16, 2016

Hi,
I have successfully integrated apns4erl with our application and it's working fine, but some times below crash is happening and some APNs messages will not be sent because of the crash.

gen_server my_apns_connection terminated with reason: {error,closed}
09:37:53.977 [error] CRASH REPORT Process my_apns_connection with 1 neighbours exited with reason: {error,closed} in gen_server:terminate/7 line 826
09:37:53.978 [error] Supervisor apns_sup had child undefined started with apns_connection:start_link(my_apns_connection, {apns_connection,"gateway.push.apple.com",2195,undefined,"priv/certs/ios_privkey.pem",...}) at <0.6600.18> exit with reason {error,closed} in context child_terminated

I have investigate many in many ways, but couldn't find any clue, any Ideas?

Thanks,
udaya.

@elbrujohalcon
Copy link
Member

Maybe related to #104 ?

@ehelaya
Copy link
Author

ehelaya commented May 16, 2016

@elbrujohalcon sorry my bad I should have checked the issues first, i'll try this and let you know
thanks.

@ferigis ferigis added the 1.x label Feb 13, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants