You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@openmeetings.apache.org by Daniela Kirsch <dk...@excelsystems.com> on 2013/08/01 00:32:41 UTC

RTMPS Setup for 2.1

Hi,

we are trying to set up RTMPS with Open Meetings 2.1.

There are 2 documents that we found:
https://code.google.com/p/openmeetings/wiki/RTMPSandHTTPS
http://openmeetings.apache.org/RTMPSAndHTTPS.html

They are almost identical, however both say Open Meetings 1.9 is required.
So are the settings the same for 2.1? If not, is there some other
documentation?

In the red5.log we get a few error messages on server startup (8443 is the
port we want to use):
2013-07-31 14:14:20,424 [main] ERROR o.a.coyote.http11.Http11NioProtocol -
Failed to initialize end point associated with ProtocolHandler
["http-nio-8443"]
java.net.BindException: Address already in use

2013-07-31 14:14:20,425 [main] ERROR o.a.catalina.core.StandardService -
Failed to start connector
[Connector[org.apache.coyote.http11.Http11NioProtocol-8443]]
org.apache.catalina.LifecycleException: Failed to initialize component
[Connector[org.apache.coyote.http11.Http11NioProtocol-8443]]

2013-07-31 14:14:20,427 [main] ERROR o.a.coyote.http11.Http11NioProtocol -
Failed to start end point associated with ProtocolHandler ["http-nio-8443"]
java.net.BindException: Address already in use

2013-07-31 14:14:20,428 [main] ERROR o.r.server.tomcat.rtmps.RTMPSLoader -
Error initializing RTMPS server instance
org.apache.catalina.LifecycleException: Failed to start component
[Connector[org.apache.coyote.http11.Http11NioProtocol-8443]]

When we disable port 1935 lots of problems occur and we can't use the
application.

Thanks,
Daniela

Re: RTMPS Setup for 2.1

Posted by Daniela Kirsch <dk...@excelsystems.com>.
We tried that now, but that actually resulted in Open Meetings not even
starting up.
We are running v2.1 but downloaded jee-container.xml from version 2.1.1,
commented the RTMPT part and uncommented RTMPS. If we use
jee-container-ssl.xml from v2.1.1 it does start up but we believe it
doesn't use RTMPS at all (there's nothing in the logs saying anything about
RTMPS, everywhere it says RTMP). What is the proper way to set it up?

Also, the documentation says:
 Edit red5/webapps/openmeetings/public/config.xml and set
<rtmpsslport>5443</rtmpsslport> , <useSSL>yes</useSSL> and
<proxyType>best</proxyType>
However there's no config.xml in that folder, it is in
red5/webapps/openmeetings/ (no public in the path). Is that just because
the documentation was for v1.9?

Thanks,
Daniela

On Tue, Aug 13, 2013 at 8:04 AM, Maxim Solodovnik <so...@gmail.com>wrote:

> I would recommend not to use jee*ssl.xml
> but comment
> <!-- RTMPT (dedicated server) -->
> and uncomment
> <!-- RTMPS (dedicated server) -->
>
> sorry for the late response :(
>
>
>
>
> On Sat, Aug 10, 2013 at 3:32 AM, Daniela Kirsch <dk...@excelsystems.com>wrote:
>
>> Hi,
>>
>> I've been checking the logs again and here's what I get from red5:
>>
>> 2013-08-09 13:58:56,293 [main] INFO  o.r.s.net.rtmp.RTMPMinaTransport -
>> RTMP Mina Transport bound to /0.0.0.0:*1935*
>> 2013-08-09 13:58:56,387 [main] INFO  o.r.s.net.rtmp.RTMPMinaTransport -
>> RTMP Mina Transport bound to /0.0.0.0:*8443*
>>
>> 2013-08-09 13:58:56,897 [main] INFO  o.a.coyote.http11.Http11Protocol -
>> Initializing ProtocolHandler ["http-bio-0.0.0.0-*7443*"]
>> 2013-08-09 13:59:07,223 [main] INFO  o.a.coyote.http11.Http11Protocol -
>> Starting ProtocolHandler ["http-bio-0.0.0.0-*7443*"]
>> 2013-08-09 13:59:09,697 [main] INFO  o.a.coyote.http11.Http11NioProtocol
>> - Initializing ProtocolHandler ["http-nio-*8088*"]
>> 2013-08-09 13:59:09,704 [main] INFO  o.a.coyote.http11.Http11NioProtocol
>> - Starting ProtocolHandler ["http-nio-*8088*"]
>> 2013-08-09 13:59:11,998 [main] INFO  o.a.coyote.http11.Http11NioProtocol
>> - Initializing ProtocolHandler ["http-nio-*8443*"]
>> 2013-08-09 13:59:12,004 [main] INFO  o.a.coyote.http11.Http11NioProtocol
>> - Stopping ProtocolHandler ["http-nio-*8443*"]
>> 2013-08-09 13:59:12,004 [main] INFO  o.a.coyote.http11.Http11NioProtocol
>> - Starting ProtocolHandler ["http-nio-*8443*"]
>>
>> So it actually does sound like for some reason we do use 8443 for both.
>> We've been through the configuration now a few times. One part I don't
>> understand is this:
>>
>> *Edit red5/conf/jee-container.xml file:*
>> *Comment Tomcat without SSL enabled section*
>> *UNComment Tomcat with SSL enabled section*
>>
>> I didn't actually do the setup but a colleague did that and he said:
>> "After certain version of Openmeetings, jee-container.xml doesn't have
>> the tomcat commented sections anymore. Instead, there are 2 xml files -
>> jee-container.xml and jee-container-ssl.xml. To enable SSL, I think I only
>> had to rename the jee-container to another name. And the one with the ssl
>> to jee-container.xml."
>>
>> So reading the above I'm thinking there's an issue in our
>> jee-container.xml. But which section exactly would I have to comment? Would
>> it be the whole section of
>> <bean id="tomcat.server" class="org.red5.server.tomcat.TomcatLoader"
>> init-method="init" destroy-method="shutdown" depends-on="context.loader">
>> or just some part of it? There's also a section for RTMPT, should that be
>> active?
>>
>> Thanks,
>> Daniela
>>
>>
>> On 2013-08-01, at 9:51 AM, Maxim Solodovnik wrote:
>>
>> Is it possible you have chosed 8443 for both RTMPS and HTTPS? OM 2.1
>> requires 2-3 _different_ ports
>>
>>
>> On Thu, Aug 1, 2013 at 10:14 PM, Daniela Kirsch <dkirsch@excelsystems.com
>> > wrote:
>>
>>> Hi,
>>>
>>> netstat only shows one line for port 8443 when OpenMeetings is started,
>>> it doesn't list anything when ended:
>>> tcp        0      0 0.0.0.0:8443                0.0.0.0:*
>>>     LISTEN
>>>
>>> However I did search a bit and found that it could be caused when red5
>>> isn't shut down properly, meaning when you kill the process it might not
>>> release the ports. So the suggestion was to use red5-shutdown.sh
>>> That script is a little confusing, do we have to change it? It's the
>>> following right now:
>>>
>>> # port, username, password
>>> export RED5_OPTS="*9999 red5user changeme*"
>>> export RED5_MAINCLASS=org.red5.server.Shutdown
>>> exec $RED5_HOME/red5.sh
>>>
>>> But if we were to change that line with port, username, password,  what
>>> would it be?
>>>
>>> Thanks,
>>> Daniela
>>>
>>> On 2013-07-31, at 4:19 PM, Maxim Solodovnik wrote:
>>>
>>> Hello Daniela,
>>>
>>> http://openmeetings.apache.org/RTMPSAndHTTPS.html is the most recent
>>> document. According to my observations all need to be done is to follow
>>> this instruction step by step :)
>>>
>>> "Address already in use" usually means some other application is using
>>> same port (can be checked with netstat)
>>>
>>>
>>> On Thu, Aug 1, 2013 at 5:32 AM, Daniela Kirsch <dkirsch@excelsystems.com
>>> > wrote:
>>>
>>>> Hi,
>>>>
>>>> we are trying to set up RTMPS with Open Meetings 2.1.
>>>>
>>>> There are 2 documents that we found:
>>>> https://code.google.com/p/openmeetings/wiki/RTMPSandHTTPS
>>>> http://openmeetings.apache.org/RTMPSAndHTTPS.html
>>>>
>>>> They are almost identical, however both say Open Meetings 1.9 is
>>>> required. So are the settings the same for 2.1? If not, is there some other
>>>> documentation?
>>>>
>>>> In the red5.log we get a few error messages on server startup (8443 is
>>>> the port we want to use):
>>>> 2013-07-31 14:14:20,424 [main] ERROR
>>>> o.a.coyote.http11.Http11NioProtocol - Failed to initialize end point
>>>> associated with ProtocolHandler ["http-nio-8443"]
>>>> java.net.BindException: Address already in use
>>>>
>>>> 2013-07-31 14:14:20,425 [main] ERROR o.a.catalina.core.StandardService
>>>> - Failed to start connector
>>>> [Connector[org.apache.coyote.http11.Http11NioProtocol-8443]]
>>>> org.apache.catalina.LifecycleException: Failed to initialize component
>>>> [Connector[org.apache.coyote.http11.Http11NioProtocol-8443]]
>>>>
>>>> 2013-07-31 14:14:20,427 [main] ERROR
>>>> o.a.coyote.http11.Http11NioProtocol - Failed to start end point associated
>>>> with ProtocolHandler ["http-nio-8443"]
>>>> java.net.BindException: Address already in use
>>>>
>>>> 2013-07-31 14:14:20,428 [main] ERROR
>>>> o.r.server.tomcat.rtmps.RTMPSLoader - Error initializing RTMPS server
>>>> instance
>>>> org.apache.catalina.LifecycleException: Failed to start component
>>>> [Connector[org.apache.coyote.http11.Http11NioProtocol-8443]]
>>>>
>>>> When we disable port 1935 lots of problems occur and we can't use the
>>>> application.
>>>>
>>>> Thanks,
>>>> Daniela
>>>>
>>>
>>>
>>>
>>> --
>>> WBR
>>> Maxim aka solomax
>>>
>>>
>>>
>>
>>
>> --
>> WBR
>> Maxim aka solomax
>>
>>
>>
>
>
> --
> WBR
> Maxim aka solomax
>

Re: RTMPS Setup for 2.1

Posted by Maxim Solodovnik <so...@gmail.com>.
I would recommend not to use jee*ssl.xml
but comment
<!-- RTMPT (dedicated server) -->
and uncomment
<!-- RTMPS (dedicated server) -->

sorry for the late response :(




On Sat, Aug 10, 2013 at 3:32 AM, Daniela Kirsch <dk...@excelsystems.com>wrote:

> Hi,
>
> I've been checking the logs again and here's what I get from red5:
>
> 2013-08-09 13:58:56,293 [main] INFO  o.r.s.net.rtmp.RTMPMinaTransport -
> RTMP Mina Transport bound to /0.0.0.0:*1935*
> 2013-08-09 13:58:56,387 [main] INFO  o.r.s.net.rtmp.RTMPMinaTransport -
> RTMP Mina Transport bound to /0.0.0.0:*8443*
>
> 2013-08-09 13:58:56,897 [main] INFO  o.a.coyote.http11.Http11Protocol -
> Initializing ProtocolHandler ["http-bio-0.0.0.0-*7443*"]
> 2013-08-09 13:59:07,223 [main] INFO  o.a.coyote.http11.Http11Protocol -
> Starting ProtocolHandler ["http-bio-0.0.0.0-*7443*"]
> 2013-08-09 13:59:09,697 [main] INFO  o.a.coyote.http11.Http11NioProtocol -
> Initializing ProtocolHandler ["http-nio-*8088*"]
> 2013-08-09 13:59:09,704 [main] INFO  o.a.coyote.http11.Http11NioProtocol -
> Starting ProtocolHandler ["http-nio-*8088*"]
> 2013-08-09 13:59:11,998 [main] INFO  o.a.coyote.http11.Http11NioProtocol -
> Initializing ProtocolHandler ["http-nio-*8443*"]
> 2013-08-09 13:59:12,004 [main] INFO  o.a.coyote.http11.Http11NioProtocol -
> Stopping ProtocolHandler ["http-nio-*8443*"]
> 2013-08-09 13:59:12,004 [main] INFO  o.a.coyote.http11.Http11NioProtocol -
> Starting ProtocolHandler ["http-nio-*8443*"]
>
> So it actually does sound like for some reason we do use 8443 for both.
> We've been through the configuration now a few times. One part I don't
> understand is this:
>
> *Edit red5/conf/jee-container.xml file:*
> *Comment Tomcat without SSL enabled section*
> *UNComment Tomcat with SSL enabled section*
>
> I didn't actually do the setup but a colleague did that and he said:
> "After certain version of Openmeetings, jee-container.xml doesn't have the
> tomcat commented sections anymore. Instead, there are 2 xml files -
> jee-container.xml and jee-container-ssl.xml. To enable SSL, I think I only
> had to rename the jee-container to another name. And the one with the ssl
> to jee-container.xml."
>
> So reading the above I'm thinking there's an issue in our
> jee-container.xml. But which section exactly would I have to comment? Would
> it be the whole section of
> <bean id="tomcat.server" class="org.red5.server.tomcat.TomcatLoader"
> init-method="init" destroy-method="shutdown" depends-on="context.loader">
> or just some part of it? There's also a section for RTMPT, should that be
> active?
>
> Thanks,
> Daniela
>
>
> On 2013-08-01, at 9:51 AM, Maxim Solodovnik wrote:
>
> Is it possible you have chosed 8443 for both RTMPS and HTTPS? OM 2.1
> requires 2-3 _different_ ports
>
>
> On Thu, Aug 1, 2013 at 10:14 PM, Daniela Kirsch <dk...@excelsystems.com>wrote:
>
>> Hi,
>>
>> netstat only shows one line for port 8443 when OpenMeetings is started,
>> it doesn't list anything when ended:
>> tcp        0      0 0.0.0.0:8443                0.0.0.0:*
>>     LISTEN
>>
>> However I did search a bit and found that it could be caused when red5
>> isn't shut down properly, meaning when you kill the process it might not
>> release the ports. So the suggestion was to use red5-shutdown.sh
>> That script is a little confusing, do we have to change it? It's the
>> following right now:
>>
>> # port, username, password
>> export RED5_OPTS="*9999 red5user changeme*"
>> export RED5_MAINCLASS=org.red5.server.Shutdown
>> exec $RED5_HOME/red5.sh
>>
>> But if we were to change that line with port, username, password,  what
>> would it be?
>>
>> Thanks,
>> Daniela
>>
>> On 2013-07-31, at 4:19 PM, Maxim Solodovnik wrote:
>>
>> Hello Daniela,
>>
>> http://openmeetings.apache.org/RTMPSAndHTTPS.html is the most recent
>> document. According to my observations all need to be done is to follow
>> this instruction step by step :)
>>
>> "Address already in use" usually means some other application is using
>> same port (can be checked with netstat)
>>
>>
>> On Thu, Aug 1, 2013 at 5:32 AM, Daniela Kirsch <dk...@excelsystems.com>wrote:
>>
>>> Hi,
>>>
>>> we are trying to set up RTMPS with Open Meetings 2.1.
>>>
>>> There are 2 documents that we found:
>>> https://code.google.com/p/openmeetings/wiki/RTMPSandHTTPS
>>> http://openmeetings.apache.org/RTMPSAndHTTPS.html
>>>
>>> They are almost identical, however both say Open Meetings 1.9 is
>>> required. So are the settings the same for 2.1? If not, is there some other
>>> documentation?
>>>
>>> In the red5.log we get a few error messages on server startup (8443 is
>>> the port we want to use):
>>> 2013-07-31 14:14:20,424 [main] ERROR o.a.coyote.http11.Http11NioProtocol
>>> - Failed to initialize end point associated with ProtocolHandler
>>> ["http-nio-8443"]
>>> java.net.BindException: Address already in use
>>>
>>> 2013-07-31 14:14:20,425 [main] ERROR o.a.catalina.core.StandardService -
>>> Failed to start connector
>>> [Connector[org.apache.coyote.http11.Http11NioProtocol-8443]]
>>> org.apache.catalina.LifecycleException: Failed to initialize component
>>> [Connector[org.apache.coyote.http11.Http11NioProtocol-8443]]
>>>
>>> 2013-07-31 14:14:20,427 [main] ERROR o.a.coyote.http11.Http11NioProtocol
>>> - Failed to start end point associated with ProtocolHandler
>>> ["http-nio-8443"]
>>> java.net.BindException: Address already in use
>>>
>>> 2013-07-31 14:14:20,428 [main] ERROR o.r.server.tomcat.rtmps.RTMPSLoader
>>> - Error initializing RTMPS server instance
>>> org.apache.catalina.LifecycleException: Failed to start component
>>> [Connector[org.apache.coyote.http11.Http11NioProtocol-8443]]
>>>
>>> When we disable port 1935 lots of problems occur and we can't use the
>>> application.
>>>
>>> Thanks,
>>> Daniela
>>>
>>
>>
>>
>> --
>> WBR
>> Maxim aka solomax
>>
>>
>>
>
>
> --
> WBR
> Maxim aka solomax
>
>
>


-- 
WBR
Maxim aka solomax

Re: RTMPS Setup for 2.1

Posted by Daniela Kirsch <dk...@excelsystems.com>.
Hi,

I've been checking the logs again and here's what I get from red5:

2013-08-09 13:58:56,293 [main] INFO  o.r.s.net.rtmp.RTMPMinaTransport - RTMP Mina Transport bound to /0.0.0.0:1935
2013-08-09 13:58:56,387 [main] INFO  o.r.s.net.rtmp.RTMPMinaTransport - RTMP Mina Transport bound to /0.0.0.0:8443

2013-08-09 13:58:56,897 [main] INFO  o.a.coyote.http11.Http11Protocol - Initializing ProtocolHandler ["http-bio-0.0.0.0-7443"]
2013-08-09 13:59:07,223 [main] INFO  o.a.coyote.http11.Http11Protocol - Starting ProtocolHandler ["http-bio-0.0.0.0-7443"]
2013-08-09 13:59:09,697 [main] INFO  o.a.coyote.http11.Http11NioProtocol - Initializing ProtocolHandler ["http-nio-8088"]
2013-08-09 13:59:09,704 [main] INFO  o.a.coyote.http11.Http11NioProtocol - Starting ProtocolHandler ["http-nio-8088"]
2013-08-09 13:59:11,998 [main] INFO  o.a.coyote.http11.Http11NioProtocol - Initializing ProtocolHandler ["http-nio-8443"]
2013-08-09 13:59:12,004 [main] INFO  o.a.coyote.http11.Http11NioProtocol - Stopping ProtocolHandler ["http-nio-8443"]
2013-08-09 13:59:12,004 [main] INFO  o.a.coyote.http11.Http11NioProtocol - Starting ProtocolHandler ["http-nio-8443"]

So it actually does sound like for some reason we do use 8443 for both. We've been through the configuration now a few times. One part I don't understand is this:

Edit red5/conf/jee-container.xml file:
Comment Tomcat without SSL enabled section
UNComment Tomcat with SSL enabled section

I didn't actually do the setup but a colleague did that and he said:
"After certain version of Openmeetings, jee-container.xml doesn't have the tomcat commented sections anymore. Instead, there are 2 xml files - jee-container.xml and jee-container-ssl.xml. To enable SSL, I think I only had to rename the jee-container to another name. And the one with the ssl to jee-container.xml." 

So reading the above I'm thinking there's an issue in our jee-container.xml. But which section exactly would I have to comment? Would it be the whole section of
<bean id="tomcat.server" class="org.red5.server.tomcat.TomcatLoader" init-method="init" destroy-method="shutdown" depends-on="context.loader">
or just some part of it? There's also a section for RTMPT, should that be active?

Thanks,
Daniela


On 2013-08-01, at 9:51 AM, Maxim Solodovnik wrote:

> Is it possible you have chosed 8443 for both RTMPS and HTTPS? OM 2.1 requires 2-3 _different_ ports
> 
> 
> On Thu, Aug 1, 2013 at 10:14 PM, Daniela Kirsch <dk...@excelsystems.com> wrote:
> Hi,
> 
> netstat only shows one line for port 8443 when OpenMeetings is started, it doesn't list anything when ended:
> tcp        0      0 0.0.0.0:8443                0.0.0.0:*                   LISTEN
> 
> However I did search a bit and found that it could be caused when red5 isn't shut down properly, meaning when you kill the process it might not release the ports. So the suggestion was to use red5-shutdown.sh 
> That script is a little confusing, do we have to change it? It's the following right now:
> 
> # port, username, password
> export RED5_OPTS="9999 red5user changeme"
> export RED5_MAINCLASS=org.red5.server.Shutdown
> exec $RED5_HOME/red5.sh
> 
> But if we were to change that line with port, username, password,  what would it be?
> 
> Thanks,
> Daniela
> 
> On 2013-07-31, at 4:19 PM, Maxim Solodovnik wrote:
> 
>> Hello Daniela,
>> 
>> http://openmeetings.apache.org/RTMPSAndHTTPS.html is the most recent document. According to my observations all need to be done is to follow this instruction step by step :)
>> 
>> "Address already in use" usually means some other application is using same port (can be checked with netstat)
>> 
>> 
>> On Thu, Aug 1, 2013 at 5:32 AM, Daniela Kirsch <dk...@excelsystems.com> wrote:
>> Hi,
>> 
>> we are trying to set up RTMPS with Open Meetings 2.1. 
>> 
>> There are 2 documents that we found:
>> https://code.google.com/p/openmeetings/wiki/RTMPSandHTTPS
>> http://openmeetings.apache.org/RTMPSAndHTTPS.html
>> 
>> They are almost identical, however both say Open Meetings 1.9 is required. So are the settings the same for 2.1? If not, is there some other documentation?
>> 
>> In the red5.log we get a few error messages on server startup (8443 is the port we want to use): 
>> 2013-07-31 14:14:20,424 [main] ERROR o.a.coyote.http11.Http11NioProtocol - Failed to initialize end point associated with ProtocolHandler ["http-nio-8443"]
>> java.net.BindException: Address already in use
>> 
>> 2013-07-31 14:14:20,425 [main] ERROR o.a.catalina.core.StandardService - Failed to start connector [Connector[org.apache.coyote.http11.Http11NioProtocol-8443]]
>> org.apache.catalina.LifecycleException: Failed to initialize component [Connector[org.apache.coyote.http11.Http11NioProtocol-8443]]
>> 
>> 2013-07-31 14:14:20,427 [main] ERROR o.a.coyote.http11.Http11NioProtocol - Failed to start end point associated with ProtocolHandler ["http-nio-8443"]
>> java.net.BindException: Address already in use
>> 
>> 2013-07-31 14:14:20,428 [main] ERROR o.r.server.tomcat.rtmps.RTMPSLoader - Error initializing RTMPS server instance
>> org.apache.catalina.LifecycleException: Failed to start component [Connector[org.apache.coyote.http11.Http11NioProtocol-8443]]
>> 
>> When we disable port 1935 lots of problems occur and we can't use the application. 
>> 
>> Thanks,
>> Daniela
>> 
>> 
>> 
>> -- 
>> WBR
>> Maxim aka solomax
> 
> 
> 
> 
> -- 
> WBR
> Maxim aka solomax


Re: RTMPS Setup for 2.1

Posted by Daniela Kirsch <dk...@excelsystems.com>.
No, we use 7443 for HTTPS and 8443 for RTMPS. 

In our red5.properties:
policy.port=843
http.port=5080
https.port=7443
rtmp.port=1935
rtmps.port=8443
rtmpt.port=8088


On 2013-08-01, at 9:51 AM, Maxim Solodovnik wrote:

> Is it possible you have chosed 8443 for both RTMPS and HTTPS? OM 2.1 requires 2-3 _different_ ports
> 
> 
> On Thu, Aug 1, 2013 at 10:14 PM, Daniela Kirsch <dk...@excelsystems.com> wrote:
> Hi,
> 
> netstat only shows one line for port 8443 when OpenMeetings is started, it doesn't list anything when ended:
> tcp        0      0 0.0.0.0:8443                0.0.0.0:*                   LISTEN
> 
> However I did search a bit and found that it could be caused when red5 isn't shut down properly, meaning when you kill the process it might not release the ports. So the suggestion was to use red5-shutdown.sh 
> That script is a little confusing, do we have to change it? It's the following right now:
> 
> # port, username, password
> export RED5_OPTS="9999 red5user changeme"
> export RED5_MAINCLASS=org.red5.server.Shutdown
> exec $RED5_HOME/red5.sh
> 
> But if we were to change that line with port, username, password,  what would it be?
> 
> Thanks,
> Daniela
> 
> On 2013-07-31, at 4:19 PM, Maxim Solodovnik wrote:
> 
>> Hello Daniela,
>> 
>> http://openmeetings.apache.org/RTMPSAndHTTPS.html is the most recent document. According to my observations all need to be done is to follow this instruction step by step :)
>> 
>> "Address already in use" usually means some other application is using same port (can be checked with netstat)
>> 
>> 
>> On Thu, Aug 1, 2013 at 5:32 AM, Daniela Kirsch <dk...@excelsystems.com> wrote:
>> Hi,
>> 
>> we are trying to set up RTMPS with Open Meetings 2.1. 
>> 
>> There are 2 documents that we found:
>> https://code.google.com/p/openmeetings/wiki/RTMPSandHTTPS
>> http://openmeetings.apache.org/RTMPSAndHTTPS.html
>> 
>> They are almost identical, however both say Open Meetings 1.9 is required. So are the settings the same for 2.1? If not, is there some other documentation?
>> 
>> In the red5.log we get a few error messages on server startup (8443 is the port we want to use): 
>> 2013-07-31 14:14:20,424 [main] ERROR o.a.coyote.http11.Http11NioProtocol - Failed to initialize end point associated with ProtocolHandler ["http-nio-8443"]
>> java.net.BindException: Address already in use
>> 
>> 2013-07-31 14:14:20,425 [main] ERROR o.a.catalina.core.StandardService - Failed to start connector [Connector[org.apache.coyote.http11.Http11NioProtocol-8443]]
>> org.apache.catalina.LifecycleException: Failed to initialize component [Connector[org.apache.coyote.http11.Http11NioProtocol-8443]]
>> 
>> 2013-07-31 14:14:20,427 [main] ERROR o.a.coyote.http11.Http11NioProtocol - Failed to start end point associated with ProtocolHandler ["http-nio-8443"]
>> java.net.BindException: Address already in use
>> 
>> 2013-07-31 14:14:20,428 [main] ERROR o.r.server.tomcat.rtmps.RTMPSLoader - Error initializing RTMPS server instance
>> org.apache.catalina.LifecycleException: Failed to start component [Connector[org.apache.coyote.http11.Http11NioProtocol-8443]]
>> 
>> When we disable port 1935 lots of problems occur and we can't use the application. 
>> 
>> Thanks,
>> Daniela
>> 
>> 
>> 
>> -- 
>> WBR
>> Maxim aka solomax
> 
> 
> 
> 
> -- 
> WBR
> Maxim aka solomax


Re: RTMPS Setup for 2.1

Posted by Maxim Solodovnik <so...@gmail.com>.
Is it possible you have chosed 8443 for both RTMPS and HTTPS? OM 2.1
requires 2-3 _different_ ports


On Thu, Aug 1, 2013 at 10:14 PM, Daniela Kirsch <dk...@excelsystems.com>wrote:

> Hi,
>
> netstat only shows one line for port 8443 when OpenMeetings is started, it
> doesn't list anything when ended:
> tcp        0      0 0.0.0.0:8443                0.0.0.0:*
>   LISTEN
>
> However I did search a bit and found that it could be caused when red5
> isn't shut down properly, meaning when you kill the process it might not
> release the ports. So the suggestion was to use red5-shutdown.sh
> That script is a little confusing, do we have to change it? It's the
> following right now:
>
> # port, username, password
> export RED5_OPTS="*9999 red5user changeme*"
> export RED5_MAINCLASS=org.red5.server.Shutdown
> exec $RED5_HOME/red5.sh
>
> But if we were to change that line with port, username, password,  what
> would it be?
>
> Thanks,
> Daniela
>
> On 2013-07-31, at 4:19 PM, Maxim Solodovnik wrote:
>
> Hello Daniela,
>
> http://openmeetings.apache.org/RTMPSAndHTTPS.html is the most recent
> document. According to my observations all need to be done is to follow
> this instruction step by step :)
>
> "Address already in use" usually means some other application is using
> same port (can be checked with netstat)
>
>
> On Thu, Aug 1, 2013 at 5:32 AM, Daniela Kirsch <dk...@excelsystems.com>wrote:
>
>> Hi,
>>
>> we are trying to set up RTMPS with Open Meetings 2.1.
>>
>> There are 2 documents that we found:
>> https://code.google.com/p/openmeetings/wiki/RTMPSandHTTPS
>> http://openmeetings.apache.org/RTMPSAndHTTPS.html
>>
>> They are almost identical, however both say Open Meetings 1.9 is
>> required. So are the settings the same for 2.1? If not, is there some other
>> documentation?
>>
>> In the red5.log we get a few error messages on server startup (8443 is
>> the port we want to use):
>> 2013-07-31 14:14:20,424 [main] ERROR o.a.coyote.http11.Http11NioProtocol
>> - Failed to initialize end point associated with ProtocolHandler
>> ["http-nio-8443"]
>> java.net.BindException: Address already in use
>>
>> 2013-07-31 14:14:20,425 [main] ERROR o.a.catalina.core.StandardService -
>> Failed to start connector
>> [Connector[org.apache.coyote.http11.Http11NioProtocol-8443]]
>> org.apache.catalina.LifecycleException: Failed to initialize component
>> [Connector[org.apache.coyote.http11.Http11NioProtocol-8443]]
>>
>> 2013-07-31 14:14:20,427 [main] ERROR o.a.coyote.http11.Http11NioProtocol
>> - Failed to start end point associated with ProtocolHandler
>> ["http-nio-8443"]
>> java.net.BindException: Address already in use
>>
>> 2013-07-31 14:14:20,428 [main] ERROR o.r.server.tomcat.rtmps.RTMPSLoader
>> - Error initializing RTMPS server instance
>> org.apache.catalina.LifecycleException: Failed to start component
>> [Connector[org.apache.coyote.http11.Http11NioProtocol-8443]]
>>
>> When we disable port 1935 lots of problems occur and we can't use the
>> application.
>>
>> Thanks,
>> Daniela
>>
>
>
>
> --
> WBR
> Maxim aka solomax
>
>
>


-- 
WBR
Maxim aka solomax

Re: RTMPS Setup for 2.1

Posted by Daniela Kirsch <dk...@excelsystems.com>.
Hi,

netstat only shows one line for port 8443 when OpenMeetings is started, it doesn't list anything when ended:
tcp        0      0 0.0.0.0:8443                0.0.0.0:*                   LISTEN

However I did search a bit and found that it could be caused when red5 isn't shut down properly, meaning when you kill the process it might not release the ports. So the suggestion was to use red5-shutdown.sh 
That script is a little confusing, do we have to change it? It's the following right now:

# port, username, password
export RED5_OPTS="9999 red5user changeme"
export RED5_MAINCLASS=org.red5.server.Shutdown
exec $RED5_HOME/red5.sh

But if we were to change that line with port, username, password,  what would it be?

Thanks,
Daniela

On 2013-07-31, at 4:19 PM, Maxim Solodovnik wrote:

> Hello Daniela,
> 
> http://openmeetings.apache.org/RTMPSAndHTTPS.html is the most recent document. According to my observations all need to be done is to follow this instruction step by step :)
> 
> "Address already in use" usually means some other application is using same port (can be checked with netstat)
> 
> 
> On Thu, Aug 1, 2013 at 5:32 AM, Daniela Kirsch <dk...@excelsystems.com> wrote:
> Hi,
> 
> we are trying to set up RTMPS with Open Meetings 2.1. 
> 
> There are 2 documents that we found:
> https://code.google.com/p/openmeetings/wiki/RTMPSandHTTPS
> http://openmeetings.apache.org/RTMPSAndHTTPS.html
> 
> They are almost identical, however both say Open Meetings 1.9 is required. So are the settings the same for 2.1? If not, is there some other documentation?
> 
> In the red5.log we get a few error messages on server startup (8443 is the port we want to use): 
> 2013-07-31 14:14:20,424 [main] ERROR o.a.coyote.http11.Http11NioProtocol - Failed to initialize end point associated with ProtocolHandler ["http-nio-8443"]
> java.net.BindException: Address already in use
> 
> 2013-07-31 14:14:20,425 [main] ERROR o.a.catalina.core.StandardService - Failed to start connector [Connector[org.apache.coyote.http11.Http11NioProtocol-8443]]
> org.apache.catalina.LifecycleException: Failed to initialize component [Connector[org.apache.coyote.http11.Http11NioProtocol-8443]]
> 
> 2013-07-31 14:14:20,427 [main] ERROR o.a.coyote.http11.Http11NioProtocol - Failed to start end point associated with ProtocolHandler ["http-nio-8443"]
> java.net.BindException: Address already in use
> 
> 2013-07-31 14:14:20,428 [main] ERROR o.r.server.tomcat.rtmps.RTMPSLoader - Error initializing RTMPS server instance
> org.apache.catalina.LifecycleException: Failed to start component [Connector[org.apache.coyote.http11.Http11NioProtocol-8443]]
> 
> When we disable port 1935 lots of problems occur and we can't use the application. 
> 
> Thanks,
> Daniela
> 
> 
> 
> -- 
> WBR
> Maxim aka solomax


Re: RTMPS Setup for 2.1

Posted by Maxim Solodovnik <so...@gmail.com>.
Hello Daniela,

http://openmeetings.apache.org/RTMPSAndHTTPS.html is the most recent
document. According to my observations all need to be done is to follow
this instruction step by step :)

"Address already in use" usually means some other application is using same
port (can be checked with netstat)


On Thu, Aug 1, 2013 at 5:32 AM, Daniela Kirsch <dk...@excelsystems.com>wrote:

> Hi,
>
> we are trying to set up RTMPS with Open Meetings 2.1.
>
> There are 2 documents that we found:
> https://code.google.com/p/openmeetings/wiki/RTMPSandHTTPS
> http://openmeetings.apache.org/RTMPSAndHTTPS.html
>
> They are almost identical, however both say Open Meetings 1.9 is required.
> So are the settings the same for 2.1? If not, is there some other
> documentation?
>
> In the red5.log we get a few error messages on server startup (8443 is the
> port we want to use):
> 2013-07-31 14:14:20,424 [main] ERROR o.a.coyote.http11.Http11NioProtocol -
> Failed to initialize end point associated with ProtocolHandler
> ["http-nio-8443"]
> java.net.BindException: Address already in use
>
> 2013-07-31 14:14:20,425 [main] ERROR o.a.catalina.core.StandardService -
> Failed to start connector
> [Connector[org.apache.coyote.http11.Http11NioProtocol-8443]]
> org.apache.catalina.LifecycleException: Failed to initialize component
> [Connector[org.apache.coyote.http11.Http11NioProtocol-8443]]
>
> 2013-07-31 14:14:20,427 [main] ERROR o.a.coyote.http11.Http11NioProtocol -
> Failed to start end point associated with ProtocolHandler ["http-nio-8443"]
> java.net.BindException: Address already in use
>
> 2013-07-31 14:14:20,428 [main] ERROR o.r.server.tomcat.rtmps.RTMPSLoader -
> Error initializing RTMPS server instance
> org.apache.catalina.LifecycleException: Failed to start component
> [Connector[org.apache.coyote.http11.Http11NioProtocol-8443]]
>
> When we disable port 1935 lots of problems occur and we can't use the
> application.
>
> Thanks,
> Daniela
>



-- 
WBR
Maxim aka solomax