Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Connecting to nodejs on http from https site #218

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

Connecting to nodejs on http from https site #218

ExpectZero opened this issue Mar 20, 2013 · 1 comment

Comments

@ExpectZero
Copy link

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!

@ExpectZero
Copy link
Author

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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant