I believe OpenJPA communications being set via RemoteCommitProvider setting,
can go directly
Other communications can go via proxy


On Fri, Apr 8, 2016 at 3:42 PM, Bruno Rubio Gayo <[email protected]>
wrote:

> Hi,
>
>
>
> I changed “192.168.96.222” for “video1h” in “Server Address”
> (Admin->Servers)
>
>
>
> I changed persistence.xml too
>
>
>
> <property name="openjpa.RemoteCommitProvider"
> value="tcp(Addresses=192.168.96.222)" />
>
>
>
> for
>
>
>
> <property name="openjpa.RemoteCommitProvider"
> value="tcp(Addresses=video1h)" />
>
>
>
> Now it seems to work correctly (thanks for that!) but in
> “Admin->Connections” I don’t see http connections only the rtmp ones.
>
>
>
> Another question: communication between nodes should pass through the
> proxy?
>
>
>
> I'll try with 2 nodes and I’ll let you know.
>
>
>
> Thanks for all.
>
>
>
>
>
> *Bruno Rubio *
>
> [email protected]
>
> ..........................................................................
>
>
>
> *BALIDEA*
>
> *Consulting & Programming*
>
>
>
> Edificio Witland / Rúa dos Camiños da Vida s/n, baixo / 15705 Santiago de
> Compostela (A Coruña)
>
> Tel.: 981 93 78 76  /  Fax: 981 93 78 21 / [email protected]  /
> www.balidea.com
>
>
>
> *De:* Maxim Solodovnik [mailto:[email protected]]
> *Enviado el:* jueves, 07 de abril de 2016 19:45
> *Para:* Openmeetings user-list
> *Asunto:* Re: proxy connection problem
>
>
>
> HM, OK
>
> what address are you using in Admin->Servers?
>
> What will happen if you will change it?
>
>
>
> On Thu, Apr 7, 2016 at 11:40 PM, Bruno Rubio Gayo <[email protected]>
> wrote:
>
> Hi,
>
>
>
> Http traffic is being proxied correctly (I can see and use the web
> interface) so I think my proxy is correctly configurated.
>
>
>
> The problem begins when I enter in a room and the rtmp traffic starts.
> Then proxy is avoided and communication between client and server is direct.
>
>
>
> I know port number is weird, but is not important. The matter is to be
> able to canalize rtmp traffic through the proxy.
>
>
>
>
>
> *De:* Maxim Solodovnik [mailto:[email protected]]
> *Enviado el:* jueves, 07 de abril de 2016 19:34
> *Para:* Openmeetings user-list
> *Asunto:* Re: proxy connection problem
>
>
>
> so you are trying to proxing from port 5080 to port 5080 it looks weird :(
>
> ususlay OM is started on port 5080 and being proxied to port 80 ....
>
> are you able to see web interface using your video1h server?
>
>
>
> On Thu, Apr 7, 2016 at 11:18 PM, Bruno Rubio Gayo <[email protected]>
> wrote:
>
> Hi Maxim,
>
>
>
> I tried this configuration in proxy server:
>
>
>
> <VirtualHost video1h:5080>
>
>                 ServerName video1h
>
>                 ServerAlias video1h
>
>
>
>                 <Location /openmeetings>
>
>                                Order allow,deny
>
>                                Allow from all
>
>                 </Location>
>
>                 ProxyRequests Off
>
>
>
>                 #ProxyPreserveHost On
>
>                 ProxyPass /openmeetings
> http://192.168.96.222:5080/openmeetings
>
>                 ProxyPassReverse /openmeetings
> http://192.168.96.222:5080/openmeetings
>
>
>
>                 ProxyPass /open http://192.168.96.222:5080/open
>
>                 ProxyPassReverse /open http://192.168.96.222:5080/open
>
>                 ProxyPass /send http://192.168.96.222:5080/send
>
>                 ProxyPassReverse /send http://192.168.96.222:5080/send
>
>                 ProxyPass /idle http://192.168.96.222:5080/idle
>
>                 ProxyPassReverse /idle  http://192.168.96.222:5080/idle
>
>                 ProxyPass /close http://192.168.96.222:5080/close
>
>                 ProxyPassReverse /close http://192.168.96.222:5080/close
>
>                 ProxyPass /fcs http://192.168.96.222:5080/fcs
>
>                 ProxyPassReverse /fcs http://192.168.96.222:5080/fcs
>
>
>
>                 ErrorLog ${APACHE_LOG_DIR}/video1h-error.log
>
>                 CustomLog ${APACHE_LOG_DIR}/video1h-access.log combined
>
> </VirtualHost>
>
>
>
> <VirtualHost video1t:5080>
>
>                 ServerName video1t
>
>                 ServerAlias video1t
>
>
>
>                 <Location /openmeetings>
>
>                                Order allow,deny
>
>                                Allow from all
>
>                 </Location>
>
>                 ProxyRequests Off
>
>
>
>                 #ProxyPreserveHost On
>
>                 ProxyPass /openmeetings
> http://192.168.96.222:5080/openmeetings
>
>                 ProxyPassReverse /openmeetings
> http://192.168.96.222:5080/openmeetings
>
>
>
>                 ProxyPass /open http://192.168.96.222:5080/open
>
>                 ProxyPassReverse /open http://192.168.96.222:5080/open
>
>                 ProxyPass /send http://192.168.96.222:5080/send
>
>                 ProxyPassReverse /send http://192.168.96.222:5080/send
>
>                 ProxyPass /idle http://192.168.96.222:5080/idle
>
>                 ProxyPassReverse /idle  http://192.168.96.222:5080/idle
>
>                 ProxyPass /close http://192.168.96.222:5080/close
>
>                 ProxyPassReverse /close http://192.168.96.222:5080/close
>
>                 ProxyPass /fcs http://192.168.96.222:5080/fcs
>
>                 ProxyPassReverse /fcs http://192.168.96.222:5080/fcs
>
>
>
>                 ErrorLog ${APACHE_LOG_DIR}/video1t-error.log
>
>                 CustomLog ${APACHE_LOG_DIR}/video1t-access.log combined
>
> </VirtualHost>
>
>
>
> I still have the same problem
>
>
>
>
>
> *De:* Maxim Solodovnik [mailto:[email protected]]
> *Enviado el:* jueves, 07 de abril de 2016 19:01
> *Para:* Openmeetings user-list
> *Asunto:* Re: proxy connection problem
>
>
>
> Hello Bruno,
>
>
>
> I already pointed to the apache proxy config:
> http://markmail.org/message/i4kufvpeexjwh26i
>
> is it works as expected?
>
>
>
> On Thu, Apr 7, 2016 at 10:59 PM, Bruno Rubio Gayo <[email protected]>
> wrote:
>
> Hi,
>
>
>
> First of all, I'm using build #190+ from here:
> https://builds.apache.org/job/Openmeetings%203.1.x/
> (apache-openmeetings-3.1.2-SNAPSHOT.tar.gz)
>
>
>
> I have a clustered OpenMeetings installation (only one node is active for
> testing) in an intranet forcing the rtmpT connection (port 5080) closing
> port 1935 at iptables
>
>
>
> I need the connection pass through an apache proxy to protect OpenMeetings
> server.
>
>
>
> HTTP connection passes through the proxy without any problem but when I
> enter one room, connection goes direct between client and server (without
> passing through the proxy)
>
>
>
> I set the config.xml file like this:
>
>
>
> <rtmphostlocal>video1t</rtmphostlocal>
>
>
>
> <httphostlocal>video1h</httphostlocal>
>
>
>
> "video1t" and "video1h" point to the proxy's ip
>
>
>
> Proxy server configuration:
>
>
>
> <VirtualHost video1h:5080>
>
> ServerName video1h
>
> ServerAlias video1h
>
>
>
> ProxyPreserveHost On
>
> ProxyPass /openmeetings http://192.168.96.222:5080/openmeetings
>
> ProxyPassReverse /openmeetings http://192.168.96.222:5080/openmeetings
>
> </VirtualHost>
>
>
>
> <VirtualHost video1t:5080>
>
> ServerName video1t
>
> ServerAlias video1t
>
>
>
> ProxyPreserveHost On
>
> ProxyPass /openmeetings http://192.168.96.222:5080/openmeetings
>
> ProxyPassReverse /openmeetings http://192.168.96.222:5080/openmeetings
>
> </VirtualHost>
>
>
>
> "192.168.96.222" is the Openmeetings server's IP
>
>
>
> Am I missing something on configuration parameters? Someone did something
> like this?
>
>
>
> Is there a "howto" explaining the steps for configuring openmeetings
> through a proxy?
>
>
>
> Thanks in advance,
>
>
>
> Bruno.
>
>
>
>
> ------------------------------
>
> Antes de imprimir este mensaje, asegúrese de que es necesario hacerlo.
>
> Aviso Legal: La información contenida en este mensaje y sus posibles
> documentos adjuntos es privada y confidencial y está dirigida únicamente a
> su destinatario/a. Si usted no es el/la destinatario/a original de este
> mensaje, por favor elimínelo. Cualquier uso de este mensaje o sus adjuntos
> sin autorización está prohibida por ley.
> _____
>
> Before printing this message, make sure it is really necessary.
>
> Legal Notice: The information contained in this message and its possible
> attachments are private and confidential and is intended solely for the
> addressee shown. If you are not the intended recipient of this message,
> please delete it. Any use of this message or its attachments without
> permission is prohibited by law.
>
>
>
>
>
> --
>
> WBR
> Maxim aka solomax
>
>
> ------------------------------
>
> Antes de imprimir este mensaje, asegúrese de que es necesario hacerlo.
>
> Aviso Legal: La información contenida en este mensaje y sus posibles
> documentos adjuntos es privada y confidencial y está dirigida únicamente a
> su destinatario/a. Si usted no es el/la destinatario/a original de este
> mensaje, por favor elimínelo. Cualquier uso de este mensaje o sus adjuntos
> sin autorización está prohibida por ley.
> _____
>
> Before printing this message, make sure it is really necessary.
>
> Legal Notice: The information contained in this message and its possible
> attachments are private and confidential and is intended solely for the
> addressee shown. If you are not the intended recipient of this message,
> please delete it. Any use of this message or its attachments without
> permission is prohibited by law.
>
>
>
>
>
> --
>
> WBR
> Maxim aka solomax
>
>
> ------------------------------
>
> Antes de imprimir este mensaje, asegúrese de que es necesario hacerlo.
>
> Aviso Legal: La información contenida en este mensaje y sus posibles
> documentos adjuntos es privada y confidencial y está dirigida únicamente a
> su destinatario/a. Si usted no es el/la destinatario/a original de este
> mensaje, por favor elimínelo. Cualquier uso de este mensaje o sus adjuntos
> sin autorización está prohibida por ley.
> _____
>
> Before printing this message, make sure it is really necessary.
>
> Legal Notice: The information contained in this message and its possible
> attachments are private and confidential and is intended solely for the
> addressee shown. If you are not the intended recipient of this message,
> please delete it. Any use of this message or its attachments without
> permission is prohibited by law.
>
>
>
>
>
> --
>
> WBR
> Maxim aka solomax
>
> ------------------------------
> Antes de imprimir este mensaje, asegúrese de que es necesario hacerlo.
>
> Aviso Legal: La información contenida en este mensaje y sus posibles
> documentos adjuntos es privada y confidencial y está dirigida únicamente a
> su destinatario/a. Si usted no es el/la destinatario/a original de este
> mensaje, por favor elimínelo. Cualquier uso de este mensaje o sus adjuntos
> sin autorización está prohibida por ley.
> _____
>
> Before printing this message, make sure it is really necessary.
>
> Legal Notice: The information contained in this message and its possible
> attachments are private and confidential and is intended solely for the
> addressee shown. If you are not the intended recipient of this message,
> please delete it. Any use of this message or its attachments without
> permission is prohibited by law.
>



-- 
WBR
Maxim aka solomax

Reply via email to