Connecting to nodejs on http from https site #218

Open
ExpectZero opened this Issue Mar 20, 2013 · 1 comment

Comments

Projects
None yet
1 participant

Hi,
i'm trying to establish a connection from my drupal site that runs over https to my nowjs server that runs over usual http.

The now.js script is added sucessfully to my site: "http://127.0.0.1:8080/nowjs/now.js"

but when the now.js script tries to load the socket.io script, it tries to load the script from
"https://127.0.0.1:8080/socket.io/socket.io.js"

The script can not be loaded because the nodejs server doesn't support https.
Is there a workaround for this? Maybe a bug? How can i solve the problem?

Thank you!

When i try to set the address "http://127.0.0.1" to the options array of the now.initialize function the script tries to load from "https://http//127.0.0.1:8080/socket.io/socket.io.js" and its still not working...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment