{"action":"created","issue":{"url":"https://api.github.com/repos/kevinohara80/elkington/issues/5","labels_url":"https://api.github.com/repos/kevinohara80/elkington/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/kevinohara80/elkington/issues/5/comments","events_url":"https://api.github.com/repos/kevinohara80/elkington/issues/5/events","html_url":"https://github.com/kevinohara80/elkington/issues/5","id":94582313,"number":5,"title":"Can't connect on secure port","user":{"login":"dvand","id":4340789,"avatar_url":"https://avatars.githubusercontent.com/u/4340789?v=3","gravatar_id":"","url":"https://api.github.com/users/dvand","html_url":"https://github.com/dvand","followers_url":"https://api.github.com/users/dvand/followers","following_url":"https://api.github.com/users/dvand/following{/other_user}","gists_url":"https://api.github.com/users/dvand/gists{/gist_id}","starred_url":"https://api.github.com/users/dvand/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dvand/subscriptions","organizations_url":"https://api.github.com/users/dvand/orgs","repos_url":"https://api.github.com/users/dvand/repos","events_url":"https://api.github.com/users/dvand/events{/privacy}","received_events_url":"https://api.github.com/users/dvand/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-07-12T17:13:49Z","updated_at":"2015-07-14T11:32:48Z","closed_at":null,"body":"insecure connection works fine. Maybe an issue with old ssl versions or certificates on the XEP?\r\n\r\n~/node $ node elktest.js\r\n\r\nevents.js:72\r\n        throw er; // Unhandled 'error' event\r\n              ^\r\nError: socket hang up\r\n    at SecurePair.error (tls.js:1010:23)\r\n    at CleartextStream.read [as _read] (tls.js:462:17)\r\n    at CleartextStream.Readable.read (_stream_readable.js:340:10)\r\n    at EncryptedStream.write [as _write] (tls.js:368:25)\r\n    at doWrite (_stream_writable.js:225:10)\r\n    at writeOrBuffer (_stream_writable.js:215:5)\r\n    at EncryptedStream.Writable.write (_stream_writable.js:182:11)\r\n    at write (_stream_readable.js:601:24)\r\n    at flow (_stream_readable.js:610:7)\r\n    at Socket.pipeOnReadable (_stream_readable.js:642:5)\r\npi@raspberrypi ~/node $\r\n"},"comment":{"url":"https://api.github.com/repos/kevinohara80/elkington/issues/comments/121210190","html_url":"https://github.com/kevinohara80/elkington/issues/5#issuecomment-121210190","issue_url":"https://api.github.com/repos/kevinohara80/elkington/issues/5","id":121210190,"user":{"login":"dvand","id":4340789,"avatar_url":"https://avatars.githubusercontent.com/u/4340789?v=3","gravatar_id":"","url":"https://api.github.com/users/dvand","html_url":"https://github.com/dvand","followers_url":"https://api.github.com/users/dvand/followers","following_url":"https://api.github.com/users/dvand/following{/other_user}","gists_url":"https://api.github.com/users/dvand/gists{/gist_id}","starred_url":"https://api.github.com/users/dvand/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dvand/subscriptions","organizations_url":"https://api.github.com/users/dvand/orgs","repos_url":"https://api.github.com/users/dvand/repos","events_url":"https://api.github.com/users/dvand/events{/privacy}","received_events_url":"https://api.github.com/users/dvand/received_events","type":"User","site_admin":false},"created_at":"2015-07-14T11:32:48Z","updated_at":"2015-07-14T11:32:48Z","body":"I actually got it to work.\n\nFirst thing is I was connecting to the secure port but not using a\npassword.\n\nSecond thing is I set some of the tls connection options.\nOn Jul 14, 2015 5:35 AM, \"kevinohara80\" <notifications@github.com> wrote:\n\n> Interesting. TBH, it's been a while since I played with this. I'll see if\n> I can find some time tonight to look at this and try it out.\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/kevinohara80/elkington/issues/5#issuecomment-121196473>\n> .\n>\n"}}