Few issues with Videoconference modules
alexcustos opened this issue · 8 comments
Hello, When I try to install Videoconference on my OpenPaaS instance, I found the documentation is not helping in many aspects, so I believe the main OpenPaaS repository is a right place for the issue. If it's not, please let me know the correct direction.
Here the issues:
-
The modified docker-jitsi-meet is not available (at least for public) and linagora/jitsi-meet has not enough information to build it as a Docker container.
-
linagora.esn.videoconference.calendar module crashes with error:
message: 'Fatal error:',
meta: TypeError: Cannot read property 'register' of undefined
at Object.init (/var/www/modules/linagora.esn.videoconference.calendar/backend/lib/email-processors/index.js:10:36)
at Object.deploy (/var/www/modules/linagora.esn.videoconference.calendar/index.js:48:27)
at Promise.apply (/var/www/modules/linagora.esn.videoconference.calendar/node_modules/q/q.js:1165:26)
at Promise.promise.promiseDispatch (/var/www/modules/linagora.esn.videoconference.calendar/node_modules/q/q.js:788:41)
at /var/www/modules/linagora.esn.videoconference.calendar/node_modules/q/q.js:1391:14
at runSingle (/var/www/modules/linagora.esn.videoconference.calendar/node_modules/q/q.js:137:13)
at flush (/var/www/modules/linagora.esn.videoconference.calendar/node_modules/q/q.js:125:13)
at _combinedTickCallback (internal/process/next_tick.js:132:7)
at process._tickCallback (internal/process/next_tick.js:181:9)
-
linagora.esn.videoconference seems not working properly neither. It registers API backend at /videoconference/api/conference/, but openpaas-videoconference-app failes with error message
We are sorry, but the conference room couldn't be joined...
. The app seems communicates well to offical Jitsy Meet (camera turns on, and console shows no error). -
And there is one more issue with the linagora.esn.videoconference module, its menu item points to
/[object Object]
.
Hello @alexcustos,
Thanks for your message. Let's try to fix it even if the videoconference module has not been released officially.
- I fixed the permissions on https://ci.linagora.com/linagora/lgs/openpaas/docker-jitsi-meet and you should be able to access it. Anyway this is just a fork of https://github.com/jitsi/docker-jitsi-meet and you should be able to use it also
- Make sure that your linagora.esn.calendar is up to date. The linagora.esn.videoconference.calendar module uses a new API from it
- Did you configure things correctly like defined in https://docs.open-paas.org/modules/videoconference/index/#configure ?
- This is probably linked to 3, and we will fix it
Hello @chamerling, Thank you for your response. I switched calendar and a few related modules to their GIT master branches so them all now version 1.4.0-dev.
"linagora.esn.calendar": "git+https://ci.linagora.com/linagora/lgs/openpaas/linagora.esn.calendar#master",
"linagora.esn.calendar.collect.email": "git+https://ci.linagora.com/linagora/lgs/openpaas/linagora.esn.calendar.collect.email#master",
"linagora.esn.dav.import": "git+https://ci.linagora.com/linagora/lgs/openpaas/linagora.esn.dav.import#master",
It seems there is no issue to enable the linagora.esn.videoconference.calendar module anymore, but I still don't see it in the admin UI and nothing noticeable was changed.
I also experimented with Jitsy for awhile and found that conference app can communicate with it only when authentication is disabled ENABLE_GUESTS=1
. The Share conference
option is still not working with the same error We have not been able to generate your public conference
, but it's OK for me. The only issue is the conference app requires Jitsy at front-end, but in general, it's not good to allow unauthenticated assess to it.
Could you please confirm that it's normal behavior at the moment, or I missed something?
About my Video Conference module configuration, I tried to specify the HTTP scheme in Jitsi HTTP URL
, but the app ignores it and always connects to HTTPS instead. Hope it's not an issue because as I can see, both Jitsy and the Videoconference app are working perfectly behind a reverse proxy (NGINX).
Did you also added linagora.esn.videoconference
module in config/default.json
so that the module is loaded? If yes, as an OpenPaaS admin, you should see the videoconference module administration in the Modules section
Then you have to set 2 URLs: The Jitsi HTTP URL
is the HTTP URL of your jitsi instance, the Conference application URL
is the HTTP URL of where you deployed the openpaas-videoconference-app.
Once configured, you should be able to click on the videoconference app in the application menu which will open the openpaas-videoconference-app in a new browser.
On the openpaas-videoconference-app, you also have to do some configuration. You have to tell it where the OpenPaaS instance is running so it can call it. This is explained here https://ci.linagora.com/linagora/lgs/openpaas/openpaas-videoconference-app#run (even if not running in docker, sorry this is not clear and will be fixed).
Authentication at the jitsi side is in the roadmap
Yes, with authentication disabled, all seems working perfectly normal. Except, I still can't get the menu item point to the Conference app URL. But when I open window/tab manually, everything looks good. I tried to debug that part, but I only managed to replace the icon, the URL part was not changed even when I replaced it with static text. It seems that call doesn't meet the library's interface.
I'm also having trouble with this
-
I cannot access https://ci.linagora.com/linagora/lgs/openpaas/docker-jitsi-meet either. I tried with my gitlab account, but I guess it is not entirely public. I managed to make it work using the original docker-jitsi-meet
-
I'm using a custom image based on linagora/esn:latest, where I installed the required modules (I will add the calendar update to it, so I can try the suggested solution)
Just for the record:
FROM linagora/esn:latest
COPY linagora.esn.videoconference /var/www/linagora.esn.videoconference
COPY linagora.esn.videoconference.calendar /var/www/linagora.esn.videoconference.calendar
WORKDIR /var/www
RUN cd linagora.esn.videoconference \
&& npm install \
&& npm link \
&& cd ../ \
&& cd linagora.esn.videoconference.calendar \
&& npm install \
&& npm link \
&& cd ../ \
&& npm link linagora.esn.videoconference \
&& npm link linagora.esn.videoconference.calendar
EXPOSE 8080
CMD ["sh", "/var/www/docker/scripts/start.sh"]
- If I directly use jitsi, both as Jitsi HTTP url and as conference application URL, it works. I am however unable to make the openpaas app work as well:
5.1 Frontend redirects to APP_URL/token, resulting in a 404
5.2 If I go to the APP_URL, and login there, it seems to try to access the conference list, but I end up with a security failure SSL_ERROR_RX_RECORD_TOO_LONG
Is there any update to the video conference module in v 1.8?
@chamerling is still video conference module supported in OP ?
Hello,
Yes it is, it allows to link to a Jitsi instance in several places. Anyway the issues related to Jitsi docker images can be skipped. There is no need to use our images anymore.