• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

How do I find the root cause of a NetConnection closed event?

New Here ,
Aug 16, 2012 Aug 16, 2012

Copy link to clipboard

Copied

Hi,

I am maintaining a large project developed in Flex/Actionscript.

The application is using tunneling (RTMPT), and we often get Netconnection "closed" events.

There is no problem with the physical network.

I think the event may be caused by either a TCP/HTTP/RTMP event, or may be caused by

some function in the client calling close() on the connection.

How can I find the root cause of the "closed" event being thrown?

Thanks,

David

TOPICS
ActionScript

Views

1.5K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Aug 17, 2012 Aug 17, 2012

Copy link to clipboard

Copied

use a network analyzer like wireshark or charles (or maybe firebug).

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Aug 17, 2012 Aug 17, 2012

Copy link to clipboard

Copied

We have used wireshark to check the network packets.  Everything seems ok.

Where is the specification that describes RTPMT and how the sockets and HTTP content (including header settings)

should work?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Aug 17, 2012 Aug 17, 2012

Copy link to clipboard

Copied

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Aug 17, 2012 Aug 17, 2012

Copy link to clipboard

Copied

Thanks. 

It does describe the basic RTMP, but we are having trouble with the tunneled variant (RTMPT).

Where is the specification for RTMPT?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Aug 17, 2012 Aug 17, 2012

Copy link to clipboard

Copied

there are different implementations of rtmpt for different servers. 

here's the redhat implementation:  http://www.joachim-bauch.de/tutorials/red5/rtmpt-protocol/

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Aug 20, 2012 Aug 20, 2012

Copy link to clipboard

Copied

Thanks for the information.  It is helpful but it seems there must be a specification of

what the client side is expecting, independent of any server implementation. 

When I say client side, I mean the Adobe communication libraries.

Where is the specification or source code for how the client libraries treat HTTP tunneled requests and responses?

One question in particular:  How does the client side library treat a

   Connection: Keep-Alive

versuse

   Connection:close

HTTP header setting?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Aug 20, 2012 Aug 20, 2012

Copy link to clipboard

Copied

that i don't know off-hand.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Aug 21, 2012 Aug 21, 2012

Copy link to clipboard

Copied

LATEST

Is there a particular function call where we can set a breakpoint in the debugger to see where

"connection closed" events are generated?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines