{"action":"created","issue":{"url":"https://api.github.com/repos/mqttjs/MQTT.js/issues/244","labels_url":"https://api.github.com/repos/mqttjs/MQTT.js/issues/244/labels{/name}","comments_url":"https://api.github.com/repos/mqttjs/MQTT.js/issues/244/comments","events_url":"https://api.github.com/repos/mqttjs/MQTT.js/issues/244/events","html_url":"https://github.com/mqttjs/MQTT.js/issues/244","id":56167860,"number":244,"title":"warn on connect to a non ws enabled MQTT sever","user":{"login":"gorhgorh","id":288803,"avatar_url":"https://avatars.githubusercontent.com/u/288803?v=3","gravatar_id":"","url":"https://api.github.com/users/gorhgorh","html_url":"https://github.com/gorhgorh","followers_url":"https://api.github.com/users/gorhgorh/followers","following_url":"https://api.github.com/users/gorhgorh/following{/other_user}","gists_url":"https://api.github.com/users/gorhgorh/gists{/gist_id}","starred_url":"https://api.github.com/users/gorhgorh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gorhgorh/subscriptions","organizations_url":"https://api.github.com/users/gorhgorh/orgs","repos_url":"https://api.github.com/users/gorhgorh/repos","events_url":"https://api.github.com/users/gorhgorh/events{/privacy}","received_events_url":"https://api.github.com/users/gorhgorh/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-02-01T16:03:24Z","updated_at":"2015-02-03T14:44:52Z","closed_at":null,"body":"when used as a browserify module mqtt.js uses a websocket connection and need a broker set up accordingly, if the server is not set up to accept ws but is at the right adress  /port mqtt.js does not warn you.\r\ntook me a bit of time before realising that, a simple warning could be handy"},"comment":{"url":"https://api.github.com/repos/mqttjs/MQTT.js/issues/comments/72661783","html_url":"https://github.com/mqttjs/MQTT.js/issues/244#issuecomment-72661783","issue_url":"https://api.github.com/repos/mqttjs/MQTT.js/issues/244","id":72661783,"user":{"login":"mcollina","id":52195,"avatar_url":"https://avatars.githubusercontent.com/u/52195?v=3","gravatar_id":"","url":"https://api.github.com/users/mcollina","html_url":"https://github.com/mcollina","followers_url":"https://api.github.com/users/mcollina/followers","following_url":"https://api.github.com/users/mcollina/following{/other_user}","gists_url":"https://api.github.com/users/mcollina/gists{/gist_id}","starred_url":"https://api.github.com/users/mcollina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mcollina/subscriptions","organizations_url":"https://api.github.com/users/mcollina/orgs","repos_url":"https://api.github.com/users/mcollina/repos","events_url":"https://api.github.com/users/mcollina/events{/privacy}","received_events_url":"https://api.github.com/users/mcollina/received_events","type":"User","site_admin":false},"created_at":"2015-02-03T14:44:52Z","updated_at":"2015-02-03T14:44:52Z","body":"Cool! If it works prepare a PR :D."}}