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
  • 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 | Demo | Docs | Install
  1. Cloudron Forum
  2. Humhub
  3. Unable to use Cloudron hosted Etherpad instance within Humhub

Unable to use Cloudron hosted Etherpad instance within Humhub

Scheduled Pinned Locked Moved Unsolved Humhub
8 Posts 3 Posters 1.1k Views 3 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.
    • S Offline
      S Offline
      shrey
      wrote on last edited by shrey
      #1

      I have Humhub and Etherpad instances, both on the same Cloudron.

      Have configured Etherpad module within Humhub, as per the instructions given here:
      https://marketplace.humhub.com/module/notes/installation

      The connection is successful:
      4d219f41-bf89-41ee-a0ea-4cbbcdfc9e01-image.png

      But, when i do try to edit a Note in the Notes (Etherpad) module, i get the error:
      <my-cloudron-domain> refused to connect.

      Dev tools error:
      Refused to frame '<my-cloudron-domain>' because an ancestor violates the following Content Security Policy directive: "frame-ancestors 'none'".

      I tried configuring the Content Security Policy property for both, Humhub and Etherpad, to include frame-ancestors 'self' <other relevant domains>,
      but am still getting the same error.

      How to resolve this?

      girishG S 2 Replies Last reply
      1
      • S shrey

        I have Humhub and Etherpad instances, both on the same Cloudron.

        Have configured Etherpad module within Humhub, as per the instructions given here:
        https://marketplace.humhub.com/module/notes/installation

        The connection is successful:
        4d219f41-bf89-41ee-a0ea-4cbbcdfc9e01-image.png

        But, when i do try to edit a Note in the Notes (Etherpad) module, i get the error:
        <my-cloudron-domain> refused to connect.

        Dev tools error:
        Refused to frame '<my-cloudron-domain>' because an ancestor violates the following Content Security Policy directive: "frame-ancestors 'none'".

        I tried configuring the Content Security Policy property for both, Humhub and Etherpad, to include frame-ancestors 'self' <other relevant domains>,
        but am still getting the same error.

        How to resolve this?

        girishG Offline
        girishG Offline
        girish
        Staff
        wrote on last edited by
        #2

        @shrey I think you have to add a custom CSP to etherpad. See https://docs.cloudron.io/apps/#custom-csp

        1 Reply Last reply
        1
        • S shrey

          I have Humhub and Etherpad instances, both on the same Cloudron.

          Have configured Etherpad module within Humhub, as per the instructions given here:
          https://marketplace.humhub.com/module/notes/installation

          The connection is successful:
          4d219f41-bf89-41ee-a0ea-4cbbcdfc9e01-image.png

          But, when i do try to edit a Note in the Notes (Etherpad) module, i get the error:
          <my-cloudron-domain> refused to connect.

          Dev tools error:
          Refused to frame '<my-cloudron-domain>' because an ancestor violates the following Content Security Policy directive: "frame-ancestors 'none'".

          I tried configuring the Content Security Policy property for both, Humhub and Etherpad, to include frame-ancestors 'self' <other relevant domains>,
          but am still getting the same error.

          How to resolve this?

          S Offline
          S Offline
          shrey
          wrote on last edited by shrey
          #3

          @girish Tried that already (maybe incorrectly?).

          @shrey said in Unable to use Cloudron hosted Etherpad instance within Humhub:
          I tried configuring the Content Security Policy property for both, Humhub and Etherpad, to include frame-ancestors 'self' <other relevant domains>,
          but am still getting the same error.

          Have already set the custom CSP to:
          frame-ancestors <humhub-domain> <my-cloudron-domain>;

          1 Reply Last reply
          1
          • S Offline
            S Offline
            shrey
            wrote on last edited by shrey
            #4

            @girish Another point of observation:

            If i access Etherpad (within Humhub), when i am also logged into Cloudron in the same browser, it works.

            But, if i open Humhub in another browser (say an incognito session), Etherpad doesn't work.

            girishG 1 Reply Last reply
            1
            • S shrey

              @girish Another point of observation:

              If i access Etherpad (within Humhub), when i am also logged into Cloudron in the same browser, it works.

              But, if i open Humhub in another browser (say an incognito session), Etherpad doesn't work.

              girishG Offline
              girishG Offline
              girish
              Staff
              wrote on last edited by
              #5

              @shrey etherpad needs login, no?

              1 Reply Last reply
              0
              • S Offline
                S Offline
                shrey
                wrote on last edited by
                #6

                @girish i thought the API key was intended to take care of that (the authentication)

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

                  etherpad does an openId authentication automatically when opened (the way its implemented in upstream openid plugin), which is why it probably works when logged in, but in an incognito tab, it should redirect you to the Cloudron login, however I don't know if this is a supported workflow in humhub

                  1 Reply Last reply
                  0
                  • S Offline
                    S Offline
                    shrey
                    wrote on last edited by
                    #8

                    @nebulon that's a rather strange requirement from Etherpad: to be able to embed the app (etherpad) but still need to authenticate each user with their individual account in the originating etherpad server (despite having an API to authenticate)

                    1 Reply Last reply
                    0
                    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