Re: Invalid Hash via SOAP API call

2020-03-26 Thread Maxim Solodovnik
Well,

just tested hashes
This error is only observed in case multiple tabs are opened in the same
browser

Is this issue reproducible for you if there is only one user in the room?

Can you test this behavior with latest M4
(new version of Moodle plugin will be required)

On Thu, 26 Mar 2020 at 14:12, Maxim Solodovnik  wrote:

> According to above access log
> This URL
> /openmeetings/hash?&secure=9c271470-cfaa-4e95-9d64-9210b9e4a7cc&language=1
> has been queried 2 times
> First one was
> /openmeetings/hash?&secure=9c271470-cfaa-4e95-9d64-9210b9e4a7cc&language=1
> Second
>
> /openmeetings/hash;jsessionid=CE0DC1A368404F8AFDCE934313E81C96?secure=9c271470-cfaa-4e95-9d64-9210b9e4a7cc&language=1
>
> Since secureHash is one-time hash here might be the issue
> It is not clear why session was invalidated .
> I'll try to perform more test tonight/tomorrow
>
> On Thu, 26 Mar 2020 at 13:49, Daniel Baker 
> wrote:
>
>> No other  OM logins.
>>
>>
>> I  actually  titled this  wrong,  it  is a  REST  call not  SOAP.
>>
>>
>> Thanks,
>>
>>
>> Dan
>>
>>
>> On 26/03/2020 00:27, Maxim Solodovnik wrote:
>>
>> is it possible OM was opened in second tab with active login?
>>
>> On Thu, 26 Mar 2020 at 04:15, Daniel Baker 
>> wrote:
>>
>>> Not sure  why  I am getting this  during  entering of a room :
>>>
>>>
>>> I get invalid  hash / Access denied   show in the browser:
>>>
>>>
>>> [image: image]
>>>
>>>
>>> The  url  looks  like this  which seems correct  to my understanding  :
>>>
>>>
>>>  tail -f localhost_access_log.2020-03-25
>>>
>>> XX.XXX.XXX.XXX - - [25/Mar/2020:19:24:27 +] "GET
>>> /openmeetings/services/user/login?&user=admin&pass=PASSWORD%40 HTTP/1.1"
>>> 200 96
>>> XX.XXX.XXX.XXX - - [25/Mar/2020:19:24:27 +] "POST
>>> /openmeetings/services/user/hash?&sid=973f7132-39f7-47d0-b614-7845c4ed0411
>>> HTTP/1.1" 200 96
>>> XX.XXX.XXX.XXX - - [25/Mar/2020:19:24:28 +] "GET
>>> /openmeetings/hash?&secure=9c271470-cfaa-4e95-9d64-9210b9e4a7cc&language=1
>>> HTTP/1.1" 200 7231
>>> XX.XXX.XXX.XXX - - [25/Mar/2020:19:24:28 +] "GET
>>> /openmeetings/css/theme_om/jquery-ui.min.css HTTP/1.1" 304 -
>>> XX.XXX.XXX.XXX - - [25/Mar/2020:19:24:28 +] "GET
>>> /openmeetings/css/theme.css HTTP/1.1" 304 -
>>> XX.XXX.XXX.XXX - - [25/Mar/2020:19:24:28 +] "GET
>>> /openmeetings/css/custom.css HTTP/1.1" 304 -
>>> XX.XXX.XXX.XXX - - [25/Mar/2020:19:24:28 +] "-" 400 -
>>> XX.XXX.XXX.XXX - - [25/Mar/2020:19:24:28 +] "-" 400 -
>>> XX.XXX.XXX.XXX - - [25/Mar/2020:19:24:29 +] "GET
>>> /openmeetings/services/user/login?&user=admin&pass=PASSWORD%40 HTTP/1.1"
>>> 200 96
>>> XX.XXX.XXX.XXX - - [25/Mar/2020:19:24:29 +] "GET
>>> /openmeetings/services/room/32?&sid=25d019cb-728c-4c7e-a88e-88910b3eae51
>>> HTTP/1.1" 200 444
>>> XX.XXX.XXX.XXX - - [25/Mar/2020:19:24:30 +] "GET
>>> /openmeetings/services/user/login?&user=admin&pass=PASSWORD%40 HTTP/1.1"
>>> 200 96
>>> XX.XXX.XXX.XXX - - [25/Mar/2020:19:24:30 +] "POST
>>> /openmeetings/services/user/hash?&sid=bd8227ad-88d1-41ba-b4ce-69239844e5a1
>>> HTTP/1.1" 200 96
>>> XX.XXX.XXX.XXX - - [25/Mar/2020:19:24:32 +] "GET
>>> **/openmeetings/wicket/bookmarkable/org.apache.openmeetings.web.pages.HashPage?0-1.0
>>> *-access~denied*&secure=9c271470-cfaa-4e95-9d64-**9210b9e4a7cc&language=1&_=1585164268523
>>> HTTP/1.1" 200 180
>>> XX.XXX.XXX.XXX - - [25/Mar/2020:19:24:32 +] "GET
>>> /openmeetings/hash;jsessionid=CE0DC1A368404F8AFDCE934313E81C96?secure=9c271470-cfaa-4e95-9d64-9210b9e4a7cc&language=1
>>> HTTP/1.1" 200 7328
>>> XX.XXX.XXX.XXX - - [25/Mar/2020:19:24:33 +] "-" 400 -
>>> XX.XXX.XXX.XXX - - [25/Mar/2020:19:24:33 +] "-" 400 -
>>> XX.XXX.XXX.XXX - - [25/Mar/2020:19:24:33 +] "-" 400 -
>>> XX.XXX.XXX.XXX - - [25/Mar/2020:19:24:33 +] "GET
>>> /openmeetings/wicket/resource/com.googlecode.wicket.kendo.ui.theme.Initializer/kendo.default.mobile.min-ver-70A144DCABA4386C973AE2446CA25F3D.css
>>> HTTP/1.1" 200 111339
>>> XX.XXX.XXX.XXX - - [25/Mar/2020:19:24:33 +] "GET
>>> /openmeetings/css/theme_om/jquery-ui.min.css HTTP/1.1" 304 -
>>>
>>>
>>>
>>> OM  Version :
>>>
>>>
>>> Name OpenMeetings  Version5.0.0-M3 Revisionb739f87 Build 
>>> date2019-12-11T11:42:09Z
>>>
>>>
>>> I  can see access denied in the log so  that pinpoints it somewhat.  Is
>>> there a way  to see my  SOAP call is  correct  or a  verbose  logging mode ?
>>>
>>> Thanks,
>>>
>>> Dan
>>>
>>
>>
>> --
>> WBR
>> Maxim aka solomax
>>
>>
>
> --
> WBR
> Maxim aka solomax
>


-- 
WBR
Maxim aka solomax


Re: [HELP NEEDED] 5.0.0 release

2020-03-26 Thread Maxim Solodovnik
Yes
build 3071 is most recent one ATM :)
Thanks for testing!

On Fri, 27 Mar 2020 at 10:55, Carl Brewer  wrote:

> On 27/03/2020 2:34 pm, Maxim Solodovnik wrote:
> > Hello All,
> >
>
> > I would like to get some help with testing latest SNAPSHOT:
> > https://builds.apache.org/view/M-R/view/OpenMeetings/job/openmeetings/
>
> Is that build 3071?  I have just installed and testing today - webcams
> cannot be had in Australia at the moment for love or money so my testing
> is limited.  Everyone's bought one because we're all quarantined!
>
>
>

-- 
WBR
Maxim aka solomax


Re: [HELP NEEDED] 5.0.0 release

2020-03-26 Thread Carl Brewer

On 27/03/2020 2:34 pm, Maxim Solodovnik wrote:

Hello All,




I would like to get some help with testing latest SNAPSHOT:
https://builds.apache.org/view/M-R/view/OpenMeetings/job/openmeetings/


Is that build 3071?  I have just installed and testing today - webcams 
cannot be had in Australia at the moment for love or money so my testing 
is limited.  Everyone's bought one because we're all quarantined!





[HELP NEEDED] 5.0.0 release

2020-03-26 Thread Maxim Solodovnik
Hello All,

I would like to release 5.0.0-M4 in nearest couple of weeks

Current blockers are:
1) https://issues.apache.org/jira/browse/OPENMEETINGS-2192
2) invitation/secure hashes need to be tested in clustered mode
3) "Files messed up during backup restore" (steps still required)
4*) Camera/Microphone are disconnected sometimes

Additionally I would like to implement this one
https://issues.apache.org/jira/browse/OPENMEETINGS-2167

And check some other issues (like OM at Safari)

I would like to get some help with testing latest SNAPSHOT:
https://builds.apache.org/view/M-R/view/OpenMeetings/job/openmeetings/
It is also installed at demo-next
https://om.alteametasoft.com:8443/next

Please test this version and report back any issues found

Thanks in advance

-- 
WBR
Maxim aka solomax


Re: Related to Mice and Audio issue in openmeetings

2020-03-26 Thread Maxim Solodovnik
Can you share your openmeetings.log (can be shared privately)
Better if it will be log for one session (with exact times of camera drops)

And couple of words about your client environment
OS/Browser

Is the issue browser dependent?

The only report like this so far was from user at Windows Terminal server
...

On Fri, 27 Mar 2020 at 06:17, Denis Noctor  wrote:

> Hi there Maxim,
>
> First of all, thanks for all your efforts to date. I have noticed via the
> forum you have been fighting fires answering lots of emails and queries and
> I salute you.
>
> I decided it best to take a few days before answering you email after
> upgrading everything to *OM 5 M3* (as per Alvaro’s instructions, which
> are great).
> Version5.0.0-M3
> Revision b739f87
> Build date 2019-12-11T11:42:09Z
> Connect direct
> Using Chrome browser (as are my students) Version 80.0.3987.149 (Official
> Build) (64-bit)
>
> AWS E2 Instance
> Ubuntu 18.04.4 LTS(FULL SPECS AND PORTS OPEN AT THE BOTTOM OF EMAIL
> https:// with AWS Certificate
>
> I installed everything as per the instructions and setup up a “*Turn
> server*” account with *NUMB*  (*http://numb.viagenie.ca/
> *) as recommended by as per Tajuddin Bennur’s
>
>
> https://mail-archives.apache.org/mod_mbox/openmeetings-user/201905.mbox/browser
>
> and made the following changes (*ONLY*) as per the recommendations in:
> /etc/kurento/modules/kurento/WebRtcEndpoint.conf.ini
>
> uncommenting and adding:
>
>
> *turnURL=USERNAME:PASSWORD@158.69.221.198:3478
>  *In
> /opt/openmeetings/webapps/openmeetings/WEB-INF/classes/applicationContext.xml
>
> The only changes I made were similar to those above (though I tested
> everything before adding these changes are the following – but honestly, I
> haven’t really noticed any difference:
>
>  class="org.apache.openmeetings.core.remote.KurentoHandler"
> init-method="init" destroy-method="destroy"
>
> p:kurentoWsUrl="ws://127.0.0.1:/kurento"
>
> p:checkTimeout="1"
>
> p:watchThreadCount="10"
>
> *p:turnUrl="158.69.221.198:3478
> "*
>
> *p:turnUser="USERNAME"*
>
> *p:turnSecret="PASSWORD"*
>
> p:turnMode="rest"
>
> p:turnTtl="60"
>
> p:objCheckTimeout="200"
>
> />
>
>
>
>
> The end result is: Whiteboard for my uses is working beautifully,
> conversion process is working beautifully, drag and drop of audio and video
> is working beautifully… though I tried to upload a 59 M file and everything
> seemed to hang for a while so I cancelled the upload… but appeared in my
> online files later on… probably more ram and CPU speed will deal with
> this.. no major problem as I re-uploaded a smaller vid file and it did the
> job.
>
> In all everything is working well except for the following:
>
> When enter a room, I can see and talk to a student ( and vice versa) very
> well. Audio quality is good and cam settings are as expected. This is
> something I couldn’t do in the past without the recommended Turn Server
> settings as mentioned about.
>
> *PROBLEM:*
> When I enter a conference room( first), and then when 2 students enter the
> room…  after some time my cam box disappears from my screen. I am still in
> the room… I can still hear and see everyone else interacting with each
> other – but they can’t see or hear me. When I click on the cam and camera
> icon everything continues as normal until it happens again. Worth noting –
> I am the moderator.
>
> However, if I don’t turn on my camera and microphone again… after some
> time the same thing happens to the first user that entered the room after
> me… and so on.
>
> Apart from that everything is working really well. I remember some time
> back that a similar problem occurred with a user in the past but I can find
> anything in the user forums.
>
> Again important to note that I am using a TURN SERVER setup as mentioned
> above…. I have NOT implemented COTURN as I am under the impression TURN
> overrides COTURN.(?).
>
> Any suggestions / help as to what might be causing this?
>
> All the best,
>
> Denis
>
> Specs:
>
> AWS EC2 SERVER
>
> Instance type
>
> Memory (MiB)
> (Instance type) T3a.medium -  t3a.medium 2(vCPUs)
> (Architecturex86_64) 4096 Memory (MiB)
>
> Ubuntu 18.04.01
>
> LAMP setup
>
> PORTS OPEN:
> INBOUND
> Custom UDP  UDP   3478   0.0.0.0/0  -
>
> Custom UDP  UDP   3478   ::/0 -
>
> HTTP  TCP80   0.0.0.0/0  -
>
> HTTP  TCP80   ::/0 -
>
> Custom TCPTCP   0.0.0.0/0  -
>
> Custom TCPTCP   ::/0 -
>
> Custom TCPTCP5080   0.0.0.0/0  

Re: video problems

2020-03-26 Thread Maxim Solodovnik
TURN is required if your users are using restricted networks
Or even not very restricted like wifi router at home

On Fri, 27 Mar 2020 at 04:48, Marcus Schulz  wrote:

> 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 ACCEPT
> iptables -A OUTPUT -p udp -m udp  --sport 1:65535 -j ACCEPT
> iptables -A INPUT -p udp -m udp --dport 3478 -j ACCEPT
> iptables -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 in
>
> https://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 <
>
> stef...@lrz.uni-muenchen.de
>
> > wrote:
>
>
> Hello,
>
>
> I'm new to Openmeetings, I've installed Openmeetings on Ubuntu 18.04 
> according to
>
> https://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 they
>
> cannot get a video connection to the other users (audio works). I've disabled 
> the firewall, but with no effect.
>
>
> Any ideas ?
>
>
> Best regards
>
>
> Stefan
>
>
>
>

-- 
WBR
Maxim aka solomax


Re: Related to Mice and Audio issue in openmeetings

2020-03-26 Thread Denis Noctor
Hi there Maxim,

First of all, thanks for all your efforts to date. I have noticed via the
forum you have been fighting fires answering lots of emails and queries and
I salute you.

I decided it best to take a few days before answering you email after
upgrading everything to *OM 5 M3* (as per Alvaro’s instructions, which are
great).
Version5.0.0-M3
Revision b739f87
Build date 2019-12-11T11:42:09Z
Connect direct
Using Chrome browser (as are my students) Version 80.0.3987.149 (Official
Build) (64-bit)

AWS E2 Instance
Ubuntu 18.04.4 LTS(FULL SPECS AND PORTS OPEN AT THE BOTTOM OF EMAIL
https:// with AWS Certificate

I installed everything as per the instructions and setup up a “*Turn server*”
account with *NUMB*  (*http://numb.viagenie.ca/ *)
as recommended by as per Tajuddin Bennur’s

https://mail-archives.apache.org/mod_mbox/openmeetings-user/201905.mbox/browser

and made the following changes (*ONLY*) as per the recommendations in:
/etc/kurento/modules/kurento/WebRtcEndpoint.conf.ini

uncommenting and adding:


*turnURL=USERNAME:PASSWORD@158.69.221.198:3478
 *In
/opt/openmeetings/webapps/openmeetings/WEB-INF/classes/applicationContext.xml

The only changes I made were similar to those above (though I tested
everything before adding these changes are the following – but honestly, I
haven’t really noticed any difference:

http://158.69.221.198:3478>"*

*p:turnUser="USERNAME"*

*p:turnSecret="PASSWORD"*

p:turnMode="rest"

p:turnTtl="60"

p:objCheckTimeout="200"

/>




The end result is: Whiteboard for my uses is working beautifully,
conversion process is working beautifully, drag and drop of audio and video
is working beautifully… though I tried to upload a 59 M file and everything
seemed to hang for a while so I cancelled the upload… but appeared in my
online files later on… probably more ram and CPU speed will deal with
this.. no major problem as I re-uploaded a smaller vid file and it did the
job.

In all everything is working well except for the following:

When enter a room, I can see and talk to a student ( and vice versa) very
well. Audio quality is good and cam settings are as expected. This is
something I couldn’t do in the past without the recommended Turn Server
settings as mentioned about.

*PROBLEM:*
When I enter a conference room( first), and then when 2 students enter the
room…  after some time my cam box disappears from my screen. I am still in
the room… I can still hear and see everyone else interacting with each
other – but they can’t see or hear me. When I click on the cam and camera
icon everything continues as normal until it happens again. Worth noting –
I am the moderator.

However, if I don’t turn on my camera and microphone again… after some time
the same thing happens to the first user that entered the room after me…
and so on.

Apart from that everything is working really well. I remember some time
back that a similar problem occurred with a user in the past but I can find
anything in the user forums.

Again important to note that I am using a TURN SERVER setup as mentioned
above…. I have NOT implemented COTURN as I am under the impression TURN
overrides COTURN.(?).

Any suggestions / help as to what might be causing this?

All the best,

Denis

Specs:

AWS EC2 SERVER

Instance type

Memory (MiB)
(Instance type) T3a.medium -  t3a.medium 2(vCPUs)
(Architecturex86_64) 4096 Memory (MiB)

Ubuntu 18.04.01

LAMP setup

PORTS OPEN:
INBOUND
Custom UDP  UDP   3478   0.0.0.0/0  -

Custom UDP  UDP   3478   ::/0 -

HTTP  TCP80   0.0.0.0/0  -

HTTP  TCP80   ::/0 -

Custom TCPTCP   0.0.0.0/0  -

Custom TCPTCP   ::/0 -

Custom TCPTCP5080   0.0.0.0/0  -

Custom TCPTCP5080   ::/0 -

SSHTCP22   0.0.0.0/0  -

Custom TCPTCP5443   0.0.0.0/0  -

Custom TCPTCP5443   ::/0 -

Custom TCPTCP3478   0.0.0.0/0  -

Custom TCPTCP3478   ::/0 -

All UDP UDP   0 - 65535  0.0.0.0/0  -

All UDP UDP   0 - 65535  ::/0 -

RDPTCP3389   0.0.0.0/0  -

RDPTCP3389   ::/0 -

HTTPS   TCP443 0.0.0.0/0  -

HTTPS   TCP443 ::/0 -

Custom ICMP - IPv4Echo RequestN/A0.0.0.0/0
-

Custom ICMP - IPv4Echo RequestN/A::/0 -

_

OUBOUND

All traffic  All   All  

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: video problems

2020-03-26 Thread 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 in
https://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 to
>> https://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 they
>> cannot 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: video problems

2020-03-26 Thread 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 to
> https://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 they
> cannot get a video connection to the other users (audio works). I've disabled 
> the firewall, but with no effect.
> 
> Any ideas ?
> 
> Best regards
> 
> Stefan


video problems

2020-03-26 Thread stefanx
Hello,

I'm new to Openmeetings, I've installed Openmeetings on Ubuntu 18.04 according 
to
https://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 they
cannot 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: [Wicket-AsyncPageStore-PageSavingThread] org.apache.wicket.serialize.java.JavaSerializer - error writing object

2020-03-26 Thread Maxim Solodovnik
Saw zero errors like this on demo
I guess you can ignore it

On Thu, 26 Mar 2020 at 22:21, Rodolfo Gonzalez 
wrote:

> Third message of the day. I'm getting paranoic :D
>
> OM 4.0.10, openjdk 11, ubuntu 18.04
>
> I'm getting this too, but I don't know neither the effect nor the cause:
>
> [ERROR] [Wicket-AsyncPageStore-PageSavingThread]
> org.apache.wicket.serialize.java.JavaSerializer - error writing object
> [Page class = org.apache.openmeetings.web.pages.HashPage, id = 0, render
> count = 1]: null
> java.util.ConcurrentModificationException: null
> at java.base/java.util.ArrayList.writeObject(ArrayList.java:900)
> at
> java.base/jdk.internal.reflect.GeneratedMethodAccessor185.invoke(Unknown
> Source)
> at
> java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.base/java.lang.reflect.Method.invoke(Method.java:566)
> at
> java.base/java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:1130)
> at
> java.base/java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1497)
> at
> java.base/java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1433)
> at
> java.base/java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1179)
> at
> java.base/java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1553)
> at
> java.base/java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1510)
> at
> java.base/java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1433)
> at
> java.base/java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1179)
> at
> java.base/java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1553)
> at
> java.base/java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1510)
> at
> java.base/java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1433)
> at
> java.base/java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1179)
> at
> java.base/java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:349)
> at java.base/java.util.ArrayList.writeObject(ArrayList.java:896)
> at
> java.base/jdk.internal.reflect.GeneratedMethodAccessor185.invoke(Unknown
> Source)
> at
> java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.base/java.lang.reflect.Method.invoke(Method.java:566)
> at
> java.base/java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:1130)
> at
> java.base/java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1497)
> at
> java.base/java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1433)
> at
> java.base/java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1179)
> at
> java.base/java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1553)
> at
> java.base/java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1510)
> at
> java.base/java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1433)
> at
> java.base/java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1179)
> at
> java.base/java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:349)
> at java.base/java.util.ArrayList.writeObject(ArrayList.java:896)
> at
> java.base/jdk.internal.reflect.GeneratedMethodAccessor185.invoke(Unknown
> Source)
> at
> java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.base/java.lang.reflect.Method.invoke(Method.java:566)
> at
> java.base/java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:1130)
> at
> java.base/java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1497)
> at
> java.base/java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1433)
> at
> java.base/java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1179)
> at
> java.base/java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1553)
> at
> java.base/java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1510)
> at
> java.base/java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1433)
> at
> java.base/java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1179)
> at
> java.base/java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:349)
> at java.base/java.util.ArrayList.writeObject(ArrayList.java:896)
> at
> java.base/jdk.internal.reflect.GeneratedMethodAccessor185.invoke(Unknown
> Source)
> at
> java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at 

Re: Unexpected exception while checking hashesjava.lang.NullPointerException: null

2020-03-26 Thread Maxim Solodovnik
This might be an issue
Please file JIRA :)

On Thu, 26 Mar 2020 at 22:17, Rodolfo Gonzalez 
wrote:

> Hi, second message in a row. Again, OM 4.0.10, openjdk 11, ubuntu 18.04.
> I'm finding this in the output, I really don't know how to reproduce it, or
> what effect has in the final user's experience, but it's an exception, so
> it may cause a wrong behavior:
>
> DEBUG 03-26 09:12:38.546 o.a.o.w.c.MainPanel:118 [0.0-5453-exec-6] -
> Sending WebSocket PING
> ERROR 03-26 09:12:38.828 o.a.o.w.a.WebSession:207 [0.0-5453-exec-8] -
> Unexpected exception while checking hashes
> java.lang.NullPointerException: null
> at
> org.apache.openmeetings.db.entity.basic.Client.getUserId(Client.java:123)
> at
> org.apache.openmeetings.web.app.ClientManager.lambda$getByKeys$0(ClientManager.java:296)
> at
> java.base/java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:176)
> at java.base/java.util.Iterator.forEachRemaining(Iterator.java:133)
> at
> java.base/java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1801)
> at
> java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484)
> at
> java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)
> at
> java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:913)
> at
> java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
> at
> java.base/java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:578)
> at
> org.apache.openmeetings.web.app.ClientManager.getByKeys(ClientManager.java:297)
> at
> org.apache.openmeetings.web.app.ClientManager.invalidate(ClientManager.java:301)
> at
> org.apache.openmeetings.web.app.WebSession.invalidate(WebSession.java:121)
> at org.apache.wicket.Session.invalidateNow(Session.java:520)
> at
> org.apache.openmeetings.web.app.WebSession.checkHashes(WebSession.java:182)
> at
> org.apache.openmeetings.web.pages.HashPage.onInitialize(HashPage.java:102)
> at org.apache.wicket.Component.fireInitialize(Component.java:873)
> at
> org.apache.wicket.MarkupContainer.internalInitialize(MarkupContainer.java:1038)
> at org.apache.wicket.Page.isPageStateless(Page.java:461)
> at
> org.apache.wicket.core.request.mapper.AbstractBookmarkableMapper.getPageInfo(AbstractBookmarkableMapper.java:473)
> at
> org.apache.wicket.core.request.mapper.AbstractBookmarkableMapper.mapHandler(AbstractBookmarkableMapper.java:420)
> at
> org.apache.wicket.core.request.mapper.MountedMapper.mapHandler(MountedMapper.java:155)
> at
> org.apache.openmeetings.web.app.Application$NoVersionMapper.mapHandler(Application.java:285)
> at
> org.apache.wicket.request.mapper.CompoundRequestMapper.mapHandler(CompoundRequestMapper.java:210)
> at
> org.apache.wicket.request.cycle.RequestCycle.mapUrlFor(RequestCycle.java:451)
> at
> org.apache.wicket.request.handler.render.WebPageRenderer.respond(WebPageRenderer.java:233)
> at
> org.apache.wicket.core.request.handler.RenderPageRequestHandler.respond(RenderPageRequestHandler.java:202)
> at
> org.apache.wicket.request.cycle.RequestCycle$HandlerExecutor.respond(RequestCycle.java:914)
> at
> org.apache.wicket.request.RequestHandlerExecutor.execute(RequestHandlerExecutor.java:65)
> at
> org.apache.wicket.request.cycle.RequestCycle.execute(RequestCycle.java:282)
> at
> org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:253)
> at
> org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:221)
> at
> org.apache.wicket.protocol.ws.AbstractUpgradeFilter.processRequestCycle(AbstractUpgradeFilter.java:70)
> at
> org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:206)
> at
> org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:299)
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
> at
> org.red5.logging.LoggerContextFilter.doFilter(LoggerContextFilter.java:84)
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
> at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:202)
> at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
> at
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:643)
> at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139)
> a

Re: Unable to send message to NULL scope

2020-03-26 Thread Maxim Solodovnik
Hello Rodolfo,

I believe you can ignore these messages

On Thu, 26 Mar 2020 at 22:13, Rodolfo Gonzalez 
wrote:

> Hi,
>
> with a 4.0.10 installation, java openjdk 11, ubuntu 18.04, I'm finding
> many ot these messages in the output:
>
> DEBUG 03-26 08:57:08.055 o.a.o.c.r.ScopeApplicationAdapter:800
> [Thread-60926] - [MessageSender] -> 'Unable to send message to NULL scope'
> sendVarsToMessageWithClient, {client=Client
> [uid=3c4703bf-6225-4184-826f-e863248376d7,
> sessionId=E98D13E91A4C0BE05A356BB204682373, pageId=0, userId=343, room=351,
> rights=[superModerator], activities=[], connectedSince=Thu Mar 26 08:44:49
> CST 2020], message=[chat, {msg=COMPLETA, from=*, time=26/03/20
> 8:57}]}
>
> OM is integrated to a web app using SOAP API.
>
> I found a thread about the same message, but I can not find a resolution.
>
> Thanks.
> Rodolfo.
>


-- 
WBR
Maxim aka solomax


[Wicket-AsyncPageStore-PageSavingThread] org.apache.wicket.serialize.java.JavaSerializer - error writing object

2020-03-26 Thread Rodolfo Gonzalez
Third message of the day. I'm getting paranoic :D

OM 4.0.10, openjdk 11, ubuntu 18.04

I'm getting this too, but I don't know neither the effect nor the cause:

[ERROR] [Wicket-AsyncPageStore-PageSavingThread]
org.apache.wicket.serialize.java.JavaSerializer - error writing object
[Page class = org.apache.openmeetings.web.pages.HashPage, id = 0, render
count = 1]: null
java.util.ConcurrentModificationException: null
at java.base/java.util.ArrayList.writeObject(ArrayList.java:900)
at
java.base/jdk.internal.reflect.GeneratedMethodAccessor185.invoke(Unknown
Source)
at
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at
java.base/java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:1130)
at
java.base/java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1497)
at
java.base/java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1433)
at
java.base/java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1179)
at
java.base/java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1553)
at
java.base/java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1510)
at
java.base/java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1433)
at
java.base/java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1179)
at
java.base/java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1553)
at
java.base/java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1510)
at
java.base/java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1433)
at
java.base/java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1179)
at
java.base/java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:349)
at java.base/java.util.ArrayList.writeObject(ArrayList.java:896)
at
java.base/jdk.internal.reflect.GeneratedMethodAccessor185.invoke(Unknown
Source)
at
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at
java.base/java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:1130)
at
java.base/java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1497)
at
java.base/java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1433)
at
java.base/java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1179)
at
java.base/java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1553)
at
java.base/java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1510)
at
java.base/java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1433)
at
java.base/java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1179)
at
java.base/java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:349)
at java.base/java.util.ArrayList.writeObject(ArrayList.java:896)
at
java.base/jdk.internal.reflect.GeneratedMethodAccessor185.invoke(Unknown
Source)
at
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at
java.base/java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:1130)
at
java.base/java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1497)
at
java.base/java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1433)
at
java.base/java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1179)
at
java.base/java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1553)
at
java.base/java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1510)
at
java.base/java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1433)
at
java.base/java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1179)
at
java.base/java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:349)
at java.base/java.util.ArrayList.writeObject(ArrayList.java:896)
at
java.base/jdk.internal.reflect.GeneratedMethodAccessor185.invoke(Unknown
Source)
at
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at
java.base/java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:1130)
at
java.base/java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1497)
at
java.base/java.io.ObjectOutputStream.writeOrdinaryObject(O

Re: newbie problem, seeing : The value of 'from' is not a valid LocalDateTime.

2020-03-26 Thread Maxim Solodovnik
Just tested with FF64 @ Win7x32

Seems to work ...

On Thu, 26 Mar 2020 at 14:20, Maxim Solodovnik  wrote:

> Bon appetite :)
>
> just test at FF64 @ Ubuntu
> works as expected
>
> will try to check with FF @ Win7
>
> will report back
>
> On Thu, 26 Mar 2020 at 14:18, Carl Brewer  wrote:
>
>> On 26/03/2020 6:14 pm, Maxim Solodovnik wrote:
>> > Could you open browser dev console (usually available on F12)
>> > And do all steps one more time
>>
>> will do, later tonight, it's dinnertime here, and with lockedown and
>> quarantine, that's the hilight of the day!
>>
>>
>> >
>> > (I'll try to reproduce on my side, later tonight)
>> >
>> > On Thu, 26 Mar 2020 at 14:09, Carl Brewer > > > wrote:
>> >
>> > On 26/03/2020 6:07 pm, Maxim Solodovnik wrote:
>> >  > FF works for me
>> >  >
>> >  > What version of FF do you have? What is your OS?
>> >
>> > FF 74.0 (64-bit)
>> > Windows 10-64 Pro
>> >
>> >
>> >
>> >
>> > --
>> > WBR
>> > Maxim aka solomax
>>
>>
>> --
>> aboc IT Consultingwww.aboc.net.au
>> Your One-Stop small business IT solution provider
>>
>
>
> --
> WBR
> Maxim aka solomax
>


-- 
WBR
Maxim aka solomax


Unexpected exception while checking hashesjava.lang.NullPointerException: null

2020-03-26 Thread Rodolfo Gonzalez
Hi, second message in a row. Again, OM 4.0.10, openjdk 11, ubuntu 18.04.
I'm finding this in the output, I really don't know how to reproduce it, or
what effect has in the final user's experience, but it's an exception, so
it may cause a wrong behavior:

DEBUG 03-26 09:12:38.546 o.a.o.w.c.MainPanel:118 [0.0-5453-exec-6] -
Sending WebSocket PING
ERROR 03-26 09:12:38.828 o.a.o.w.a.WebSession:207 [0.0-5453-exec-8] -
Unexpected exception while checking hashes
java.lang.NullPointerException: null
at
org.apache.openmeetings.db.entity.basic.Client.getUserId(Client.java:123)
at
org.apache.openmeetings.web.app.ClientManager.lambda$getByKeys$0(ClientManager.java:296)
at
java.base/java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:176)
at java.base/java.util.Iterator.forEachRemaining(Iterator.java:133)
at
java.base/java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1801)
at
java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484)
at
java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)
at
java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:913)
at
java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at
java.base/java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:578)
at
org.apache.openmeetings.web.app.ClientManager.getByKeys(ClientManager.java:297)
at
org.apache.openmeetings.web.app.ClientManager.invalidate(ClientManager.java:301)
at
org.apache.openmeetings.web.app.WebSession.invalidate(WebSession.java:121)
at org.apache.wicket.Session.invalidateNow(Session.java:520)
at
org.apache.openmeetings.web.app.WebSession.checkHashes(WebSession.java:182)
at
org.apache.openmeetings.web.pages.HashPage.onInitialize(HashPage.java:102)
at org.apache.wicket.Component.fireInitialize(Component.java:873)
at
org.apache.wicket.MarkupContainer.internalInitialize(MarkupContainer.java:1038)
at org.apache.wicket.Page.isPageStateless(Page.java:461)
at
org.apache.wicket.core.request.mapper.AbstractBookmarkableMapper.getPageInfo(AbstractBookmarkableMapper.java:473)
at
org.apache.wicket.core.request.mapper.AbstractBookmarkableMapper.mapHandler(AbstractBookmarkableMapper.java:420)
at
org.apache.wicket.core.request.mapper.MountedMapper.mapHandler(MountedMapper.java:155)
at
org.apache.openmeetings.web.app.Application$NoVersionMapper.mapHandler(Application.java:285)
at
org.apache.wicket.request.mapper.CompoundRequestMapper.mapHandler(CompoundRequestMapper.java:210)
at
org.apache.wicket.request.cycle.RequestCycle.mapUrlFor(RequestCycle.java:451)
at
org.apache.wicket.request.handler.render.WebPageRenderer.respond(WebPageRenderer.java:233)
at
org.apache.wicket.core.request.handler.RenderPageRequestHandler.respond(RenderPageRequestHandler.java:202)
at
org.apache.wicket.request.cycle.RequestCycle$HandlerExecutor.respond(RequestCycle.java:914)
at
org.apache.wicket.request.RequestHandlerExecutor.execute(RequestHandlerExecutor.java:65)
at
org.apache.wicket.request.cycle.RequestCycle.execute(RequestCycle.java:282)
at
org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:253)
at
org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:221)
at
org.apache.wicket.protocol.ws.AbstractUpgradeFilter.processRequestCycle(AbstractUpgradeFilter.java:70)
at
org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:206)
at
org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:299)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at
org.red5.logging.LoggerContextFilter.doFilter(LoggerContextFilter.java:84)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:202)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:643)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)
at
org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:678)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74)
at
org.ap

Unable to send message to NULL scope

2020-03-26 Thread Rodolfo Gonzalez
Hi,

with a 4.0.10 installation, java openjdk 11, ubuntu 18.04, I'm finding many
ot these messages in the output:

DEBUG 03-26 08:57:08.055 o.a.o.c.r.ScopeApplicationAdapter:800
[Thread-60926] - [MessageSender] -> 'Unable to send message to NULL scope'
sendVarsToMessageWithClient, {client=Client
[uid=3c4703bf-6225-4184-826f-e863248376d7,
sessionId=E98D13E91A4C0BE05A356BB204682373, pageId=0, userId=343, room=351,
rights=[superModerator], activities=[], connectedSince=Thu Mar 26 08:44:49
CST 2020], message=[chat, {msg=COMPLETA, from=*, time=26/03/20
8:57}]}

OM is integrated to a web app using SOAP API.

I found a thread about the same message, but I can not find a resolution.

Thanks.
Rodolfo.


Re: OpenMeeting Online-Meeting

2020-03-26 Thread Maxim Solodovnik
Hello Mato,

please don't write direct emails, send messages to the user@ list instead
(you might need to subscribe)

1) feel free to file JIRA, or even better provide PRs :)
2) Tutorials are being provided by community, latest admin/user guide is
for 2.0, feel free to contribute :)) [1]

I would prefer offline discussions at mailing-lists
Feel free to contact mailing user@ list with your questions or ideas :)

[1]
https://cwiki.apache.org/confluence/display/OPENMEETINGS/Manuals+user+OpenMeetings+various

On Thu, 26 Mar 2020 at 16:29, Mato Nagel  wrote:

> Dear colleagues,
>
> I got your email from OpemMeetings website
> (https://openmeetings.apache.org/team.html) as you are registered with
> that project.
>
> I just installed OpenMeetings 5 on a brand new web server at
> https://webinar.molabnet.de. While using it experimentally with my
> colleagues we encountered a lot of issues worth discussing.
>
> First of all I feel this project needs some more support for several
> reasons:
> 1. The software needs some more improvements, debugging and testing of
> course.
> 2. The software needs some more publicity, tutorials for instance. There
> are many tutorials about installation, but tutorials on how to use are
> scarce.
> 3. In the present development with hundreds of international meetings
> canceled worldwide, such online tools gain immense importance. This
> trend has to be harnessed to advance OpenMeetings too.
>
> I would like to invite you to an online meeting on my server tonight, so
> you would receive a separate message from my server soon.
>
> Sincerely Yours
> Mato Nagel
>
> --
> Dr. Mato Nagel
> FA f. Innere Medizin/Nephrologie
> A.-Schweitzer-Ring 32
> D-02943 Weißwasser
> tel +49-3576-28790
>
>

-- 
WBR
Maxim aka solomax


Re: Can not SOAP-login sometimes. High load/concurrency problem?

2020-03-26 Thread Maxim Solodovnik
most probably not :)

On Thu, 26 Mar 2020 at 12:13, Rodolfo Gonzalez 
wrote:

> The version of java is not the cause, right? :)
>
> Thanks, have a good day.
>
> El mié., 25 mar. 2020 a las 20:55, Maxim Solodovnik ()
> escribió:
>
>> Well
>> In the ticket "Users log-in to OM from Moodle"
>> Moodle is CMS with OM plugin working via REST
>>
>> So it seems to be same report
>> Will try to to some tests later
>>
>> It is now day-time-job-time
>>
>>
>> On Thu, 26 Mar 2020 at 09:13, Rodolfo Gonzalez <
>> rodolfo.gonza...@gmail.com> wrote:
>>
>>> Hi Maxim,
>>>
>>> I read the ticket. It's not exactly the same problem. In my case, users
>>> do not login from the OM's login window, but the API is used with a generic
>>> user with SOAP rights. Also, the problem is not a constant, which makes
>>> harder to reproduce. I have goten the error randomly. I'll try to do a test
>>> program to list rooms hashes in loop and concurently, to see if I can find
>>> something.
>>>
>>> El mié., 25 mar. 2020 a las 20:00, Maxim Solodovnik (<
>>> solomax...@gmail.com>) escribió:
>>>
 The problem is not reproducible in the clean environment :(
 I have re-opened
 https://issues.apache.org/jira/browse/OPENMEETINGS-2192
 But we need to figure out reproducible steps for this :(

 On Thu, 26 Mar 2020 at 07:43, Rodolfo Gonzalez <
 rodolfo.gonza...@gmail.com> wrote:

> Hi Maxim, the problem is, in the server output I can not find
> exceptions other than those refused logins. In the client (PHP) side, I
> only get that the object which is returned by the login API call is null
> (so the call to get the room hash crashes, as the method is called from a
> null).
>
> I mean, I find other kind of exceptions, concerning to video stream
> and other things. But the problem seems to be that the login is being
> rejected. Another user posted a similar (maybe the same) problem just a
> moment ago.
>
> Regards.
>
> El mié., 25 mar. 2020 a las 18:21, Maxim Solodovnik (<
> solomax...@gmail.com>) escribió:
>
>> Hello Rodolfo,
>>
>> Debug logging you quoted provide zero info :(
>> There are no limits for logins in the system
>>
>> Could you share error stack trace?
>>
>> I might write test foe this
>> Am I right thinking the use case is: 100 users are trying to get room
>> hash in parallel?
>>
>>
>> On Thu, 26 Mar 2020 at 00:58, Rodolfo Gonzalez <
>> rodolfo.gonza...@gmail.com> wrote:
>>
>>> Hi,
>>>
>>> currently I run an OM 4.0.10 server with a pretty default
>>> configuration, using
>>>
>>> # java -version
>>> openjdk version "1.8.0_242"
>>> OpenJDK Runtime Environment (build
>>> 1.8.0_242-8u242-b08-0ubuntu3~16.04-b08)
>>> OpenJDK 64-Bit Server VM (build 25.242-b08, mixed mode)
>>>
>>> on Ubuntu 16.04 (default values for file handles limits).
>>>
>>> I integrated OM with a web app made in PHP with the Yii framework,
>>> using the SOAP API. I use this library:
>>>
>>> https://github.com/hakeem23/open-meetings-soap
>>>
>>> The server is on AWS, being a c4d.4xlarge instance, with htop
>>> reporting 16 cores. CPU usage is reported by AWS to be around 50%, with 
>>> a
>>> system load maxing up at the 5-7 range reported by htop. The thing is 
>>> that
>>> as many as 100 users try to list rooms or connect to the server at a 
>>> given
>>> time.
>>>
>>> I'm having several problems with the service, the main one being
>>> that the users sometimes can not get the room hashes or enter a room. 
>>> Given
>>> the flow of the process, my best guess is that the library can not 
>>> login to
>>> the OM server. The errors in the output are like these, I think (I'm not
>>> sure if these are the cause of the problem):
>>>
>>> DEBUG 03-25 11:44:24.577 o.a.o.d.u.AuthLevelUtil:42
>>> [0.0-5453-exec-7] - Level Admin :: [DENIED]
>>> DEBUG 03-25 11:44:24.632 o.a.o.d.u.AuthLevelUtil:42
>>> [0.0-5453-exec-7] - Level Admin :: [DENIED]
>>> DEBUG 03-25 11:44:24.633 o.a.o.d.u.AuthLevelUtil:42
>>> [0.0-5453-exec-7] - Level GroupAdmin :: [DENIED]
>>> DEBUG 03-25 11:44:24.642 o.a.o.d.u.AuthLevelUtil:42
>>> [0.0-5453-exec-7] - Level Admin :: [DENIED]
>>> DEBUG 03-25 11:44:24.642 o.a.o.d.u.AuthLevelUtil:42
>>> [0.0-5453-exec-7] - Level Admin :: [DENIED]
>>>
>>> and so on. But I'm unsure if this is the error which causes a
>>> cascade exceptions which render the web app unable to get the room  
>>> hashes
>>> and so (those process relay on being loged in, anyway). The thing is, 
>>> the
>>> SOAP library currently does the login process from the app, using and 
>>> user
>>> "admin" with SOAP and ADMIN level credentials. And the problem is
>>> intermitent.
>>>
>>> Do you consider that my guess is right? Is there a limit

Re: Invalid Hash via SOAP API call

2020-03-26 Thread Maxim Solodovnik
According to above access log
This URL
/openmeetings/hash?&secure=9c271470-cfaa-4e95-9d64-9210b9e4a7cc&language=1
has been queried 2 times
First one was
/openmeetings/hash?&secure=9c271470-cfaa-4e95-9d64-9210b9e4a7cc&language=1
Second
/openmeetings/hash;jsessionid=CE0DC1A368404F8AFDCE934313E81C96?secure=9c271470-cfaa-4e95-9d64-9210b9e4a7cc&language=1

Since secureHash is one-time hash here might be the issue
It is not clear why session was invalidated .
I'll try to perform more test tonight/tomorrow

On Thu, 26 Mar 2020 at 13:49, Daniel Baker 
wrote:

> No other  OM logins.
>
>
> I  actually  titled this  wrong,  it  is a  REST  call not  SOAP.
>
>
> Thanks,
>
>
> Dan
>
>
> On 26/03/2020 00:27, Maxim Solodovnik wrote:
>
> is it possible OM was opened in second tab with active login?
>
> On Thu, 26 Mar 2020 at 04:15, Daniel Baker 
> wrote:
>
>> Not sure  why  I am getting this  during  entering of a room :
>>
>>
>> I get invalid  hash / Access denied   show in the browser:
>>
>>
>> [image: image]
>>
>>
>> The  url  looks  like this  which seems correct  to my understanding  :
>>
>>
>>  tail -f localhost_access_log.2020-03-25
>>
>> XX.XXX.XXX.XXX - - [25/Mar/2020:19:24:27 +] "GET
>> /openmeetings/services/user/login?&user=admin&pass=PASSWORD%40 HTTP/1.1"
>> 200 96
>> XX.XXX.XXX.XXX - - [25/Mar/2020:19:24:27 +] "POST
>> /openmeetings/services/user/hash?&sid=973f7132-39f7-47d0-b614-7845c4ed0411
>> HTTP/1.1" 200 96
>> XX.XXX.XXX.XXX - - [25/Mar/2020:19:24:28 +] "GET
>> /openmeetings/hash?&secure=9c271470-cfaa-4e95-9d64-9210b9e4a7cc&language=1
>> HTTP/1.1" 200 7231
>> XX.XXX.XXX.XXX - - [25/Mar/2020:19:24:28 +] "GET
>> /openmeetings/css/theme_om/jquery-ui.min.css HTTP/1.1" 304 -
>> XX.XXX.XXX.XXX - - [25/Mar/2020:19:24:28 +] "GET
>> /openmeetings/css/theme.css HTTP/1.1" 304 -
>> XX.XXX.XXX.XXX - - [25/Mar/2020:19:24:28 +] "GET
>> /openmeetings/css/custom.css HTTP/1.1" 304 -
>> XX.XXX.XXX.XXX - - [25/Mar/2020:19:24:28 +] "-" 400 -
>> XX.XXX.XXX.XXX - - [25/Mar/2020:19:24:28 +] "-" 400 -
>> XX.XXX.XXX.XXX - - [25/Mar/2020:19:24:29 +] "GET
>> /openmeetings/services/user/login?&user=admin&pass=PASSWORD%40 HTTP/1.1"
>> 200 96
>> XX.XXX.XXX.XXX - - [25/Mar/2020:19:24:29 +] "GET
>> /openmeetings/services/room/32?&sid=25d019cb-728c-4c7e-a88e-88910b3eae51
>> HTTP/1.1" 200 444
>> XX.XXX.XXX.XXX - - [25/Mar/2020:19:24:30 +] "GET
>> /openmeetings/services/user/login?&user=admin&pass=PASSWORD%40 HTTP/1.1"
>> 200 96
>> XX.XXX.XXX.XXX - - [25/Mar/2020:19:24:30 +] "POST
>> /openmeetings/services/user/hash?&sid=bd8227ad-88d1-41ba-b4ce-69239844e5a1
>> HTTP/1.1" 200 96
>> XX.XXX.XXX.XXX - - [25/Mar/2020:19:24:32 +] "GET
>> **/openmeetings/wicket/bookmarkable/org.apache.openmeetings.web.pages.HashPage?0-1.0
>> *-access~denied*&secure=9c271470-cfaa-4e95-9d64-**9210b9e4a7cc&language=1&_=1585164268523
>> HTTP/1.1" 200 180
>> XX.XXX.XXX.XXX - - [25/Mar/2020:19:24:32 +] "GET
>> /openmeetings/hash;jsessionid=CE0DC1A368404F8AFDCE934313E81C96?secure=9c271470-cfaa-4e95-9d64-9210b9e4a7cc&language=1
>> HTTP/1.1" 200 7328
>> XX.XXX.XXX.XXX - - [25/Mar/2020:19:24:33 +] "-" 400 -
>> XX.XXX.XXX.XXX - - [25/Mar/2020:19:24:33 +] "-" 400 -
>> XX.XXX.XXX.XXX - - [25/Mar/2020:19:24:33 +] "-" 400 -
>> XX.XXX.XXX.XXX - - [25/Mar/2020:19:24:33 +] "GET
>> /openmeetings/wicket/resource/com.googlecode.wicket.kendo.ui.theme.Initializer/kendo.default.mobile.min-ver-70A144DCABA4386C973AE2446CA25F3D.css
>> HTTP/1.1" 200 111339
>> XX.XXX.XXX.XXX - - [25/Mar/2020:19:24:33 +] "GET
>> /openmeetings/css/theme_om/jquery-ui.min.css HTTP/1.1" 304 -
>>
>>
>>
>> OM  Version :
>>
>>
>> Name OpenMeetings  Version5.0.0-M3 Revisionb739f87 Build 
>> date2019-12-11T11:42:09Z
>>
>>
>> I  can see access denied in the log so  that pinpoints it somewhat.  Is
>> there a way  to see my  SOAP call is  correct  or a  verbose  logging mode ?
>>
>> Thanks,
>>
>> Dan
>>
>
>
> --
> WBR
> Maxim aka solomax
>
>

-- 
WBR
Maxim aka solomax


Re: newbie problem, seeing : The value of 'from' is not a valid LocalDateTime.

2020-03-26 Thread Maxim Solodovnik
FF works for me

What version of FF do you have? What is your OS?

On Thu, 26 Mar 2020 at 14:05, Carl Brewer  wrote:

> On 26/03/2020 6:00 pm, Carl Brewer wrote:
> > On 26/03/2020 5:58 pm, Maxim Solodovnik wrote:
> >> What browser are you using?
> >
> > Firefox, could be a browser issue?  Will try with a few others and see
> > what happens
>
> Doesn't do it in Edge, Edge works ok. Once the invite is sent in Edge,
> Firefox can open the room and collaborate in the whiteboard, so it's not
> an easy one to fix, workaround is don't use FF, I guess :(
>
>
>
>

-- 
WBR
Maxim aka solomax


Re: newbie problem, seeing : The value of 'from' is not a valid LocalDateTime.

2020-03-26 Thread Carl Brewer

On 26/03/2020 6:03 pm, Maxim Solodovnik wrote:

"Navigator.mediaSevices" should be available in all major browsers
Anything in the logs?


haven't looked yet, but the PC I'm using to connect doesn't have a 
microphone or a camera connected.





Anything in browser console?


Nothing useful that I can see




Re: newbie problem, seeing : The value of 'from' is not a valid LocalDateTime.

2020-03-26 Thread Carl Brewer

On 26/03/2020 6:00 pm, Carl Brewer wrote:

On 26/03/2020 5:58 pm, Maxim Solodovnik wrote:

What browser are you using?


Firefox, could be a browser issue?  Will try with a few others and see 
what happens


Doesn't do it in Edge, Edge works ok. Once the invite is sent in Edge, 
Firefox can open the room and collaborate in the whiteboard, so it's not 
an easy one to fix, workaround is don't use FF, I guess :(






Re: newbie problem, seeing : The value of 'from' is not a valid LocalDateTime.

2020-03-26 Thread Maxim Solodovnik
"Navigator.mediaSevices" should be available in all major browsers
Anything in the logs?

Anything in browser console?

On Thu, Mar 26, 2020, 14:00 Carl Brewer  wrote:

> On 26/03/2020 5:58 pm, Maxim Solodovnik wrote:
> > What browser are you using?
>
> Firefox, could be a browser issue?  Will try with a few others and see
> what happens
>
>


Re: newbie problem, seeing : The value of 'from' is not a valid LocalDateTime.

2020-03-26 Thread Carl Brewer

On 26/03/2020 5:58 pm, Maxim Solodovnik wrote:

What browser are you using?


Firefox, could be a browser issue?  Will try with a few others and see 
what happens