Re: incoming packet message processed

2020-10-05 Thread Ali Alhaidary

Thank you max,

I did check it over and over along with media server and googled it, 
looked in mailing threads, one thing I saw in it that we should either 
use realm or auth-secret, but in the installation manual configures 
both, could that be the reason?


On 10/6/20 6:30 AM, Maxim Solodovnik wrote:

Check TURN credentials

from mobile (sorry for typos ;)

On Tue, Oct 6, 2020, 10:16 Ali Alhaidary > wrote:


I am getting these two lines in the turn server log, I assume that
'success' is good while 'Unauthorized' is bad, and I do know that
something is trying to access but was not authorized. I have followed
and reviewed the setting so many times, it is as recommended by the
installation manual so from where is it coming from?

25164: session 19: realm http://rooms.the5stars.org>> user <>:
incoming packet message processed, error 401: Unauthorized
25164: session 001010: realm http://rooms.the5stars.org>> user <>:
incoming packet BINDING processed, success



Re: incoming packet message processed

2020-10-05 Thread Maxim Solodovnik
Check TURN credentials

from mobile (sorry for typos ;)


On Tue, Oct 6, 2020, 10:16 Ali Alhaidary 
wrote:

> I am getting these two lines in the turn server log, I assume that
> 'success' is good while 'Unauthorized' is bad, and I do know that
> something is trying to access but was not authorized. I have followed
> and reviewed the setting so many times, it is as recommended by the
> installation manual so from where is it coming from?
>
> 25164: session 19: realm  user <>:
> incoming packet message processed, error 401: Unauthorized
> 25164: session 001010: realm  user <>:
> incoming packet BINDING processed, success
>
>


Re: ERROR

2020-10-05 Thread Maxim Solodovnik
Well
It can be ignored in case recording is OK  ;)

from mobile (sorry for typos ;)


On Tue, Oct 6, 2020, 09:44 Ali Alhaidary 
wrote:

> Thank you Max, it has the magic word "ignored"... :-)
>
> Ali
> On 10/6/20 4:21 AM, Maxim Solodovnik wrote:
>
> this one is usually reported when recording stream (of camera/microphone
> or screen-sharing)
> was not found on the file system
>
> it might be ignored if it is some small chunk created while devices were
> switched on/off
>
>
> On Tue, 6 Oct 2020 at 03:01, Ali Alhaidary 
> wrote:
>
>> ERROR 10-04 21:40:50.684 o.a.o.c.c.RecordingConverter:100
>> [taskExecutor-1] - [startConversion]
>> org.apache.openmeetings.core.converter.ConversionException:
>> screenMetaData is Null recordingId 59
>>  at
>>
>> org.apache.openmeetings.core.converter.RecordingConverter.startConversion(RecordingConverter.java:58)
>>  at
>>
>> org.apache.openmeetings.core.remote.StreamProcessor.lambda$startConvertion$10(StreamProcessor.java:481)
>>  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)
>>
>> Can anyone help please?
>>
>>
>
> --
> Best regards,
> Maxim
>
>


incoming packet message processed

2020-10-05 Thread Ali Alhaidary
I am getting these two lines in the turn server log, I assume that 
'success' is good while 'Unauthorized' is bad, and I do know that 
something is trying to access but was not authorized. I have followed 
and reviewed the setting so many times, it is as recommended by the 
installation manual so from where is it coming from?


25164: session 19: realm  user <>: 
incoming packet message processed, error 401: Unauthorized
25164: session 001010: realm  user <>: 
incoming packet BINDING processed, success




Re: ERROR

2020-10-05 Thread Ali Alhaidary

Thank you Max, it has the magic word "ignored"... :-)

Ali

On 10/6/20 4:21 AM, Maxim Solodovnik wrote:
this one is usually reported when recording stream (of 
camera/microphone or screen-sharing)

was not found on the file system

it might be ignored if it is some small chunk created while devices 
were switched on/off



On Tue, 6 Oct 2020 at 03:01, Ali Alhaidary 
mailto:ali.alhaid...@the5stars.org>> wrote:


ERROR 10-04 21:40:50.684 o.a.o.c.c.RecordingConverter:100
[taskExecutor-1] - [startConversion]
org.apache.openmeetings.core.converter.ConversionException:
screenMetaData is Null recordingId 59
 at

org.apache.openmeetings.core.converter.RecordingConverter.startConversion(RecordingConverter.java:58)
 at

org.apache.openmeetings.core.remote.StreamProcessor.lambda$startConvertion$10(StreamProcessor.java:481)
 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)

Can anyone help please?



--
Best regards,
Maxim


Re: ERROR

2020-10-05 Thread Maxim Solodovnik
this one is usually reported when recording stream (of camera/microphone or
screen-sharing)
was not found on the file system

it might be ignored if it is some small chunk created while devices were
switched on/off


On Tue, 6 Oct 2020 at 03:01, Ali Alhaidary 
wrote:

> ERROR 10-04 21:40:50.684 o.a.o.c.c.RecordingConverter:100
> [taskExecutor-1] - [startConversion]
> org.apache.openmeetings.core.converter.ConversionException:
> screenMetaData is Null recordingId 59
>  at
>
> org.apache.openmeetings.core.converter.RecordingConverter.startConversion(RecordingConverter.java:58)
>  at
>
> org.apache.openmeetings.core.remote.StreamProcessor.lambda$startConvertion$10(StreamProcessor.java:481)
>  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)
>
> Can anyone help please?
>
>

-- 
Best regards,
Maxim


ERROR

2020-10-05 Thread Ali Alhaidary
ERROR 10-04 21:40:50.684 o.a.o.c.c.RecordingConverter:100 
[taskExecutor-1] - [startConversion]
org.apache.openmeetings.core.converter.ConversionException: 
screenMetaData is Null recordingId 59
    at 
org.apache.openmeetings.core.converter.RecordingConverter.startConversion(RecordingConverter.java:58)
    at 
org.apache.openmeetings.core.remote.StreamProcessor.lambda$startConvertion$10(StreamProcessor.java:481)
    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)

Can anyone help please?



Re: odd case or normal?

2020-10-05 Thread Denis Noctor
Will check this out and report back tomorrow. Thanks Maxim for taking the time 
and effort to get back to this issue. Really much appreciated.

Sent from my iPhone

> On Oct 5, 2020, at 2:21 AM, Maxim Solodovnik  wrote:
> 
> Here 
> https://github.com/apache/openmeetings/blob/master/openmeetings-server/src/main/assembly/scripts/openmeetings.service#L32
> 
> you can see 2 options: -Xms1G -Xmx4G
> -Xms1G sets initially allocated memory (1GB in this case)
> -Xmx4G sets maximum amount of memory this java process can use
> 
> so if you have something like -Xms8G -Xmx8G in your startup script this might 
> lead to the case there all system memory will be taken
> 
>> On Mon, 5 Oct 2020 at 13:32, Denis Noctor  wrote:
>> Hi there. I needed to make a clean install (OM 5 M4) before recording all 
>> changes and so on... but agree this might be a java process issue. Will set 
>> up another clean AWS instance setup with 5.0.1 most recent snapshot 
>> tomorrow, compare with current installation and report back tomorrow. Apart 
>> from Tomcat4... the only major installations changes I have noticed (not 
>> including improved UI and Android / IOS) improvements /  is the 
>> MySQL-connector-Java 8.0.19 to 8.0.20 and “chown -R nobody:nogroup 
>> /opt/open501”... I haven’t used “nogroup” in previous installations / 
>> upgrades. Hope this makes sense. None of my current users use Mac / Safari 
>> etc. Talk soon. All the best, Denis.
>> 
>> Sent from my iPhone
>> 
>>> On Oct 5, 2020, at 12:45 AM, Ali Alhaidary  
>>> wrote:
>>> 
>>> attached an updated (by me) copy of tomcat4, however, memory is not 
>>> consumed if OM started after a reboot (2G max for 3 classes, 5 students 
>>> each, audio only), but if multiple stop and start is done, all memory is 
>>> consumed.
>>> 
 On 10/5/20 3:27 AM, Maxim Solodovnik wrote:
 98% of RAM might be an issue
 was the memory consumed by java process?
 What are the `-Xmx` and `-Xms` parameters for OM?
 
> On Mon, 5 Oct 2020 at 01:29, Denis Noctor  wrote:
> I experienced this after upgrading to a 5.0.1 snapshot and was about to 
> follow up a response to Maxim. Not at a computer at the moment but I 
> experienced exactly the same. I  am using Ubuntu 18.04 on AWS with 8 gigs 
> ram. When SSH’ing to my server (with only one user logged in (me) I 
> noticed RAM usage was 98%... 
> 
> I downgraded to OM 5 M4 and everything is fine again (but lack the 
> advantages of the snapshot upgrade)... RAM usage dropped a lot also... a 
> lot!
> 
> Will take some time to compare tomcat3 and tomcat4 on startup, folder 
> permissions and differences between OM 5 M4 and recent snapshot.
> 
> All the best,
> 
> Denis.
> 
> Sent from my iPhone
> 
> > On Oct 4, 2020, at 9:18 AM, Ali Alhaidary  
> > wrote:
> > 
> > the following scenario is almost always happening:
> > 
> > 1. the user enters the room
> > 
> > 2. connection is not established (fails).
> > 
> > 3. the user turns his mic off.
> > 
> > 4. wait for few seconds.
> > 
> > 5 the user turns his mic on.
> > 
> > 6. connection to media server is established and keeps on even if the 
> > session went for hours.
> > 
> > Looking at log files, I could not locate any ERROR or java exception or 
> > WAR that I assume is related to this case.
> > 
> > Any idea of what is happening?
> > 
 
 
 -- 
 Best regards,
 Maxim
>>> 
> 
> 
> -- 
> Best regards,
> Maxim


Re: odd case or normal?

2020-10-05 Thread Denis Noctor
Thanks again Maxim. Will check this out in the morning. Apologies for causing 
upset... but curious also to know If other users expressed similar concerns on 
“upgrade” rather than a “fresh install”. Talk soon. All the best, Denis.

Sent from my iPhone

> On Oct 5, 2020, at 2:21 AM, Maxim Solodovnik  wrote:
> 
> Here 
> https://github.com/apache/openmeetings/blob/master/openmeetings-server/src/main/assembly/scripts/openmeetings.service#L32
> 
> you can see 2 options: -Xms1G -Xmx4G
> -Xms1G sets initially allocated memory (1GB in this case)
> -Xmx4G sets maximum amount of memory this java process can use
> 
> so if you have something like -Xms8G -Xmx8G in your startup script this might 
> lead to the case there all system memory will be taken
> 
>> On Mon, 5 Oct 2020 at 13:32, Denis Noctor  wrote:
>> Hi there. I needed to make a clean install (OM 5 M4) before recording all 
>> changes and so on... but agree this might be a java process issue. Will set 
>> up another clean AWS instance setup with 5.0.1 most recent snapshot 
>> tomorrow, compare with current installation and report back tomorrow. Apart 
>> from Tomcat4... the only major installations changes I have noticed (not 
>> including improved UI and Android / IOS) improvements /  is the 
>> MySQL-connector-Java 8.0.19 to 8.0.20 and “chown -R nobody:nogroup 
>> /opt/open501”... I haven’t used “nogroup” in previous installations / 
>> upgrades. Hope this makes sense. None of my current users use Mac / Safari 
>> etc. Talk soon. All the best, Denis.
>> 
>> Sent from my iPhone
>> 
>>> On Oct 5, 2020, at 12:45 AM, Ali Alhaidary  
>>> wrote:
>>> 
>>> attached an updated (by me) copy of tomcat4, however, memory is not 
>>> consumed if OM started after a reboot (2G max for 3 classes, 5 students 
>>> each, audio only), but if multiple stop and start is done, all memory is 
>>> consumed.
>>> 
 On 10/5/20 3:27 AM, Maxim Solodovnik wrote:
 98% of RAM might be an issue
 was the memory consumed by java process?
 What are the `-Xmx` and `-Xms` parameters for OM?
 
> On Mon, 5 Oct 2020 at 01:29, Denis Noctor  wrote:
> I experienced this after upgrading to a 5.0.1 snapshot and was about to 
> follow up a response to Maxim. Not at a computer at the moment but I 
> experienced exactly the same. I  am using Ubuntu 18.04 on AWS with 8 gigs 
> ram. When SSH’ing to my server (with only one user logged in (me) I 
> noticed RAM usage was 98%... 
> 
> I downgraded to OM 5 M4 and everything is fine again (but lack the 
> advantages of the snapshot upgrade)... RAM usage dropped a lot also... a 
> lot!
> 
> Will take some time to compare tomcat3 and tomcat4 on startup, folder 
> permissions and differences between OM 5 M4 and recent snapshot.
> 
> All the best,
> 
> Denis.
> 
> Sent from my iPhone
> 
> > On Oct 4, 2020, at 9:18 AM, Ali Alhaidary  
> > wrote:
> > 
> > the following scenario is almost always happening:
> > 
> > 1. the user enters the room
> > 
> > 2. connection is not established (fails).
> > 
> > 3. the user turns his mic off.
> > 
> > 4. wait for few seconds.
> > 
> > 5 the user turns his mic on.
> > 
> > 6. connection to media server is established and keeps on even if the 
> > session went for hours.
> > 
> > Looking at log files, I could not locate any ERROR or java exception or 
> > WAR that I assume is related to this case.
> > 
> > Any idea of what is happening?
> > 
 
 
 -- 
 Best regards,
 Maxim
>>> 
> 
> 
> -- 
> Best regards,
> Maxim


Re: odd case or normal?

2020-10-05 Thread Maxim Solodovnik
Here
https://github.com/apache/openmeetings/blob/master/openmeetings-server/src/main/assembly/scripts/openmeetings.service#L32

you can see 2 options: -Xms1G -Xmx4G
-Xms1G sets initially allocated memory (1GB in this case)
-Xmx4G sets maximum amount of memory this java process can use

so if you have something like -Xms8G -Xmx8G in your startup script this
might lead to the case there all system memory will be taken

On Mon, 5 Oct 2020 at 13:32, Denis Noctor  wrote:

> Hi there. I needed to make a clean install (OM 5 M4) before recording all
> changes and so on... but agree this might be a java process issue. Will set
> up another clean AWS instance setup with 5.0.1 most recent snapshot
> tomorrow, compare with current installation and report back tomorrow. Apart
> from Tomcat4... the only major installations changes I have noticed (not
> including improved UI and Android / IOS) improvements /  is the
> MySQL-connector-Java 8.0.19 to 8.0.20 and “chown -R nobody:nogroup
> /opt/open501”... I haven’t used “nogroup” in previous installations /
> upgrades. Hope this makes sense. None of my current users use Mac / Safari
> etc. Talk soon. All the best, Denis.
>
> Sent from my iPhone
>
> On Oct 5, 2020, at 12:45 AM, Ali Alhaidary 
> wrote:
>
> attached an updated (by me) copy of tomcat4, however, memory is not
> consumed if OM started after a reboot (2G max for 3 classes, 5 students
> each, audio only), but if multiple stop and start is done, all memory is
> consumed.
> On 10/5/20 3:27 AM, Maxim Solodovnik wrote:
>
> 98% of RAM might be an issue
> was the memory consumed by java process?
> What are the `-Xmx` and `-Xms` parameters for OM?
>
> On Mon, 5 Oct 2020 at 01:29, Denis Noctor  wrote:
>
>> I experienced this after upgrading to a 5.0.1 snapshot and was about to
>> follow up a response to Maxim. Not at a computer at the moment but I
>> experienced exactly the same. I  am using Ubuntu 18.04 on AWS with 8 gigs
>> ram. When SSH’ing to my server (with only one user logged in (me) I noticed
>> RAM usage was 98%...
>>
>> I downgraded to OM 5 M4 and everything is fine again (but lack the
>> advantages of the snapshot upgrade)... RAM usage dropped a lot also... a
>> lot!
>>
>> Will take some time to compare tomcat3 and tomcat4 on startup, folder
>> permissions and differences between OM 5 M4 and recent snapshot.
>>
>> All the best,
>>
>> Denis.
>>
>> Sent from my iPhone
>>
>> > On Oct 4, 2020, at 9:18 AM, Ali Alhaidary 
>> wrote:
>> >
>> > the following scenario is almost always happening:
>> >
>> > 1. the user enters the room
>> >
>> > 2. connection is not established (fails).
>> >
>> > 3. the user turns his mic off.
>> >
>> > 4. wait for few seconds.
>> >
>> > 5 the user turns his mic on.
>> >
>> > 6. connection to media server is established and keeps on even if the
>> session went for hours.
>> >
>> > Looking at log files, I could not locate any ERROR or java exception or
>> WAR that I assume is related to this case.
>> >
>> > Any idea of what is happening?
>> >
>>
>
>
> --
> Best regards,
> Maxim
>
> 
>
>

-- 
Best regards,
Maxim


Re: odd case or normal?

2020-10-05 Thread Denis Noctor
Hi there. I needed to make a clean install (OM 5 M4) before recording all 
changes and so on... but agree this might be a java process issue. Will set up 
another clean AWS instance setup with 5.0.1 most recent snapshot tomorrow, 
compare with current installation and report back tomorrow. Apart from 
Tomcat4... the only major installations changes I have noticed (not including 
improved UI and Android / IOS) improvements /  is the MySQL-connector-Java 
8.0.19 to 8.0.20 and “chown -R nobody:nogroup /opt/open501”... I haven’t used 
“nogroup” in previous installations / upgrades. Hope this makes sense. None of 
my current users use Mac / Safari etc. Talk soon. All the best, Denis.

Sent from my iPhone

> On Oct 5, 2020, at 12:45 AM, Ali Alhaidary  
> wrote:
> 
> attached an updated (by me) copy of tomcat4, however, memory is not consumed 
> if OM started after a reboot (2G max for 3 classes, 5 students each, audio 
> only), but if multiple stop and start is done, all memory is consumed.
> 
>> On 10/5/20 3:27 AM, Maxim Solodovnik wrote:
>> 98% of RAM might be an issue
>> was the memory consumed by java process?
>> What are the `-Xmx` and `-Xms` parameters for OM?
>> 
>>> On Mon, 5 Oct 2020 at 01:29, Denis Noctor  wrote:
>>> I experienced this after upgrading to a 5.0.1 snapshot and was about to 
>>> follow up a response to Maxim. Not at a computer at the moment but I 
>>> experienced exactly the same. I  am using Ubuntu 18.04 on AWS with 8 gigs 
>>> ram. When SSH’ing to my server (with only one user logged in (me) I noticed 
>>> RAM usage was 98%... 
>>> 
>>> I downgraded to OM 5 M4 and everything is fine again (but lack the 
>>> advantages of the snapshot upgrade)... RAM usage dropped a lot also... a 
>>> lot!
>>> 
>>> Will take some time to compare tomcat3 and tomcat4 on startup, folder 
>>> permissions and differences between OM 5 M4 and recent snapshot.
>>> 
>>> All the best,
>>> 
>>> Denis.
>>> 
>>> Sent from my iPhone
>>> 
>>> > On Oct 4, 2020, at 9:18 AM, Ali Alhaidary  
>>> > wrote:
>>> > 
>>> > the following scenario is almost always happening:
>>> > 
>>> > 1. the user enters the room
>>> > 
>>> > 2. connection is not established (fails).
>>> > 
>>> > 3. the user turns his mic off.
>>> > 
>>> > 4. wait for few seconds.
>>> > 
>>> > 5 the user turns his mic on.
>>> > 
>>> > 6. connection to media server is established and keeps on even if the 
>>> > session went for hours.
>>> > 
>>> > Looking at log files, I could not locate any ERROR or java exception or 
>>> > WAR that I assume is related to this case.
>>> > 
>>> > Any idea of what is happening?
>>> > 
>> 
>> 
>> -- 
>> Best regards,
>> Maxim
>