{"action":"created","issue":{"url":"https://api.github.com/repos/raix/push/issues/200","repository_url":"https://api.github.com/repos/raix/push","labels_url":"https://api.github.com/repos/raix/push/issues/200/labels{/name}","comments_url":"https://api.github.com/repos/raix/push/issues/200/comments","events_url":"https://api.github.com/repos/raix/push/issues/200/events","html_url":"https://github.com/raix/push/issues/200","id":147825646,"number":200,"title":"APN connection timeout","user":{"login":"MaxShv","id":6601478,"avatar_url":"https://avatars.githubusercontent.com/u/6601478?v=3","gravatar_id":"","url":"https://api.github.com/users/MaxShv","html_url":"https://github.com/MaxShv","followers_url":"https://api.github.com/users/MaxShv/followers","following_url":"https://api.github.com/users/MaxShv/following{/other_user}","gists_url":"https://api.github.com/users/MaxShv/gists{/gist_id}","starred_url":"https://api.github.com/users/MaxShv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MaxShv/subscriptions","organizations_url":"https://api.github.com/users/MaxShv/orgs","repos_url":"https://api.github.com/users/MaxShv/repos","events_url":"https://api.github.com/users/MaxShv/events{/privacy}","received_events_url":"https://api.github.com/users/MaxShv/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-04-12T17:50:12Z","updated_at":"2016-05-03T13:58:22Z","closed_at":null,"body":"We are getting the following issue in production. Is it possible to update to the newer version of node-apn? It seems like it was fixed in version 1.7.2 (https://github.com/argon/node-apn/issues/217).\r\n\r\n```\r\nConnect timed out stack:Error: Connect timed out\r\nat Connection. (/bundle/bundle/programs/server/npm/node_modules/meteor/raix_push/node_modules/apn/lib/connection.js:193:36)\r\nat Timer.listOnTimeout [as ontimeout] (timers.js:121:15)\r\n```"},"comment":{"url":"https://api.github.com/repos/raix/push/issues/comments/216535976","html_url":"https://github.com/raix/push/issues/200#issuecomment-216535976","issue_url":"https://api.github.com/repos/raix/push/issues/200","id":216535976,"user":{"login":"Alveoli","id":8811975,"avatar_url":"https://avatars.githubusercontent.com/u/8811975?v=3","gravatar_id":"","url":"https://api.github.com/users/Alveoli","html_url":"https://github.com/Alveoli","followers_url":"https://api.github.com/users/Alveoli/followers","following_url":"https://api.github.com/users/Alveoli/following{/other_user}","gists_url":"https://api.github.com/users/Alveoli/gists{/gist_id}","starred_url":"https://api.github.com/users/Alveoli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Alveoli/subscriptions","organizations_url":"https://api.github.com/users/Alveoli/orgs","repos_url":"https://api.github.com/users/Alveoli/repos","events_url":"https://api.github.com/users/Alveoli/events{/privacy}","received_events_url":"https://api.github.com/users/Alveoli/received_events","type":"User","site_admin":false},"created_at":"2016-05-03T13:58:21Z","updated_at":"2016-05-03T13:58:21Z","body":"Hi! Yep, ports are open.\r\n\r\nIn my case I was pushing tens of thousands of notifications via a single call to `Push.send({query:{}})`.  That seemed to have fouled something up.\r\n\r\nI've worked around it by putting far fewer pushes through each `Push.send` call and using sendInterval and sendBatchSize to control push speed."}}