You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@openmeetings.apache.org by "L. Grün" <lg...@gmx.ch> on 2014/09/27 17:05:33 UTC

Reverse Proxy

Hello,
for three days I have been struggling to get OM available through 
Reverse Proxy:

Setup acc. 
https://www.mail-archive.com/openmeetings-user@incubator.apache.org/msg02905.html

config.xml:

<rtmphostlocal>rtmpt.mydomain.com</rtmphostlocal>
<httphostlocal></httphostlocal>
<rtmpport>1935</rtmpport>
<rtmpTunnelport>80</rtmpTunnelport>
<rtmpsslport>443</rtmpsslport>
<useSSL>no</useSSL>
<red5httpport>80</red5httpport>
<protocol>http</protocol>
---------------------------------

red5.properties:

# HTTP
http.host=0.0.0.0
http.port=5080

# RTMP
rtmp.host=0.0.0.0
rtmp.port=1935

# RTMPT
rtmpt.host=0.0.0.0
rtmpt.port=8088

------------------------------

/etc/apache2/enabled-sites:

1) openmeetings.mydomain.com:

<VirtualHost *:80>
     ServerName openmeetings.mydomain.com
     <Location /openmeetings>
             Order allow,deny
             Allow from all
     </Location>
     ProxyRequests Off
     ProxyPass / http://192.168.1.187:5080/
     ProxyPassReverse / http://192.168.1.187:5080/
</VirtualHost>
------------------------

2) rtmpt.mydomain.com:

<VirtualHost *:80>
     ServerName rtmpt.mydomain.com
     <Location /openmeetings>
             Order allow,deny
             Allow from all
     </Location>
     ProxyRequests Off
     ProxyPass /openmeetings 
http://openmeetings.mydomain.com:5080/openmeetings
     ProxyPassReverse /openmeetings 
http://openmeetings.mydomain.com:5080/openmeetings
     ProxyPass / http://openmeetings.mydomain.com:8088/
     ProxyPassReverse / http://openmeetings.mydomain.com:8088/
</VirtualHost>

---------------------------
FW open ports: 80 8088
DNS: /etc/hosts file up to date; External DNS setup.

OM runs on LAN side
OM over Internet: Loading a while (spinning thing) and then Error msg. 
(Error Missing [204], [556],[642])

What is wrong with this setup? Thank you in advance!

Steven

Re: Reverse Proxy

Posted by Maxim Solodovnik <so...@gmail.com>.
so "network testing tool" reports ports closed
Does OM works as expected?

On 30 September 2014 02:15, "L. Grün" <lg...@gmx.ch> wrote:

>
> Am 29.09.2014 20:33, schrieb Maxim Solodovnik:
>
> the only port you can check is port 80
> Is it closed?
>
> From a remote computer I open a telnet session on port 80 and it says
> "Connected to openmeetings.xxxx.com"
>
> That means FW port is open and server reached.
>
>  how are you performing "port check"
>
>
> I am doing it at the login screnn of OM with the button "Test réseau".
> There the second check is named "Port" and it's red when connecting from
> outside. It's green on LAN connections.
>
> Thank you for your help.
>
> Steven
>
>
> On 30 September 2014 01:29, "L. Grün" <lg...@gmx.ch> wrote:
>
>>  Thank you for the fast answer! Replaced all occurrences of 8088 to be
>> 5080. Still failing Port check. What else could be the problem? What do you
>> think about the warnings below? It's talking about "proxy"...
>>
>> Best regards
>>
>> Steven
>>
>>
>> Am 29.09.2014 18:51, schrieb Maxim Solodovnik:
>>
>> since 3.0.2 you need to change all occurrences of 8088 to be 5080
>> sorry, forgot to mention it
>>
>> On 29 September 2014 23:47, "L. Grün" <lg...@gmx.ch> wrote:
>>
>>>  Hello,
>>> thank you for your help and comments so far.
>>> I setup the Virtual host according to your suggestions.
>>>
>>> http://markmail.org/message/i4kufvpeexjwh26i
>>>
>>> Checked it 30 times...
>>> Local port tests succeed; the "network test" shows ports are ok.
>>> Tests from two external IPs show ports not accessible.
>>> The website is showing, login possible. However entering a room gives
>>> timeout and error. This corresponds to the fact that network check doesn't
>>> find open ports.
>>>
>>> There are several warnings in /opt/red5/log:
>>>
>>> 2014-09-29 18:29:04,935 [0.0.0.0-startStop-1] WARN
>>> o.a.a.transport.http.AxisServlet - No transportReceiver for
>>> org.apache.axis2.transport.http.AxisServletListener found. An instance for
>>> HTTP will be configured automatically. Please update your axis2.xml file!
>>>
>>> 2014-09-29 18:29:09,262 [Launcher:/] WARN  org.red5.server.scope.Scope -
>>> Invalid scope rejected: Scope [name=, path=/default, type=APPLICATION,
>>> autoStart=true, creationTime=1412008149254, depth=1, enabled=true,
>>> running=false]
>>>
>>> 2014-09-29 18:29:09,262 [Launcher:/] WARN  org.red5.server.scope.Scope -
>>> Scope not added to parent
>>>
>>> 2014-09-29 18:29:10,665 [Launcher:/openmeetings] WARN
>>> o.s.aop.framework.CglibAopProxy - Unable to proxy method [public final long
>>> org.apache.openmeetings.db.dao.basic.ConfigurationDao.getMaxUploadSize()]
>>> because it is final: All calls to this method via a proxy will NOT be
>>> routed to the target instance.
>>> --------------------------------------------------------------
>>> Virtual host in Apache2:
>>>
>>> <VirtualHost *:80>
>>>     ServerName openmeetings.xxxx.com (edited)
>>>
>>>     <Location /openmeetings>
>>>
>>>             Order allow,deny
>>>
>>>             Allow from all
>>>
>>>     </Location>
>>>     ProxyRequests Off
>>>
>>> ProxyPass /openmeetings http://localhost:5080/openmeetings
>>> ProxyPassReverse /openmeetings http://localhost:5080/openmeetings
>>>
>>> ProxyPass /open http://localhost:8088/open
>>> ProxyPassReverse /open http://localhost:8088/open
>>> ProxyPass /send http://localhost:8088/send
>>> ProxyPassReverse /send http://localhost:8088/send
>>> ProxyPass /idle http://localhost:8088/idle
>>> ProxyPassReverse /idle  http://localhost:8088/idle
>>> ProxyPass /close http://localhost:8088/close
>>> ProxyPassReverse /close http://localhost:8088/close
>>> </VirtualHost>
>>>
>>> ---------------------------------------------
>>>
>>> FW ports open:
>>>
>>> 80, 8088
>>> --------------------------------------
>>> config.xml:
>>> <rtmphostlocal>openmeetings.xxxx.com</rtmphostlocal> (edited)
>>> <httphostlocal></httphostlocal>
>>> <rtmpport>1935</rtmpport>
>>> <rtmpTunnelport>80</rtmpTunnelport>
>>> <red5httpport>80</red5httpport>
>>> <protocol>http</protocol>
>>> ----------------------------------------
>>> red5.properties not touched.
>>>
>>> Any help wuld be greatly appreciated since I have been burning 4 whole
>>> days on this. :)
>>>
>>> Steven
>>>
>>>
>>>
>>>
>>>
>>> Am 28.09.2014 11:29, schrieb Maxim Solodovnik:
>>>
>>>  please try this config
>>> http://markmail.org/message/i4kufvpeexjwh26i
>>>
>>> On 27 September 2014 22:05, "L. Grün" <lg...@gmx.ch> wrote:
>>>
>>>> Hello,
>>>> for three days I have been struggling to get OM available through
>>>> Reverse Proxy:
>>>>
>>>> Setup acc.
>>>> https://www.mail-archive.com/openmeetings-user@incubator.apache.org/msg02905.html
>>>>
>>>> config.xml:
>>>>
>>>> <rtmphostlocal>rtmpt.mydomain.com</rtmphostlocal>
>>>> <httphostlocal></httphostlocal>
>>>> <rtmpport>1935</rtmpport>
>>>> <rtmpTunnelport>80</rtmpTunnelport>
>>>> <rtmpsslport>443</rtmpsslport>
>>>> <useSSL>no</useSSL>
>>>> <red5httpport>80</red5httpport>
>>>> <protocol>http</protocol>
>>>> ---------------------------------
>>>>
>>>> red5.properties:
>>>>
>>>> # HTTP
>>>> http.host=0.0.0.0
>>>> http.port=5080
>>>>
>>>> # RTMP
>>>> rtmp.host=0.0.0.0
>>>> rtmp.port=1935
>>>>
>>>> # RTMPT
>>>> rtmpt.host=0.0.0.0
>>>> rtmpt.port=8088
>>>>
>>>> ------------------------------
>>>>
>>>> /etc/apache2/enabled-sites:
>>>>
>>>> 1) openmeetings.mydomain.com:
>>>>
>>>> <VirtualHost *:80>
>>>>     ServerName openmeetings.mydomain.com
>>>>     <Location /openmeetings>
>>>>             Order allow,deny
>>>>             Allow from all
>>>>     </Location>
>>>>     ProxyRequests Off
>>>>     ProxyPass / http://192.168.1.187:5080/
>>>>     ProxyPassReverse / http://192.168.1.187:5080/
>>>> </VirtualHost>
>>>> ------------------------
>>>>
>>>> 2) rtmpt.mydomain.com:
>>>>
>>>> <VirtualHost *:80>
>>>>     ServerName rtmpt.mydomain.com
>>>>     <Location /openmeetings>
>>>>             Order allow,deny
>>>>             Allow from all
>>>>     </Location>
>>>>     ProxyRequests Off
>>>>     ProxyPass /openmeetings
>>>> http://openmeetings.mydomain.com:5080/openmeetings
>>>>     ProxyPassReverse /openmeetings
>>>> http://openmeetings.mydomain.com:5080/openmeetings
>>>>     ProxyPass / http://openmeetings.mydomain.com:8088/
>>>>     ProxyPassReverse / http://openmeetings.mydomain.com:8088/
>>>> </VirtualHost>
>>>>
>>>> ---------------------------
>>>> FW open ports: 80 8088
>>>> DNS: /etc/hosts file up to date; External DNS setup.
>>>>
>>>> OM runs on LAN side
>>>> OM over Internet: Loading a while (spinning thing) and then Error msg.
>>>> (Error Missing [204], [556],[642])
>>>>
>>>> What is wrong with this setup? Thank you in advance!
>>>>
>>>> Steven
>>>>
>>>
>>>
>>>
>>>  --
>>> WBR
>>> Maxim aka solomax
>>>
>>>
>>>
>>
>>
>>  --
>> WBR
>> Maxim aka solomax
>>
>>
>>
>
>
>  --
> WBR
> Maxim aka solomax
>
>
>


-- 
WBR
Maxim aka solomax

Re: Reverse Proxy

Posted by "L. Grün" <lg...@gmx.ch>.
Am 29.09.2014 20:33, schrieb Maxim Solodovnik:
> the only port you can check is port 80
> Is it closed?
 From a remote computer I open a telnet session on port 80 and it says
"Connected to openmeetings.xxxx.com"

That means FW port is open and server reached.

> how are you performing "port check"

I am doing it at the login screnn of OM with the button "Test réseau". 
There the second check is named "Port" and it's red when connecting from 
outside. It's green on LAN connections.

Thank you for your help.

Steven

>
> On 30 September 2014 01:29, "L. Grün" <lgruen@gmx.ch 
> <ma...@gmx.ch>> wrote:
>
>     Thank you for the fast answer! Replaced all occurrences of 8088 to
>     be 5080. Still failing Port check. What else could be the problem?
>     What do you think about the warnings below? It's talking about
>     "proxy"...
>
>     Best regards
>
>     Steven
>
>
>     Am 29.09.2014 18:51, schrieb Maxim Solodovnik:
>>     since 3.0.2 you need to change all occurrences of 8088 to be 5080
>>     sorry, forgot to mention it
>>
>>     On 29 September 2014 23:47, "L. Grün" <lgruen@gmx.ch
>>     <ma...@gmx.ch>> wrote:
>>
>>         Hello,
>>         thank you for your help and comments so far.
>>         I setup the Virtual host according to your suggestions.
>>
>>         http://markmail.org/message/i4kufvpeexjwh26i
>>
>>         Checked it 30 times...
>>         Local port tests succeed; the "network test" shows ports are ok.
>>         Tests from two external IPs show ports not accessible.
>>         The website is showing, login possible. However entering a
>>         room gives timeout and error. This corresponds to the fact
>>         that network check doesn't find open ports.
>>
>>         There are several warnings in /opt/red5/log:
>>
>>         2014-09-29 18:29:04,935 [0.0.0.0-startStop-1] WARN
>>         o.a.a.transport.http.AxisServlet - No transportReceiver for
>>         org.apache.axis2.transport.http.AxisServletListener found. An
>>         instance for HTTP will be configured automatically. Please
>>         update your axis2.xml file!
>>
>>         2014-09-29 18:29:09,262 [Launcher:/] WARN
>>         org.red5.server.scope.Scope - Invalid scope rejected: Scope
>>         [name=, path=/default, type=APPLICATION, autoStart=true,
>>         creationTime=1412008149254, depth=1, enabled=true, running=false]
>>
>>         2014-09-29 18:29:09,262 [Launcher:/] WARN
>>         org.red5.server.scope.Scope - Scope not added to parent
>>
>>         2014-09-29 18:29:10,665 [Launcher:/openmeetings] WARN
>>         o.s.aop.framework.CglibAopProxy - Unable to proxy method
>>         [public final long
>>         org.apache.openmeetings.db.dao.basic.ConfigurationDao.getMaxUploadSize()]
>>         because it is final: All calls to this method via a proxy
>>         will NOT be routed to the target instance.
>>         --------------------------------------------------------------
>>         Virtual host in Apache2:
>>
>>         <VirtualHost *:80>
>>             ServerName openmeetings.xxxx.com
>>         <http://openmeetings.xxxx.com> (edited)
>>
>>             <Location /openmeetings>
>>
>>                     Order allow,deny
>>
>>                     Allow from all
>>
>>             </Location>
>>             ProxyRequests Off
>>
>>         ProxyPass /openmeetings http://localhost:5080/openmeetings
>>         ProxyPassReverse /openmeetings http://localhost:5080/openmeetings
>>
>>         ProxyPass /open http://localhost:8088/open
>>         ProxyPassReverse /open http://localhost:8088/open
>>         ProxyPass /send http://localhost:8088/send
>>         ProxyPassReverse /send http://localhost:8088/send
>>         ProxyPass /idle http://localhost:8088/idle
>>         ProxyPassReverse /idle http://localhost:8088/idle
>>         ProxyPass /close http://localhost:8088/close
>>         ProxyPassReverse /close http://localhost:8088/close
>>         </VirtualHost>
>>
>>         ---------------------------------------------
>>
>>         FW ports open:
>>
>>         80, 8088
>>         --------------------------------------
>>         config.xml:
>>         <rtmphostlocal>openmeetings.xxxx.com
>>         <http://openmeetings.xxxx.com></rtmphostlocal> (edited)
>>         <httphostlocal></httphostlocal>
>>         <rtmpport>1935</rtmpport>
>>         <rtmpTunnelport>80</rtmpTunnelport>
>>         <red5httpport>80</red5httpport>
>>         <protocol>http</protocol>
>>         ----------------------------------------
>>         red5.properties not touched.
>>
>>         Any help wuld be greatly appreciated since I have been
>>         burning 4 whole days on this. :)
>>
>>         Steven
>>
>>
>>
>>
>>
>>         Am 28.09.2014 11:29, schrieb Maxim Solodovnik:
>>>         please try this config
>>>         http://markmail.org/message/i4kufvpeexjwh26i
>>>
>>>         On 27 September 2014 22:05, "L. Grün" <lgruen@gmx.ch
>>>         <ma...@gmx.ch>> wrote:
>>>
>>>             Hello,
>>>             for three days I have been struggling to get OM
>>>             available through Reverse Proxy:
>>>
>>>             Setup acc.
>>>             https://www.mail-archive.com/openmeetings-user@incubator.apache.org/msg02905.html
>>>
>>>             config.xml:
>>>
>>>             <rtmphostlocal>rtmpt.mydomain.com
>>>             <http://rtmpt.mydomain.com></rtmphostlocal>
>>>             <httphostlocal></httphostlocal>
>>>             <rtmpport>1935</rtmpport>
>>>             <rtmpTunnelport>80</rtmpTunnelport>
>>>             <rtmpsslport>443</rtmpsslport>
>>>             <useSSL>no</useSSL>
>>>             <red5httpport>80</red5httpport>
>>>             <protocol>http</protocol>
>>>             ---------------------------------
>>>
>>>             red5.properties:
>>>
>>>             # HTTP
>>>             http.host=0.0.0.0
>>>             http.port=5080
>>>
>>>             # RTMP
>>>             rtmp.host=0.0.0.0
>>>             rtmp.port=1935
>>>
>>>             # RTMPT
>>>             rtmpt.host=0.0.0.0
>>>             rtmpt.port=8088
>>>
>>>             ------------------------------
>>>
>>>             /etc/apache2/enabled-sites:
>>>
>>>             1) openmeetings.mydomain.com
>>>             <http://openmeetings.mydomain.com>:
>>>
>>>             <VirtualHost *:80>
>>>                 ServerName openmeetings.mydomain.com
>>>             <http://openmeetings.mydomain.com>
>>>                 <Location /openmeetings>
>>>                         Order allow,deny
>>>                         Allow from all
>>>                 </Location>
>>>                 ProxyRequests Off
>>>                 ProxyPass / http://192.168.1.187:5080/
>>>                 ProxyPassReverse / http://192.168.1.187:5080/
>>>             </VirtualHost>
>>>             ------------------------
>>>
>>>             2) rtmpt.mydomain.com <http://rtmpt.mydomain.com>:
>>>
>>>             <VirtualHost *:80>
>>>                 ServerName rtmpt.mydomain.com
>>>             <http://rtmpt.mydomain.com>
>>>                 <Location /openmeetings>
>>>                         Order allow,deny
>>>                         Allow from all
>>>                 </Location>
>>>                 ProxyRequests Off
>>>                 ProxyPass /openmeetings
>>>             http://openmeetings.mydomain.com:5080/openmeetings
>>>                 ProxyPassReverse /openmeetings
>>>             http://openmeetings.mydomain.com:5080/openmeetings
>>>                 ProxyPass / http://openmeetings.mydomain.com:8088/
>>>                 ProxyPassReverse /
>>>             http://openmeetings.mydomain.com:8088/
>>>             </VirtualHost>
>>>
>>>             ---------------------------
>>>             FW open ports: 80 8088
>>>             DNS: /etc/hosts file up to date; External DNS setup.
>>>
>>>             OM runs on LAN side
>>>             OM over Internet: Loading a while (spinning thing) and
>>>             then Error msg. (Error Missing [204], [556],[642])
>>>
>>>             What is wrong with this setup? Thank you in advance!
>>>
>>>             Steven
>>>
>>>
>>>
>>>
>>>         -- 
>>>         WBR
>>>         Maxim aka solomax
>>
>>
>>
>>
>>     -- 
>>     WBR
>>     Maxim aka solomax
>
>
>
>
> -- 
> WBR
> Maxim aka solomax


Re: Reverse Proxy

Posted by Maxim Solodovnik <so...@gmail.com>.
the only port you can check is port 80
Is it closed?
how are you performing "port check"

On 30 September 2014 01:29, "L. Grün" <lg...@gmx.ch> wrote:

>  Thank you for the fast answer! Replaced all occurrences of 8088 to be
> 5080. Still failing Port check. What else could be the problem? What do you
> think about the warnings below? It's talking about "proxy"...
>
> Best regards
>
> Steven
>
>
> Am 29.09.2014 18:51, schrieb Maxim Solodovnik:
>
> since 3.0.2 you need to change all occurrences of 8088 to be 5080
> sorry, forgot to mention it
>
> On 29 September 2014 23:47, "L. Grün" <lg...@gmx.ch> wrote:
>
>>  Hello,
>> thank you for your help and comments so far.
>> I setup the Virtual host according to your suggestions.
>>
>> http://markmail.org/message/i4kufvpeexjwh26i
>>
>> Checked it 30 times...
>> Local port tests succeed; the "network test" shows ports are ok.
>> Tests from two external IPs show ports not accessible.
>> The website is showing, login possible. However entering a room gives
>> timeout and error. This corresponds to the fact that network check doesn't
>> find open ports.
>>
>> There are several warnings in /opt/red5/log:
>>
>> 2014-09-29 18:29:04,935 [0.0.0.0-startStop-1] WARN
>> o.a.a.transport.http.AxisServlet - No transportReceiver for
>> org.apache.axis2.transport.http.AxisServletListener found. An instance for
>> HTTP will be configured automatically. Please update your axis2.xml file!
>>
>> 2014-09-29 18:29:09,262 [Launcher:/] WARN  org.red5.server.scope.Scope -
>> Invalid scope rejected: Scope [name=, path=/default, type=APPLICATION,
>> autoStart=true, creationTime=1412008149254, depth=1, enabled=true,
>> running=false]
>>
>> 2014-09-29 18:29:09,262 [Launcher:/] WARN  org.red5.server.scope.Scope -
>> Scope not added to parent
>>
>> 2014-09-29 18:29:10,665 [Launcher:/openmeetings] WARN
>> o.s.aop.framework.CglibAopProxy - Unable to proxy method [public final long
>> org.apache.openmeetings.db.dao.basic.ConfigurationDao.getMaxUploadSize()]
>> because it is final: All calls to this method via a proxy will NOT be
>> routed to the target instance.
>> --------------------------------------------------------------
>> Virtual host in Apache2:
>>
>> <VirtualHost *:80>
>>     ServerName openmeetings.xxxx.com (edited)
>>
>>     <Location /openmeetings>
>>
>>             Order allow,deny
>>
>>             Allow from all
>>
>>     </Location>
>>     ProxyRequests Off
>>
>> ProxyPass /openmeetings http://localhost:5080/openmeetings
>> ProxyPassReverse /openmeetings http://localhost:5080/openmeetings
>>
>> ProxyPass /open http://localhost:8088/open
>> ProxyPassReverse /open http://localhost:8088/open
>> ProxyPass /send http://localhost:8088/send
>> ProxyPassReverse /send http://localhost:8088/send
>> ProxyPass /idle http://localhost:8088/idle
>> ProxyPassReverse /idle  http://localhost:8088/idle
>> ProxyPass /close http://localhost:8088/close
>> ProxyPassReverse /close http://localhost:8088/close
>> </VirtualHost>
>>
>> ---------------------------------------------
>>
>> FW ports open:
>>
>> 80, 8088
>> --------------------------------------
>> config.xml:
>> <rtmphostlocal>openmeetings.xxxx.com</rtmphostlocal> (edited)
>> <httphostlocal></httphostlocal>
>> <rtmpport>1935</rtmpport>
>> <rtmpTunnelport>80</rtmpTunnelport>
>> <red5httpport>80</red5httpport>
>> <protocol>http</protocol>
>> ----------------------------------------
>> red5.properties not touched.
>>
>> Any help wuld be greatly appreciated since I have been burning 4 whole
>> days on this. :)
>>
>> Steven
>>
>>
>>
>>
>>
>> Am 28.09.2014 11:29, schrieb Maxim Solodovnik:
>>
>>  please try this config
>> http://markmail.org/message/i4kufvpeexjwh26i
>>
>> On 27 September 2014 22:05, "L. Grün" <lg...@gmx.ch> wrote:
>>
>>> Hello,
>>> for three days I have been struggling to get OM available through
>>> Reverse Proxy:
>>>
>>> Setup acc.
>>> https://www.mail-archive.com/openmeetings-user@incubator.apache.org/msg02905.html
>>>
>>> config.xml:
>>>
>>> <rtmphostlocal>rtmpt.mydomain.com</rtmphostlocal>
>>> <httphostlocal></httphostlocal>
>>> <rtmpport>1935</rtmpport>
>>> <rtmpTunnelport>80</rtmpTunnelport>
>>> <rtmpsslport>443</rtmpsslport>
>>> <useSSL>no</useSSL>
>>> <red5httpport>80</red5httpport>
>>> <protocol>http</protocol>
>>> ---------------------------------
>>>
>>> red5.properties:
>>>
>>> # HTTP
>>> http.host=0.0.0.0
>>> http.port=5080
>>>
>>> # RTMP
>>> rtmp.host=0.0.0.0
>>> rtmp.port=1935
>>>
>>> # RTMPT
>>> rtmpt.host=0.0.0.0
>>> rtmpt.port=8088
>>>
>>> ------------------------------
>>>
>>> /etc/apache2/enabled-sites:
>>>
>>> 1) openmeetings.mydomain.com:
>>>
>>> <VirtualHost *:80>
>>>     ServerName openmeetings.mydomain.com
>>>     <Location /openmeetings>
>>>             Order allow,deny
>>>             Allow from all
>>>     </Location>
>>>     ProxyRequests Off
>>>     ProxyPass / http://192.168.1.187:5080/
>>>     ProxyPassReverse / http://192.168.1.187:5080/
>>> </VirtualHost>
>>> ------------------------
>>>
>>> 2) rtmpt.mydomain.com:
>>>
>>> <VirtualHost *:80>
>>>     ServerName rtmpt.mydomain.com
>>>     <Location /openmeetings>
>>>             Order allow,deny
>>>             Allow from all
>>>     </Location>
>>>     ProxyRequests Off
>>>     ProxyPass /openmeetings
>>> http://openmeetings.mydomain.com:5080/openmeetings
>>>     ProxyPassReverse /openmeetings
>>> http://openmeetings.mydomain.com:5080/openmeetings
>>>     ProxyPass / http://openmeetings.mydomain.com:8088/
>>>     ProxyPassReverse / http://openmeetings.mydomain.com:8088/
>>> </VirtualHost>
>>>
>>> ---------------------------
>>> FW open ports: 80 8088
>>> DNS: /etc/hosts file up to date; External DNS setup.
>>>
>>> OM runs on LAN side
>>> OM over Internet: Loading a while (spinning thing) and then Error msg.
>>> (Error Missing [204], [556],[642])
>>>
>>> What is wrong with this setup? Thank you in advance!
>>>
>>> Steven
>>>
>>
>>
>>
>>  --
>> WBR
>> Maxim aka solomax
>>
>>
>>
>
>
>  --
> WBR
> Maxim aka solomax
>
>
>


-- 
WBR
Maxim aka solomax

Re: Reverse Proxy

Posted by "L. Grün" <lg...@gmx.ch>.
Thank you for the fast answer! Replaced all occurrences of 8088 to be 
5080. Still failing Port check. What else could be the problem? What do 
you think about the warnings below? It's talking about "proxy"...

Best regards

Steven


Am 29.09.2014 18:51, schrieb Maxim Solodovnik:
> since 3.0.2 you need to change all occurrences of 8088 to be 5080
> sorry, forgot to mention it
>
> On 29 September 2014 23:47, "L. Grün" <lgruen@gmx.ch 
> <ma...@gmx.ch>> wrote:
>
>     Hello,
>     thank you for your help and comments so far.
>     I setup the Virtual host according to your suggestions.
>
>     http://markmail.org/message/i4kufvpeexjwh26i
>
>     Checked it 30 times...
>     Local port tests succeed; the "network test" shows ports are ok.
>     Tests from two external IPs show ports not accessible.
>     The website is showing, login possible. However entering a room
>     gives timeout and error. This corresponds to the fact that network
>     check doesn't find open ports.
>
>     There are several warnings in /opt/red5/log:
>
>     2014-09-29 18:29:04,935 [0.0.0.0-startStop-1] WARN
>     o.a.a.transport.http.AxisServlet - No transportReceiver for
>     org.apache.axis2.transport.http.AxisServletListener found. An
>     instance for HTTP will be configured automatically. Please update
>     your axis2.xml file!
>
>     2014-09-29 18:29:09,262 [Launcher:/] WARN
>     org.red5.server.scope.Scope - Invalid scope rejected: Scope
>     [name=, path=/default, type=APPLICATION, autoStart=true,
>     creationTime=1412008149254, depth=1, enabled=true, running=false]
>
>     2014-09-29 18:29:09,262 [Launcher:/] WARN
>     org.red5.server.scope.Scope - Scope not added to parent
>
>     2014-09-29 18:29:10,665 [Launcher:/openmeetings] WARN
>     o.s.aop.framework.CglibAopProxy - Unable to proxy method [public
>     final long
>     org.apache.openmeetings.db.dao.basic.ConfigurationDao.getMaxUploadSize()]
>     because it is final: All calls to this method via a proxy will NOT
>     be routed to the target instance.
>     --------------------------------------------------------------
>     Virtual host in Apache2:
>
>     <VirtualHost *:80>
>         ServerName openmeetings.xxxx.com
>     <http://openmeetings.xxxx.com> (edited)
>
>         <Location /openmeetings>
>
>                 Order allow,deny
>
>                 Allow from all
>
>         </Location>
>         ProxyRequests Off
>
>     ProxyPass /openmeetings http://localhost:5080/openmeetings
>     ProxyPassReverse /openmeetings http://localhost:5080/openmeetings
>
>     ProxyPass /open http://localhost:8088/open
>     ProxyPassReverse /open http://localhost:8088/open
>     ProxyPass /send http://localhost:8088/send
>     ProxyPassReverse /send http://localhost:8088/send
>     ProxyPass /idle http://localhost:8088/idle
>     ProxyPassReverse /idle http://localhost:8088/idle
>     ProxyPass /close http://localhost:8088/close
>     ProxyPassReverse /close http://localhost:8088/close
>     </VirtualHost>
>
>     ---------------------------------------------
>
>     FW ports open:
>
>     80, 8088
>     --------------------------------------
>     config.xml:
>     <rtmphostlocal>openmeetings.xxxx.com
>     <http://openmeetings.xxxx.com></rtmphostlocal> (edited)
>     <httphostlocal></httphostlocal>
>     <rtmpport>1935</rtmpport>
>     <rtmpTunnelport>80</rtmpTunnelport>
>     <red5httpport>80</red5httpport>
>     <protocol>http</protocol>
>     ----------------------------------------
>     red5.properties not touched.
>
>     Any help wuld be greatly appreciated since I have been burning 4
>     whole days on this. :)
>
>     Steven
>
>
>
>
>
>     Am 28.09.2014 11:29, schrieb Maxim Solodovnik:
>>     please try this config
>>     http://markmail.org/message/i4kufvpeexjwh26i
>>
>>     On 27 September 2014 22:05, "L. Grün" <lgruen@gmx.ch
>>     <ma...@gmx.ch>> wrote:
>>
>>         Hello,
>>         for three days I have been struggling to get OM available
>>         through Reverse Proxy:
>>
>>         Setup acc.
>>         https://www.mail-archive.com/openmeetings-user@incubator.apache.org/msg02905.html
>>
>>         config.xml:
>>
>>         <rtmphostlocal>rtmpt.mydomain.com
>>         <http://rtmpt.mydomain.com></rtmphostlocal>
>>         <httphostlocal></httphostlocal>
>>         <rtmpport>1935</rtmpport>
>>         <rtmpTunnelport>80</rtmpTunnelport>
>>         <rtmpsslport>443</rtmpsslport>
>>         <useSSL>no</useSSL>
>>         <red5httpport>80</red5httpport>
>>         <protocol>http</protocol>
>>         ---------------------------------
>>
>>         red5.properties:
>>
>>         # HTTP
>>         http.host=0.0.0.0
>>         http.port=5080
>>
>>         # RTMP
>>         rtmp.host=0.0.0.0
>>         rtmp.port=1935
>>
>>         # RTMPT
>>         rtmpt.host=0.0.0.0
>>         rtmpt.port=8088
>>
>>         ------------------------------
>>
>>         /etc/apache2/enabled-sites:
>>
>>         1) openmeetings.mydomain.com <http://openmeetings.mydomain.com>:
>>
>>         <VirtualHost *:80>
>>             ServerName openmeetings.mydomain.com
>>         <http://openmeetings.mydomain.com>
>>             <Location /openmeetings>
>>                     Order allow,deny
>>                     Allow from all
>>             </Location>
>>             ProxyRequests Off
>>             ProxyPass / http://192.168.1.187:5080/
>>             ProxyPassReverse / http://192.168.1.187:5080/
>>         </VirtualHost>
>>         ------------------------
>>
>>         2) rtmpt.mydomain.com <http://rtmpt.mydomain.com>:
>>
>>         <VirtualHost *:80>
>>             ServerName rtmpt.mydomain.com <http://rtmpt.mydomain.com>
>>             <Location /openmeetings>
>>                     Order allow,deny
>>                     Allow from all
>>             </Location>
>>             ProxyRequests Off
>>             ProxyPass /openmeetings
>>         http://openmeetings.mydomain.com:5080/openmeetings
>>             ProxyPassReverse /openmeetings
>>         http://openmeetings.mydomain.com:5080/openmeetings
>>             ProxyPass / http://openmeetings.mydomain.com:8088/
>>             ProxyPassReverse / http://openmeetings.mydomain.com:8088/
>>         </VirtualHost>
>>
>>         ---------------------------
>>         FW open ports: 80 8088
>>         DNS: /etc/hosts file up to date; External DNS setup.
>>
>>         OM runs on LAN side
>>         OM over Internet: Loading a while (spinning thing) and then
>>         Error msg. (Error Missing [204], [556],[642])
>>
>>         What is wrong with this setup? Thank you in advance!
>>
>>         Steven
>>
>>
>>
>>
>>     -- 
>>     WBR
>>     Maxim aka solomax
>
>
>
>
> -- 
> WBR
> Maxim aka solomax


Re: Reverse Proxy

Posted by Maxim Solodovnik <so...@gmail.com>.
since 3.0.2 you need to change all occurrences of 8088 to be 5080
sorry, forgot to mention it

On 29 September 2014 23:47, "L. Grün" <lg...@gmx.ch> wrote:

>  Hello,
> thank you for your help and comments so far.
> I setup the Virtual host according to your suggestions.
>
> http://markmail.org/message/i4kufvpeexjwh26i
>
> Checked it 30 times...
> Local port tests succeed; the "network test" shows ports are ok.
> Tests from two external IPs show ports not accessible.
> The website is showing, login possible. However entering a room gives
> timeout and error. This corresponds to the fact that network check doesn't
> find open ports.
>
> There are several warnings in /opt/red5/log:
>
> 2014-09-29 18:29:04,935 [0.0.0.0-startStop-1] WARN
> o.a.a.transport.http.AxisServlet - No transportReceiver for
> org.apache.axis2.transport.http.AxisServletListener found. An instance for
> HTTP will be configured automatically. Please update your axis2.xml file!
>
> 2014-09-29 18:29:09,262 [Launcher:/] WARN  org.red5.server.scope.Scope -
> Invalid scope rejected: Scope [name=, path=/default, type=APPLICATION,
> autoStart=true, creationTime=1412008149254, depth=1, enabled=true,
> running=false]
>
> 2014-09-29 18:29:09,262 [Launcher:/] WARN  org.red5.server.scope.Scope -
> Scope not added to parent
>
> 2014-09-29 18:29:10,665 [Launcher:/openmeetings] WARN
> o.s.aop.framework.CglibAopProxy - Unable to proxy method [public final long
> org.apache.openmeetings.db.dao.basic.ConfigurationDao.getMaxUploadSize()]
> because it is final: All calls to this method via a proxy will NOT be
> routed to the target instance.
> --------------------------------------------------------------
> Virtual host in Apache2:
>
> <VirtualHost *:80>
>     ServerName openmeetings.xxxx.com (edited)
>
>     <Location /openmeetings>
>
>             Order allow,deny
>
>             Allow from all
>
>     </Location>
>     ProxyRequests Off
>
> ProxyPass /openmeetings http://localhost:5080/openmeetings
> ProxyPassReverse /openmeetings http://localhost:5080/openmeetings
>
> ProxyPass /open http://localhost:8088/open
> ProxyPassReverse /open http://localhost:8088/open
> ProxyPass /send http://localhost:8088/send
> ProxyPassReverse /send http://localhost:8088/send
> ProxyPass /idle http://localhost:8088/idle
> ProxyPassReverse /idle  http://localhost:8088/idle
> ProxyPass /close http://localhost:8088/close
> ProxyPassReverse /close http://localhost:8088/close
> </VirtualHost>
>
> ---------------------------------------------
>
> FW ports open:
>
> 80, 8088
> --------------------------------------
> config.xml:
> <rtmphostlocal>openmeetings.xxxx.com</rtmphostlocal> (edited)
> <httphostlocal></httphostlocal>
> <rtmpport>1935</rtmpport>
> <rtmpTunnelport>80</rtmpTunnelport>
> <red5httpport>80</red5httpport>
> <protocol>http</protocol>
> ----------------------------------------
> red5.properties not touched.
>
> Any help wuld be greatly appreciated since I have been burning 4 whole
> days on this. :)
>
> Steven
>
>
>
>
>
> Am 28.09.2014 11:29, schrieb Maxim Solodovnik:
>
>  please try this config
> http://markmail.org/message/i4kufvpeexjwh26i
>
> On 27 September 2014 22:05, "L. Grün" <lg...@gmx.ch> wrote:
>
>> Hello,
>> for three days I have been struggling to get OM available through Reverse
>> Proxy:
>>
>> Setup acc.
>> https://www.mail-archive.com/openmeetings-user@incubator.apache.org/msg02905.html
>>
>> config.xml:
>>
>> <rtmphostlocal>rtmpt.mydomain.com</rtmphostlocal>
>> <httphostlocal></httphostlocal>
>> <rtmpport>1935</rtmpport>
>> <rtmpTunnelport>80</rtmpTunnelport>
>> <rtmpsslport>443</rtmpsslport>
>> <useSSL>no</useSSL>
>> <red5httpport>80</red5httpport>
>> <protocol>http</protocol>
>> ---------------------------------
>>
>> red5.properties:
>>
>> # HTTP
>> http.host=0.0.0.0
>> http.port=5080
>>
>> # RTMP
>> rtmp.host=0.0.0.0
>> rtmp.port=1935
>>
>> # RTMPT
>> rtmpt.host=0.0.0.0
>> rtmpt.port=8088
>>
>> ------------------------------
>>
>> /etc/apache2/enabled-sites:
>>
>> 1) openmeetings.mydomain.com:
>>
>> <VirtualHost *:80>
>>     ServerName openmeetings.mydomain.com
>>     <Location /openmeetings>
>>             Order allow,deny
>>             Allow from all
>>     </Location>
>>     ProxyRequests Off
>>     ProxyPass / http://192.168.1.187:5080/
>>     ProxyPassReverse / http://192.168.1.187:5080/
>> </VirtualHost>
>> ------------------------
>>
>> 2) rtmpt.mydomain.com:
>>
>> <VirtualHost *:80>
>>     ServerName rtmpt.mydomain.com
>>     <Location /openmeetings>
>>             Order allow,deny
>>             Allow from all
>>     </Location>
>>     ProxyRequests Off
>>     ProxyPass /openmeetings
>> http://openmeetings.mydomain.com:5080/openmeetings
>>     ProxyPassReverse /openmeetings
>> http://openmeetings.mydomain.com:5080/openmeetings
>>     ProxyPass / http://openmeetings.mydomain.com:8088/
>>     ProxyPassReverse / http://openmeetings.mydomain.com:8088/
>> </VirtualHost>
>>
>> ---------------------------
>> FW open ports: 80 8088
>> DNS: /etc/hosts file up to date; External DNS setup.
>>
>> OM runs on LAN side
>> OM over Internet: Loading a while (spinning thing) and then Error msg.
>> (Error Missing [204], [556],[642])
>>
>> What is wrong with this setup? Thank you in advance!
>>
>> Steven
>>
>
>
>
>  --
> WBR
> Maxim aka solomax
>
>
>


-- 
WBR
Maxim aka solomax

Re: Reverse Proxy

Posted by "L. Grün" <lg...@gmx.ch>.
Hello,
thank you for your help and comments so far.
I setup the Virtual host according to your suggestions.

http://markmail.org/message/i4kufvpeexjwh26i

Checked it 30 times...
Local port tests succeed; the "network test" shows ports are ok.
Tests from two external IPs show ports not accessible.
The website is showing, login possible. However entering a room gives 
timeout and error. This corresponds to the fact that network check 
doesn't find open ports.

There are several warnings in /opt/red5/log:

2014-09-29 18:29:04,935 [0.0.0.0-startStop-1] WARN 
o.a.a.transport.http.AxisServlet - No transportReceiver for 
org.apache.axis2.transport.http.AxisServletListener found. An instance 
for HTTP will be configured automatically. Please update your axis2.xml 
file!

2014-09-29 18:29:09,262 [Launcher:/] WARN org.red5.server.scope.Scope - 
Invalid scope rejected: Scope [name=, path=/default, type=APPLICATION, 
autoStart=true, creationTime=1412008149254, depth=1, enabled=true, 
running=false]

2014-09-29 18:29:09,262 [Launcher:/] WARN org.red5.server.scope.Scope - 
Scope not added to parent

2014-09-29 18:29:10,665 [Launcher:/openmeetings] WARN 
o.s.aop.framework.CglibAopProxy - Unable to proxy method [public final 
long 
org.apache.openmeetings.db.dao.basic.ConfigurationDao.getMaxUploadSize()] because 
it is final: All calls to this method via a proxy will NOT be routed to 
the target instance.
--------------------------------------------------------------
Virtual host in Apache2:

<VirtualHost *:80>
     ServerName openmeetings.xxxx.com (edited)

     <Location /openmeetings>

             Order allow,deny

             Allow from all

     </Location>
     ProxyRequests Off

ProxyPass /openmeetings http://localhost:5080/openmeetings
ProxyPassReverse /openmeetings http://localhost:5080/openmeetings

ProxyPass /open http://localhost:8088/open
ProxyPassReverse /open http://localhost:8088/open
ProxyPass /send http://localhost:8088/send
ProxyPassReverse /send http://localhost:8088/send
ProxyPass /idle http://localhost:8088/idle
ProxyPassReverse /idle http://localhost:8088/idle
ProxyPass /close http://localhost:8088/close
ProxyPassReverse /close http://localhost:8088/close
</VirtualHost>

---------------------------------------------

FW ports open:

80, 8088
--------------------------------------
config.xml:
<rtmphostlocal>openmeetings.xxxx.com</rtmphostlocal> (edited)
<httphostlocal></httphostlocal>
<rtmpport>1935</rtmpport>
<rtmpTunnelport>80</rtmpTunnelport>
<red5httpport>80</red5httpport>
<protocol>http</protocol>
----------------------------------------
red5.properties not touched.

Any help wuld be greatly appreciated since I have been burning 4 whole 
days on this. :)

Steven





Am 28.09.2014 11:29, schrieb Maxim Solodovnik:
> please try this config
> http://markmail.org/message/i4kufvpeexjwh26i
>
> On 27 September 2014 22:05, "L. Grün" <lgruen@gmx.ch 
> <ma...@gmx.ch>> wrote:
>
>     Hello,
>     for three days I have been struggling to get OM available through
>     Reverse Proxy:
>
>     Setup acc.
>     https://www.mail-archive.com/openmeetings-user@incubator.apache.org/msg02905.html
>
>     config.xml:
>
>     <rtmphostlocal>rtmpt.mydomain.com
>     <http://rtmpt.mydomain.com></rtmphostlocal>
>     <httphostlocal></httphostlocal>
>     <rtmpport>1935</rtmpport>
>     <rtmpTunnelport>80</rtmpTunnelport>
>     <rtmpsslport>443</rtmpsslport>
>     <useSSL>no</useSSL>
>     <red5httpport>80</red5httpport>
>     <protocol>http</protocol>
>     ---------------------------------
>
>     red5.properties:
>
>     # HTTP
>     http.host=0.0.0.0
>     http.port=5080
>
>     # RTMP
>     rtmp.host=0.0.0.0
>     rtmp.port=1935
>
>     # RTMPT
>     rtmpt.host=0.0.0.0
>     rtmpt.port=8088
>
>     ------------------------------
>
>     /etc/apache2/enabled-sites:
>
>     1) openmeetings.mydomain.com <http://openmeetings.mydomain.com>:
>
>     <VirtualHost *:80>
>         ServerName openmeetings.mydomain.com
>     <http://openmeetings.mydomain.com>
>         <Location /openmeetings>
>                 Order allow,deny
>                 Allow from all
>         </Location>
>         ProxyRequests Off
>         ProxyPass / http://192.168.1.187:5080/
>         ProxyPassReverse / http://192.168.1.187:5080/
>     </VirtualHost>
>     ------------------------
>
>     2) rtmpt.mydomain.com <http://rtmpt.mydomain.com>:
>
>     <VirtualHost *:80>
>         ServerName rtmpt.mydomain.com <http://rtmpt.mydomain.com>
>         <Location /openmeetings>
>                 Order allow,deny
>                 Allow from all
>         </Location>
>         ProxyRequests Off
>         ProxyPass /openmeetings
>     http://openmeetings.mydomain.com:5080/openmeetings
>         ProxyPassReverse /openmeetings
>     http://openmeetings.mydomain.com:5080/openmeetings
>         ProxyPass / http://openmeetings.mydomain.com:8088/
>         ProxyPassReverse / http://openmeetings.mydomain.com:8088/
>     </VirtualHost>
>
>     ---------------------------
>     FW open ports: 80 8088
>     DNS: /etc/hosts file up to date; External DNS setup.
>
>     OM runs on LAN side
>     OM over Internet: Loading a while (spinning thing) and then Error
>     msg. (Error Missing [204], [556],[642])
>
>     What is wrong with this setup? Thank you in advance!
>
>     Steven
>
>
>
>
> -- 
> WBR
> Maxim aka solomax


Re: Reverse Proxy

Posted by Maxim Solodovnik <so...@gmail.com>.
please try this config
http://markmail.org/message/i4kufvpeexjwh26i

On 27 September 2014 22:05, "L. Grün" <lg...@gmx.ch> wrote:

> Hello,
> for three days I have been struggling to get OM available through Reverse
> Proxy:
>
> Setup acc. https://www.mail-archive.com/openmeetings-user@incubator.
> apache.org/msg02905.html
>
> config.xml:
>
> <rtmphostlocal>rtmpt.mydomain.com</rtmphostlocal>
> <httphostlocal></httphostlocal>
> <rtmpport>1935</rtmpport>
> <rtmpTunnelport>80</rtmpTunnelport>
> <rtmpsslport>443</rtmpsslport>
> <useSSL>no</useSSL>
> <red5httpport>80</red5httpport>
> <protocol>http</protocol>
> ---------------------------------
>
> red5.properties:
>
> # HTTP
> http.host=0.0.0.0
> http.port=5080
>
> # RTMP
> rtmp.host=0.0.0.0
> rtmp.port=1935
>
> # RTMPT
> rtmpt.host=0.0.0.0
> rtmpt.port=8088
>
> ------------------------------
>
> /etc/apache2/enabled-sites:
>
> 1) openmeetings.mydomain.com:
>
> <VirtualHost *:80>
>     ServerName openmeetings.mydomain.com
>     <Location /openmeetings>
>             Order allow,deny
>             Allow from all
>     </Location>
>     ProxyRequests Off
>     ProxyPass / http://192.168.1.187:5080/
>     ProxyPassReverse / http://192.168.1.187:5080/
> </VirtualHost>
> ------------------------
>
> 2) rtmpt.mydomain.com:
>
> <VirtualHost *:80>
>     ServerName rtmpt.mydomain.com
>     <Location /openmeetings>
>             Order allow,deny
>             Allow from all
>     </Location>
>     ProxyRequests Off
>     ProxyPass /openmeetings http://openmeetings.mydomain.
> com:5080/openmeetings
>     ProxyPassReverse /openmeetings http://openmeetings.mydomain.
> com:5080/openmeetings
>     ProxyPass / http://openmeetings.mydomain.com:8088/
>     ProxyPassReverse / http://openmeetings.mydomain.com:8088/
> </VirtualHost>
>
> ---------------------------
> FW open ports: 80 8088
> DNS: /etc/hosts file up to date; External DNS setup.
>
> OM runs on LAN side
> OM over Internet: Loading a while (spinning thing) and then Error msg.
> (Error Missing [204], [556],[642])
>
> What is wrong with this setup? Thank you in advance!
>
> Steven
>



-- 
WBR
Maxim aka solomax