Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps - Status | Demo | Docs | Install
  1. Cloudron Forum
  2. Humhub
  3. fixing an error in the app package

fixing an error in the app package

Scheduled Pinned Locked Moved Solved Humhub
3 Posts 2 Posters 1.0k Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • luckowL Offline
    luckowL Offline
    luckow
    translator
    wrote on last edited by
    #1

    The HumHub community offers an Android companion app.
    https://play.google.com/store/apps/details?id=com.humhub.app&hl=en&pli=1

    When 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.

    Pronouns: he/him | Primary language: German

    1 Reply Last reply
    2
    • nebulonN Offline
      nebulonN Offline
      nebulon
      Staff
      wrote on last edited by
      #2

      Can confirm this fixes the android app login! Well spotted. Have to check if the web.php file is the best though, as in the Cloudron package it is in /app/data while I guess this should really be part of the fixed packaging code to configure HTTPS

      1 Reply Last reply
      1
      • nebulonN Offline
        nebulonN Offline
        nebulon
        Staff
        wrote on last edited by
        #3

        Fix with latest package now.

        1 Reply Last reply
        2
        • nebulonN nebulon has marked this topic as solved on

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Bookmarks
        • Search