Skip to content
This repository has been archived by the owner on Apr 5, 2019. It is now read-only.

error trying to connect to node/socket.io server #2

Open
pkyeck opened this issue Jun 30, 2011 · 10 comments
Open

error trying to connect to node/socket.io server #2

pkyeck opened this issue Jun 30, 2011 · 10 comments

Comments

@pkyeck
Copy link

pkyeck commented Jun 30, 2011

i'm using node 0.50-pre and socket.io 0.7.2 and i'm getting the following error when trying to connect to my server.

client-side error:
Opening ws://MYURL:3000/socket.io/websocket
Connection failed with error: The operation couldn’t be completed. (WebSocketErrorDomain error 1.)

server is logging:
warn - unknown transport: "undefined"

should this still work?!

@pkyeck
Copy link
Author

pkyeck commented Jun 30, 2011

downgraded to socket.io 0.6.17 and i can connect successfully ...
anyone an idea what changed between these two version?

@fpotter
Copy link
Owner

fpotter commented Jun 30, 2011

A bunch of stuff changed :-) 0.7 has support for channels within the same socket.io connection. Hoping to get some time soon to add 0.7 compatibility.

@jmonster
Copy link

jmonster commented Jul 6, 2011

+1 for updating this. i am currently researching ways to implement a project at work and having native iphone/android socket.io support would simplify things greatly!

@pkyeck
Copy link
Author

pkyeck commented Jul 7, 2011

i rewrote this a couple of days ago. you can find it here: https:/pkyeck/socket.IO-objc

@plivesey
Copy link

I'm still having trouble with this issue. pkyeck, did you intend to rewrite this code to fix this issue? I still can't get it to work with your code. I'm running socket.io version 1.0.15 and wanted to try downgrading to 0.6.17 but don't know the command to do this...any advice?

Also, it works when I run from my local machine: socket.io version 1.1.0-alpha-6 with http protocol, but doesn't work when I run it from the server I'm using with https protocol. Any suggestions dealing with https? That may be the problem...

@pkyeck
Copy link
Author

pkyeck commented Jan 23, 2012

there's a version that supports SSL: https:/leftbee/socket.IO-objc
i haven't tried my version since the 0.7-era but there are some that are using the class more regulary: https:/pkyeck/socket.IO-objc/network

@plivesey
Copy link

hmmm...doesn't seem to work because websocket doesn't support wss. Do you know if theres a websocket library which supports wss and would work with this? I presume there has to be one, but leftbee doesn't seem so specify it and he's not available to message.

@dmportella
Copy link

getting the same error here but using the flash socket transport
any way to resolve the issue?

@plivesey
Copy link

plivesey commented Feb 1, 2012

So are you using wss (secure protocol)? If so, as far as I have found, there is no solution on github. If you need that as a solution, you'll need to do some coding yourself.

On Feb 1, 2012, at 4:00 AM, Daniel Portella wrote:

getting the same error here but using the flash socket transport
any way to resolve the issue?


Reply to this email directly or view it on GitHub:
#2 (comment)

@dmportella
Copy link

I was using ws, seems i had some amazon security group blocking port 843. now it is open all is working

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

5 participants