Live Chat doesn't appear to work
-
@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?
-
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»).

-
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»).

-
@jdaviescoates could also be that prosody is not configured properly to detect the public URI. Maybe you can put the public peertube url there.
@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***"; -
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 -
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
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