Make sure you use the "secure" option on the client side:

ar socket = io.connect('https://localhost', {secure: true});

Gustavo Machado
machad...@gmail.com



On Feb 21, 2013, at 3:47 PM, Harald Hanche-Olsen <han...@math.ntnu.no> wrote:

> [Burak Gürbüz <bur...@gmail.com> (2013-02-21 17:09:28 UTC)]
> 
>> Simply, the screenshot which error i get is below. I don't get this error 
>> on http.
>> <https://lh5.googleusercontent.com/-UcaYO0sCayg/USZJTPquIvI/AAAAAAAAAA4/dmTLZGlhu-I/s1600/err.png>
> 
> Take a look at 
> http://stackoverflow.com/questions/9745249/html5-websocket-with-ssl
> 
> I think I see ws: in your screenshot, which ought to have been wss:.
> 
> - Harald
> 
> -- 
> -- 
> Job Board: http://jobs.nodejs.org/
> Posting guidelines: 
> https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
> You received this message because you are subscribed to the Google
> Groups "nodejs" group.
> To post to this group, send email to nodejs@googlegroups.com
> To unsubscribe from this group, send email to
> nodejs+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/nodejs?hl=en?hl=en
> 
> --- 
> You received this message because you are subscribed to the Google Groups 
> "nodejs" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to nodejs+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
> 
> 

-- 
-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to nodejs@googlegroups.com
To unsubscribe from this group, send email to
nodejs+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to nodejs+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to