fixing an error in the app package
-
The HumHub community offers an Android companion app.
https://play.google.com/store/apps/details?id=com.humhub.app&hl=en&pli=1When you install the app on your Android phone and connect to https://demo.humhub.com (which seems to be a standard HumHub installation), everything works as expected.
The moment you try to connect to a HumHub Cloudron app (on, say, https://humhub.example.org), you get an error message saying that it is not possible to load the site from http://humhub.example.org.
net::ERR_CLEARTEXT_NOT_PERMITTED
While searching the Internet for an idea on how to fix the error, I came across this solution. https://docs.humhub.org/docs/admin/reverse-proxy/
Adding this
// Enfore HTTPS link generation $_SERVER['HTTPS'] = 'on';
to
/config/web.php
solved it. But perhaps it is a good idea to set this as the default in the app package itself. -
-