Thank you for the updated module! You made quick point steps to connect Node JS without extra libraries. That's cool!
I am glad that this module has such a developer!!

I have successfully run it on a normal HTTP website. and the messages are perfectly sent without page refresh.
But to my surprise, the site running on HTTPS could not this success.
In the console, there were errors with access to the socket.io and address https://mydomain.com:8080 stopped responding.
error socet.io
What could be the problem? I tried changing HTTP to HTTPS in the app.js, but this was not enough for the correct operation.
error socet.io
I need your help!

Comments

Mmitekk created an issue. See original summary.

jaypan’s picture

On the site configuration/settings page, have you set the 'nodejs URL', and what is the value you have set? Is it HTTPS?

jaypan’s picture

Status: Active » Postponed (maintainer needs more info)
Mmitekk’s picture

StatusFileSize
new35.3 KB

Yes, that's right.
https

jaypan’s picture

It appears your SSL certificate may be incorrectly configured: https://kinsta.com/knowledgebase/err_ssl_version_or_cipher_mismatch/

I can see from the second screenshot that it is requesting the HTTPS URLs, but they are throwing the error SSL_VERSION_OR_CIPHER_MISMATCH. the link above deals with that. Are you maybe using a self-signed certificate?

Either way, I don't know enough about SSL certificates to be able to help you on this.

jaypan’s picture

Status: Postponed (maintainer needs more info) » Closed (won't fix)

Closing due to lack of a response.