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

Issue connecting to Apple's APNS servers #222

Closed
anandsuresh opened this issue Sep 3, 2015 · 6 comments
Closed

Issue connecting to Apple's APNS servers #222

anandsuresh opened this issue Sep 3, 2015 · 6 comments

Comments

@anandsuresh
Copy link
Contributor

Attempted to use node-spdy Agent with https to connect to the APNS servers, but ran into issues:

NODE_DEBUG="http" DEBUG="spdy*" node test/manual/apns.js asdf asdf
HTTP: write ret = false
HTTP: outgoing message end.
  spdy:client activating fallback +0ms
(node) warning: possible EventEmitter memory leak detected. 11 listeners added. Use emitter.setMaxListeners() to increase limit.
Trace
    at ClientRequest.addListener (events.js:160:15)
    at ClientRequest.once (events.js:185:8)
    at ClientRequest.abort (http.js:1460:10)
    at PoolEndpoint.check_timeouts (/Users/anandsuresh/voxer-inc/server/poolee/pool_endpoint.js:156:33)
    at null.<anonymous> (/Users/anandsuresh/voxer-inc/server/poolee/pool_endpoint.js:61:18)
    at wrapper [as _onTimeout] (timers.js:261:14)
    at Timer.listOnTimeout [as ontimeout] (timers.js:112:15)
@anandsuresh
Copy link
Contributor Author

@indutny Filed an issue as discussed. Let me know if you need any more information/logs.

@anandsuresh
Copy link
Contributor Author

Fixed and working now.

@ethul
Copy link

ethul commented Jan 14, 2016

Out of curiosity, what was the fix here? Thanks!

@indutny
Copy link
Collaborator

indutny commented Jan 15, 2016

I don't remember :( Sorry!

@indutny
Copy link
Collaborator

indutny commented Jan 15, 2016

Perhaps I just added ALPN support.

@ethul
Copy link

ethul commented Jan 15, 2016

No problem. Thanks for the info.

On Friday, 15 January 2016, Fedor Indutny notifications@github.com wrote:

Perhaps I just added ALPN support.


Reply to this email directly or view it on GitHub
#222 (comment).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants