Skip to content

Connecting to nodejs on http from https site #218

Description

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!

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions