Bot shows not secure not supporting https

My suggestion is that you try using an nginx proxy. The proxy will need to be configured with a valid certificate in order to use ssl and thus accept https requests. I use certbot to get free certificates from LetsEncrypt. You then just setup nginx to listen on some port (I’m using 8443) for https connections from the chatroom widget running on your https-enabled host webpage. The nginx proxy, listening for https connections will forward them to your bot that’s listening on port 5005 using http, handling all the needed https ↔ http conversions. To your browser, everything will appear to be served over https and it will then be a happy browser and allow the connection to happen without complaining.

There are plenty of online resources available about running nginx as a proxy.

There are probably other ways to solve this, but I’ve no experience of them. What I described above solves the problem you posted about in the first post, for the way I’m running things. I don’t know if it will for you.

1 Like