{"action":"created","issue":{"url":"https://api.github.com/repos/socketio/socket.io-client-java/issues/233","labels_url":"https://api.github.com/repos/socketio/socket.io-client-java/issues/233/labels{/name}","comments_url":"https://api.github.com/repos/socketio/socket.io-client-java/issues/233/comments","events_url":"https://api.github.com/repos/socketio/socket.io-client-java/issues/233/events","html_url":"https://github.com/socketio/socket.io-client-java/issues/233","id":112765281,"number":233,"title":"java.net.MalformedURLException: Unknown protocol: ws","user":{"login":"Zo2m4bie","id":4004436,"avatar_url":"https://avatars.githubusercontent.com/u/4004436?v=3","gravatar_id":"","url":"https://api.github.com/users/Zo2m4bie","html_url":"https://github.com/Zo2m4bie","followers_url":"https://api.github.com/users/Zo2m4bie/followers","following_url":"https://api.github.com/users/Zo2m4bie/following{/other_user}","gists_url":"https://api.github.com/users/Zo2m4bie/gists{/gist_id}","starred_url":"https://api.github.com/users/Zo2m4bie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Zo2m4bie/subscriptions","organizations_url":"https://api.github.com/users/Zo2m4bie/orgs","repos_url":"https://api.github.com/users/Zo2m4bie/repos","events_url":"https://api.github.com/users/Zo2m4bie/events{/privacy}","received_events_url":"https://api.github.com/users/Zo2m4bie/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/socketio/socket.io-client-java/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-10-22T09:32:28Z","updated_at":"2015-10-22T14:46:54Z","closed_at":null,"body":"Hi. i try to connect to socket server which start with \"ws://...\" and when I set this url to \r\n\r\n     IO.socket(pathSocket, options);\r\n\r\nI receive error\r\n\r\n     java.lang.RuntimeException: java.net.MalformedURLException: Unknown protocol: ws\r\n     W/System.err﹕ at io.socket.client.Url.parse(Url.java:52)\r\n     W/System.err﹕ at io.socket.client.IO.socket(IO.java:60)\r\n     W/System.err﹕ at io.socket.client.IO.socket(IO.java:41)"},"comment":{"url":"https://api.github.com/repos/socketio/socket.io-client-java/issues/comments/150249153","html_url":"https://github.com/socketio/socket.io-client-java/issues/233#issuecomment-150249153","issue_url":"https://api.github.com/repos/socketio/socket.io-client-java/issues/233","id":150249153,"user":{"login":"nkzawa","id":775227,"avatar_url":"https://avatars.githubusercontent.com/u/775227?v=3","gravatar_id":"","url":"https://api.github.com/users/nkzawa","html_url":"https://github.com/nkzawa","followers_url":"https://api.github.com/users/nkzawa/followers","following_url":"https://api.github.com/users/nkzawa/following{/other_user}","gists_url":"https://api.github.com/users/nkzawa/gists{/gist_id}","starred_url":"https://api.github.com/users/nkzawa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nkzawa/subscriptions","organizations_url":"https://api.github.com/users/nkzawa/orgs","repos_url":"https://api.github.com/users/nkzawa/repos","events_url":"https://api.github.com/users/nkzawa/events{/privacy}","received_events_url":"https://api.github.com/users/nkzawa/received_events","type":"User","site_admin":false},"created_at":"2015-10-22T14:46:54Z","updated_at":"2015-10-22T14:46:54Z","body":"Just use `http://` or `https://`. They are actually the same with `ws://` and `wss://` ."}}