{"action":"opened","issue":{"url":"https://api.github.com/repos/moonpyk/node-ntp-client/issues/7","labels_url":"https://api.github.com/repos/moonpyk/node-ntp-client/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/moonpyk/node-ntp-client/issues/7/comments","events_url":"https://api.github.com/repos/moonpyk/node-ntp-client/issues/7/events","html_url":"https://github.com/moonpyk/node-ntp-client/issues/7","id":122337355,"number":7,"title":"Closing closed connection ntp-client.js:80:24","user":{"login":"gfduszynski","id":1913102,"avatar_url":"https://avatars.githubusercontent.com/u/1913102?v=3","gravatar_id":"","url":"https://api.github.com/users/gfduszynski","html_url":"https://github.com/gfduszynski","followers_url":"https://api.github.com/users/gfduszynski/followers","following_url":"https://api.github.com/users/gfduszynski/following{/other_user}","gists_url":"https://api.github.com/users/gfduszynski/gists{/gist_id}","starred_url":"https://api.github.com/users/gfduszynski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gfduszynski/subscriptions","organizations_url":"https://api.github.com/users/gfduszynski/orgs","repos_url":"https://api.github.com/users/gfduszynski/repos","events_url":"https://api.github.com/users/gfduszynski/events{/privacy}","received_events_url":"https://api.github.com/users/gfduszynski/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-12-15T18:42:00Z","updated_at":"2015-12-15T18:42:00Z","closed_at":null,"body":"If connection gets closed due to external event\r\nerror is experienced after attempt to send 'ntpData'.\r\n\r\nConnection should be only closed if open :)\r\n\r\nDetails:\r\n```\r\ndgram.js:420\r\n    throw new Error('Not running'); // error message from dgram_legacy.js\r\n          ^\r\nError: Not running\r\n    at Socket._healthCheck (dgram.js:420:11)\r\n    at Socket.close (dgram.js:327:8)\r\n    at /opt/cos-medico/new/node_modules/ntp-client/lib/ntp-client.js:80:24\r\n    at dgram.js:297:21\r\n    at asyncCallback (dns.js:68:16)\r\n    at Object.onanswer [as oncomplete] (dns.js:124:7)\r\n```"}}