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


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    Solved the rocket.chat snippet is not loading

    Rocket.Chat
    4
    5
    136
    Loading More Posts
    • 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.
    • JOduMonT
      JOduMonT last edited by

      So tried to integrate Rocket.Chat on my website and neither via the WordPress plugin or by copying the js snippet code before </body> it work

      This the result
      ebb0c113-ec8d-46b2-9f31-5199a63dbdc6-image.png

      here the code which as being insert on my wordpress
      8b56d6d7-81c0-41eb-a0b5-15919d763ea5-image.png

      while I directly access https://chat.jdumont.com/livechat it works

      does anyone faced this issue before ?

      1 Reply Last reply Reply Quote 0
      • nebulon
        nebulon Staff last edited by

        If you open the browser developer tools, do you see any security warnings or errors? This could be related to SCP rules, they can be adjusted per app as explained in https://docs.cloudron.io/apps/#custom-csp

        JOduMonT 1 Reply Last reply Reply Quote 1
        • nebulon
          nebulon Staff last edited by

          If you open the browser developer tools, do you see any security warnings or errors? This could be related to SCP rules, they can be adjusted per app as explained in https://docs.cloudron.io/apps/#custom-csp

          JOduMonT 1 Reply Last reply Reply Quote 1
          • rmdes
            rmdes last edited by rmdes

            Did you configured it so that you can embed your chat from your domain ?
            It's been a while I have not used it but I remember I had to kind of whitelist the domain for the embed of the chat to work

            1 Reply Last reply Reply Quote 2
            • JOduMonT
              JOduMonT @nebulon last edited by

              @nebulon said in the rocket.chat snippet is not loading:

              If you open the browser developer tools, do you see any security warnings or errors? This could be related to SCP rules, they can be adjusted per app as explained in https://docs.cloudron.io/apps/#custom-csp

              thank, I kind knew it was that, but was unable to figure it 🙂

              by adding frame-ancestors site.example.com; under rocket.chat apps it work like a charm

              1 Reply Last reply Reply Quote 2
              • jdaviescoates
                jdaviescoates last edited by

                Just to add, when I was setting this up I found the WordPress plugin didn't work, but the pasting code snippet did.

                I use Cloudron with Gandi & Hetzner

                1 Reply Last reply Reply Quote 1
                • First post
                  Last post
                Powered by NodeBB