I did use Apache mod_proxy to use "standard" HTTPS ports, never set it up
using red5.


On Wed, Aug 21, 2013 at 1:03 AM, John Tran <[email protected]> wrote:

> Maxim
>
> I rerun the steps RTMPS and HTTPS twice for 2 fresh separate install of
> the Ubuntu 12.04LTS and OM 2.1.1. and it worked fine.  The only things that
> does not work is if you configure the SSL using ports as 443. I have SSL
> working at port 8443 and RMPTS  at port 5443.
>
> If you know of away of getting port 443 to work, it would be much
> appreciated shed some light on it.
>
> -john-
>
>
> On Tue, Aug 20, 2013 at 8:22 AM, Maxim Solodovnik <[email protected]>wrote:
>
>> I'll try to rerun all steps and double check it's validity (unfortunately
>> I have no time at all these days :(( )
>>
>>
>> On Tue, Aug 20, 2013 at 9:49 PM, Daniela Kirsch <[email protected]
>> > wrote:
>>
>>> Hey, we did run into the same error. As far as I can tell it was
>>> something in jee-container.xml. However we haven't been able to actually
>>> find out how that one file needs to be changed for RTMPS.
>>>
>>> On 2013-08-20, at 5:45 AM, Tapanainen Mika wrote:
>>>
>>> Hello,****
>>> ** **
>>> Is this a problem?****
>>> ** **
>>> …****
>>> [INFO] [main] org.red5.server.net.rtmp.RTMPMinaTransport - RTMP Mina
>>> Transport bound to /0.0.0.0:5443****
>>> …****
>>> [INFO] [main] org.red5.server.tomcat.TomcatLoader - Address to bind: /
>>> 0.0.0.0:5443****
>>> …****
>>> [INFO] [main] org.apache.coyote.http11.Http11NioProtocol - Initializing
>>> ProtocolHandler ["http-nio-0.0.0.0-5443"]****
>>> [ERROR] [main] org.apache.coyote.http11.Http11NioProtocol - Failed to
>>> initialize end point associated with ProtocolHandler
>>> ["http-nio-0.0.0.0-5443"]****
>>> java.net.BindException: Address already in use****
>>>        at sun.nio.ch.Net.bind(Native Method) ~[na:1.6.0_38]****
>>>         at
>>> sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:124)
>>> ~[na:1.6.0_38]****
>>>         at
>>> sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:59)
>>> ~[na:1.6.0_38]****
>>>         at
>>> org.apache.tomcat.util.net.NioEndpoint.bind(NioEndpoint.java:470)
>>> ~[tomcat-embed-core-jar-7.0.34.jar:7.0.34]****
>>>         at
>>> org.apache.tomcat.util.net.AbstractEndpoint.init(AbstractEndpoint.java:610)
>>> ~[tomcat-embed-core-jar-7.0.34.jar:7.0.34]****
>>>         at
>>> org.apache.coyote.AbstractProtocol.init(AbstractProtocol.java:429)
>>> ~[tomcat-embed-core-jar-7.0.34.jar:7.0.34]****
>>>         at
>>> org.apache.coyote.http11.AbstractHttp11JsseProtocol.init(AbstractHttp11JsseProtocol.java:119)
>>> [tomcat-embed-core-jar-7.0.34.jar:7.0.34]****
>>>         at
>>> org.apache.catalina.connector.Connector.initInternal(Connector.java:981)
>>> [tomcat-embed-core-jar-7.0.34.jar:7.0.34]****
>>>         at
>>> org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102)
>>> [tomcat-embed-core-jar-7.0.34.jar:7.0.34]****
>>>         at
>>> org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:139)
>>> [tomcat-embed-core-jar-7.0.34.jar:7.0.34]****
>>>         at
>>> org.apache.catalina.core.StandardService.addConnector(StandardService.java:241)
>>> [tomcat-embed-core-jar-7.0.34.jar:7.0.34]****
>>>        at
>>> org.apache.catalina.startup.Embedded.addConnector(Embedded.java:321)
>>> [tomcat-embed-core-jar-7.0.34.jar:7.0.34]****
>>>         at
>>> org.red5.server.tomcat.rtmps.RTMPSLoader.init(RTMPSLoader.java:161)
>>> [tomcatplugin-jar-1.4.jar:na]****
>>>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>> ~[na:1.6.0_38]****
>>>         at
>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>> ~[na:1.6.0_38]****
>>>         at
>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>> ~[na:1.6.0_38]****
>>>         at java.lang.reflect.Method.invoke(Method.java:597)
>>> ~[na:1.6.0_38]****
>>>         at
>>> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1581)
>>> [spring-beans-3.1.1.RELEASE.jar:3.1.1.RELEASE]****
>>> …****
>>> ** **
>>> BR,****
>>> ** **
>>> Mika****
>>> ** **
>>> *From:* Tapanainen Mika [mailto:[email protected]]
>>> *Sent:* 20. elokuuta 2013 14:52
>>> *To:* [email protected]
>>> *Subject:* RE: RTMPS and HTTPS: java.net.BindException: Address already
>>> in use, but no application uses the port 5443****
>>> ** **
>>> Hello,****
>>> ** **
>>> I run before the server start:****
>>> ** **
>>> netstat -tulpn | grep 5443 -> no result****
>>> ** **
>>> When I started again the server (previous process was killed before) I
>>> got the same error in the log and:****
>>> ** **
>>> bash red5.sh >> ./log/jvm.stdout 2>&1 &****
>>> [1] 16079****
>>> ** **
>>> netstat -tulpn | grep 5443****
>>> tcp        0      0 0.0.0.0:5443                0.0.0.0:*
>>>                LIST
>>> EN      16079/java****
>>> ** **
>>> So port 5443 was not used before OpenMeetings was started. When
>>> OpenMeetings process 16079 was started the error comes, because the same
>>> process 16079 already uses the port 5443.****
>>> ** **
>>> Do you know how to fix this situation?****
>>> ** **
>>> BR,****
>>> ** **
>>> Mika****
>>> *From:* Tapanainen Mika [mailto:[email protected]]
>>> *Sent:* 20. elokuuta 2013 13:10
>>> *To:* [email protected]
>>> *Subject:* RTMPS and HTTPS: java.net.BindException: Address already in
>>> use, but no application uses the port 5443****
>>> ** **
>>> Hello,****
>>> ** **
>>> The standard OpenMeetings installation with HTTP worked for me. Then I
>>> tried change to the protocols: RTMPS and HTTPS and****
>>> ** **
>>> I followed the guide: http://openmeetings.apache.org/RTMPSAndHTTPS.html and
>>> double checked everything.****
>>> ** **
>>> The url https://<server>:443/openmeetings/  or
>>> https://<server>/openmeetings/ results  HTTP 404 error.****
>>> ** **
>>> Server seems to be running and the last line in the log is:****
>>> ** **
>>> DEBUG 08-20 10:36:59.761 MailHandler.java 736267 247
>>> org.apache.openmeetings.utils.mail.MailHandler
>>> [org.springframework.scheduling.quartz.SchedulerFactoryBean#0_Worker-6] -
>>> ... sendMails done.****
>>> ** **
>>> Just before****
>>> ** **
>>> ##################################################****
>>> #               Openmeetings is up               #****
>>> #       2.1.1-RELEASE 1498907 2-July-2013        #****
>>> #                and ready to use                #****
>>> ##################################################****
>>> ** **
>>> is****
>>> ** **
>>> [ERROR] [main] org.apache.coyote.http11.Http11NioProtocol - Failed to
>>> initialize end point associated with ProtocolHandler
>>> ["http-nio-0.0.0.0-5443"]****
>>> java.net.BindException: Address already in use****
>>>         at sun.nio.ch.Net.bind(Native Method) ~[na:1.6.0_38]****
>>>         at
>>> sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:124)
>>> ~[na:1.6.0_38]****
>>>         at
>>> sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:59)
>>> ~[na:1.6.0_38]****
>>>         at
>>> org.apache.tomcat.util.net.NioEndpoint.bind(NioEndpoint.java:470)
>>> ~[tomcat-embed-core-jar-7.0.34.jar:7.0.34]****
>>>         at
>>> org.apache.tomcat.util.net.AbstractEndpoint.init(AbstractEndpoint.java:610)
>>> ~[tomcat-embed-core-jar-7.0.34.jar:7.0.34]****
>>>         at
>>> org.apache.coyote.AbstractProtocol.init(AbstractProtocol.java:429)
>>> ~[tomcat-embed-core-jar-7.0.34.jar:7.0.34]****
>>>         at
>>> org.apache.coyote.http11.AbstractHttp11JsseProtocol.init(AbstractHttp11JsseProtocol.java:119)
>>> [tomcat-embed-core-jar-7.0.34.jar:7.0.34]****
>>>         at
>>> org.apache.catalina.connector.Connector.initInternal(Connector.java:981)
>>> [tomcat-embed-core-jar-7.0.34.jar:7.0.34]****
>>>         at
>>> org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102)
>>> [tomcat-embed-core-jar-7.0.34.jar:7.0.34]****
>>>         at
>>> org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:139)
>>> [tomcat-embed-core-jar-7.0.34.jar:7.0.34]****
>>>         at
>>> org.apache.catalina.core.StandardService.addConnector(StandardService.java:241)
>>> [tomcat-embed-core-jar-7.0.34.jar:7.0.34]****
>>>         at
>>> org.apache.catalina.startup.Embedded.addConnector(Embedded.java:321)
>>> [tomcat-embed-core-jar-7.0.34.jar:7.0.34]****
>>>         at
>>> org.red5.server.tomcat.rtmps.RTMPSLoader.init(RTMPSLoader.java:161)
>>> [tomcatplugin-jar-1.4.jar:na]****
>>>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>> ~[na:1.6.0_38]****
>>>         at
>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>> ~[na:1.6.0_38]****
>>>         at
>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>> ~[na:1.6.0_38]****
>>>         at java.lang.reflect.Method.invoke(Method.java:597)
>>> ~[na:1.6.0_38]****
>>> ** **
>>> when I run the command:****
>>> ** **
>>> netstat -tulpn | grep 5443****
>>> ** **
>>> I don’t get anything as a result (for some other ports the command
>>> works). So no application is using the port 5443??****
>>> ** **
>>> When I grep for the 5443, I got:****
>>> ** **
>>> grep -r 5443 *****
>>> conf/red5.properties:rtmps.port=5443****
>>> webapps/openmeetings/config.xml:<rtmpsslport>5443</rtmpsslport>****
>>> ** **
>>> Do you know what is the problem?****
>>> The guide has sentence “3. Edit
>>> red5/webapps/openmeetings/public/config.xml and set red5httpport to
>>> https port”****
>>> So is this correct in the config.xml?****
>>> ** **
>>> <red5httpport>443</red5httpport>****
>>> ** **
>>> BR,****
>>> ** **
>>> Mika****
>>> ** **
>>> ** **
>>>
>>>
>>>
>>
>>
>> --
>> WBR
>> Maxim aka solomax
>>
>
>
>
> --
> jt
> ________________________________
> John Tran
> Northern California, CA
> [email protected]
>      ICQ IM: 27741710
>     AOL IM: find1ngj0hn
> Yahoo! IM: findingj0hn
>    MSN IM: [email protected]
>



-- 
WBR
Maxim aka solomax

Reply via email to