Skip to content
This repository has been archived by the owner on May 14, 2024. It is now read-only.

Error connecting to server #191

Closed
leongwq opened this issue Jun 16, 2014 · 2 comments
Closed

Error connecting to server #191

leongwq opened this issue Jun 16, 2014 · 2 comments

Comments

@leongwq
Copy link

leongwq commented Jun 16, 2014

2014-06-16 12:50:14.312 Axion[1295:60b] Connecting to socket with URL: http://localhost:8888/socket.io/1/?t=1402894214312
2014-06-16 12:50:14.402 Axion[1295:60b] didReceiveResponse() 400
2014-06-16 12:50:14.403 Axion[1295:60b] ERROR: handshake failed ... Server returned status code 400
2014-06-16 12:50:14.405 Axion[1295:60b] onError() Error Domain=SocketIOError Code=-6 "The operation couldn’t be completed. (SocketIOError error -6.)" UserInfo=0xb078cd0 {NSUnderlyingError=0xb0793f0 "Server returned status code 400"}

How do i solve this error?

@jardakotesovec
Copy link

Are you using version 0.9 on the server? I think I got similar error when tried to connect to 1.0, which is not supported yet.

-- Jarda Kotěšovec

On Monday 16 June 2014 at 06:51, leongwq wrote:

2014-06-16 12:50:14.312 Axion[1295:60b] Connecting to socket with URL: http://localhost:8888/socket.io/1/?t=1402894214312
2014-06-16 12:50:14.402 Axion[1295:60b] didReceiveResponse() 400
2014-06-16 12:50:14.403 Axion[1295:60b] ERROR: handshake failed ... Server returned status code 400
2014-06-16 12:50:14.405 Axion[1295:60b] onError() Error Domain=SocketIOError Code=-6 "The operation couldn’t be completed. (SocketIOError error -6.)" UserInfo=0xb078cd0 {NSUnderlyingError=0xb0793f0 "Server returned status code 400"}
How do i solve this error?


Reply to this email directly or view it on GitHub (#191).

@edwinckc
Copy link

Jarda's probably right, it's what I got too with v1.0 of socket.io. You'll have to install v0.9 instead if you want to use this implementation. It looks like Philipp won't have time to update this for now:
See here for v1.0 support

@pkyeck pkyeck closed this as completed Jul 14, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants