[Red5devs] [Fwd: RTMPS and the opening of multiple tcp ports, thus needing synchronization]
Daniel Rossi
electroteque at gmail.com
Thu Oct 30 04:04:37 PST 2008
Turned on all logging, i get this when i close the hanged connection
2008-10-30 22:59:30,244
[ContainerBackgroundProcessor[StandardEngine[red5RTMPSEngine]]] DEBUG
o.a.catalina.session.ManagerBase - End expire sessions StandardManager
processingTime 0 expired sessions: 0
2008-10-30 23:00:02,830 [http-443-exec-4] DEBUG
o.a.c.http11.Http11NioProcessor - Error parsing HTTP request header
java.io.IOException: Unable to unwrap data, invalid status: CLOSED
at
org.apache.tomcat.util.net.SecureNioChannel.read(SecureNioChannel.java:
381)
at
org
.apache
.coyote
.http11.InternalNioInputBuffer.readSocket(InternalNioInputBuffer.java:
607)
at
org
.apache
.coyote.http11.InternalNioInputBuffer.fill(InternalNioInputBuffer.java:
884)
at
org
.apache
.coyote
.http11.InternalNioInputBuffer.parseHeader(InternalNioInputBuffer.java:
740)
at
org
.apache
.coyote
.http11
.InternalNioInputBuffer.parseHeaders(InternalNioInputBuffer.java:632)
at
org
.apache
.coyote.http11.Http11NioProcessor.process(Http11NioProcessor.java:834)
at org.apache.coyote.http11.Http11NioProtocol
$Http11ConnectionHandler.process(Http11NioProtocol.java:719)
at org.apache.tomcat.util.net.NioEndpoint
$SocketProcessor.run(NioEndpoint.java:2081)
at java.util.concurrent.ThreadPoolExecutor
$Worker.runTask(ThreadPoolExecutor.java:885)
at java.util.concurrent.ThreadPoolExecutor
$Worker.run(ThreadPoolExecutor.java:907)
at java.lang.Thread.run(Thread.java:637)
There is nothing else really to tell nothing else suspicious comes up
without trying to packet sniff,
On 30/10/2008, at 10:50 PM, Daniel Rossi wrote:
>
> On 30/10/2008, at 8:21 PM, Alexander Wichers wrote:
>
>> Thanks Daniel, it would be great if you could do a netstat to check
>> that out.
>>
>> I have no problems with the specific SSL configuration, I'm using
>> openssl as well and that seems to work fine (apart from the strange
>> port openings)...
>
>
> Here is the output of netstat
>
> electrocode:~ danielr$ netstat -p tcp
> Active Internet connections
> Proto Recv-Q Send-Q Local Address Foreign Address
> (state)
> tcp6 0 0 localhost.https localhost.49249
> ESTABLISHED
> tcp6 0 0 localhost.49249 localhost.https
> ESTABLISHED
> tcp4 0 0 localhost.7935 localhost.49248
> ESTABLISHED
> tcp4 0 0 localhost.49248 localhost.7935
> ESTABLISHED
>
> That is trying to connect to rtmps://localhost:443/perfTest or
> rtmps://localhost/perfTest. The flash client hangs connecting it
> wont make a connection. I'm seeing it open a https connection on tcp6.
>
> I thought it might be something fishy with tcp6 so i changed java to
> use tcp4
>
> electrocode:~ danielr$ netstat -p tcp
> Active Internet connections
> Proto Recv-Q Send-Q Local Address Foreign Address
> (state)
> tcp4 0 0 localhost.https localhost.49345
> ESTABLISHED
> tcp4 0 0 localhost.49345 localhost.https
> ESTABLISHED
> tcp4 0 0 localhost.7935 localhost.49342
> ESTABLISHED
> tcp4 0 0 localhost.49342 localhost.7935
> ESTABLISHED
>
>
> Still hanging.
> _______________________________________________
> Red5devs mailing list
> Red5devs at osflash.org
> http://osflash.org/mailman/listinfo/red5devs_osflash.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://osflash.org/pipermail/red5devs_osflash.org/attachments/20081030/8b829ea7/attachment.html>
More information about the Red5devs
mailing list