[Burak Gürbüz <[email protected]> (2013-02-14 13:39:42 UTC)]
> I got a system that works on https and i got client to operator chat system
> which works via nodejs.
> It worked on other server on http but after i switched it to https, it
> didn't work.
>
> I get this error on http:
>
> SecurityError: The operation is insecure.
A possible culprit for that may be that you violated the same origin
policy.
> After that i switched http to https like this:
> io.connect("http://path:3000") den io.connect("https://path:3000")
>
> i didn't get any error but i couldn't get any connection too.
Still not a lot to go on. I suggest you take the very first example on
http://socket.io/#how-to-use and adapt it to run on https. If you can
make it work, do likewise in your bigger app, and it should work as
well. If you can't make the basic example work, show your source code
here, and someone might be able to pinpoint your mistake.
Perhaps you really should ask on the socket.io mailing list, though.
- 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 [email protected]
To unsubscribe from this group, send email to
[email protected]
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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.