{"action":"opened","issue":{"url":"https://api.github.com/repos/socketio/socket.io-client-java/issues/260","labels_url":"https://api.github.com/repos/socketio/socket.io-client-java/issues/260/labels{/name}","comments_url":"https://api.github.com/repos/socketio/socket.io-client-java/issues/260/comments","events_url":"https://api.github.com/repos/socketio/socket.io-client-java/issues/260/events","html_url":"https://github.com/socketio/socket.io-client-java/issues/260","id":120569891,"number":260,"title":"EngineIOException: server error","user":{"login":"andershagebakken","id":8410327,"avatar_url":"https://avatars.githubusercontent.com/u/8410327?v=3","gravatar_id":"","url":"https://api.github.com/users/andershagebakken","html_url":"https://github.com/andershagebakken","followers_url":"https://api.github.com/users/andershagebakken/followers","following_url":"https://api.github.com/users/andershagebakken/following{/other_user}","gists_url":"https://api.github.com/users/andershagebakken/gists{/gist_id}","starred_url":"https://api.github.com/users/andershagebakken/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andershagebakken/subscriptions","organizations_url":"https://api.github.com/users/andershagebakken/orgs","repos_url":"https://api.github.com/users/andershagebakken/repos","events_url":"https://api.github.com/users/andershagebakken/events{/privacy}","received_events_url":"https://api.github.com/users/andershagebakken/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-12-05T16:34:10Z","updated_at":"2015-12-05T16:34:10Z","closed_at":null,"body":"Hi. I am trying to connect to my node.js socket.io server (at 127.0.0.1:9000), but I keep getting the same error: \r\n\"io.socket.engineio.client.EngineIOException: server error\".\r\nI am connecting to the same server from a website without any issues. All I have done is added all the dependencies from maven, and tried to add some demo code.\r\n\r\n     IO.Options opts = new IO.Options();\r\n     opts.forceNew = true;\r\n     opts.query = \"user=testUsername\";\r\n     opts.reconnection = true;\r\n     mSocket = IO.socket(url, opts);\r\n     mSocket.connect();\r\n\r\nThis is the one that gets the error:\r\n    mSocket.on(Socket.EVENT_CONNECT_ERROR, new Emitter.Listener()...\r\n\r\nThe server also prints all these lines:\r\nGET /socket.io/?EIO=3&user= testUsername&transport=polling 200 1ms - 7.77kb\r\nGET /socket.io/?EIO=3&user= testUsername&transport=polling 200 0ms - 7.77kb\r\nGET /socket.io/?EIO=3&user= testUsername&transport=polling 200 1ms - 7.77kb\r\nGET /socket.io/?EIO=3&user= testUsername&transport=polling 200 1ms - 7.77kb\r\n\r\nWhat can I do to fix this? Thanks for your time and help.\r\n"}}