The chat widget appears empty, and I am getting various ‘mixed active content’ errors in the Console, even though I’ve enabled SSL on the RocketChat instance… might anyone have any ideas or experience in getting this going?
I was originally thinking this might be due to an environment variable. RocketChat has an environment URL called ROOT_URL that was set to http previously as it looks like that is hard-coded in the installer:
I updated that and then restarted the container. But I’m still seeing the error. Is the http version of the URL saved anywhere in the settings? Maybe after install it doesn’t look to the environment variable anymore.
I also updated the ROOT_URL variable to use https too. But then I get a white screen at the livechat URL. Would the http version be stored anywhere else (maybe as part of the widget code or in the settings of the app? It might be worth asking in the Rocket Chat support forum to see what options are for SSL. The installer uses the Rocket Chat official docker container.
As best I can tell that guide says as long as SSL is working at the proxy level (which it is now) setting the ROOT_URL should be enough. I even restarted the container. I don’t know enough about the app to speak more to that so I’d be curious if you find out more.
Nice! Glad to hear it’s working. There are some really interesting features in there I plan to look into more (live broadcasting? Hell yeah!). And yeah, Gmail works for SMTP (I think they allow 100 emails a day or something like that?), or you can use a service like Mailgun which we have documented here for Wordpress but it would be the same setup for Rocket Chat https://forums.reclaimhosting.com/t/configure-mailgun-with-wordpress/2552.