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.
Thanks for looking into it Tim! I’ve been looking for that too but so far no luck. If you look at the source of the Web page it does have the https but yet it gives that error. I will keep digging
It is an SSL issue as browsers will not embed a widget that is not at least as secure as the parent site, here is what I see as an error in the console:
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.
I changed that for my instance to use https and then I restarted the container and that seemed to take. Give that a shot and feel free to DM me a login if you want me to take a deeper look.
Thanks so much @timmmmyboy, you found the issue! I changed that Admin URL to https, restarted the container, and indeed it worked:tada: Now we both know how to get RC going on Reclaim Cloud!
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.