I am setting up a nodejs served subdomain so that I can use socket.io. I am serving the page over https, and I got the server to function properly. The page is served. That is not the problem. The problem is when I try to connect the socket to the client. I have been trying to solve this for a while, and I am sure there is a lot of competent people out here that can help me.

This is my site https://reward.cshive.com

Error message I get:

Client-side

var socket = io.connect('https://reward.cshive.com:3000');

Server-side