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

    Live Chat doesn't appear to work

    PeerTube
    chat live chat
    3
    6
    151
    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.
    • jdaviescoates
      jdaviescoates last edited by

      @girish said in PeerTube - Package Updates:

      [2.6.3]

      • Add prosody for livechat-plugin

      This doesn't seem to be working yet:

      Builtin Prosody and ConverseJS: KO
      
          The working dir is: /app/data/storage/plugins/data/peertube-plugin-livechat/prosody
          Prosody will run on port '52800'
          Prosody will use https://video.uniteddiversity.coop/plugins/livechat/5.7.0/router/api/ as base uri from api calls
          Prosody modules path will be '/app/data/storage/plugins/node_modules/peertube-plugin-livechat/dist/server/prosody-modules'
          Prosody rooms will be grouped by 'video'.
          By default, room content will be archived.
          Room content will be saved for '1w'
          The prosody configuration file (/app/data/storage/plugins/data/peertube-plugin-livechat/prosody/prosody.cfg.lua) exists
          Prosody configuration file content is correct.
          Pid file /app/data/storage/plugins/data/peertube-plugin-livechat/prosody/prosody.pid found
          Prosodyctl status: Prosody is running with PID 1658
          The prosody configuration file (/app/data/storage/plugins/data/peertube-plugin-livechat/prosody/prosody.cfg.lua) exists
          Prosody configuration file content is correct.
          Prosody version is 0.11.4
          API Peertube -> Prosody is OK
          API Prosody -> Peertube is KO. Response was: {"ok":false,"error":"Rejected by API"}
      

      @atridad have you got it working?

      I use Cloudron with Gandi & Hetzner

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

        Perhaps this in advance settings would help:

        In some rare case, Prosody can't call Peertube's API from its public URI. You can use this field to customise Peertube's URI for Prosody modules (for example with «http://localhost:9000»).

        Screenshot from 2022-06-08 22-31-23.png

        I use Cloudron with Gandi & Hetzner

        girish 1 Reply Last reply Reply Quote 0
        • girish
          girish Staff @jdaviescoates last edited by

          @jdaviescoates could also be that prosody is not configured properly to detect the public URI. Maybe you can put the public peertube url there.

          jdaviescoates 1 Reply Last reply Reply Quote 0
          • jdaviescoates
            jdaviescoates @girish last edited by

            @girish if I've guessed correctly it seems from the plugin diagnostics that perhaps an API key is generated or something:

            muc_create_api_url = {
              "http://localhost:9000//plugins/livechat/5.7.0/router/api/room?apikey=***APIKey***&jid={room.jid|jid_node}";
            };
              muc_log_by_default = true;
              muc_log_presences = true;
              log_all_rooms = false;
              muc_log_expires_after = "1w";
              muc_log_cleanup_interval = 14400;
              peertubelivechat_list_rooms_apikey = "***APIKey***";
              peertubelivechat_test_apikey = "***APIKey***";
              peertubelivechat_test_peertube_api_url = "http://localhost:9000//plugins/livechat/5.7.0/router/api/test?apikey=***APIKey***";
            

            I use Cloudron with Gandi & Hetzner

            1 Reply Last reply Reply Quote 0
            • ncamacho97
              ncamacho97 last edited by

              did anyone fix this issue I'm having the same problem the maker of the plugin says "he's never seen this error before and he knows nothing about docker then he stated maybe its because ipv6 isn't enabled"
              https://github.com/JohnXLivingston/peertube-plugin-livechat/issues/99

              girish 1 Reply Last reply Reply Quote 0
              • girish
                girish Staff @ncamacho97 last edited by

                @ncamacho97 this is not Reclaim Cloud btw as you say here. This is Cloudron. Are you using cloudron or something else?

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