KMS is latest - great Only one java process - great Is the issue reproducible at our demo-next server?
On Tue, 28 Apr 2020 at 13:18, kaffeesurrogat <kaffeesurro...@posteo.de> wrote: > > > > On 28/04/2020 06:25, Maxim Solodovnik wrote: > > Your libreoffice at server seems to be misconfigured > > No other understandable errors on the logs > > > What version of KMS are you using? > > > kurento-media-server/bionic,now 6.13.0-0kurento1.18.04 amd64 [installiert] > > > Kurento connection issues might be caused by your OM restarts i. e. Is > > it possible you have multiple om instances running? > Do I have to look for this process ? > > {output} > kurento 30582 1.1 9.4 14778360 3175232 ? Sl Apr27 6:36 > /usr/lib/jvm/java-11-openjdk-amd64/bin/java > -Djava.util.logging.config.file=/opt/open504/conf/logging.properties > -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager > -Djava.awt.headless=true -Djava.security.egd=file:/dev/./urandom > -Djdk.tls.ephemeralDHKeySize=2048 > -Djava.protocol.handler.pkgs=org.apache.catalina.webresources > -Dorg.apache.catalina.security.SecurityListener.UMASK=0027 -Xms1G -Xmx8G > -server -XX:+UseParallelGC -Dignore.endorsed.dirs= -classpath > /opt/open504/bin/bootstrap.jar:/opt/open504/bin/tomcat-juli.jar > -Dcatalina.base=/opt/open504 -Dcatalina.home=/opt/open504 > -Djava.io.tmpdir=/opt/open504/temp org.apache.catalina.startup.Bootstrap > start > {output} > > Without any user logged in to the om frontend only one process .... with > two users sharing the same room still one process. > > Can't say about the error situation with multiple users of same kind .... > > > According to duplicated users in the list: I consider it as serious issue > > Can you share steps to reproduce and/or output of browser js console? > > I really would love to do so. RIght now I have a hosted vps from strato > and two old computers at home for testing purposes. > Using local computers and a hosted vps the multiple but same user effect > didn't occur. (ubuntu 18.04 LTS) > > Talking to my colleagues (2) living at different places than mine > caused the multiple but same user effect. I guess MBSU effect is > connected to reloading the page after a lost connection. Thats > something I did once uppon a time and out of the sudden I've doubled my > testing person. In the middle you can see messages like lost connection > to mediaserver on the frontend. > This was tested after i installed coturn, but happened without any > coturn or free tun/turn server configured. > > > Is this issue reproducible on outermost server? > > If you are talking about a vps hosted by a provider, yes that is the case. > > > > > > On Tue, Apr 28, 2020, 11:16 Stefan Kühl <ste...@quatrekuehl.eu > > <mailto:ste...@quatrekuehl.eu>> wrote: > > > > Hey guys, > > > > @kaffeesurrogat: > > Check if iptables-persistant is installed. As far as I know, this > > is not standard. > > > > Try: > > > > sudo apt-get install iptables-persistent > > > > then: > > > > iptables-save > /etc/iptables/rules.v4 > > > > > > > > This should work. > > > > Greetz > > > > Hoschie > > > > > > Am 27.04.2020 23:16, schrieb Juan Antonio Moreno Carmona: > > > >> Everything seems OK. I would try first without iptables, with all > >> ports open. When you have openmeetings running smoothly then you > >> can go closing ports. > >> > >> El 27/4/20 a las 22:59, kaffeesurrogat escribió: > >>> > >>> On 27/04/2020 22:35, Juan Antonio Moreno Carmona wrote: > >>>> Ok, well. You have installed coturn, then look for a file named > >>>> turnserver.con. It can be in /etc/turnserver.conf or > >>>> /etc/turnserver/turnserver.conf. > >>>> > >>>> You must edit this file but before tell me if you have found it. > >>> ok what i did: > >>> > >>> what i did: > >>> > >>> 1) i installed coturn > >>> 2) edited /etc/default/coturn > >>> TURNSERVER_ENABLED=1 > >>> 3) mkdir -p /var/log/turnserver > >>> and > >>> chown -R kurento /var/log/turnserver > >>> 4) openssl rand -hex 32 > >>> 5) vi /etc/turnserver.conf > >>> use-auth-secret > >>> static-auth-secret=MYOPENSSLHASH > >>> user=kurento:MYNEWPASSW > >>> realm=kurent.org <http://kurent.org> > >>> log-file=/var/log/turnserver/turn.log > >>> 6) vi /etc/default/kurento-media-serve > >>> DAEMON_USER="kurento" > >>> 7) vi > >>> > >>> /opt/open504/webapps/openmeetings/WEB-INF/classes/applicationContext.xml > >>> > >>> <bean id="kurentoHandler" > >>> class="org.apache.openmeetings.core.remote.KurentoHandler" > >>> init-method="init" destroy-method="destroy" > >>> p:kurentoWsUrl="ws://127.0.0.1:8888/kurento > >>> <http://127.0.0.1:8888/kurento>" > >>> p:checkTimeout="10000" > >>> p:watchThreadCount="10" > >>> p:turnUrl="MYPUPIP:3478" > >>> p:turnUser="kurento:MYNEWPASSW" > >>> p:turnSecret="MYOPENSSLHASH" > >>> p:turnMode="rest" > >>> p:turnTtl="60" > >>> p:objCheckTimeout="200" > >>> p:flowoutTimeout="5" > >>> /> > >>> > >>> 8) chown -R kurento /opt/open504 > >>> 9) vi /etc/systemd/system/multi-user.target.wants/openmeetings.service > >>> > >>> User=kurento > >>> Group=nogroup > >>> > >>> > >>> Checked if user changed: ps aux | grep java > >>> > >>> kurento 30582 2.5 6.5 14674172 2209696 ? Sl 22:03 1:14 > >>> /usr/lib/jvm/java-11-openjdk-amd64/bin/java > >>> > >>> 10) restart coturn checked status > >>> > >>> sudo systemctl status coturn > >>> coturn.service - LSB: coturn TURN Server > >>> Loaded: loaded (/etc/init.d/coturn; generated) > >>> Active: active (running) since Mon 2020-04-27 21:58:45 CEST; > >>> 53min ago > >>> Docs: man:systemd-sysv-generator(8) > >>> Tasks: 75 (limit: 165) > >>> CGroup: /system.slice/coturn.service > >>> └─30214 /usr/bin/turnserver -c /etc/turnserver.conf -o -v > >>> > >>> 11) restarted kurento checked status > >>> > >>> sudo systemctl status korento-media-service > >>> > >>> kurento-media-server.service - LSB: Kurento Media Server daemon > >>> Loaded: loaded (/etc/init.d/kurento-media-server; generated) > >>> Active: active (running) since Mon 2020-04-27 21:59:53 CEST; > >>> 53min ago > >>> Docs: man:systemd-sysv-generator(8) > >>> Tasks: 24 (limit: 165) > >>> CGroup: /system.slice/kurento-media-server.service > >>> └─30317 /usr/bin/kurento-media-server > >>> > >>> > >>> 12) restarted openmeetings checked status > >>> > >>> sudo systemctl status openmeetings.service > >>> ● openmeetings.service - Apache OpenMeetings server > >>> Loaded: loaded (/etc/systemd/system/openmeetings.service; enabled; > >>> vendor preset: enabled) > >>> Active: active (running) since Mon 2020-04-27 22:03:09 CEST; > >>> 50min ago > >>> Process: 30542 ExecStop=/opt/open504/bin/shutdown.sh (code=exited, > >>> status=1/FAILURE) > >>> Process: 30575 ExecStart=/opt/open504/bin/startup.sh (code=exited, > >>> status=0/SUCCESS) > >>> Main PID: 30582 (java) > >>> Tasks: 105 (limit: 165) > >>> CGroup: /system.slice/openmeetings.service > >>> └─30582 /usr/lib/jvm/java-11-openjdk-amd64 > >>> > >>> 13) Opening ports .... > >>> > >>> sudo iptables -A INPUT -p tcp -m tcp --dport 3478 -j ACCEPT > >>> sudo iptables -A INPUT -p udp -m udp --dport 3478 -j ACCEPT > >>> sudo iptables -A INPUT -p tcp -m tcp --dport 5443 -j ACCEPT > >>> sudo iptables -A INPUT -p tcp -m tcp --dport 8888 -j ACCEPT > >>> sudo iptables -A INPUT -p udp --match multiport --dports 49152:65535 > >>> -j > >>> ACCEPT > >>> sudo iptables -A OUTPUT -p udp --match multiport --dports 49152:65535 > >>> -j > >>> ACCEPT > >>> > >>> > >>> 14) checked if rules are there > >>> > >>> sudo iptables -L .... seems to be right all of them where listed ... > >>> > >>> 15) saving the rules ..... > >>> > >>> !!!!!!!!!!! THAT FAILS !!!!!!!!!!! > >>> > >>> sudo service iptables save > >>> iptables: unrecognized service > >>> > >>> > >>> mmmmmm, didn't find a solution for this .... > >>> > >>> > >>> > >>> > >>>> El 27/4/20 a las 22:26, kaffeesurrogat escribió: > >>>>> Yes i installed this thing on VPS, 8 vCores, 32GB of ram ..... > >>>>> ubuntu > >>>>> 18.04 > >>>>> > >>>>> On 27/04/2020 21:59, Juan Antonio Moreno Carmona wrote: > >>>>>> Hi. > >>>>>> > >>>>>> I suppose you have Ubuntu installed on your VPS. It is right? Then > >>>>>> install the coturn package. Next you have to edit the files > >>>>>> turnserver.conf and applicationContext.xml and restart cotrun and > >>>>>> openmeetings. You can see more precise instructions in the next > >>>>>> tutorial > >>>>>> > >>>>>> > >>>>>> https://cwiki.apache.org/confluence/display/OPENMEETINGS/Tutorials+for+installing+OpenMeetings+and+Tools?preview=/27838216/152111934/Installation%20SSL%20certificates%20and%20Coturn%20for%20OpenMeetings%205.0.0-M4%20on%20Ubuntu%2018.04.pdf > >>>>>> > >>>>>> > >>>>>> > >>>>>> Juan Antonio. > >>>>>> > >>>>>> El 27/4/20 a las 21:34, kaffeesurrogat escribió: > >>>>>>> On 27/04/2020 21:30, kaffeesurrogat wrote: > >>>>>>>> On 27/04/2020 20:28, ratatouille wrote: > >>>>>>>>> Hello! > >>>>>>>>> > >>>>>>>>> Own machine for what? For a STUN-Server? I think it's the best > >>>>>>>>> to > >>>>>>>>> run such > >>>>>>>> | server on the same machine like OM. > >>>>>>>> > >>>>>>>> are there any instructions for the coturn stuff ...... can send > >>>>>>>> me a > >>>>>>>> link ? Never did that before ..... > >>>>>>> is the one from the wiki the best starting point ? I've read quite > >>>>>>> a few > >>>>>>> instructions, each one is quite good, but it would ease my work to > >>>>>>> choose the right one from the beginning. > >>>>>>> > >>>>>>> > >>>>>>>>> What OS are you using? I use CentOS 7 with coturn as > >>>>>>>>> STUN-Server. > >>>>>>>>> Runs nice. > >>>>>>>> Its ubuntu 18.04 LTS on a hostet virtual machine. > >>>>>>>> 8 vCores, 32 Gb ram > >>>>>>>> > >>>>>>>> many thanks .... > >>>>>>>> > >>>>>>>> > >>>>>>>> > >>>>>>>>> Andreas > >>>>>>>>> > >>>>>>>>> kaffeesurrogat <kaffeesurro...@posteo.de > >>>>>>>>> <mailto:kaffeesurro...@posteo.de>> schrieb am 27.04.20 um > >>>>>>>>> 19:47:26 Uhr: > >>>>>>>>> > >>>>>>>>>> Should I setup my own machine or is it save to use a public > >>>>>>>>>> one ? > >>>>>>>>>> > >>>>>>>>>> On 27/04/2020 19:41, kaffeesurrogat wrote: > >>>>>>>>>>> I didn't configure a STUN, is that the problem? Which server > >>>>>>>>>>> do > >>>>>>>>>>> you > >>>>>>>>>>> recommend for being in germany ? > >>>>>>>>>>> > >>>>>>>>>>> > >>>>>>>>>>> > >>>>>>>>>>> On 27/04/2020 19:25, kaffeesurrogat wrote: > >>>>>>>>>>>> Hey everybody, > >>>>>>>>>>>> > >>>>>>>>>>>> i just finished a testing session with OM 5.0.4 and two > >>>>>>>>>>>> colleages. It > >>>>>>>>>>>> didn't went well at all. > >>>>>>>>>>>> Quite a few error messages popped up in the middle of the > >>>>>>>>>>>> session, > >>>>>>>>>>>> uploading of docx did not work, giving or withdrawing > >>>>>>>>>>>> permissions to > >>>>>>>>>>>> draw on the white board did fail or failed not. > >>>>>>>>>>>> As my colleages logged in, they showed up twice in the user > >>>>>>>>>>>> panel on the > >>>>>>>>>>>> right sight. I've been the moderator, my colleagues the > >>>>>>>>>>>> "users". > >>>>>>>>>>>> After a short while and a couple of disconnections, I could > >>>>>>>>>>>> not > >>>>>>>>>>>> re-enter > >>>>>>>>>>>> the room because it was full. I've limited the room capacity > >>>>>>>>>>>> to > >>>>>>>>>>>> 6 people. > >>>>>>>>>>>> > >>>>>>>>>>>> > >>>>>>>>>>>> Restarting Openmeetings and KMS reentering the room for all > >>>>>>>>>>>> of > >>>>>>>>>>>> us, > >>>>>>>>>>>> cleared the problem for a short while. > >>>>>>>>>>>> > >>>>>>>>>>>> > >>>>>>>>>>>> The session was ended by a browser message, that the > >>>>>>>>>>>> connection was > >>>>>>>>>>>> lost. I've attached the the logfile from this sessions. You > >>>>>>>>>>>> will > >>>>>>>>>>>> find > >>>>>>>>>>>> quite a few messages in there. I don't know, which one is > >>>>>>>>>>>> really > >>>>>>>>>>>> important, > >>>>>>>>>>>> thus I send all of them, replacing personal information ..... > >>>>>>>>>>>> > >>>>>>>>>>>> > >>>>>>>>>>>> Many thanks in advance, > >>>>>>>>>>>> > >>>>>>>>>>>> kaffeesurrogat > >>>>>>>>>>>> > >>>>>>>>>>>> it is quite big, sorry for that ... > >>>>>>>>>>>> > > > -- Best regards, Maxim