You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@openmeetings.apache.org by Ralf Mueller <pr...@consultant.com> on 2012/07/28 12:03:08 UTC
Problem getting rtmpt through Apache Proxy
Hi,
following two postings that I have found on the mailing list, I have configured the webserver as follows:
/etc/apache2/sites-enabled/openmeetings
--------------------------------------------------
<proxy>
Order deny,allow
Allow from all
</proxy>
<VirtualHost 10.0.50.5:80>
ServerName video.xxxxx.de
ProxyRequests Off
ProxyPass / http://10.0.50.5:5080/
ProxyPassReverse / http://10.0.50.5:5080/
ErrorLog /var/log/apache2/om-error_log
CustomLog /var/log/apache2/om-access_log combined
HostnameLookups Off
UseCanonicalName Off
ServerSignature Off
</VirtualHost>
<VirtualHost 10.0.50.5:80>
ServerName rtmpt.xxxx.de
ProxyRequests Off
ProxyPass /openmeetings http://10.0.50.5:5080/openmeetings
ProxyPassReverse /openmeetings http://10.0.50.5:5080/openmeetings
ErrorLog /var/log/apache2/om-rtmpt-error_log
CustomLog /var/log/apache2/om-rtmpt-access_log combined
HostnameLookups Off
UseCanonicalName Off
ServerSignature Off
</VirtualHost>
nslookup on video.xxxx.de and rtmpt.xxxx.de returns the external/official IP address.
Entering http://video.xxxx.de/openmeetings returns the following error:
Error missing [204]
Error missing [556]
Autoconnect
Netconnection.connect.failed
rtmpt://rtmpt.xxxx.de:80/openmeetings/hibernate
Openmeetings is running, as netstat shows me:
etstat -anp | grep 5080
tcp 0 0 0.0.0.0:5080 0.0.0.0:* LISTEN 27804/java
tcp 1 0 10.0.50.5:43931 10.0.50.5:5080 CLOSE_WAIT 27045/apache2
tcp 1 0 10.0.50.5:43898 10.0.50.5:5080 CLOSE_WAIT 27043/apache2
tcp 1 0 10.0.50.5:41640 10.0.50.5:5080 CLOSE_WAIT 27043/apache2
Can anyone give me a hint, what the problem could be?
Thanks and have a nice weekend,
Ralf
Re: Problem getting rtmpt through Apache Proxy
Posted by Stephen Cottham <St...@robertbird.com.au>.
Hey Ralf,
Can you tell us a bit more about your setup? Are you accessing this from the public side? Do you have all the needed ports added as a port forward rule? 5080 is not enough on its own. If you are accessing it from the private side then nslookup needs to be the private address (depending on your firewall of course) - just need to know a bit more about how you are set up to troubleshoot this with you.
Also did you use the guides on the wiki to set the reverse proxy up? Either Debian or Ubuntu guides have a section at the end on reverse proxy setup.
Best Regards
Sent from my iPhone
On 28 Jul 2012, at 11:03, "Ralf Mueller" <pr...@consultant.com> wrote:
> Hi,
>
> following two postings that I have found on the mailing list, I have configured the webserver as follows:
>
> /etc/apache2/sites-enabled/openmeetings
> --------------------------------------------------
>
> <proxy>
> Order deny,allow
> Allow from all
> </proxy>
>
> <VirtualHost 10.0.50.5:80>
> ServerName video.xxxxx.de
> ProxyRequests Off
> ProxyPass / http://10.0.50.5:5080/
> ProxyPassReverse / http://10.0.50.5:5080/
> ErrorLog /var/log/apache2/om-error_log
> CustomLog /var/log/apache2/om-access_log combined
> HostnameLookups Off
> UseCanonicalName Off
> ServerSignature Off
> </VirtualHost>
>
> <VirtualHost 10.0.50.5:80>
> ServerName rtmpt.xxxx.de
> ProxyRequests Off
> ProxyPass /openmeetings http://10.0.50.5:5080/openmeetings
> ProxyPassReverse /openmeetings http://10.0.50.5:5080/openmeetings
> ErrorLog /var/log/apache2/om-rtmpt-error_log
> CustomLog /var/log/apache2/om-rtmpt-access_log combined
> HostnameLookups Off
> UseCanonicalName Off
> ServerSignature Off
> </VirtualHost>
>
> nslookup on video.xxxx.de and rtmpt.xxxx.de returns the external/official IP address.
> Entering http://video.xxxx.de/openmeetings returns the following error:
>
> Error missing [204]
> Error missing [556]
> Autoconnect
> Netconnection.connect.failed
> rtmpt://rtmpt.xxxx.de:80/openmeetings/hibernate
>
> Openmeetings is running, as netstat shows me:
>
> etstat -anp | grep 5080
> tcp 0 0 0.0.0.0:5080 0.0.0.0:* LISTEN 27804/java
> tcp 1 0 10.0.50.5:43931 10.0.50.5:5080 CLOSE_WAIT 27045/apache2
> tcp 1 0 10.0.50.5:43898 10.0.50.5:5080 CLOSE_WAIT 27043/apache2
> tcp 1 0 10.0.50.5:41640 10.0.50.5:5080 CLOSE_WAIT 27043/apache2
>
> Can anyone give me a hint, what the problem could be?
>
> Thanks and have a nice weekend,
>
> Ralf
Stephen Cottham
Group IT Manager (Associate)
Robert Bird Group
Level 5, 333 Ann St
Brisbane, Queensland, 4000, Australia
Phone: +6173 319 2777 (AUS)
Phone: +44207 592 8000 (UK)
Fax: +6173 319 2799
Mobile: +61400 756 963 (AUS)
Mobile: +447900 918 616 (UK)
Web: www.robertbird.com
This email and any attachments are confidential and may contain legally privileged information or copyright material. Unless expressly stated, confidentiality and/or legal privilege is not intended to be waived by the sending of this email. The contents of this email, including any attachments, are intended solely for the use of the individual or entity to whom they are addressed. If you are not an intended recipient, please contact us immediately by return email and then delete both messages. You may not otherwise read, forward, copy, use or disclose this email or any attachments. Any views expressed in this email are those of the individual sender except where the sender expressly, and with authority, states otherwise. It is your responsibility to check any attachments for viruses or defects before opening or sending them on. None of the sender or its related entities accepts any liability for any consequential damage resulting from this email containing computer viruses.
Disclaimer added by CodeTwo Exchange Rules
http://www.codetwo.com