{"action":"created","issue":{"url":"https://api.github.com/repos/socketio/socket.io-client-java/issues/233","repository_url":"https://api.github.com/repos/socketio/socket.io-client-java","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,"assignees":[],"milestone":null,"comments":8,"created_at":"2015-10-22T09:32:28Z","updated_at":"2016-10-12T07:36:04Z","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/253140803","html_url":"https://github.com/socketio/socket.io-client-java/issues/233#issuecomment-253140803","issue_url":"https://api.github.com/repos/socketio/socket.io-client-java/issues/233","id":253140803,"user":{"login":"sindrenm","id":386122,"avatar_url":"https://avatars.githubusercontent.com/u/386122?v=3","gravatar_id":"","url":"https://api.github.com/users/sindrenm","html_url":"https://github.com/sindrenm","followers_url":"https://api.github.com/users/sindrenm/followers","following_url":"https://api.github.com/users/sindrenm/following{/other_user}","gists_url":"https://api.github.com/users/sindrenm/gists{/gist_id}","starred_url":"https://api.github.com/users/sindrenm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sindrenm/subscriptions","organizations_url":"https://api.github.com/users/sindrenm/orgs","repos_url":"https://api.github.com/users/sindrenm/repos","events_url":"https://api.github.com/users/sindrenm/events{/privacy}","received_events_url":"https://api.github.com/users/sindrenm/received_events","type":"User","site_admin":false},"created_at":"2016-10-12T07:36:04Z","updated_at":"2016-10-12T07:36:04Z","body":"This is caused by java.net.URL not knowing how to open a connection towards a `ws://` stream. It could be solved by using java.net.URI instead, which is what the [Java-WebSocket library uses][uri].\r\n\r\n[uri]: https://github.com/TooTallNate/Java-WebSocket/blob/58d17786958ec2b629b75de1eed00915b3e4f7c4/src/main/java/org/java_websocket/client/WebSocketClient.java#L37"}}
{"actor":{"display_login":"sindrenm"}}