Re: No possibility to access camera and microphone

2020-03-24 Thread Marcus Schulz
Hi,
I just subscribed  to this list. I had the same problems and managed to get it 
works after tweo nights. I needed it also for a virtual classroom (who does not 
at the moemnt?? ) and for office.Please don't blame me, if i did not follow 
some rules here at the moment.I just want to help.
My set up: ubuntu 18.04 lts image at a Strato VServer. OpenMeeting M3.
First steps:I took the installation guide for ubuntu I found at the open 
meetings project site. Worked like a charm.Then I saw green bars when someone 
spoke, but no sound and no video except my own.
first i had to run kurento not as user nobody as decribed, but I used default 
kurento. Otherwise there where exceptions cause home folder is "/nonexistent" 
and gstreamer caches failed to work.Not sure if it's important, but I fixed it 
for me. My openmeeting installation runs with user kurento also. Just change it 
in the /etc/init.d/tomcat3 skript and chown -R kurento /opt/open503 of 
course.When the compilation of ffmpeg that is made by the skript provided 
fails, just install the missing dev packages. Don't remeber all. But's that's 
easy to find out, because "make " complains about.
Then I saw in the logs that connection to kurento server fails for web sockets.
I read in the net and found that a turnserver is needed, when clients accessing 
kurento are located behind NAT. Guess almsot every home dial has such a setup, 
so I did it.If I am wrong with it, and that's only needed, If openmeetings is 
behind NAT, please tell me. Than I remove it again.
if needed:
apt-get install coturn
vi /etc/turnserver.conf
configure 
this:realm=kurento.orguser=kurento:somepasslog-file=/var/log/turnserver/turnserver.log
I think that has been all.


Then:
vi 
/etc/kurento/modules/kurento/WebRtcEndpoint.conf.iniedit:turnURL=kurento:somepass@:3478
restart everything.
Than didn't work very much better also, so I took a look at iptables log file.
I added this rules:
iptables -A INPUT -p udp -m udp  --dport 1:65535 -j ACCEPTiptables -A 
OUTPUT -p udp -m udp  --sport 1:65535 -j ACCEPTiptables -A INPUT -p udp -m 
udp --dport 3478 -j ACCEPTiptables -A OUTPUT -p udp -m udp --sport 3478 -j 
ACCEPT
Now it works for me.
There is may be missing something or useless. But finally I got a working 
solution.I am no WebRTC expert... just a JEE Developer with loves Linux for 
years :)
Any suggestions or hints if somhing is wrong or useless are welcome.
Kind regards
Marcus
Am Dienstag, den 24.03.2020, 19:22 +0100 schrieb Stefan Kühl:
> Hey @all
> sudo apt-get update && sudo apt-get install --no-install-recommends --yes \   
>  gnupg
> sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 5AFA7A83
> 
> 
> sudo tee "/etc/apt/sources.list.d/kurento.list" >/dev/null < Media Server - Release packagesdeb [arch=amd64] 
> http://ubuntu.openvidu.io/6.13.0 bionic kms6EOF
> 
> 
> sudo apt-get update && sudo apt-get install --yes kurento-media-server
>  
> worked for me.
> @Andreas, please try it from scratch and by the way -> 64bit OS ?
> Greetz
> Stefan
> Am 24.03.2020 18:49, schrieb df...@gmx.de:
> > Am Dienstag, 24. März 2020, 18:33:34 CET schrieb Maxim Solodovnik:
> > > have you replaced $DISTRO with `bionic` ?
> > 
> >  yes, I have done so.
> >  
> > 
> > > If yes and still no luck: the only option to use docker ...
> > 
> >  seems so. Very sad: I want to go the way "use as much out of repos as
> >  possible" - but that seems to stuck here.
> >  
> >  I want to set up a possibility to serve virtual classrooms here in Germany 
> > with OM.
> >  I am an employee of a school and most commercial servers have reached their
> >  limit so education is a good that is highly needed. I will try docker 
> > solution.
> >  
> >  In parallel I am developing a server solution which is Arch-based. Here 
> > kurento-media-server
> >  is in the AURS - but I am not ready to switch from Debian to Arch at the 
> > moment...
> >  
> >  Thanks for all your efforts. You are supporting menkind :)
> >  
> >  Greetings
> >  
> >  
> >  


Re: No possibility to access camera and microphone

2020-03-24 Thread Marcus Schulz
That's my /etc/apt/sources.list.d
deb [arch=amd64] http://ubuntu.openvidu.io/6.10.0 bionic kms6deb [arch=amd64] 
http://mirror.yandex.ru/ubuntu/ bionic main restricteddeb [arch=amd64] 
http://mirror.yandex.ru/ubuntu/ bionic universe
apt update
then it worked. just installed it
Am Dienstag, den 24.03.2020, 18:18 +0100 schrieb df...@gmx.de:
> yes - already done.
> $ apt-get install kurento-media-serverPaketlisten werden gelesen... 
> FertigAbhängigkeitsbaum wird aufgebaut.   Statusinformationen werden 
> eingelesen FertigE: Paket kurento-media-server kann nicht gefunden werden.
> $ apt-cache search kurentokms-cmake-utils - Kurento CMake 
> utilskurento-module-creator - Kurento Module Creator
> There is no kurento-media-server.
> Am Dienstag, 24. März 2020, 18:01:50 CET schrieb Maxim Solodovnik:
> > The steps for Ubuntu 18.04
> > sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 5AFA7A83
> > sudo tee "/etc/apt/sources.list.d/kurento.list" >/dev/null < > Media Server - Release packagesdeb [arch=amd64] 
> > http://ubuntu.openvidu.io/6.13.0 $DISTRO kms6
> > EOF
> 
> 
> 


Re: video problems

2020-03-26 Thread Marcus Schulz
Take a look at the kern.log, if your firewall drops sth.
I guess sth. like this would help:
iptables -A INPUT -p udp -m udp  --dport 1:65535 -j ACCEPTiptables -A 
OUTPUT -p udp -m udp  --sport 1:65535 -j ACCEPTiptables -A INPUT -p udp -m 
udp --dport 3478 -j ACCEPTiptables -A OUTPUT -p udp -m udp --sport 3478 -j 
ACCEPT
Am Donnerstag, den 26.03.2020, 21:04 +0100 schrieb stefanx:
> Our Server has an official ip adress (no NAT), I've read something about the 
> turn server in this forum,but it isn't really understandable to me. That 
> means the installation manual for Ubuntu 18.04 
> inhttps://cwiki.apache.org/confluence/display/OPENMEETINGS/Tutorials+for+installing+OpenMeetings+and+Tools
> isn't really complete ?
> 
> Am 26.03.20 um 20:47 schrieb Denis Noctor:
> > Hi there lots of info in forum regarding NAT / Coturn and Turnserver. I 
> > will be posting to this forum shortly regarding my “almost” 99.9 % working 
> > setup...
> > Sent from my iPhone
> > > On Mar 26, 2020, at 1:42 PM, stefanx  wrote:
> > > Hello,
> > > I'm new to Openmeetings, I've installed Openmeetings on Ubuntu 18.04 
> > > according 
> > > tohttps://cwiki.apache.org/confluence/display/OPENMEETINGS/Tutorials+for+installing+OpenMeetings+and+Tools
> > > Everything seems to work, with one exception: In a room all users can 
> > > only see there own video, but theycannot get a video connection to the 
> > > other users (audio works). I've disabled the firewall, but with no effect.
> > > Any ideas ?
> > > Best regards
> > > Stefan


Re: Aw: Re: A general Suggestion from a tester who'd like easier user experience with the software

2020-03-27 Thread Marcus Schulz
I experienced the same with these buttons. I had to read the tooltip also 
before clicking.
Am Freitag, den 27.03.2020, 11:31 +0100 schrieb Juan Antonio Moreno Carmona:
> Well, for my part I agree with the suggestion provided by Ed. I think it is 
> more intuitive. Maybe other users can contribute their opinion.
> El 27/3/20 a las 11:29, BBS Technik escribió:
> > I think it is a good ideal to swap it.
> > RegardsEd
> > > Gesendet: Freitag, 27. März 2020 um 11:22 UhrVon: "Maxim Solodovnik" 
> > > An: "Openmeetings user-list" 
> > > Betreff: Re: A general Suggestion from a 
> > > tester who'd like easier user experience with the software
> > > Well
> > > To implement this I need to swap 2 lines of codeNo problem at all if 
> > > community will approve this
> > > On Fri, 27 Mar 2020 at 17:19,  wrote:
> > > > Hello everyone,
> > > > I love this software 5.0.0 M3 (running on Ubuntu 18.04) with KMS 6.13
> > > > A few questions and an important suggestion:
> > > > 1) I have been unable to install this on debian buster so that it 
> > > > workswell - can this be done? How? We'd like to be able to use this on 
> > > > buster.
> > > > 2) When having inexperienced users test our M3 version (and when 
> > > > testingthe M4 version -the same problem exists):
> > > > The left-hand user column symbols for camera and microphone indicate 
> > > > to-doaction links, and I think they should indicate actual states - 
> > > > because thisis more intuitive and is what users expect.
> > > > So, I suggest instead of showing a microphone with a red circle with 
> > > > awhite "x" in it in M3 or an orange old-fashion mic symbol with a 
> > > > slashthrough it in M4 to indicate that the mic is "ON" and that you 
> > > > have toclick on it to turn it "OFF", I suggest that exactly the 
> > > > opposite be shown:the actual state of the feature - that a slash 
> > > > through a symbol (perhaps ingrey to double indicate it is off) 
> > > > indicates that it is "OFF" and a coloredon symbol or icon without a 
> > > > slash indicates that it is "ON"
> > > > The same suggestion for the camera.
> > > > 95 % of user problems that I have encountered result from this. Users 
> > > > seesomething with a slash through it and they think that means that it 
> > > > is"OFF" or not activated. Why not give users what they expect 
> > > > intuitivelyrather than force them to behave different than usual for 
> > > > this app?
> > > > I love this app/project, and this is just a friendly suggestion, 
> > > > notcriticism.
> > > > best to all
> > > > Ed
> > > 
> > > -- WBRMaxim aka solomax


Re: virtual host config

2020-03-28 Thread Marcus Schulz

Hi Orm,


here is a working  example for Apache webserver. You need the WebSockets 
to be rewritten.
Expecteing the tomcat of your openmeeting installation running in port 
5080 @ localhost.
If your apache is configured for ssl, be sure to add scheme and security 
to your tomcat connector:


 


Apache fragment for vhost:
###  OpenMeetings    ###
## Custom fragment
RewriteEngine On
RewriteCond %{REQUEST_URI} ^/$
RewriteRule (.*) /openmeetings/ [R=301]
RewriteCond %{HTTP:Connection} Upgrade [NC]
RewriteCond %{HTTP:Upgrade} websocket [NC]
RewriteRule /(.*) ws://localhost:5080/$1 [P,L]
RedirectMatch ^/$ https://yourservername.de/openmeetings
ProxyPreserveHost On


  Require all granted
  ProxyPass http://localhost:5080/openmeetings
  ProxyPassReverse http://localhost:5080/openmeetings
  RewriteEngine On
  RewriteRule ^/(.*) http://localhost:5080/$1 [P]


  Require all granted
  ProxyPass http://localhost:5080/open
  ProxyPassReverse http://localhost:5080/open


  Require all granted
  ProxyPass http://localhost:5080/send
  ProxyPassReverse http://localhost:5080/send


  Require all granted
  ProxyPass http://localhost:5080/idle
  ProxyPassReverse http://localhost:5080/idle


  Require all granted
  ProxyPass http://localhost:5080/close
  ProxyPassReverse http://localhost:5080/close


Hope, that helps.


Am 28.03.2020 um 17:32 schrieb Orm Finnendahl:

Hi,

  we successfully installed openmeetings on our server but have some
issues regarding virtual host settings in the apache config. Are there
any exampe files?

Using our vpn and accessing it using the vpn local ip works like this:

https://10.8.0.11:5443/openmeetings/

Below is our entry in the apache config to make it accessible using
https:///openmeetings

We get "The requested URL was not found on this server"

Any help is appreciated.

--
Orm

VirtualHost *:443>
 ServerName 
 SSLEngine On
 SSLCertificateFile/etc/apache2/certs/www.mydomain.com.pem
 SSLCertificateKeyFile /etc/apache2/certs/www.mydomain.com.key

 SSLCACertificatePath /etc/ssl/certs/
  


 RewriteEngine Off

 ProxyRequests Off
 SetEnv proxy-nokeepalive 1
 ProxyPreserveHost On
 ProxyPassInterpolateEnv On
 ProxyPass /openmeetings http://127.0.0.1:5080/openmeetings interpolate

 
 Order allow,deny
 Allow from all
 

 http://127.0.0.1:5080>
 RequestHeader set "x-webobjects-server-port" "443"
 RequestHeader set "x-webobjects-server-name" 
"mydomain.com:8800"
 RequestHeader set "x-webobjects-server-url" 
"https://mydomain.com:8800";
 RequestHeader set "x-webobjects-server-protocol" "HTTP/1.0"
 RequestHeader set "x-webobjects-remote-host" "127.0.0.1"
 AddDefaultCharset UTF-8
 

 ErrorLog /var/log/apache2/om-error.log
 CustomLog /var/log/apache2/om-access.log combined






Re: Some one have letsencrypt working rigt wit OpenMeetings-5 ?

2020-03-28 Thread Marcus Schulz

Hello Alvaro,

Yes, me.

I configured SSL Apache straigt forward and then use the PLAIN connector 
of the tomcat. You cannot proxy with an SSL virtual host to another SSL 
connector as far as I know.



use that connector for tomcat:

 

Here is my apache vhost config:


    ServerAdmin mar...@mydomain.de
    ServerName meeting.mydomain.de

    DocumentRoot /var/www-meeting
    TraceEnable Off

    ErrorDocument 404 /index.php
    ErrorLog /var/log/apache2/meeting-error.log

    # Possible values include: debug, info, notice, warn, error, crit,
    # alert, emerg.
    LogLevel warn

    CustomLog /var/log/apache2/meeting-access.log combined
Include /etc/letsencrypt/options-ssl-apache.conf
SSLCertificateFile /etc/letsencrypt/live/meeting.mydomain.de-0004/cert.pem
SSLCertificateKeyFile 
/etc/letsencrypt/live/meeting.mydomain.de-0004/privkey.pem
SSLCertificateChainFile 
/etc/letsencrypt/live/meeting.mydomain.de-0004/chain.pem


###  OpenMeetings    ###
## Custom fragment
RewriteEngine On
RewriteCond %{REQUEST_URI} ^/$
RewriteRule (.*) /openmeetings/ [R=301]
RewriteCond %{HTTP:Connection} Upgrade [NC]
RewriteCond %{HTTP:Upgrade} websocket [NC]
RewriteRule /(.*) ws://localhost:5080/$1 [P,L]
RedirectMatch ^/$ https://yourserver.de/openmeetings
ProxyPreserveHost On


  Require all granted
  ProxyPass http://localhost:5080/openmeetings
  ProxyPassReverse http://localhost:5080/openmeetings
  RewriteEngine On
  RewriteRule ^/(.*) http://localhost:5080/$1 [P]


  Require all granted
  ProxyPass http://localhost:5080/open
  ProxyPassReverse http://localhost:5080/open


  Require all granted
  ProxyPass http://localhost:5080/send
  ProxyPassReverse http://localhost:5080/send


  Require all granted
  ProxyPass http://localhost:5080/idle
  ProxyPassReverse http://localhost:5080/idle


  Require all granted
  ProxyPass http://localhost:5080/close
  ProxyPassReverse http://localhost:5080/close





Hope that helps



AJP13 could work also, but I did not test.

Am 28.03.2020 um 18:04 schrieb Alvaro:

Hello All,

Some one have letsencrypt working rigt wit OpenMeetings-5 ?

I have rights letsencrypt certificates, these are tested with
apache web server ssl, at the same machine that OM, and the
browsers say "Secure connection".

I have so:

protocol="org.apache.coyote.http11.Http11AprProtocol"

maxThreads="150" SSLEnabled="true" >


certificateKeyFile="/etc/letsencrypt/live/your_true_domain/privkey.pem"

certificateFile="/etc/letsencrypt/live/your_true_domain/cert.pem"
certificateChainFile="/etc/letsencrypt/live/your_true_domain/fullchain.pem"
type="RSA" />



...but with this configuration the browsers say "not secure connection".

'Ve try in different ways but don't get it.

If somebody know the right way, please tell it.

Thanks

Alvaro




---







Re: A general Suggestion from a tester who'd like easier user experience with the software

2020-03-29 Thread Marcus Schulz
I would also prefere the icons displaying the current state, not the 
state that will be entered when clicked.
My users alaways asked if the mic is off, because there has been a 
little cross.


Thank you all for your great work btw.


Am 29.03.2020 um 13:39 schrieb i...@bureau-de-poste.net:


That's great! Either the orange or red with a slash through it for the 
devices that are off.  That's all I wanted. Personally I do NOT like 
the "EXIT" highlighted in orange - I think that should stay the same 
color as the other text links. That is my opinion.


Best,

ed

Quoting Juan Antonio Moreno Carmona >:



Hi all.

Maybe you mean something like that. The first image when the camera 
and microphone are activated and other users can see/hear me. The 
second image when the camera and microphone are off, nobody can 
see/hear me.


Regards.

El 29/3/20 a las 13:06, i...@bureau-de-poste.net escribió:



Hello,

I'll put my answers prefaced like this -->

--> I don't know javascript and don't use it!  I saw the sandstone 
colors and I would suggest using the green  (success) color for the 
icons to show when the camera and microphone are enabled, and use the 
orange (warning) with the slash through it to show that the camera and 
mike are disabled. That's the only color change I wanted.


I answered one other thing - the user rectangle volume control should 
be persistent even through a refresh. This would be good, but it's not 
critical, it's easy to reset.  Thanks


Ed

Quoting Maxim Solodovnik >:



Hello All,
I'll try to answer in one email :)

- The symbol and the text for leaving the room should be
highlighted (in color?).

Could you please color this using color scheme from here 
https://bootswatch.com/sandstone/

And Share the result as picture?
(I'm not a designer, and have no imagination, but I believe too much 
colors can ruin everything)


- The character > should be inverted in the chat bar. That would
correspond to the same logic as with the new camera and
microphone symbol.

Will do

- The color selection dialog should open near the tools
properties window.
At the moment the color selection appears in the top left corner
and makes long movements with the mouse.

Seems to be opened as expected
Could you re-check with latest version?

- The icons in the toolbar could be a little bit smaler. They
almost touch the chat bar. see attached screenshot.

Same remark as above,
Can you share the of the room with this change?

But this should not slow down the release process.   ;-)

Yep,
Dozens of mosquitos can kill an elephant ... :)))

One last idea - and I understand that I am just a tester / user
of this and that it is your project in which I participate ( I
also participate in spark, hadoop, nutch - i love apache
projects), but since you asked, I would change the color of
everythign that is "ON" or enabled to green and everything that
is "OFF" to red - just like the traffic lights!  For what it's
worth, and I have nothing against the color orange!

Same remark as above,
Can you share the of the room with this change?


This is better - personally I would color the camera and mic
icons that are activated, so they look "ON" - (without the
slash of course) - and to indicate the "OFF" status - it is
fine - with the slash.

For example, when you hover over (or mouse over) the tiny
speaker icon in the dragable user rectangle we see the
orange-colored old-fashioned microphone  image pop-up - this
is excellent. I would also have theat tiny speaker icon in
the dragable user rectangle in orange to indicate its state
is "ON" when it is on - the other two tiny icons (refresh and
minimize) at the top of the dragable user rectangle are fine
in grey since they are settings to change not states and
users know what to expect with them.

Same remark as above,
Can you share the of the room with this change?

This is my advice since you asked - I'm more concerned with
fonctionality! It is working well.

One question - I have tested this extensively in Chrome adn I
notice that if one sets the volume of teh microphone
different than 50 (in the tiny icon in the dragable user
rectangle) -each time I refres the user it si reset to level
50. Is this desired? Wouldn't it be better to keep the last
user volumn settings through a "refresh" since users will
most probably use the refresh to see or hear another user who
may have changed the state of their camera and microphone.
This is just an idea - it is OK as it is since it's easy to
reset it.

Actually I thought of this
BUT unfortunately this is not that easy
Actually there are more than one volume
1) self volume (actually microphone gain)
2) volume for each 

Developing Openmeeting

2020-04-03 Thread Marcus Schulz
Hi,

I am a Java EE developer and  got interested in openmeeting and maybe I could 
help developing sth, at least I want to take a look at it.
Is there an apache repository for the snapshot / milestone builds like Wicket 
Parent 9.0.0-M5-SNAPSHOT for example, or do I have to all build them first?
Hope the questions isn't too stupid, I did not develop for an apache project so 
far. I use them for years, so I may can give sth, back.


Kind regards


Marcus



Strange behaviour after restart of my server

2020-04-04 Thread Marcus Schulz
Hi,

I run OpenMeetings M3 on a Ubuntu 18 Server wor two weeks without problems.
Yesterday I did a reboot and openmeetings fails to connect to the media server. 
It seems to be a problem with  resource limits.
I can't remember I changed anything. 
That's in the log of kurento after restart:

2020-04-04T10:39:48,750739 16613 0x7fea7703e280   error 
KurentoWebSocketTransport WebSocketTransport.cpp:130 WebSocketTransport()  
Error starting listen for websocket transport
on port : Underlying Transport Error

netstat says:
tcp6  13  0 [::]:   [::]:*  LISTEN   

Openmeeting tries to establish a connection wit a new channel, but failed:

34mINFO ESC[0;39m 04-04 10:36:22.014 
ESC[36mo.k.j.c.JsonRpcClientNettyWebSocket:234 [ntLoopGroup-2-1]ESC[0;39m - 
[KurentoClient]  Initiating new Netty channel. Will create new
handler too!
ESC[31mWARN ESC[0;39m 04-04 10:36:46.655 ESC[36mo.a.o.c.r.KurentoHandler:124 
[main]ESC[0;39m - Fail to create Kurento client, will re-try in 1 ms
ESC[31mWARN ESC[0;39m 04-04 10:36:46.664 
ESC[36mo.k.j.c.JsonRpcClientNettyWebSocket:257 [rbeatExec-e1-t0]ESC[0;39m - 
[KurentoClient]  ERROR connecting WS Netty client, opening
channel
java.lang.InterruptedException: null
at java.base/java.lang.Object.wait(Native Method)
at java.base/java.lang.Object.wait(Object.java:328)
at 
io.netty.util.concurrent.DefaultPromise.await(DefaultPromise.java:221)
at 
io.netty.channel.DefaultChannelPromise.await(DefaultChannelPromise.java:131)
at 
io.netty.channel.DefaultChannelPromise.await(DefaultChannelPromise.java:30)
at io.netty.util.concurrent.DefaultPromise.sync(DefaultPromise.java:328)
at 
io.netty.channel.DefaultChannelPromise.sync(DefaultChannelPromise.java:119)
at 
io.netty.channel.DefaultChannelPromise.sync(DefaultChannelPromise.java:30)
at 
org.kurento.jsonrpc.client.JsonRpcClientNettyWebSocket.connectNativeClient(JsonRpcClientNettyWebSocket.java:254)
at 
org.kurento.jsonrpc.client.AbstractJsonRpcClientWebSocket.internalConnectIfNecessary(AbstractJsonRpcClientWebSocket.java:711)
at 
org.kurento.jsonrpc.client.AbstractJsonRpcClientWebSocket.connectIfNecessary(AbstractJsonRpcClientWebSocket.java:847)
at 
org.kurento.jsonrpc.client.AbstractJsonRpcClientWebSocket.internalSendRequestWebSocket(AbstractJsonRpcClientWebSocket.java:352)
at 
org.kurento.jsonrpc.client.AbstractJsonRpcClientWebSocket$1.internalSendRequest(AbstractJsonRpcClientWebSocket.java:141)
at 
org.kurento.jsonrpc.internal.JsonRpcRequestSenderHelper.sendRequest(JsonRpcRequestSenderHelper.java:75)
at 
org.kurento.jsonrpc.internal.JsonRpcRequestSenderHelper.sendRequest(JsonRpcRequestSenderHelper.java:69)
at 
org.kurento.jsonrpc.internal.JsonRpcRequestSenderHelper.sendRequest(JsonRpcRequestSenderHelper.java:99)
at 
org.kurento.jsonrpc.client.JsonRpcClient.sendRequest(JsonRpcClient.java:122)
at 
org.kurento.jsonrpc.client.JsonRpcClient$1.run(JsonRpcClient.java:262)
at 
java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
at 
java.base/java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305)
at 
java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:305)
at 
java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at 
java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:834)
04-Apr-2020 10:36:46.739 INFORMATION [main] 
com.hazelcast.internal.partition.impl.PartitionStateManager.null 
[85.214.114.57]:5701 [dev] [3.12.2] Initializing cluster partition
table arrangement...
ESC[34mINFO ESC[0;39m 04-04 10:36:46.752 
ESC[36mo.k.j.c.JsonRpcClientNettyWebSocket:234 [ntLoopGroup-2-2]ESC[0;39m - 
[KurentoClient]  Initiating new Netty channel. Will create new
handler too!

Sometimes it says there is an outof memory / resource limitation and it's not 
able to open a new thread.

So I checked:

root@:/opt/open503/logs# ulimit -a
core file size  (blocks, -c) 0
data seg size   (kbytes, -d) unlimited
scheduling priority (-e) 0
file size   (blocks, -f) unlimited
pending signals (-i) 1546410
max locked memory   (kbytes, -l) 16384
max memory size (kbytes, -m) unlimited
open files  (-n) 1024
pipe size(512 bytes, -p) 8
POSIX message queues (bytes, -q) 819200
real-time priority  (-r) 0
stack size  (kbytes, -s) 8192
cpu time   (seconds, -t) unlimited
max user processes  (-u) 62987
virtual memory  (kbytes, -v) unlimited
file locks  (-x) unlimited

Any ideas for further checks  what's wrong?

What kind of limits do you suggest in /etc/security

Re: Developing Openmeeting

2020-04-04 Thread Marcus Schulz

Yes got it . Thank you. My artifactory blocked some repos .

Am 4. April 2020 03:34:42 schrieb Maxim Solodovnik :

Hello Marcus,

such topic worth to be moved to dev@ list :)))
I glad you are interested

All necessary repositories are in the pom.xml
All you need is to run `mvn clean install`
you might find this link useful 
https://openmeetings.apache.org/BuildInstructions.html


Wicket M5 is currently being voted, so hopefully i can get rid of SNAPSHOT 
dependencies


feel free to contact dev@ list if you have other questions


On Sat, 4 Apr 2020 at 01:46, Marcus Schulz  wrote:
Hi,

I am a Java EE developer and got interested in openmeeting and maybe I 
could help developing sth, at least I want to take a look at it.
Is there an apache repository for the snapshot / milestone builds like 
Wicket Parent 9.0.0-M5-SNAPSHOT for example, or do I have to all build them 
first?
Hope the questions isn't too stupid, I did not develop for an apache 
project so far. I use them for years, so I may can give sth, back.



Kind regards


Marcus




--

Best regards,
Maxim




Re: Strange behaviour after restart of my server

2020-04-04 Thread Marcus Schulz
HI,
for the kurento user it looks like this:
su  kurento -c "ulimit -a "time(seconds)unlimitedfile(blocks) 
unlimiteddata(kbytes) unlimitedstack(kbytes)
8192coredump(blocks) 0memory(kbytes)   unlimitedlocked memory(kbytes) 
16384process  62987nofiles  10240vmemory(kbytes)  
unlimitedlocksunlimitedrtprio   0

Am Samstag, den 04.04.2020, 21:15 +0700 schrieb Maxim Solodovnik:
> these limits are for currently logged in userwhat user is used for KMS
> 
> according to the script, it seems there is a bug :(
> 
> On Sat, 4 Apr 2020 at 15:56, Marcus Schulz  wrote:
> > Hi,
> > I run OpenMeetings M3 on a Ubuntu 18 Server wor two weeks without 
> > problems.Yesterday I did a reboot and openmeetings fails to connect to the 
> > media server. It seems to be a problem with  resource limits.I can't 
> > remember I changed anything. That's in the log of kurento after restart:
> > 2020-04-04T10:39:48,750739 16613 0x7fea7703e280   error 
> > KurentoWebSocketTransport WebSocketTransport.cpp:130 WebSocketTransport()  
> > Error starting listen for websocket transport on port : Underlying 
> > Transport Error
> > netstat says:tcp6  13  0 [::]:   [::]:* 
> >  LISTEN   
> > Openmeeting tries to establish a connection wit a new channel, but failed:
> > 34mINFO ESC[0;39m 04-04 10:36:22.014 
> > ESC[36mo.k.j.c.JsonRpcClientNettyWebSocket:234 [ntLoopGroup-2-1]ESC[0;39m - 
> > [KurentoClient]  Initiating new Netty channel. Will create new handler 
> > too!ESC[31mWARN ESC[0;39m 04-04 10:36:46.655 
> > ESC[36mo.a.o.c.r.KurentoHandler:124 [main]ESC[0;39m - Fail to create 
> > Kurento client, will re-try in 1 msESC[31mWARN ESC[0;39m 04-04 
> > 10:36:46.664 ESC[36mo.k.j.c.JsonRpcClientNettyWebSocket:257 
> > [rbeatExec-e1-t0]ESC[0;39m - [KurentoClient]  ERROR connecting WS Netty 
> > client, opening channeljava.lang.InterruptedException: nullat 
> > java.base/java.lang.Object.wait(Native Method)at 
> > java.base/java.lang.Object.wait(Object.java:328)at 
> > io.netty.util.concurrent.DefaultPromise.await(DefaultPromise.java:221)  
> >   at 
> > io.netty.channel.DefaultChannelPromise.await(DefaultChannelPromise.java:131)
> > at 
> > io.netty.channel.DefaultChannelPromise.await(DefaultChannelPromise.java:30) 
> >at 
> > io.netty.util.concurrent.DefaultPromise.sync(DefaultPromise.java:328)   
> >  at 
> > io.netty.channel.DefaultChannelPromise.sync(DefaultChannelPromise.java:119) 
> >at 
> > io.netty.channel.DefaultChannelPromise.sync(DefaultChannelPromise.java:30)  
> >   at 
> > org.kurento.jsonrpc.client.JsonRpcClientNettyWebSocket.connectNativeClient(JsonRpcClientNettyWebSocket.java:254)
> > at 
> > org.kurento.jsonrpc.client.AbstractJsonRpcClientWebSocket.internalConnectIfNecessary(AbstractJsonRpcClientWebSocket.java:711)
> > at 
> > org.kurento.jsonrpc.client.AbstractJsonRpcClientWebSocket.connectIfNecessary(AbstractJsonRpcClientWebSocket.java:847)
> > at 
> > org.kurento.jsonrpc.client.AbstractJsonRpcClientWebSocket.internalSendRequestWebSocket(AbstractJsonRpcClientWebSocket.java:352)
> > at 
> > org.kurento.jsonrpc.client.AbstractJsonRpcClientWebSocket$1.internalSendRequest(AbstractJsonRpcClientWebSocket.java:141)
> > at 
> > org.kurento.jsonrpc.internal.JsonRpcRequestSenderHelper.sendRequest(JsonRpcRequestSenderHelper.java:75)
> > at 
> > org.kurento.jsonrpc.internal.JsonRpcRequestSenderHelper.sendRequest(JsonRpcRequestSenderHelper.java:69)
> > at 
> > org.kurento.jsonrpc.internal.JsonRpcRequestSenderHelper.sendRequest(JsonRpcRequestSenderHelper.java:99)
> > at 
> > org.kurento.jsonrpc.client.JsonRpcClient.sendRequest(JsonRpcClient.java:122)
> > at 
> > org.kurento.jsonrpc.client.JsonRpcClient$1.run(JsonRpcClient.java:262)  
> >   at 
> > java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
> > at 
> > java.base/java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305)  
> >   at 
> > java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:305)
> > at 
> > java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
> > at 
> > java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
> > at java.base/java.lang.Thread.run(Thread.java:834)04-Apr-202

Re: Strange behaviour after restart of my server

2020-04-05 Thread Marcus Schulz
I have 6.10. seems like it has been started twice or a dead process blocked 
port .

I killed the process blocking the port and fior now it seems to work

Am 5. April 2020 15:36:15 schrieb Maxim Solodovnik :

what version of KMS are you using?


On Sun, 5 Apr 2020 at 20:30, Xavier M  wrote:
For information : the same happened to me with OM-5.0.0-M1: no connexion 
was established with the Media Server anymore after a restart of my server 
due to another reason.
This was the reason why I installed M3 (and installed KMS again), such as 
the very beginning of my last topic: 
https://markmail.org/message/zjzm5kcx4rch4eml?q=Installation+of+OpenMeetings+5%2E0%2E0-M3+fails+-+database+connexion&page=1


Xavier

Le 05/04/2020 à 03:42, Maxim Solodovnik a écrit :

I would say it is weird
All "occupied" resources are at minimum level after restart
Can you do multiple restarts and check if this issue is reproducible?

BTW what version of KMS are you using?


On Sun, 5 Apr 2020 at 01:20, Marcus Schulz  wrote:
HI,

for the kurento user it looks like this:

su  kurento -c "ulimit -a "
time(seconds)unlimited
file(blocks) unlimited
data(kbytes) unlimited
stack(kbytes)8192
coredump(blocks) 0
memory(kbytes)   unlimited
locked memory(kbytes) 16384
process  62987
nofiles  10240
vmemory(kbytes)  unlimited
locksunlimited
rtprio   0


Am Samstag, den 04.04.2020, 21:15 +0700 schrieb Maxim Solodovnik:

these limits are for currently logged in user
what user is used for KMS

according to the script, it seems there is a bug :(

On Sat, 4 Apr 2020 at 15:56, Marcus Schulz  wrote:

Hi,

I run OpenMeetings M3 on a Ubuntu 18 Server wor two weeks without problems.
Yesterday I did a reboot and openmeetings fails to connect to the media 
server. It seems to be a problem with resource limits.

I can't remember I changed anything.
That's in the log of kurento after restart:

2020-04-04T10:39:48,750739 16613 0x7fea7703e280   error 
KurentoWebSocketTransport WebSocketTransport.cpp:130 WebSocketTransport()  
Error starting listen for websocket transport on port : Underlying 
Transport Error


netstat says:
tcp6  13  0 [::]:   [::]:*  LISTEN

Openmeeting tries to establish a connection wit a new channel, but failed:

34mINFO ESC[0;39m 04-04 10:36:22.014 
ESC[36mo.k.j.c.JsonRpcClientNettyWebSocket:234 [ntLoopGroup-2-1]ESC[0;39m - 
[KurentoClient]  Initiating new Netty channel. Will create new handler too!
ESC[31mWARN ESC[0;39m 04-04 10:36:46.655 
ESC[36mo.a.o.c.r.KurentoHandler:124 [main]ESC[0;39m - Fail to create 
Kurento client, will re-try in 1 ms
ESC[31mWARN ESC[0;39m 04-04 10:36:46.664 
ESC[36mo.k.j.c.JsonRpcClientNettyWebSocket:257 [rbeatExec-e1-t0]ESC[0;39m - 
[KurentoClient]  ERROR connecting WS Netty client, opening channel

java.lang.InterruptedException: null
at java.base/java.lang.Object.wait(Native Method)
at java.base/java.lang.Object.wait(Object.java:328)
at io.netty.util.concurrent.DefaultPromise.await(DefaultPromise.java:221)
at
io.netty.channel.DefaultChannelPromise.await(DefaultChannelPromise.java:131)
at
io.netty.channel.DefaultChannelPromise.await(DefaultChannelPromise.java:30)
at io.netty.util.concurrent.DefaultPromise.sync(DefaultPromise.java:328)
at
io.netty.channel.DefaultChannelPromise.sync(DefaultChannelPromise.java:119)
at
io.netty.channel.DefaultChannelPromise.sync(DefaultChannelPromise.java:30)
at
org.kurento.jsonrpc.client.JsonRpcClientNettyWebSocket.connectNativeClient(JsonRpcClientNettyWebSocket.java:254)
at
org.kurento.jsonrpc.client.AbstractJsonRpcClientWebSocket.internalConnectIfNecessary(AbstractJsonRpcClientWebSocket.java:711)
at
org.kurento.jsonrpc.client.AbstractJsonRpcClientWebSocket.connectIfNecessary(AbstractJsonRpcClientWebSocket.java:847)
at
org.kurento.jsonrpc.client.AbstractJsonRpcClientWebSocket.internalSendRequestWebSocket(AbstractJsonRpcClientWebSocket.java:352)
at
org.kurento.jsonrpc.client.AbstractJsonRpcClientWebSocket$1.internalSendRequest(AbstractJsonRpcClientWebSocket.java:141)
at
org.kurento.jsonrpc.internal.JsonRpcRequestSenderHelper.sendRequest(JsonRpcRequestSenderHelper.java:75)
at
org.kurento.jsonrpc.internal.JsonRpcRequestSenderHelper.sendRequest(JsonRpcRequestSenderHelper.java:69)
at
org.kurento.jsonrpc.internal.JsonRpcRequestSenderHelper.sendRequest(JsonRpcRequestSenderHelper.java:99)
at
org.kurento.jsonrpc.client.JsonRpcClient.sendRequest(JsonRpcClient.java:122)
at org.kurento.jsonrpc.client.JsonRpcClient$1.run(JsonRpcClient.java:262)
at
java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
at
java.base/java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305)
at
java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:305)
at
java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPo