-
Notifications
You must be signed in to change notification settings - Fork 96
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
module:hook("muc-room-created") not called #11
Comments
Hi @tsproesser ! So your bug is related to #8 right? Well as soon as I get another Jitsi instance I will try to debug that. As well as #8 I suspect a wrong configuration with the plugin or JWT authentication (or depending on your OS, even the version of Prosody can be a problem, if I remember correctly the ideal version would be Prosody 0.11.X). FYI I am using another Jitsi instance with Debian 10 running fine with this plugin and another addition from me NOTE: For some reason Github incorrectly linked the jitsi-meet issue, correct link is Roles in default JWT implementation #7114 |
Authentication works for me - JWTs are authenticated correctly but just the hook isn't called. In my case it's "muc-room-created" that is never called, so your hooks won't get registered. |
Hi @tsproesser ! Could you give me more information about your deploy?
Just to try to direct you, if the JWT is working correctly, my suspicions fall on the version of Prosody and some malfunction of the plugin and / or dependency. I have to see, I don't remember if it was in this plugin that I had to use a fork of a lib ... Another important question, do you have any logs you could share? Maybe enable debug and / or error logs on Prosody. You should get some output with Thanks in advance. |
Hey, right now I'm just using the latest Docker images from DockerHub with a very close-to-default configuration. In the logs I can see that the module is loaded, there are no errors, but the hook is never called. Thank you in advance! |
I never touched the installation of Jitsi in Docker, I will research. |
Hey, We've actually recent switched to the Jitsi docker setup, I believe we are using the latest jitsi docker release as of a week or two ago and it is working fine. Just to dump some ideas (warning: large stream of consciousness ahead):
Sorry i couldn't be more help, most of these ideas seem pretty unlikely to be the problem tbh, if i have any other ideas I'll let you know. |
6 and 7. Me too, and I generate based on Moodle input, and I think that doesn't affect it.
|
Did you mean you are using this plugin with Docker and it is working for you? Are you using the "latest" version of all the containers right now? Than I really don't get why it should behave different for me. Thank you very much for your support! But it seams like all your points are ok for me. Bzw, I've disabled p2p so Jitsi uses the video bridge even in a 1-on-1 call but that did noch change this problem. Weird thing is that the plugin definitely gets loaded but the hook is never called. I've even added this hook to check and it works:
|
Yeah we are using it with the Docker release from https://github.com/jitsi/docker-jitsi-meet/ Any chance you cloned/installed from the master branch rather than latest release build? looks like there are a few changes on master that haven't been published as a release. |
jitsi/jicofo:latest (stable-4627-1) These are the images we are using - almost stock configured. Added the lua-module and edited config file "/prosody/config/conf.d/jitsi-meet.cfg.lua" ("modules_enabled", "token_moderation"). And add_timer-hook of the module writes to log. Anything I could have missed? Edit: Sorry for pushing - but no idea? I'd really love to see it up & running! |
This is how I fixed it. Instructions were a little unclear. In my .env file:
|
Hi @tsproesser ! Did you have success in your try? In the mean time @stablestud added some instructions on the |
Thank you very much, we managed it via @aclaghorn 's post 👍 |
Cool! Then I will close this issue :D |
Maybe this will save time for someone : I couldn't get it to work until I realized there was a 3rd parameter to handle priority.
|
Hey,
sure this isn't an issue of this plugin, but maybe someone had similar problems / can support me with this? Just as descibed in https://github.com/jitsi/jitsi-meet/issues/7114, the plugin won't work for me because the hook is never called. Anything that could cause this issue?
The text was updated successfully, but these errors were encountered: