Thank you Maxim, i solved problem with your help i edited contex.xml file in 
/opt/open500/conf/context.xml  as you told me and  now  i can access from all 
browsers in Moodle Plugin

I went to /opt/om
./bin/shutdown.sh
 edited file like below and i started OM with command ./bin/startup.sh


<?xml version="1.0" encoding="UTF-8"?>
<!--
  Licensed to the Apache Software Foundation (ASF) under one or more
  contributor license agreements.  See the NOTICE file distributed with
  this work for additional information regarding copyright ownership.
  The ASF licenses this file to You under the Apache License, Version 2.0
  (the "License"); you may not use this file except in compliance with
  the License.  You may obtain a copy of the License at

      http://www.apache.org/licenses/LICENSE-2.0

  Unless required by applicable law or agreed to in writing, software
  distributed under the License is distributed on an "AS IS" BASIS,
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  See the License for the specific language governing permissions and
  limitations under the License.
-->
<!-- The contents of this file will be loaded for each web application -->
<!--<CookieProcessor sameSiteCookies="none"/>-->
<Context>

    <!-- Default set of monitored resources. If one of these changes, the    -->
    <!-- web application will be reloaded.
         -->
    <CookieProcessor sameSiteCookies="none"/>
    <WatchedResource>WEB-INF/web.xml</WatchedResource>
    <WatchedResource>WEB-INF/tomcat-web.xml</WatchedResource>
    <WatchedResource>${catalina.base}/conf/web.xml</WatchedResource>

    <!-- Uncomment this to disable session persistence across Tomcat restarts 
-->
    <!--
    <Manager pathname="" />
    -->
</Context
________________________________
From: Maxim Solodovnik <[email protected]>
Sent: Friday, September 25, 2020 10:48 AM
To: Openmeetings user-list <[email protected]>
Subject: Re: Invalid Hash Access denied. You have no rights to enter this room.

Please re-read my answer

On Fri, Sep 25, 2020, 17:11 mentor maxhuni 
<[email protected]<mailto:[email protected]>> wrote:
Thank you Maxim, i did what you recommendet me but i cant access page anymore 
it says HTTP Status 404 – Not Found  I have attached the errors with photo, do 
you know what is the problem or did i edited it right.




Thank you
________________________________
From: Maxim Solodovnik <[email protected]<mailto:[email protected]>>
Sent: Friday, September 25, 2020 8:44 AM
To: Openmeetings user-list 
<[email protected]<mailto:[email protected]>>
Subject: Re: Invalid Hash Access denied. You have no rights to enter this room.

OK

it turns out the problem is NOT in OM plugin and NOT in OM
It is increased browser security (as usual)

To fix it and made Moodle integration work again please do the following:
1) stop OM
2) edit ${OM_HOME}/conf/context.xml
     add <CookieProcessor sameSiteCookies="none"/> BEFORE </Context>

It states add line before closing tag
Not open ....


3) start OM

I guess it should be documented somewhere
I would appreciate if you can suggest good place for it :))

On Fri, 25 Sep 2020 at 13:39, mentor maxhuni 
<[email protected]<mailto:[email protected]>> wrote:
>
> Thank you for response, i am sure that that i use only one tab/windows in the 
> same browser and  i  cant wait for your new plugin release.
> ________________________________
> From: Maxim Solodovnik <[email protected]<mailto:[email protected]>>
> Sent: Friday, September 25, 2020 12:34 AM
> To: Openmeetings user-list 
> <[email protected]<mailto:[email protected]>>
> Subject: Re: Invalid Hash Access denied. You have no rights to enter this 
> room.
>
> Hello,
>
> I'm going to release next version of Moodle plugin this week
> But since you are able to enter the room using some browsers I doubt
> it will help
> Is it possible you have multiple Tabs/Windows with OM in the same
> browser simultaneously?
>
> On Fri, 25 Sep 2020 at 05:36, mentor maxhuni 
> <[email protected]<mailto:[email protected]>> wrote:
> >
> > I had problem with moodle plugin in OM 5.0.0 , because when i tried to 
> > access classroom from Chrome browser it said Invalid Hash Access denied. 
> > You have no rights to enter this room. I didn't have problem entering 
> > classroom directly from server page only from moodle plugin and i had to 
> > use Opera browser because it worked best. Now i installed OM 5.0.1 and when 
> > i try to enter through moodle plugin with Opera the same error occurs like 
> > with Chrome Invalid Hash Access denied. You have no rights to enter this 
> > room. Now only Firefox and Edge browsers are working. I checked everything 
> > and i have latest openmeetings plugin for moodle installed and yes i only 
> > open one tab at time but i am sure that problem is with the plugin because 
> > i don't have that problem when i enter OM directly.
>
>
>
> --
> Best regards,
> Maxim



--
Best regards,
Maxim

Reply via email to