Re: New tutorial installation SSL certificates and Coturn for OpenMeetings 5.0.0-M3

2020-04-09 Thread Alvaro
Hi Yarema,
About your "HTTP Status 404 – Not Found", please edit:

/opt/open503/webapps/openmeetings/WEB-
INF/classes/applicationContext.xml

...and if is this line:

p:flowoutTimeout="5"

...please delete it and restart Tomcat-OpenMeetings:

sudo /etc/init.d/tomcat3 restart


.

El lun, 30-03-2020 a las 13:26 +0200, YUP escribió:
> Thanks for the answer. I see that user "kurento" was created
> whenkurent-media-server was installed.I have one more question: 5443
> and  ports are open, all otherports tcp and udp are closed, will
> audio and video work? How it affectmedia server and OM?
> Best,Yarema
> On Mon, Mar 30, 2020 at 1:08 PM Alvaro  wrote:
> > ...is add a new point. Please download again the tutorial.
> > 
> > Thanks
> > 
> > Alvaro
> > 
> > 
> > 
> > ..
> > 
> > El dom, 29-03-2020 a las 16:33 +0200, Alvaro escribió:
> > 
> > 
> > ...and is not two without three...
> > 
> > I re-uploaded the tuto fot thirt time.
> > 
> > Please download again if does before:
> > 
> > https://cwiki.apache.org/confluence/download/attachments/27838216/I
> > nstallation%20SSL%20certificates%20and%20Coturn%20for%20OpenMeeting
> > s%205.0.0-M3.pdf
> > 
> > Thank you
> > 
> > Alvaro
> > 
> > 
> > 
> > 
> > 
> > El dom, 29-03-2020 a las 12:27 +0200, Alvaro escribió:
> > 
> > Ok, is re-uploaded the tutorial modified.
> > 
> > I must to say that for the first version of this guide,
> > i asked to Maxim to test with me the right functioning
> > of our cams and the microphones, and the result was OK.
> > But don't asked to him test the letsencrypt functioning.
> > 
> > So the guilt is only mine.
> > I am sorry.
> > 
> > Here can download directly the guide second version,
> > with letsencrypt tested for me and working right:
> > 
> > https://cwiki.apache.org/confluence/download/attachments/27838216/I
> > nstallation%20SSL%20certificates%20and%20Coturn%20for%20OpenMeeting
> > s%205.0.0-M3.pdf
> > 
> > Thank you
> > 
> > Alvaro
> > 
> > 
> > --
> > 
> > El dom, 29-03-2020 a las 08:09 +0700, Maxim Solodovnik escribió:
> > 
> > Nope, `application.base.url` is not the case
> > 
> > Is https://:5443 accessible? (maybe you have renamed
> > `openmeetings` context name?)
> > Any errors in catalina.out or other log files in log folder?
> > 
> > On Sun, 29 Mar 2020 at 03:24, stefanx 
> > wrote:
> > 
> > 
> > 
> > https://:5443/openmeetings/ : HTTP Status 404 – Not Found
> > 
> > Perhaps "application.base.url" in the Openmeetings configuration
> > now is wrong ?
> > 
> > But I now cannot change application.base.url, except with mysql db
> > modification ?
> > 
> > 
> > Am 28.03.20 um 04:12 schrieb Maxim Solodovnik:
> > > 404 at what URL?
> > > 
> > > On Sat, 28 Mar 2020 at 03:19, stefanx  > > e > wrote:
> > > 
> > > I followed this instruction, the letsencrpyt installation is
> > > ok, by now I get "HTTP Status 404 – Not Found"
> > > 
> > > Any ideas ?
> > > 
> > > Am 27.03.20 um 17:20 schrieb Alvaro:
> > > >
> > > > Hello,
> > > >
> > > > It is at your disposal a new tutorial called:
> > > >
> > > >
> > > > Installation SSL certificates and Coturn for OpenMeetings
> > > 5.0.0-M3.pdf
> > > >
> > > >
> > > > It is tested with an OpenMeetings 5 server installed on a
> > > pc
> > > > at home, after NAT router; and each in the room saw and
> > > heard the others
> > > > cameras and your own correctly.
> > > > Also in the tests done, we have uploaded files, recorded
> > > video
> > > > and shared desktop without any error.
> > > >
> > > > You can download the tutorial directly from here:
> > > >
> > > > https://cwiki.apache.org/confluence/download/attachments/27
> > > 838216/Installation%20SSL%20certificates%20and%20Coturn%20for%20O
> > > penMeetings%205.0.0-M3.pdf
> > > >
> > > > ...or find it here:
> > > >
> > > > https://cwiki.apache.org/confluence/display/OPENMEETINGS/Tu
> > > torials+for+installing+OpenMeetings+and+Tools
> > > >
> > > > Best regards
> > > >
> > > > Alvaro
> > > >
> > > >
> > > >
> > > > -
> > > 
> > > 
> > > 
> > > --
> > > WBR
> > > Maxim aka solomax
> > 
> > 
> > 
> > --
> > WBR
> > Maxim aka solomax

Re: New tutorial installation SSL certificates and Coturn for OpenMeetings 5.0.0-M3

2020-04-09 Thread Alvaro
Hi Stefanx,
About your "HTTP Status 404 – Not Found", please edit:

/opt/open503/webapps/openmeetings/WEB-
INF/classes/applicationContext.xml

...and if is this line:

p:flowoutTimeout="5"

...please delete it and restart Tomcat-OpenMeetings:

sudo /etc/init.d/tomcat3 restart


..
El vie, 27-03-2020 a las 21:19 +0100, stefanx escribió:
> I followed this instruction, the letsencrpyt installation is ok, by
> now I get "HTTP Status 404 – Not Found"
> 
> Any ideas ?
> 
> Am 27.03.20 um 17:20 schrieb Alvaro:
> > Hello,
> > 
> > It is at your disposal a new tutorial called:
> > 
> > 
> > Installation SSL certificates and Coturn for OpenMeetings 5.0.0-
> > M3.pdf
> > 
> > 
> > It is tested with an OpenMeetings 5 server installed on a pc
> > at home, after NAT router; and each in the room saw and heard the
> > others
> > cameras and your own correctly.
> > Also in the tests done, we have uploaded files, recorded video
> > and shared desktop without any error.
> > 
> > You can download the tutorial directly from here:
> > 
> > https://cwiki.apache.org/confluence/download/attachments/27838216/I
> > nstallation%20SSL%20certificates%20and%20Coturn%20for%20OpenMeeting
> > s%205.0.0-M3.pdf
> > 
> > ...or find it here:
> > 
> > https://cwiki.apache.org/confluence/display/OPENMEETINGS/Tutorials+
> > for+installing+OpenMeetings+and+Tools
> > 
> > Best regards
> > 
> > Alvaro
> > 
> > 
> > 
> > -

REST user login session not change

2020-04-09 Thread Varga Balázs

Hello Maxim!

I try this:

Login on API as USER1, success, get hash. I check in catalina logs, 
identifyed as user_id=1, good.


Try change logged in user (repeat login with new auth data): login again 
as USER2, success, get hash. I check in catalina logs, identifyed by 
previous user  user_id=1 this is bad.


In REST not found "logout".


This test process is failed:

Login as SOAP privileged user, create new user and your own room, and 
try switch login to new user and make another process own name.



--
Varga Balázs
+36-70-389-4753
SZHWEB Bt.



strange behavior with andriod client

2020-04-09 Thread Alfs, Eugen
Hi,

first of all I'd like to thank you for the new release 5. It works fine and our 
user like it. Unfortunatally we have some strange things going on at android 
clients (Chrome Browser). Entering a room after login with user credentials 
everything works fine, entrering a room with a hash link within the network 
also works fine, entering it from outsite the network works to, but the video 
and audio streams of other users in the room are blocked. Change entering to 
user login and entering the room from dashboard everything works fine again, 
including video and audio. Tried everything including opening firewall, nothing 
helped.

Has anybody seen such behavior or any idea to fix it?

Eugen


Re: OM5.0.0.3 REST problems

2020-04-09 Thread Maxim Solodovnik
The URL is wrong
https://github.com/apache/openmeetings/blob/5.0.0-M3/openmeetings-webservice/src/main/java/org/apache/openmeetings/webservice/UserWebService.java#L134

you have to

$this->getRestUrl("user")

NOT

$this->getRestUrl("user") . "add"

UserDTO should be URLFormEncoded
the best way to get exact request: run Unit tests with full logging and
check :)

On Thu, 9 Apr 2020 at 13:51, Varga Balázs  wrote:

> Hello Maxim!
>
> First problem, can't create OM user on API.
>
> Logged in on API as primary (id=1) user. This rights:
> Administrator,Rooms,SOAP, type is USER.
>
> Login success, get SID-ok.
>
> Sending /services/user/add(userDTO,confirmation=false);
>
> This is unsuccess, check in logs: method not allowed 405.
>
> $user = array(   'address'=>array('email'=>'nemegy...@bla.bla'),   
> 'login'=>'teszt1',   'password'=>'teszt1',   'firstname'=>'Teszt',   
> 'lastname'=>'blabla',   'languageId'=>17,   'rights'=>array('soap','room'),   
> 'type'=>'external',   //'externalId'=>'id01',   
> //'externalType'=>'Tesztgroup',);
>
> addUser($user,$confirm = false){   $rest = new OmRestService($this->config);  
>  $response = $rest->call(  $this->getRestUrl("user") . "add"  , 
> RestMethod::POST  , $this->sessionId  , http_build_query(array("user" 
> => json_encode($user), "confirm" => $confirm), '', '&')  , null  , 
> "serviceResult"   );
>
>
>
> 2020. 04. 09. 2:58 keltezéssel, Maxim Solodovnik írta:
>
> REST API is covered with uni tests all passes (run with each build)
>
>
> On Thu, 9 Apr 2020 at 05:22, Varga Balázs  
>  wrote:
>
> Hello Boys!
>
> I try REST API. Many function documentation is incorrect or I not
> understand... or use bad... or have difference API functions on OM
> versions, etc, please help me.
>
> The main rule of Open Source: if you see the bug - fix it and contribute ...
>
>
> Use this source: https://github.com/openmeetings/openmeetings-moodle-plugin
>
> Login via REST is ok, I use one dedicated REST user to connecting, works
> fine. (What a limitation in user credentials: ROOM,SOAP,ADMINISTRATOR )
>
>
> This one I don't understand, please re-phrase
>
>
> To testing get OM version info, ok.
>
> 1: I try getting users list, unsuccess
>
>   OmRestService::call::Array
> (
>  [0] => https://MYHOST:5443/meetings/services/user/get
>  [1] => GET
>  [2] => 0298598a-043a-4140-81c1-f6934b5ebfc6
>  [3] => Array
>  (
>  )
>
>  [4] =>
>  [5] =>
> )
>
> ERROR -[1537] 2020-04-08 22:20:00.932322 31.46.241.199 -->
> OmRestService::call::Request OpenMeetings! OpenMeetings Service failed
> and no response was returned. Additioanl info: Array
>
> Response empty.
>
>
> The documentation describe, required only SID on parameter.  What do I
> do wrong?
>
>
> Please share full sequence of calls
> And I propose to understand what is wrong with one of your calls, then
> go forward
>
>
> 2: I try add user
>
> user = array(
>  'login'=>'teszt1',
>  'password'=>'teszt1',
>  'firstname'=>'Teszt',
>  'lastname'=>'blabla',
>  'email'=>'nemegy...@bla.bla',
>  'languageId'=>17,
>  'rights'=>'soap',
>  'type'=>'user',
>  'externalId'=>'id01',
>  'externalType'=>'Tesztgroup',
>  );
>
> response http 405.
>
>
> DEBUG -[13388] 2020-04-09 00:15:22.258857 31.46.244.158 -->
> OmRestService::call::{"info":{"version":"5.0.0-M3","revision":"b739f87","buildDate":"2019-12-11T11:42:09Z"}}
> ERROR -[13388] 2020-04-09 00:15:22.259072 31.46.244.158 -->
> OmRestService::call::Array
> (
>  [0] => https://MYHOST:5443/meetings/services/user/add
>  [1] => POST
>  [2] => d2f7f1d1-f73a-4207-9bce-e91cba3f1271
>  [3] =>
> user=%7B%22login%22%3A%22teszt1%22%2C%22password%22%3A%22teszt1%22%2C%22firstname%22%3A%22Teszt%22%2C%22lastname%22%3A%22blabla%22%2C%22email%22%3A%22nemegyedi%40bla.bla%22%2C%22languageId%22%3A17%2C%22type%22%3A%22user%22%2C%22externalId%22%3A%22id01%22%2C%22externalType%22%3A%22Tesztgroup%22%7D&confirm=0
>  [4] =>
>  [5] => serviceResult
> )
>
> ERROR -[13388] 2020-04-09 00:15:22.291495 31.46.244.158 -->
> OmRestService::call::Request OpenMeetings! OpenMeetings Service failed
> and no response was returned. Additioanl info: Array
> (
>  [url] 
> =>https://MYHOST:5443/meetings/services/user/add?&sid=d2f7f1d1-f73a-4207-9bce-e91cba3f1271
>  [content_type] =>
>  [http_code] => 405
>  [header_size] => 110
>  [request_size] => 568
>  [filetime] => -1
>  [ssl_verify_result] => 0
>  [redirect_count] => 0
>  [total_time] => 0.030824
>  [namelookup_time] => 3.3E-5
>  [connect_time] => 0.000185
>  [pretransfer_time] => 0.026164
>  [size_upload] => 307
>  [size_download] => 0
>  [speed_download] => 0
>  [speed_upload] => 10233
>  [download_content_length] => 0
>  [upload_content_length] => 307
>  [starttransfer_time] => 0.030805
>  [redirect_ti

Re: strange behavior with andriod client

2020-04-09 Thread Maxim Solodovnik
Hello Eugen,

Usually audio/video streams are blocked if there is no TURN server
AFAIK there is no correlation with type of login direct/hash

Maybe you try to describe your steps more detailed?
Is this issue OS/Browser dependent?

On Thu, 9 Apr 2020 at 16:56, Alfs, Eugen  wrote:

> Hi,
>
>
>
> first of all I’d like to thank you for the new release 5. It works fine
> and our user like it. Unfortunatally we have some strange things going on
> at android clients (Chrome Browser). Entering a room after login with user
> credentials everything works fine, entrering a room with a hash link within
> the network also works fine, entering it from outsite the network works to,
> but the video and audio streams of other users in the room are blocked.
> Change entering to user login and entering the room from dashboard
> everything works fine again, including video and audio. Tried everything
> including opening firewall, nothing helped.
>
>
>
> Has anybody seen such behavior or any idea to fix it?
>
>
>
> Eugen
>


-- 
Best regards,
Maxim


Re: REST user login session not change

2020-04-09 Thread Maxim Solodovnik
On Thu, 9 Apr 2020 at 14:49, Varga Balázs  wrote:

> Hello Maxim!
>
> I try this:
>
> Login on API as USER1, success, get hash. I check in catalina logs,
> identifyed as user_id=1, good.
>

This is expected :)


>
> Try change logged in user (repeat login with new auth data): login again
> as USER2, success, get hash. I check in catalina logs, identifyed by
> previous user  user_id=1 this is bad.
>

This is not clear
you call /user/login?user=user2&pass=pass2

And get Authenticated as user1 ?

I just have checked this and can't confirm
Everything works as expected


>
> In REST not found "logout".
>
>
This is by design


>
> This test process is failed:
>
> Login as SOAP privileged user, create new user and your own room, and
> try switch login to new user and make another process own name.
>
>
This is something I don't understand
please re-phrase


>
> --
> Varga Balázs
> +36-70-389-4753
> SZHWEB Bt.
>
>

-- 
Best regards,
Maxim


error msg: multimedia server is inaccessible

2020-04-09 Thread Geffert, Otfried
Dear all,

after having a succesfull video conference with a colleague, we both left the 
room,
came back in and we could not see & hear each other anymore. 

Then us two left the room and logged out, I loggeg in again, entered the room
and
I saw a lot of messages on the right window border , saying: multimedia server 
inaccessible

After rebooting I have set up a log file for kurento with:

   nohup docker logs --follow kms >"kms-$(date '+%Y%m%dT%H%M%S').log" 2>&1 &

Unfortunately it logs a lot of stuff.

Does anyone have an idea, when "multimedia server inaccessible"
comes up ?

Best regards,
Otfried




-- 
Otfried Geffert
Hard~ & Software Engineer @ DESYs CFEL theory group, Tel. +49 40 8998-6312
__https://desy-theory.cfel.de/


Re: error msg: multimedia server is inaccessible

2020-04-09 Thread Maxim Solodovnik
KMS died?
Is it reproducible for you?
I'm currently using dockerized KMS and restart OM several times enter/ext
rooms - never saw such behavior

On Thu, 9 Apr 2020 at 23:55, Geffert, Otfried 
wrote:

> Dear all,
>
> after having a succesfull video conference with a colleague, we both left
> the room,
> came back in and we could not see & hear each other anymore.
>
> Then us two left the room and logged out, I loggeg in again, entered the
> room
> and
> I saw a lot of messages on the right window border , saying: multimedia
> server inaccessible
>
> After rebooting I have set up a log file for kurento with:
>
>nohup docker logs --follow kms >"kms-$(date '+%Y%m%dT%H%M%S').log" 2>&1
> &
>
> Unfortunately it logs a lot of stuff.
>
> Does anyone have an idea, when "multimedia server inaccessible"
> comes up ?
>
> Best regards,
> Otfried
>
>
>
>
> --
> Otfried Geffert
> Hard~ & Software Engineer @ DESYs CFEL theory group, Tel. +49 40 8998-6312
> __https://desy-theory.cfel.de/
>


-- 
Best regards,
Maxim


user@openmeetings.apache.org

2020-04-09 Thread Christian Bautista
is there any way to fix high cpu usage of ffmpeg on OM 5.0.0-M3? whenever i
tried to record, the cpu goes all the way to 200-300% cpu usage after
2minutes and it randomly stops after passing the 2minute mark. i followed
this instruction

https://cwiki.apache.org/confluence/display/OPENMEETINGS/Tutorials+for+insta
lling+OpenMeetings+and+Tools?preview=/27838216/140774282/Installation%20Open
Meetings%205.0.0-M3%20on%20Ubuntu%2018.04%20LTS.pdf and everything works
well except for the recording.

CPU: Intel(R) Xeon(R) CPU E3-1225 v3 @ 3.20GHz

any fix on this will be greatly appreciated.

thanks.



Re: error msg: multimedia server is inaccessible

2020-04-09 Thread Geffert, Otfried
It only had two successful meetings until now 
and
after the first one, there was supposed to be a another
between two colleagues: They told me: no audio and video
and
after the second one: I saw this message.

Inbetween I had rebooted the machine and started all necessary processes again.

If I am alone entering/leaving the room: no problem, audio and video SEEMS to 
work



- Original Message -
From: "Maxim Solodovnik" 
To: "user" 
Sent: Thursday, 9 April, 2020 19:24:34
Subject: Re: error msg: multimedia server is inaccessible

KMS died?
Is it reproducible for you?
I'm currently using dockerized KMS and restart OM several times enter/ext
rooms - never saw such behavior

On Thu, 9 Apr 2020 at 23:55, Geffert, Otfried 
wrote:

> Dear all,
>
> after having a succesfull video conference with a colleague, we both left
> the room,
> came back in and we could not see & hear each other anymore.
>
> Then us two left the room and logged out, I loggeg in again, entered the
> room
> and
> I saw a lot of messages on the right window border , saying: multimedia
> server inaccessible
>
> After rebooting I have set up a log file for kurento with:
>
>nohup docker logs --follow kms >"kms-$(date '+%Y%m%dT%H%M%S').log" 2>&1
> &
>
> Unfortunately it logs a lot of stuff.
>
> Does anyone have an idea, when "multimedia server inaccessible"
> comes up ?
>
> Best regards,
> Otfried
>
>
>
>
> --
> Otfried Geffert
> Hard~ & Software Engineer @ DESYs CFEL theory group, Tel. +49 40 8998-6312
> __https://desy-theory.cfel.de/
>


-- 
Best regards,
Maxim
-- 
Otfried Geffert
Hard~ & Software Engineer @ DESYs CFEL theory group, Tel. +49 40 8998-6312
__https://desy-theory.cfel.de/


New tutorial CentOS 7-8 Installation SSL certificates and Coturn for OpenMeetings 5.0.0-M3

2020-04-09 Thread Alvaro

Hello,
It is at your disposal a new tutorial called:

Installation SSL certificates and Coturn for OpenMeetings 5.0.0-M3.pdf

It is tested with an OpenMeetings 5.0.0-M3 server installed on a pcat
home, after NAT router; and each in the room saw and heard the
otherscameras and your own correctly.Also in the tests done, we have
uploaded files, recorded videoand shared desktop without any error.
You can download the tutorial directly from here:

Centos 7-8 Installation SSL certificates and Coturn for OpenMeetings
5.0.0-M3.pdf


...or find it here:
https://cwiki.apache.org/confluence/display/OPENMEETINGS/Tutorials+for+
installing+OpenMeetings+and+Tools

Best regards
Alvaro


.

Re: New tutorial CentOS 7-8 Installation SSL certificates and Coturn for OpenMeetings 5.0.0-M3

2020-04-09 Thread Alvaro
...called:
Centos 7-8 Installation SSL certificates and Coturn for OpenMeetings
5.0.0-M3

.
El jue, 09-04-2020 a las 20:13 +0200, Alvaro escribió:
> Hello,
> 
> It is at your disposal a new tutorial called:
> 
> 
> Installation SSL certificates and Coturn for OpenMeetings 5.0.0-
> M3.pdf
> 
> 
> It is tested with an OpenMeetings 5.0.0-M3 server installed on a pc
> at home, after NAT router; and each in the room saw and heard the
> others
> cameras and your own correctly.
> Also in the tests done, we have uploaded files, recorded video
> and shared desktop without any error.
> 
> You can download the tutorial directly from here:
> 
> 
> Centos 7-8 Installation SSL certificates and Coturn for OpenMeetings
> 5.0.0-M3.pdf
> 
> 
> ...or find it here:
> 
> https://cwiki.apache.org/confluence/display/OPENMEETINGS/Tutorials+fo
> r+installing+OpenMeetings+and+Tools
> 
> 
> Best regards
> 
> Alvaro
> 
> 
> 
> .

Re: New tutorial CentOS 7-8 Installation SSL certificates and Coturn for OpenMeetings 5.0.0-M3

2020-04-09 Thread Geffert, Otfried
Thanks Alvaro
for installing, testing and writing this down - for Centos !!!

Otfried

- Original Message -
From: "Alvaro" 
To: "user" 
Sent: Thursday, 9 April, 2020 20:16:07
Subject: Re: New tutorial CentOS 7-8 Installation SSL certificates and Coturn 
for OpenMeetings 5.0.0-M3

...called:
Centos 7-8 Installation SSL certificates and Coturn for OpenMeetings
5.0.0-M3

.
El jue, 09-04-2020 a las 20:13 +0200, Alvaro escribió:
> Hello,
> 
> It is at your disposal a new tutorial called:
> 
> 
> Installation SSL certificates and Coturn for OpenMeetings 5.0.0-
> M3.pdf
> 
> 
> It is tested with an OpenMeetings 5.0.0-M3 server installed on a pc
> at home, after NAT router; and each in the room saw and heard the
> others
> cameras and your own correctly.
> Also in the tests done, we have uploaded files, recorded video
> and shared desktop without any error.
> 
> You can download the tutorial directly from here:
> 
> 
> Centos 7-8 Installation SSL certificates and Coturn for OpenMeetings
> 5.0.0-M3.pdf
> 
> 
> ...or find it here:
> 
> https://cwiki.apache.org/confluence/display/OPENMEETINGS/Tutorials+fo
> r+installing+OpenMeetings+and+Tools
> 
> 
> Best regards
> 
> Alvaro
> 
> 
> 
> .
-- 
Otfried Geffert
Hard~ & Software Engineer @ DESYs CFEL theory group, Tel. +49 40 8998-6312
__https://desy-theory.cfel.de/


Re: REST user login session not change

2020-04-09 Thread Varga Balázs

"This is not clear
you call /user/login?user=user2&pass=pass2

And get Authenticated as user1 ?

I just have checked this and can't confirm
Everything works as expected"

Yes, this is a problem!

The second login can"t change user in backend or logging info have bug.


I try login first user1:pass1, try many soap method  and switch login as 
user2:pass2, try sap methods is failed http405, in catalina log show 
user_id not changed.




2020. 04. 09. 16:40 keltezéssel, Maxim Solodovnik írta:



On Thu, 9 Apr 2020 at 14:49, Varga Balázs > wrote:


Hello Maxim!

I try this:

Login on API as USER1, success, get hash. I check in catalina logs,
identifyed as user_id=1, good.


This is expected :)


Try change logged in user (repeat login with new auth data): login
again
as USER2, success, get hash. I check in catalina logs, identifyed by
previous user  user_id=1 this is bad.


This is not clear
you call /user/login?user=user2&pass=pass2

And get Authenticated as user1 ?

I just have checked this and can't confirm
Everything works as expected


In REST not found "logout".


This is by design


This test process is failed:

Login as SOAP privileged user, create new user and your own room, and
try switch login to new user and make another process own name.


This is something I don't understand
please re-phrase


-- 
Varga Balázs

+36-70-389-4753
SZHWEB Bt.



--
Best regards,
Maxim


--
Varga Balázs
+36-70-389-4753
SZHWEB Bt.



Re: user@openmeetings.apache.org

2020-04-09 Thread Maxim Solodovnik
Hello,
AFAIK ffmpeg tries to do it's job as fast as possible
Video transcoding is heavy task

I would suggest to try to run ffmpeg command (can be found in the logs)
from console on server
And try to make it less eager https://ffmpeg.org/ffmpeg.html (conversion
will last longer ...)
If you will find "the ultimate key" we can add it to Admin -> Config


On Fri, 10 Apr 2020 at 00:26, Christian Bautista 
wrote:

> is there any way to fix high cpu usage of ffmpeg on OM 5.0.0-M3? whenever
> i tried to record, the cpu goes all the way to 200-300% cpu usage after
> 2minutes and it randomly stops after passing the 2minute mark. i followed
> this instruction
> https://cwiki.apache.org/confluence/display/OPENMEETINGS/Tutorials+for+installing+OpenMeetings+and+Tools?preview=/27838216/140774282/Installation%20OpenMeetings%205.0.0-M3%20on%20Ubuntu%2018.04%20LTS.pdf
>  and
> everything works well except for the recording.
>
> CPU: Intel(R) Xeon(R) CPU E3-1225 v3 @ 3.20GHz
>
> any fix on this will be greatly appreciated.
>
> thanks.
>


-- 
Best regards,
Maxim


Re: error msg: multimedia server is inaccessible

2020-04-09 Thread Maxim Solodovnik
On Fri, 10 Apr 2020 at 00:36, Geffert, Otfried 
wrote:

> It only had two successful meetings until now
> and
> after the first one, there was supposed to be a another
> between two colleagues: They told me: no audio and video
> and
> after the second one: I saw this message.
>
> Inbetween I had rebooted the machine and started all necessary processes
> again.
>

In case such thing will happen again, can you check if Kurento is still
running?


>
> If I am alone entering/leaving the room: no problem, audio and video SEEMS
> to work
>

Such behavior was fixed in upcoming M4: from now on you will see the
message if connection wasn't actually established


>
>
>
> - Original Message -
> From: "Maxim Solodovnik" 
> To: "user" 
> Sent: Thursday, 9 April, 2020 19:24:34
> Subject: Re: error msg: multimedia server is inaccessible
>
> KMS died?
> Is it reproducible for you?
> I'm currently using dockerized KMS and restart OM several times enter/ext
> rooms - never saw such behavior
>
> On Thu, 9 Apr 2020 at 23:55, Geffert, Otfried 
> wrote:
>
> > Dear all,
> >
> > after having a succesfull video conference with a colleague, we both left
> > the room,
> > came back in and we could not see & hear each other anymore.
> >
> > Then us two left the room and logged out, I loggeg in again, entered the
> > room
> > and
> > I saw a lot of messages on the right window border , saying: multimedia
> > server inaccessible
> >
> > After rebooting I have set up a log file for kurento with:
> >
> >nohup docker logs --follow kms >"kms-$(date '+%Y%m%dT%H%M%S').log"
> 2>&1
> > &
> >
> > Unfortunately it logs a lot of stuff.
> >
> > Does anyone have an idea, when "multimedia server inaccessible"
> > comes up ?
> >
> > Best regards,
> > Otfried
> >
> >
> >
> >
> > --
> > Otfried Geffert
> > Hard~ & Software Engineer @ DESYs CFEL theory group, Tel. +49 40
> 8998-6312
> > __https://desy-theory.cfel.de/
> >
>
>
> --
> Best regards,
> Maxim
> --
> Otfried Geffert
> Hard~ & Software Engineer @ DESYs CFEL theory group, Tel. +49 40 8998-6312
> __https://desy-theory.cfel.de/
>


-- 
Best regards,
Maxim


Re: REST user login session not change

2020-04-09 Thread Maxim Solodovnik
On Fri, 10 Apr 2020 at 03:32, Varga Balázs  wrote:

> "This is not clear
> you call /user/login?user=user2&pass=pass2
>
> And get Authenticated as user1 ?
>
> I just have checked this and can't confirm
> Everything works as expected"
>
> Yes, this is a problem!
>
> The second login can"t change user in backend or logging info have bug.
>
>
> I try login first user1:pass1, try many soap method  and switch login as
> user2:pass2, try sap methods is failed http405, in catalina log show
> user_id not changed.
>

please provide the requests you did
So i can see what is wrong


>
>
>
> 2020. 04. 09. 16:40 keltezéssel, Maxim Solodovnik írta:
>
>
>
> On Thu, 9 Apr 2020 at 14:49, Varga Balázs  wrote:
>
>> Hello Maxim!
>>
>> I try this:
>>
>> Login on API as USER1, success, get hash. I check in catalina logs,
>> identifyed as user_id=1, good.
>>
>
> This is expected :)
>
>
>>
>> Try change logged in user (repeat login with new auth data): login again
>> as USER2, success, get hash. I check in catalina logs, identifyed by
>> previous user  user_id=1 this is bad.
>>
>
> This is not clear
> you call /user/login?user=user2&pass=pass2
>
> And get Authenticated as user1 ?
>
> I just have checked this and can't confirm
> Everything works as expected
>
>
>>
>> In REST not found "logout".
>>
>>
> This is by design
>
>
>>
>> This test process is failed:
>>
>> Login as SOAP privileged user, create new user and your own room, and
>> try switch login to new user and make another process own name.
>>
>>
> This is something I don't understand
> please re-phrase
>
>
>>
>> --
>> Varga Balázs
>> +36-70-389-4753
>> SZHWEB Bt.
>>
>>
>
> --
> Best regards,
> Maxim
>
> --
> Varga Balázs
> +36-70-389-4753
> SZHWEB Bt.
>
>

-- 
Best regards,
Maxim