{"action":"created","issue":{"url":"https://api.github.com/repos/logentries/le_node/issues/64","labels_url":"https://api.github.com/repos/logentries/le_node/issues/64/labels{/name}","comments_url":"https://api.github.com/repos/logentries/le_node/issues/64/comments","events_url":"https://api.github.com/repos/logentries/le_node/issues/64/events","html_url":"https://github.com/logentries/le_node/issues/64","id":93357333,"number":64,"title":"SSL encrypted connection configuration does not work","user":{"login":"voitau","id":5449105,"avatar_url":"https://avatars.githubusercontent.com/u/5449105?v=3","gravatar_id":"","url":"https://api.github.com/users/voitau","html_url":"https://github.com/voitau","followers_url":"https://api.github.com/users/voitau/followers","following_url":"https://api.github.com/users/voitau/following{/other_user}","gists_url":"https://api.github.com/users/voitau/gists{/gist_id}","starred_url":"https://api.github.com/users/voitau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/voitau/subscriptions","organizations_url":"https://api.github.com/users/voitau/orgs","repos_url":"https://api.github.com/users/voitau/repos","events_url":"https://api.github.com/users/voitau/events{/privacy}","received_events_url":"https://api.github.com/users/voitau/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/logentries/le_node/labels/Bug","name":"Bug","color":"e11d21"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-07-06T19:25:21Z","updated_at":"2015-07-21T00:26:24Z","closed_at":null,"body":"I tried some combinations based on the configuration options available in this client to use SSL encrypted connection. Unfortunately, nothing worked. Here are results of investigation:\r\n\r\nHere is what they say for configuration of SSL encrypted connection in official [documentation](https://logentries.com/doc/input-token/):\r\n> For untrusted networks you can open an SSL encrypted connection to api.logentries.com, port number 20000.\r\n\r\nHowever, default secure port is [443](https://github.com/logentries/le_node/blob/master/src/node_modules/defaults.js#L10), what makes it impossible just to use `secure` option without specifying port. Same for host, where the value here is [data.logentries.com](https://github.com/logentries/le_node/blob/master/src/node_modules/defaults.js#L4), but has to be `api.logentries.com`.\r\n\r\nSo I tried some options.\r\nDoes not send anything to LE:\r\n```\r\nsecure: true,\r\nhost: 'api.logentries.com',\r\nport: '20000'\r\n```\r\nFails and crashes application:\r\n```\r\nhost: 'api.logentries.com',\r\nport: '20000'\r\n```\r\n\r\nAlso, observed some issues with configuration of ports in general. Ignores the port:\r\n```\r\nhost: 'data.logentries.com:12345'\r\n```\r\n\r\nFails to start:\r\n```\r\nhost: 'data.logentries.com',\r\nport: '12345'\r\n```"},"comment":{"url":"https://api.github.com/repos/logentries/le_node/issues/comments/123106558","html_url":"https://github.com/logentries/le_node/issues/64#issuecomment-123106558","issue_url":"https://api.github.com/repos/logentries/le_node/issues/64","id":123106558,"user":{"login":"voitau","id":5449105,"avatar_url":"https://avatars.githubusercontent.com/u/5449105?v=3","gravatar_id":"","url":"https://api.github.com/users/voitau","html_url":"https://github.com/voitau","followers_url":"https://api.github.com/users/voitau/followers","following_url":"https://api.github.com/users/voitau/following{/other_user}","gists_url":"https://api.github.com/users/voitau/gists{/gist_id}","starred_url":"https://api.github.com/users/voitau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/voitau/subscriptions","organizations_url":"https://api.github.com/users/voitau/orgs","repos_url":"https://api.github.com/users/voitau/repos","events_url":"https://api.github.com/users/voitau/events{/privacy}","received_events_url":"https://api.github.com/users/voitau/received_events","type":"User","site_admin":false},"created_at":"2015-07-21T00:26:24Z","updated_at":"2015-07-21T00:26:24Z","body":"Hi, any news on this?"}}