Macromedia Flash Server - where can i get a FCS port tester

This is Interesting: Free IT Magazines  
Home > Archive > Macromedia Flash Server > May 2005 > where can i get a FCS port tester





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author where can i get a FCS port tester
Varun Shetty

2005-05-02, 5:45 pm

I have not yet testing FCS on a broad scale basis.=20
But this (port tester) is something I think I should be having when I
start the testing.=20

I didn't find any download link for the port testers on peldi's site
http://www.flashcomguru.com/apps/port_test/index.cfm

Even the macromedia site doesn't give the download link for their port
tester -=20
http://www.macromedia.com/cfusion/k...d=3Dtn_16466-5=
6
427800

Well I think I can make a particular port tester using multiple
connections and ports along with the lines of following code out here
http://www.macromedia.com/cfusion/k...m?id=3Dtn_16499

but not sure if I need to change something on the server side, well I am
just being lazy out here and trying to find a port tester that would
work directly.=20

Plz mail me a link where I can get a port tester or any info that I can
use.

Regards,
VARUN SHETTY=20

=-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=-----------------------------------------------------------

To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm

Jake Hilton

2005-05-02, 5:45 pm

//Quick port test written by Jake Hilton
fcs=3D"yourflashserver.com";
initial=3D0;
statusOut_txt.text=3D$version+"\n\n";
status_txt.text=3D"Test Running";
ncTypes =3D new Array();
ncTypes[0] =3D {protocol:"rtmp",port:"default",label:"RMTP Default"};
ncTypes[1] =3D {protocol:"rtmp",port:"1935",label:"RMTP Port 1935"};
ncTypes[2] =3D {protocol:"rtmp",port:"80",label:"RMTP Port 80"};
ncTypes[3] =3D {protocol:"rtmp",port:"443",label:"RMTP Port 443"};
ncTypes[4] =3D {protocol:"rtmpt",port:"default",label:"RMTPT (Tunneling) =
Default"};
ncTypes[5] =3D {protocol:"rtmpt",port:"80",label:"RMTPT (Tunneling) Port =
80"};
ncTypes[6] =3D {protocol:"rtmpt",port:"443",label:"RMTPT (Tunneling) Port =
443"};
ncTypes[7] =3D {protocol:"rtmpt",port:"1935",label:"RMTPT (Tunneling) Port =
1935"};
function netConnect (valIn) {
startLoad=3DgetTimer();
nc =3D new NetConnection();
nc.onStatus =3D function(objIn){
successOut(objIn.code);
}
var portpass =3D ncTypes[valIn].port!=3D"default"?":"+ncTypes[valIn=
].port:""
nc.connect(ncTypes[valIn].protocol+"://"+fcs+portpass+"/port_test")=
;
}
function successOut (valIn) {
var currSeconds=3DMath.round((getTimer()-startLoad)/100)/10;
trace(ncTypes[initial].label+": "+valIn.split("NetConnection.Connec=
t.")[1]+" "+currSeconds+"s");
statusOut_txt.text +=3D ncTypes[initial].label+": "+valIn.split("Ne=
tConnection.Connect.")[1]+" "+currSeconds+"s"+"\n";
nc.close();
initial++;
initial < ncTypes.length?netConnect(initial):status_txt.text=3D"Tes=
t Completed";
}
netConnect(initial);


______________________________________

Jake
[vbcol=seagreen]
I have not yet testing FCS on a broad scale basis.=20
But this (port tester) is something I think I should be having when I
start the testing.=20

I didn't find any download link for the port testers on peldi's site
http://www.flashcomguru.com/apps/port_test/index.cfm=20

Even the macromedia site doesn't give the download link for their port
tester -=20
http://www.macromedia.com/cfusion/k...=3Dtn_16466-56=
=20
427800

Well I think I can make a particular port tester using multiple
connections and ports along with the lines of following code out here
http://www.macromedia.com/cfusion/k...d=3Dtn_16499=20

but not sure if I need to change something on the server side, well I am
just being lazy out here and trying to find a port tester that would
work directly.=20

Plz mail me a link where I can get a port tester or any info that I can
use.

Regards,
VARUN SHETTY=20

=3D-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com=20
=3D-----------------------------------------------------------

To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm


=-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=-----------------------------------------------------------

To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm

Varun Shetty

2005-05-02, 5:45 pm

Hi Jake,=20
Thanks for the code.=20

I completely forgot to check the archive before mailing out there. I
found your code in the archives too.=20

Well I am facing this problem now. (I am testing locally)
Only 2 of my connections shows success and then the test stops abruptly

RMTP Default: Success 0.2s
RMTP Port 1935: Success 0.2s

I comment out the "RMTP Port 80" for checking=20
I get the remaining failed

RMTP Port 443: Failed 0s
RMTPT (Tunneling) Default: Failed 0.7s
RMTPT (Tunneling) Port 80: Failed 0.9s
RMTPT (Tunneling) Port 443: Failed 0.2s

With one success
RMTPT (Tunneling) Port 1935: Success 0.4s

Okay I am using the default Flash Communication Server Config.=20

Btw. some general question=20
Can a server support both together rtmp and rtmpt protocol?=20
Can I check with the client which is the best connection for him from a
port tester and set it for him (probably store it in a local Shared
Object for future reference)
What are the best practices and procedures you guys follow in regards to
the rtmp issue..!!=20

I am sure you guys must have gone thru the same =20


Btw. Jake on your novell port test I got the following results

RMTP Default: Success 1.7s
RMTP Port 1935: Success 1.3s
RMTP Port 80: Success 1.3s
RMTP Port 443: Success 1.3s
RMTPT (Tunneling) Default: Failed 1.8s
RMTPT (Tunneling) Port 80: Failed 1.2s
RMTPT (Tunneling) Port 443: Success 2.5s
RMTPT (Tunneling) Port 1935: Success 2.4s

I get all success on macromedia and flashcomm port tester.=20

Regards,
VARUN SHETTY=20

-----Original Message-----
From: flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
[mailto:flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org] On Behalf Of Jake
Hilton
Sent: Monday, May 02, 2005 8:18 PM
To: flashcomm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
Subject: Re: [FlashComm] where can i get a FCS port tester

//Quick port test written by Jake Hilton
fcs=3D"yourflashserver.com";
initial=3D0;
statusOut_txt.text=3D$version+"\n\n";
status_txt.text=3D"Test Running";
ncTypes =3D new Array();
ncTypes[0] =3D {protocol:"rtmp",port:"default",label:"RMTP Default"};
ncTypes[1] =3D {protocol:"rtmp",port:"1935",label:"RMTP Port 1935"};
ncTypes[2] =3D {protocol:"rtmp",port:"80",label:"RMTP Port 80"};
ncTypes[3] =3D {protocol:"rtmp",port:"443",label:"RMTP Port 443"};
ncTypes[4] =3D {protocol:"rtmpt",port:"default",label:"RMTPT (Tunneling)
Default"};
ncTypes[5] =3D {protocol:"rtmpt",port:"80",label:"RMTPT (Tunneling) Port
80"};
ncTypes[6] =3D {protocol:"rtmpt",port:"443",label:"RMTPT (Tunneling) =
Port
443"};
ncTypes[7] =3D {protocol:"rtmpt",port:"1935",label:"RMTPT (Tunneling) =
Port
1935"};
function netConnect (valIn) {
startLoad=3DgetTimer();
nc =3D new NetConnection();
nc.onStatus =3D function(objIn){
successOut(objIn.code);
}
var portpass =3D
ncTypes[valIn].port!=3D"default"?":"+ncTypes[valIn].port:""
=09
nc.connect(ncTypes[valIn].protocol+"://"+fcs+portpass+"/port_test");
}
function successOut (valIn) {
var currSeconds=3DMath.round((getTimer()-startLoad)/100)/10;
trace(ncTypes[initial].label+":
"+valIn.split("NetConnection.Connect.")[1]+" "+currSeconds+"s");
statusOut_txt.text +=3D ncTypes[initial].label+":
"+valIn.split("NetConnection.Connect.")[1]+" "+currSeconds+"s"+"\n";
nc.close();
initial++;
initial <
ncTypes.length?netConnect(initial):status_txt.text=3D"Test Completed";
}
netConnect(initial);


______________________________________

Jake
[vbcol=seagreen]
I have not yet testing FCS on a broad scale basis.=20
But this (port tester) is something I think I should be having when I
start the testing.=20

I didn't find any download link for the port testers on peldi's site
http://www.flashcomguru.com/apps/port_test/index.cfm=20

Even the macromedia site doesn't give the download link for their port
tester -=20
http://www.macromedia.com/cfusion/k...d=3Dtn_16466-5=
6

427800

Well I think I can make a particular port tester using multiple
connections and ports along with the lines of following code out here
http://www.macromedia.com/cfusion/k...d=3Dtn_16499=20

but not sure if I need to change something on the server side, well I am
just being lazy out here and trying to find a port tester that would
work directly.=20

Plz mail me a link where I can get a port tester or any info that I can
use.

Regards,
VARUN SHETTY=20

=3D-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com=20
=3D-----------------------------------------------------------

To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm


=3D---------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=3D---------------------------------------------------------

To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm

=-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=-----------------------------------------------------------

To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm

Jake Hilton

2005-05-02, 5:45 pm

The port tester on novell.com tests against two clustered flash com =
servers. A known problem with tunneling is that it makes an extra =
connection attempt which can be redirected to our other server... thus =
causing the failed message you see. We are taking steps to remedy this but =
it is a know bug in our architecture. rtmp and rtmpt is supported on the =
same server as long as you turn tunneling on in the xml config file for =
the server (Application.xml)

For the commenting out portion of the test on port 80... is your flash =
server the only program binding to that port on your server? Do you have =
apache or IIS binding to it? You need to also make sure that your FCS =
config files tell the server to bind to ports other than just the normal =
1935. You'll need to tweak your Adaptor.xml to allow the extra ports. Keep =
me informed on your findings.

BTW. When I run the test on novell.com I get:

WIN 7,0,19,0

RMTP Default: Success 0.2s
RMTP Port 1935: Success 0.2s
RMTP Port 80: Success 0.2s
RMTP Port 443: Success 0.2s
RMTPT (Tunneling) Default: Success 0.7s
RMTPT (Tunneling) Port 80: Failed 0.5s
RMTPT (Tunneling) Port 443: Success 0.4s
RMTPT (Tunneling) Port 1935: Success 0.4s

so... I can see where it does get messed up for me on the port 80 used for =
tunneling.

Thanks,
Jake


[vbcol=seagreen]
Hi Jake,=20
Thanks for the code.=20

I completely forgot to check the archive before mailing out there. I
found your code in the archives too.=20

Well I am facing this problem now. (I am testing locally)
Only 2 of my connections shows success and then the test stops abruptly

RMTP Default: Success 0.2s
RMTP Port 1935: Success 0.2s

I comment out the "RMTP Port 80" for checking=20
I get the remaining failed

RMTP Port 443: Failed 0s
RMTPT (Tunneling) Default: Failed 0.7s
RMTPT (Tunneling) Port 80: Failed 0.9s
RMTPT (Tunneling) Port 443: Failed 0.2s

With one success
RMTPT (Tunneling) Port 1935: Success 0.4s

Okay I am using the default Flash Communication Server Config.=20

Btw. some general question=20
Can a server support both together rtmp and rtmpt protocol?=20
Can I check with the client which is the best connection for him from a
port tester and set it for him (probably store it in a local Shared
Object for future reference)
What are the best practices and procedures you guys follow in regards to
the rtmp issue..!!=20

I am sure you guys must have gone thru the same =20


Btw. Jake on your novell port test I got the following results

RMTP Default: Success 1.7s
RMTP Port 1935: Success 1.3s
RMTP Port 80: Success 1.3s
RMTP Port 443: Success 1.3s
RMTPT (Tunneling) Default: Failed 1.8s
RMTPT (Tunneling) Port 80: Failed 1.2s
RMTPT (Tunneling) Port 443: Success 2.5s
RMTPT (Tunneling) Port 1935: Success 2.4s

I get all success on macromedia and flashcomm port tester.=20

Regards,
VARUN SHETTY=20

-----Original Message-----
From: flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org=20
[mailto:flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org] On Behalf Of Jake
Hilton
Sent: Monday, May 02, 2005 8:18 PM
To: flashcomm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org=20
Subject: Re: [FlashComm] where can i get a FCS port tester

//Quick port test written by Jake Hilton
fcs=3D"yourflashserver.com";
initial=3D0;
statusOut_txt.text=3D$version+"\n\n";
status_txt.text=3D"Test Running";
ncTypes =3D new Array();
ncTypes[0] =3D {protocol:"rtmp",port:"default",label:"RMTP Default"};
ncTypes[1] =3D {protocol:"rtmp",port:"1935",label:"RMTP Port 1935"};
ncTypes[2] =3D {protocol:"rtmp",port:"80",label:"RMTP Port 80"};
ncTypes[3] =3D {protocol:"rtmp",port:"443",label:"RMTP Port 443"};
ncTypes[4] =3D {protocol:"rtmpt",port:"default",label:"RMTPT (Tunneling)
Default"};
ncTypes[5] =3D {protocol:"rtmpt",port:"80",label:"RMTPT (Tunneling) Port
80"};
ncTypes[6] =3D {protocol:"rtmpt",port:"443",label:"RMTPT (Tunneling) Port
443"};
ncTypes[7] =3D {protocol:"rtmpt",port:"1935",label:"RMTPT (Tunneling) Port
1935"};
function netConnect (valIn) {
startLoad=3DgetTimer();
nc =3D new NetConnection();
nc.onStatus =3D function(objIn){
successOut(objIn.code);
}
var portpass =3D
ncTypes[valIn].port!=3D"default"?":"+ncTypes[valIn].port:""
=09
nc.connect(ncTypes[valIn].protocol+"://"+fcs+portpass+"/port_test");
}
function successOut (valIn) {
var currSeconds=3DMath.round((getTimer()-startLoad)/100)/10;
trace(ncTypes[initial].label+":
"+valIn.split("NetConnection.Connect.")[1]+" "+currSeconds+"s");
statusOut_txt.text +=3D ncTypes[initial].label+":
"+valIn.split("NetConnection.Connect.")[1]+" "+currSeconds+"s"+"\n";
nc.close();
initial++;
initial <
ncTypes.length?netConnect(initial):status_txt.text=3D"Test Completed";
}
netConnect(initial);


______________________________________

Jake
[vbcol=seagreen]
I have not yet testing FCS on a broad scale basis.=20
But this (port tester) is something I think I should be having when I
start the testing.=20

I didn't find any download link for the port testers on peldi's site
http://www.flashcomguru.com/apps/port_test/index.cfm=20

Even the macromedia site doesn't give the download link for their port
tester -=20
http://www.macromedia.com/cfusion/k...=3Dtn_16466-56=
=20

427800

Well I think I can make a particular port tester using multiple
connections and ports along with the lines of following code out here
http://www.macromedia.com/cfusion/k...d=3Dtn_16499=20

but not sure if I need to change something on the server side, well I am
just being lazy out here and trying to find a port tester that would
work directly.=20

Plz mail me a link where I can get a port tester or any info that I can
use.

Regards,
VARUN SHETTY=20

=3D-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com=20
=3D-----------------------------------------------------------

To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailma...fo/flashcomm=20


=3D---------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com=20
=3D---------------------------------------------------------

To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailma...fo/flashcomm=20

=3D-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com=20
=3D-----------------------------------------------------------

To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm

=-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=-----------------------------------------------------------

To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm

Varun Shetty

2005-05-02, 5:45 pm

Jake,=20
I just realized that the flash didn't hang; it just delayed a lot for
the failed message. I was being impatient... I thing it should be
good if we can put a timer and check if the time goes above 40-60 sec.
the netconnection should be closed and the message is set to fail.=20

And thank you for giving me those pointers on tunneling.=20
I configured the server for tunneling with different ports and
preferences,=20
I was just trying to play around with the settings to check the results
in each case.=20

One more thing I noticed that I can't have the FCS server and IIS
working on the same machine if I set to port 80, Is the binding that you
were speaking about related to this? And I am using IIS server.=20
(Umm, I have no idea about binding)

So the final config that gave me success on all ports was having the FCS
setup with tunneling option 'true' and Host Port set to ':1935,443,80'=20
________________________________________
____________________
WIN 7,0,19,0

RMTP Default: Success 0.3s
RMTP Port 1935: Success 0s
RMTP Port 80: Success 0s
RMTP Port 443: Success 0s
RMTPT (Tunneling) Default: Success 0.3s
RMTPT (Tunneling) Port 80: Success 0.3s
RMTPT (Tunneling) Port 443: Success 0.3s
RMTPT (Tunneling) Port 1935: Success 0.3s
________________________________________
____________________

This was checked with the FCS installed on my comp and the flash being
run on a different machine in the LAN. I will be checking it online
soon.=20

On a different note, if I have to make an application which is to be
catered to a broader user group. I would have to set the tunneling
option on and always ask the user to use an 'rtmpt' protocol. Is that
the only way I can cater to a broader group or should I do a check with
the port tester and then go ahead for the connection the user should be
using?=20
I am worried about the overheads caused by the 'rtmpt' protocol.=20

I also have other questions in regards to a port. I will mail them
differently. =20

Regards,
VARUN SHETTY=20

-----Original Message-----
From: flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
[mailto:flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org] On Behalf Of Jake
Hilton
Sent: Monday, May 02, 2005 10:56 PM
To: flashcomm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
Subject: RE: [FlashComm] where can i get a FCS port tester

The port tester on novell.com tests against two clustered flash com
servers. A known problem with tunneling is that it makes an extra
connection attempt which can be redirected to our other server... thus
causing the failed message you see. We are taking steps to remedy this
but it is a know bug in our architecture. rtmp and rtmpt is supported on
the same server as long as you turn tunneling on in the xml config file
for the server (Application.xml)

For the commenting out portion of the test on port 80... is your flash
server the only program binding to that port on your server? Do you have
apache or IIS binding to it? You need to also make sure that your FCS
config files tell the server to bind to ports other than just the normal
1935. You'll need to tweak your Adaptor.xml to allow the extra ports.
Keep me informed on your findings.

BTW. When I run the test on novell.com I get:

WIN 7,0,19,0

RMTP Default: Success 0.2s
RMTP Port 1935: Success 0.2s
RMTP Port 80: Success 0.2s
RMTP Port 443: Success 0.2s
RMTPT (Tunneling) Default: Success 0.7s
RMTPT (Tunneling) Port 80: Failed 0.5s
RMTPT (Tunneling) Port 443: Success 0.4s
RMTPT (Tunneling) Port 1935: Success 0.4s

so... I can see where it does get messed up for me on the port 80 used
for tunneling.

Thanks,
Jake


[vbcol=seagreen]
Hi Jake,=20
Thanks for the code.=20

I completely forgot to check the archive before mailing out there. I
found your code in the archives too.=20

Well I am facing this problem now. (I am testing locally)
Only 2 of my connections shows success and then the test stops abruptly

RMTP Default: Success 0.2s
RMTP Port 1935: Success 0.2s

I comment out the "RMTP Port 80" for checking=20
I get the remaining failed

RMTP Port 443: Failed 0s
RMTPT (Tunneling) Default: Failed 0.7s
RMTPT (Tunneling) Port 80: Failed 0.9s
RMTPT (Tunneling) Port 443: Failed 0.2s

With one success
RMTPT (Tunneling) Port 1935: Success 0.4s

Okay I am using the default Flash Communication Server Config.=20

Btw. some general question=20
Can a server support both together rtmp and rtmpt protocol?=20
Can I check with the client which is the best connection for him from a
port tester and set it for him (probably store it in a local Shared
Object for future reference)
What are the best practices and procedures you guys follow in regards to
the rtmp issue..!!=20

I am sure you guys must have gone thru the same =20


Btw. Jake on your novell port test I got the following results

RMTP Default: Success 1.7s
RMTP Port 1935: Success 1.3s
RMTP Port 80: Success 1.3s
RMTP Port 443: Success 1.3s
RMTPT (Tunneling) Default: Failed 1.8s
RMTPT (Tunneling) Port 80: Failed 1.2s
RMTPT (Tunneling) Port 443: Success 2.5s
RMTPT (Tunneling) Port 1935: Success 2.4s

I get all success on macromedia and flashcomm port tester.=20

Regards,
VARUN SHETTY=20

-----Original Message-----
From: flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org=20
[mailto:flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org] On Behalf Of Jake
Hilton
Sent: Monday, May 02, 2005 8:18 PM
To: flashcomm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org=20
Subject: Re: [FlashComm] where can i get a FCS port tester

//Quick port test written by Jake Hilton
fcs=3D"yourflashserver.com";
initial=3D0;
statusOut_txt.text=3D$version+"\n\n";
status_txt.text=3D"Test Running";
ncTypes =3D new Array();
ncTypes[0] =3D {protocol:"rtmp",port:"default",label:"RMTP Default"};
ncTypes[1] =3D {protocol:"rtmp",port:"1935",label:"RMTP Port 1935"};
ncTypes[2] =3D {protocol:"rtmp",port:"80",label:"RMTP Port 80"};
ncTypes[3] =3D {protocol:"rtmp",port:"443",label:"RMTP Port 443"};
ncTypes[4] =3D {protocol:"rtmpt",port:"default",label:"RMTPT (Tunneling)
Default"};
ncTypes[5] =3D {protocol:"rtmpt",port:"80",label:"RMTPT (Tunneling) Port
80"};
ncTypes[6] =3D {protocol:"rtmpt",port:"443",label:"RMTPT (Tunneling) =
Port
443"};
ncTypes[7] =3D {protocol:"rtmpt",port:"1935",label:"RMTPT (Tunneling) =
Port
1935"};
function netConnect (valIn) {
startLoad=3DgetTimer();
nc =3D new NetConnection();
nc.onStatus =3D function(objIn){
successOut(objIn.code);
}
var portpass =3D
ncTypes[valIn].port!=3D"default"?":"+ncTypes[valIn].port:""
=09
nc.connect(ncTypes[valIn].protocol+"://"+fcs+portpass+"/port_test");
}
function successOut (valIn) {
var currSeconds=3DMath.round((getTimer()-startLoad)/100)/10;
trace(ncTypes[initial].label+":
"+valIn.split("NetConnection.Connect.")[1]+" "+currSeconds+"s");
statusOut_txt.text +=3D ncTypes[initial].label+":
"+valIn.split("NetConnection.Connect.")[1]+" "+currSeconds+"s"+"\n";
nc.close();
initial++;
initial <
ncTypes.length?netConnect(initial):status_txt.text=3D"Test Completed";
}
netConnect(initial);


______________________________________

Jake
[vbcol=seagreen]
I have not yet testing FCS on a broad scale basis.=20
But this (port tester) is something I think I should be having when I
start the testing.=20

I didn't find any download link for the port testers on peldi's site
http://www.flashcomguru.com/apps/port_test/index.cfm=20

Even the macromedia site doesn't give the download link for their port
tester -=20
http://www.macromedia.com/cfusion/k...d=3Dtn_16466-5=
6


427800

Well I think I can make a particular port tester using multiple
connections and ports along with the lines of following code out here
http://www.macromedia.com/cfusion/k...d=3Dtn_16499=20

but not sure if I need to change something on the server side, well I am
just being lazy out here and trying to find a port tester that would
work directly.=20

Plz mail me a link where I can get a port tester or any info that I can
use.

Regards,
VARUN SHETTY=20

=3D-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com=20
=3D-----------------------------------------------------------

To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailma...fo/flashcomm=20


=3D---------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com=20
=3D---------------------------------------------------------

To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailma...fo/flashcomm=20

=3D-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com=20
=3D-----------------------------------------------------------

To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm

=3D---------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=3D---------------------------------------------------------

To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm

=-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=-----------------------------------------------------------

To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm

Jake Hilton

2005-05-02, 5:45 pm

Varun,
To cater to a broad audience just let the player decide which protocol to =
use. It will automatically cycle through ports and protocols until it can =
connect. As far as running FCS and IIS on the same box... you'll need to =
tell flash not to bind to port 80 then IIS can bind to it. Only one =
application can use that port on a single NIC at any given time. If you =
have two NIC cards you could have the flash com server use one nic and IIS =
use another.. or just have separate boxes, a web server and a flash com =
server.

Below is the modified code for the timeout feature you suggested. Timeout =
is in seconds.

________________________________________
____

//Quick port test written by Jake Hilton
fcs=3D"yourflashserver.com";
timeout=3D10;
initial=3D0;
statusOut_txt.text=3D$version+"\n\n";
status_txt.text=3D"Test Running";
ncTypes =3D new Array();
ncTypes[0] =3D {protocol:"rtmp",port:"default",label:"RMTP Default"};
ncTypes[1] =3D {protocol:"rtmp",port:"1935",label:"RMTP Port 1935"};
ncTypes[2] =3D {protocol:"rtmp",port:"80",label:"RMTP Port 80"};
ncTypes[3] =3D {protocol:"rtmp",port:"443",label:"RMTP Port 443"};
ncTypes[4] =3D {protocol:"rtmpt",port:"default",label:"RMTPT (Tunneling) =
Default"};
ncTypes[5] =3D {protocol:"rtmpt",port:"80",label:"RMTPT (Tunneling) Port =
80"};
ncTypes[6] =3D {protocol:"rtmpt",port:"443",label:"RMTPT (Tunneling) Port =
443"};
ncTypes[7] =3D {protocol:"rtmpt",port:"1935",label:"RMTPT (Tunneling) Port =
1935"};
function netConnect (valIn) {
startLoad=3DgetTimer();
nc =3D new NetConnection();
nc.onStatus =3D function(objIn){successOut(objIn.code)}
var portpass =3D ncTypes[valIn].port!=3D"default"?":"+ncTypes[valIn=
].port:""
nc.connect(ncTypes[valIn].protocol+"://"+fcs+portpass+"/port_test")=
;
var countDown=3DsetInterval(function(){successOut("NetConnection.Co=
nnect.Timed Out")},timeout*1000)
}
function successOut (valIn) {
var currSeconds=3DMath.round((getTimer()-startLoad)/100)/10;
clearInterval(countDown);
statusOut_txt.text +=3D ncTypes[initial].label+": "+valIn.split("Ne=
tConnection.Connect.")[1]+" "+currSeconds+"s"+"\n";
nc.close();
initial++;
initial < ncTypes.length?netConnect(initial):status_txt.text=3D"Tes=
t Completed";
}
netConnect(initial);

________________________________________
________

Thanks,
Jake
[vbcol=seagreen]
Jake,=20
I just realized that the flash didn't hang; it just delayed a lot for
the failed message. I was being impatient... I thing it should be
good if we can put a timer and check if the time goes above 40-60 sec.
the netconnection should be closed and the message is set to fail.=20

And thank you for giving me those pointers on tunneling.=20
I configured the server for tunneling with different ports and
preferences,=20
I was just trying to play around with the settings to check the results
in each case.=20

One more thing I noticed that I can't have the FCS server and IIS
working on the same machine if I set to port 80, Is the binding that you
were speaking about related to this? And I am using IIS server.=20
(Umm, I have no idea about binding)

So the final config that gave me success on all ports was having the FCS
setup with tunneling option 'true' and Host Port set to ':1935,443,80'=20
________________________________________
____________________
WIN 7,0,19,0

RMTP Default: Success 0.3s
RMTP Port 1935: Success 0s
RMTP Port 80: Success 0s
RMTP Port 443: Success 0s
RMTPT (Tunneling) Default: Success 0.3s
RMTPT (Tunneling) Port 80: Success 0.3s
RMTPT (Tunneling) Port 443: Success 0.3s
RMTPT (Tunneling) Port 1935: Success 0.3s
________________________________________
____________________

This was checked with the FCS installed on my comp and the flash being
run on a different machine in the LAN. I will be checking it online
soon.=20

On a different note, if I have to make an application which is to be
catered to a broader user group. I would have to set the tunneling
option on and always ask the user to use an 'rtmpt' protocol. Is that
the only way I can cater to a broader group or should I do a check with
the port tester and then go ahead for the connection the user should be
using?=20
I am worried about the overheads caused by the 'rtmpt' protocol.=20

I also have other questions in regards to a port. I will mail them
differently. =20

Regards,
VARUN SHETTY=20

-----Original Message-----
From: flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org=20
[mailto:flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org] On Behalf Of Jake
Hilton
Sent: Monday, May 02, 2005 10:56 PM
To: flashcomm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org=20
Subject: RE: [FlashComm] where can i get a FCS port tester

The port tester on novell.com tests against two clustered flash com
servers. A known problem with tunneling is that it makes an extra
connection attempt which can be redirected to our other server... thus
causing the failed message you see. We are taking steps to remedy this
but it is a know bug in our architecture. rtmp and rtmpt is supported on
the same server as long as you turn tunneling on in the xml config file
for the server (Application.xml)

For the commenting out portion of the test on port 80... is your flash
server the only program binding to that port on your server? Do you have
apache or IIS binding to it? You need to also make sure that your FCS
config files tell the server to bind to ports other than just the normal
1935. You'll need to tweak your Adaptor.xml to allow the extra ports.
Keep me informed on your findings.

BTW. When I run the test on novell.com I get:

WIN 7,0,19,0

RMTP Default: Success 0.2s
RMTP Port 1935: Success 0.2s
RMTP Port 80: Success 0.2s
RMTP Port 443: Success 0.2s
RMTPT (Tunneling) Default: Success 0.7s
RMTPT (Tunneling) Port 80: Failed 0.5s
RMTPT (Tunneling) Port 443: Success 0.4s
RMTPT (Tunneling) Port 1935: Success 0.4s

so... I can see where it does get messed up for me on the port 80 used
for tunneling.

Thanks,
Jake


[vbcol=seagreen]
Hi Jake,=20
Thanks for the code.=20

I completely forgot to check the archive before mailing out there. I
found your code in the archives too.=20

Well I am facing this problem now. (I am testing locally)
Only 2 of my connections shows success and then the test stops abruptly

RMTP Default: Success 0.2s
RMTP Port 1935: Success 0.2s

I comment out the "RMTP Port 80" for checking=20
I get the remaining failed

RMTP Port 443: Failed 0s
RMTPT (Tunneling) Default: Failed 0.7s
RMTPT (Tunneling) Port 80: Failed 0.9s
RMTPT (Tunneling) Port 443: Failed 0.2s

With one success
RMTPT (Tunneling) Port 1935: Success 0.4s

Okay I am using the default Flash Communication Server Config.=20

Btw. some general question=20
Can a server support both together rtmp and rtmpt protocol?=20
Can I check with the client which is the best connection for him from a
port tester and set it for him (probably store it in a local Shared
Object for future reference)
What are the best practices and procedures you guys follow in regards to
the rtmp issue..!!=20

I am sure you guys must have gone thru the same =20


Btw. Jake on your novell port test I got the following results

RMTP Default: Success 1.7s
RMTP Port 1935: Success 1.3s
RMTP Port 80: Success 1.3s
RMTP Port 443: Success 1.3s
RMTPT (Tunneling) Default: Failed 1.8s
RMTPT (Tunneling) Port 80: Failed 1.2s
RMTPT (Tunneling) Port 443: Success 2.5s
RMTPT (Tunneling) Port 1935: Success 2.4s

I get all success on macromedia and flashcomm port tester.=20

Regards,
VARUN SHETTY=20

-----Original Message-----
From: flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org=20
[mailto:flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org] On Behalf Of Jake
Hilton
Sent: Monday, May 02, 2005 8:18 PM
To: flashcomm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org=20
Subject: Re: [FlashComm] where can i get a FCS port tester

//Quick port test written by Jake Hilton
fcs=3D"yourflashserver.com";
initial=3D0;
statusOut_txt.text=3D$version+"\n\n";
status_txt.text=3D"Test Running";
ncTypes =3D new Array();
ncTypes[0] =3D {protocol:"rtmp",port:"default",label:"RMTP Default"};
ncTypes[1] =3D {protocol:"rtmp",port:"1935",label:"RMTP Port 1935"};
ncTypes[2] =3D {protocol:"rtmp",port:"80",label:"RMTP Port 80"};
ncTypes[3] =3D {protocol:"rtmp",port:"443",label:"RMTP Port 443"};
ncTypes[4] =3D {protocol:"rtmpt",port:"default",label:"RMTPT (Tunneling)
Default"};
ncTypes[5] =3D {protocol:"rtmpt",port:"80",label:"RMTPT (Tunneling) Port
80"};
ncTypes[6] =3D {protocol:"rtmpt",port:"443",label:"RMTPT (Tunneling) Port
443"};
ncTypes[7] =3D {protocol:"rtmpt",port:"1935",label:"RMTPT (Tunneling) Port
1935"};
function netConnect (valIn) {
startLoad=3DgetTimer();
nc =3D new NetConnection();
nc.onStatus =3D function(objIn){
successOut(objIn.code);
}
var portpass =3D
ncTypes[valIn].port!=3D"default"?":"+ncTypes[valIn].port:""
=09
nc.connect(ncTypes[valIn].protocol+"://"+fcs+portpass+"/port_test");
}
function successOut (valIn) {
var currSeconds=3DMath.round((getTimer()-startLoad)/100)/10;
trace(ncTypes[initial].label+":
"+valIn.split("NetConnection.Connect.")[1]+" "+currSeconds+"s");
statusOut_txt.text +=3D ncTypes[initial].label+":
"+valIn.split("NetConnection.Connect.")[1]+" "+currSeconds+"s"+"\n";
nc.close();
initial++;
initial <
ncTypes.length?netConnect(initial):status_txt.text=3D"Test Completed";
}
netConnect(initial);


______________________________________

Jake
[vbcol=seagreen]
I have not yet testing FCS on a broad scale basis.=20
But this (port tester) is something I think I should be having when I
start the testing.=20

I didn't find any download link for the port testers on peldi's site
http://www.flashcomguru.com/apps/port_test/index.cfm=20

Even the macromedia site doesn't give the download link for their port
tester -=20
http://www.macromedia.com/cfusion/k...=3Dtn_16466-56=
=20


427800

Well I think I can make a particular port tester using multiple
connections and ports along with the lines of following code out here
http://www.macromedia.com/cfusion/k...d=3Dtn_16499=20

but not sure if I need to change something on the server side, well I am
just being lazy out here and trying to find a port tester that would
work directly.=20

Plz mail me a link where I can get a port tester or any info that I can
use.

Regards,
VARUN SHETTY=20

=3D-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com=20
=3D-----------------------------------------------------------

To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailma...fo/flashcomm=20


=3D---------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com=20
=3D---------------------------------------------------------

To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailma...fo/flashcomm=20

=3D-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com=20
=3D-----------------------------------------------------------

To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailma...fo/flashcomm=20

=3D---------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com=20
=3D---------------------------------------------------------

To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailma...fo/flashcomm=20

=3D-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com=20
=3D-----------------------------------------------------------

To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm

=-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=-----------------------------------------------------------

To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm

Varun Shetty

2005-05-02, 5:45 pm

Wow, that was quick. Thank you.=20

So Jake you mean we should use 'rtmp' protocol in the applications that
is been made and later let it cycle automatically. But this can cause a
lot of delay in the start white connecting. =20

Regards,
VARUN SHETTY


-----Original Message-----
From: flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
[mailto:flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org] On Behalf Of Jake
Hilton
Sent: Tuesday, May 03, 2005 3:18 AM
To: flashcomm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
Subject: RE: [FlashComm] where can i get a FCS port tester

Varun,
To cater to a broad audience just let the player decide which protocol
to use. It will automatically cycle through ports and protocols until it
can connect. As far as running FCS and IIS on the same box... you'll
need to tell flash not to bind to port 80 then IIS can bind to it. Only
one application can use that port on a single NIC at any given time. If
you have two NIC cards you could have the flash com server use one nic
and IIS use another.. or just have separate boxes, a web server and a
flash com server.

Below is the modified code for the timeout feature you suggested.
Timeout is in seconds.

________________________________________
____

//Quick port test written by Jake Hilton
fcs=3D"yourflashserver.com";
timeout=3D10;
initial=3D0;
statusOut_txt.text=3D$version+"\n\n";
status_txt.text=3D"Test Running";
ncTypes =3D new Array();
ncTypes[0] =3D {protocol:"rtmp",port:"default",label:"RMTP Default"};
ncTypes[1] =3D {protocol:"rtmp",port:"1935",label:"RMTP Port 1935"};
ncTypes[2] =3D {protocol:"rtmp",port:"80",label:"RMTP Port 80"};
ncTypes[3] =3D {protocol:"rtmp",port:"443",label:"RMTP Port 443"};
ncTypes[4] =3D {protocol:"rtmpt",port:"default",label:"RMTPT (Tunneling)
Default"};
ncTypes[5] =3D {protocol:"rtmpt",port:"80",label:"RMTPT (Tunneling) Port
80"};
ncTypes[6] =3D {protocol:"rtmpt",port:"443",label:"RMTPT (Tunneling) =
Port
443"};
ncTypes[7] =3D {protocol:"rtmpt",port:"1935",label:"RMTPT (Tunneling) =
Port
1935"};
function netConnect (valIn) {
startLoad=3DgetTimer();
nc =3D new NetConnection();
nc.onStatus =3D function(objIn){successOut(objIn.code)}
var portpass =3D
ncTypes[valIn].port!=3D"default"?":"+ncTypes[valIn].port:""
=09
nc.connect(ncTypes[valIn].protocol+"://"+fcs+portpass+"/port_test");
var
countDown=3DsetInterval(function(){successOut("NetConnection.Connect.Time=
d
Out")},timeout*1000)
}
function successOut (valIn) {
var currSeconds=3DMath.round((getTimer()-startLoad)/100)/10;
clearInterval(countDown);
statusOut_txt.text +=3D ncTypes[initial].label+":
"+valIn.split("NetConnection.Connect.")[1]+" "+currSeconds+"s"+"\n";
nc.close();
initial++;
initial <
ncTypes.length?netConnect(initial):status_txt.text=3D"Test Completed";
}
netConnect(initial);

________________________________________
________

Thanks,
Jake
[vbcol=seagreen]
Jake,=20
I just realized that the flash didn't hang; it just delayed a lot for
the failed message. I was being impatient... I thing it should be
good if we can put a timer and check if the time goes above 40-60 sec.
the netconnection should be closed and the message is set to fail.=20

And thank you for giving me those pointers on tunneling.=20
I configured the server for tunneling with different ports and
preferences,=20
I was just trying to play around with the settings to check the results
in each case.=20

One more thing I noticed that I can't have the FCS server and IIS
working on the same machine if I set to port 80, Is the binding that you
were speaking about related to this? And I am using IIS server.=20
(Umm, I have no idea about binding)

So the final config that gave me success on all ports was having the FCS
setup with tunneling option 'true' and Host Port set to ':1935,443,80'=20
________________________________________
____________________
WIN 7,0,19,0

RMTP Default: Success 0.3s
RMTP Port 1935: Success 0s
RMTP Port 80: Success 0s
RMTP Port 443: Success 0s
RMTPT (Tunneling) Default: Success 0.3s
RMTPT (Tunneling) Port 80: Success 0.3s
RMTPT (Tunneling) Port 443: Success 0.3s
RMTPT (Tunneling) Port 1935: Success 0.3s
________________________________________
____________________

This was checked with the FCS installed on my comp and the flash being
run on a different machine in the LAN. I will be checking it online
soon.=20

On a different note, if I have to make an application which is to be
catered to a broader user group. I would have to set the tunneling
option on and always ask the user to use an 'rtmpt' protocol. Is that
the only way I can cater to a broader group or should I do a check with
the port tester and then go ahead for the connection the user should be
using?=20
I am worried about the overheads caused by the 'rtmpt' protocol.=20

I also have other questions in regards to a port. I will mail them
differently. =20

Regards,
VARUN SHETTY=20

-----Original Message-----
From: flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org=20
[mailto:flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org] On Behalf Of Jake
Hilton
Sent: Monday, May 02, 2005 10:56 PM
To: flashcomm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org=20
Subject: RE: [FlashComm] where can i get a FCS port tester

The port tester on novell.com tests against two clustered flash com
servers. A known problem with tunneling is that it makes an extra
connection attempt which can be redirected to our other server... thus
causing the failed message you see. We are taking steps to remedy this
but it is a know bug in our architecture. rtmp and rtmpt is supported on
the same server as long as you turn tunneling on in the xml config file
for the server (Application.xml)

For the commenting out portion of the test on port 80... is your flash
server the only program binding to that port on your server? Do you have
apache or IIS binding to it? You need to also make sure that your FCS
config files tell the server to bind to ports other than just the normal
1935. You'll need to tweak your Adaptor.xml to allow the extra ports.
Keep me informed on your findings.

BTW. When I run the test on novell.com I get:

WIN 7,0,19,0

RMTP Default: Success 0.2s
RMTP Port 1935: Success 0.2s
RMTP Port 80: Success 0.2s
RMTP Port 443: Success 0.2s
RMTPT (Tunneling) Default: Success 0.7s
RMTPT (Tunneling) Port 80: Failed 0.5s
RMTPT (Tunneling) Port 443: Success 0.4s
RMTPT (Tunneling) Port 1935: Success 0.4s

so... I can see where it does get messed up for me on the port 80 used
for tunneling.

Thanks,
Jake


[vbcol=seagreen]
Hi Jake,=20
Thanks for the code.=20

I completely forgot to check the archive before mailing out there. I
found your code in the archives too.=20

Well I am facing this problem now. (I am testing locally)
Only 2 of my connections shows success and then the test stops abruptly

RMTP Default: Success 0.2s
RMTP Port 1935: Success 0.2s

I comment out the "RMTP Port 80" for checking=20
I get the remaining failed

RMTP Port 443: Failed 0s
RMTPT (Tunneling) Default: Failed 0.7s
RMTPT (Tunneling) Port 80: Failed 0.9s
RMTPT (Tunneling) Port 443: Failed 0.2s

With one success
RMTPT (Tunneling) Port 1935: Success 0.4s

Okay I am using the default Flash Communication Server Config.=20

Btw. some general question=20
Can a server support both together rtmp and rtmpt protocol?=20
Can I check with the client which is the best connection for him from a
port tester and set it for him (probably store it in a local Shared
Object for future reference)
What are the best practices and procedures you guys follow in regards to
the rtmp issue..!!=20

I am sure you guys must have gone thru the same =20


Btw. Jake on your novell port test I got the following results

RMTP Default: Success 1.7s
RMTP Port 1935: Success 1.3s
RMTP Port 80: Success 1.3s
RMTP Port 443: Success 1.3s
RMTPT (Tunneling) Default: Failed 1.8s
RMTPT (Tunneling) Port 80: Failed 1.2s
RMTPT (Tunneling) Port 443: Success 2.5s
RMTPT (Tunneling) Port 1935: Success 2.4s

I get all success on macromedia and flashcomm port tester.=20

Regards,
VARUN SHETTY=20

-----Original Message-----
From: flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org=20
[mailto:flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org] On Behalf Of Jake
Hilton
Sent: Monday, May 02, 2005 8:18 PM
To: flashcomm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org=20
Subject: Re: [FlashComm] where can i get a FCS port tester

//Quick port test written by Jake Hilton
fcs=3D"yourflashserver.com";
initial=3D0;
statusOut_txt.text=3D$version+"\n\n";
status_txt.text=3D"Test Running";
ncTypes =3D new Array();
ncTypes[0] =3D {protocol:"rtmp",port:"default",label:"RMTP Default"};
ncTypes[1] =3D {protocol:"rtmp",port:"1935",label:"RMTP Port 1935"};
ncTypes[2] =3D {protocol:"rtmp",port:"80",label:"RMTP Port 80"};
ncTypes[3] =3D {protocol:"rtmp",port:"443",label:"RMTP Port 443"};
ncTypes[4] =3D {protocol:"rtmpt",port:"default",label:"RMTPT (Tunneling)
Default"};
ncTypes[5] =3D {protocol:"rtmpt",port:"80",label:"RMTPT (Tunneling) Port
80"};
ncTypes[6] =3D {protocol:"rtmpt",port:"443",label:"RMTPT (Tunneling) =
Port
443"};
ncTypes[7] =3D {protocol:"rtmpt",port:"1935",label:"RMTPT (Tunneling) =
Port
1935"};
function netConnect (valIn) {
startLoad=3DgetTimer();
nc =3D new NetConnection();
nc.onStatus =3D function(objIn){
successOut(objIn.code);
}
var portpass =3D
ncTypes[valIn].port!=3D"default"?":"+ncTypes[valIn].port:""
=09
nc.connect(ncTypes[valIn].protocol+"://"+fcs+portpass+"/port_test");
}
function successOut (valIn) {
var currSeconds=3DMath.round((getTimer()-startLoad)/100)/10;
trace(ncTypes[initial].label+":
"+valIn.split("NetConnection.Connect.")[1]+" "+currSeconds+"s");
statusOut_txt.text +=3D ncTypes[initial].label+":
"+valIn.split("NetConnection.Connect.")[1]+" "+currSeconds+"s"+"\n";
nc.close();
initial++;
initial <
ncTypes.length?netConnect(initial):status_txt.text=3D"Test Completed";
}
netConnect(initial);


______________________________________

Jake
[vbcol=seagreen]
I have not yet testing FCS on a broad scale basis.=20
But this (port tester) is something I think I should be having when I
start the testing.=20

I didn't find any download link for the port testers on peldi's site
http://www.flashcomguru.com/apps/port_test/index.cfm=20

Even the macromedia site doesn't give the download link for their port
tester -=20
http://www.macromedia.com/cfusion/k...d=3Dtn_16466-5=
6



427800

Well I think I can make a particular port tester using multiple
connections and ports along with the lines of following code out here
http://www.macromedia.com/cfusion/k...d=3Dtn_16499=20

but not sure if I need to change something on the server side, well I am
just being lazy out here and trying to find a port tester that would
work directly.=20

Plz mail me a link where I can get a port tester or any info that I can
use.

Regards,
VARUN SHETTY=20

=3D-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com=20
=3D-----------------------------------------------------------

To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailma...fo/flashcomm=20


=3D---------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com=20
=3D---------------------------------------------------------

To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailma...fo/flashcomm=20

=3D-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com=20
=3D-----------------------------------------------------------

To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailma...fo/flashcomm=20

=3D---------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com=20
=3D---------------------------------------------------------

To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailma...fo/flashcomm=20

=3D-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com=20
=3D-----------------------------------------------------------

To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm

=3D---------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=3D---------------------------------------------------------

To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm

=-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=-----------------------------------------------------------

To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm

Jake Hilton

2005-05-02, 8:45 pm

Varun,
There is the possibility that there could be some lag.. but for the most =
part you won't notice a thing. It's much safer to do it this way then =
force everything over rtmpt.

Jake
[vbcol=seagreen]
Wow, that was quick. Thank you.=20

So Jake you mean we should use 'rtmp' protocol in the applications that
is been made and later let it cycle automatically. But this can cause a
lot of delay in the start white connecting. =20

Regards,
VARUN SHETTY


-----Original Message-----
From: flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org=20
[mailto:flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org] On Behalf Of Jake
Hilton
Sent: Tuesday, May 03, 2005 3:18 AM
To: flashcomm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org=20
Subject: RE: [FlashComm] where can i get a FCS port tester

Varun,
To cater to a broad audience just let the player decide which protocol
to use. It will automatically cycle through ports and protocols until it
can connect. As far as running FCS and IIS on the same box... you'll
need to tell flash not to bind to port 80 then IIS can bind to it. Only
one application can use that port on a single NIC at any given time. If
you have two NIC cards you could have the flash com server use one nic
and IIS use another.. or just have separate boxes, a web server and a
flash com server.

Below is the modified code for the timeout feature you suggested.
Timeout is in seconds.

________________________________________
____

//Quick port test written by Jake Hilton
fcs=3D"yourflashserver.com";
timeout=3D10;
initial=3D0;
statusOut_txt.text=3D$version+"\n\n";
status_txt.text=3D"Test Running";
ncTypes =3D new Array();
ncTypes[0] =3D {protocol:"rtmp",port:"default",label:"RMTP Default"};
ncTypes[1] =3D {protocol:"rtmp",port:"1935",label:"RMTP Port 1935"};
ncTypes[2] =3D {protocol:"rtmp",port:"80",label:"RMTP Port 80"};
ncTypes[3] =3D {protocol:"rtmp",port:"443",label:"RMTP Port 443"};
ncTypes[4] =3D {protocol:"rtmpt",port:"default",label:"RMTPT (Tunneling)
Default"};
ncTypes[5] =3D {protocol:"rtmpt",port:"80",label:"RMTPT (Tunneling) Port
80"};
ncTypes[6] =3D {protocol:"rtmpt",port:"443",label:"RMTPT (Tunneling) Port
443"};
ncTypes[7] =3D {protocol:"rtmpt",port:"1935",label:"RMTPT (Tunneling) Port
1935"};
function netConnect (valIn) {
startLoad=3DgetTimer();
nc =3D new NetConnection();
nc.onStatus =3D function(objIn){successOut(objIn.code)}
var portpass =3D
ncTypes[valIn].port!=3D"default"?":"+ncTypes[valIn].port:""
=09
nc.connect(ncTypes[valIn].protocol+"://"+fcs+portpass+"/port_test");
var
countDown=3DsetInterval(function(){successOut("NetConnection.Connect.Timed
Out")},timeout*1000)
}
function successOut (valIn) {
var currSeconds=3DMath.round((getTimer()-startLoad)/100)/10;
clearInterval(countDown);
statusOut_txt.text +=3D ncTypes[initial].label+":
"+valIn.split("NetConnection.Connect.")[1]+" "+currSeconds+"s"+"\n";
nc.close();
initial++;
initial <
ncTypes.length?netConnect(initial):status_txt.text=3D"Test Completed";
}
netConnect(initial);

________________________________________
________

Thanks,
Jake
[vbcol=seagreen]
Jake,=20
I just realized that the flash didn't hang; it just delayed a lot for
the failed message. I was being impatient... I thing it should be
good if we can put a timer and check if the time goes above 40-60 sec.
the netconnection should be closed and the message is set to fail.=20

And thank you for giving me those pointers on tunneling.=20
I configured the server for tunneling with different ports and
preferences,=20
I was just trying to play around with the settings to check the results
in each case.=20

One more thing I noticed that I can't have the FCS server and IIS
working on the same machine if I set to port 80, Is the binding that you
were speaking about related to this? And I am using IIS server.=20
(Umm, I have no idea about binding)

So the final config that gave me success on all ports was having the FCS
setup with tunneling option 'true' and Host Port set to ':1935,443,80'=20
________________________________________
____________________
WIN 7,0,19,0

RMTP Default: Success 0.3s
RMTP Port 1935: Success 0s
RMTP Port 80: Success 0s
RMTP Port 443: Success 0s
RMTPT (Tunneling) Default: Success 0.3s
RMTPT (Tunneling) Port 80: Success 0.3s
RMTPT (Tunneling) Port 443: Success 0.3s
RMTPT (Tunneling) Port 1935: Success 0.3s
________________________________________
____________________

This was checked with the FCS installed on my comp and the flash being
run on a different machine in the LAN. I will be checking it online
soon.=20

On a different note, if I have to make an application which is to be
catered to a broader user group. I would have to set the tunneling
option on and always ask the user to use an 'rtmpt' protocol. Is that
the only way I can cater to a broader group or should I do a check with
the port tester and then go ahead for the connection the user should be
using?=20
I am worried about the overheads caused by the 'rtmpt' protocol.=20

I also have other questions in regards to a port. I will mail them
differently. =20

Regards,
VARUN SHETTY=20

-----Original Message-----
From: flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org=20
[mailto:flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org] On Behalf Of Jake
Hilton
Sent: Monday, May 02, 2005 10:56 PM
To: flashcomm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org=20
Subject: RE: [FlashComm] where can i get a FCS port tester

The port tester on novell.com tests against two clustered flash com
servers. A known problem with tunneling is that it makes an extra
connection attempt which can be redirected to our other server... thus
causing the failed message you see. We are taking steps to remedy this
but it is a know bug in our architecture. rtmp and rtmpt is supported on
the same server as long as you turn tunneling on in the xml config file
for the server (Application.xml)

For the commenting out portion of the test on port 80... is your flash
server the only program binding to that port on your server? Do you have
apache or IIS binding to it? You need to also make sure that your FCS
config files tell the server to bind to ports other than just the normal
1935. You'll need to tweak your Adaptor.xml to allow the extra ports.
Keep me informed on your findings.

BTW. When I run the test on novell.com I get:

WIN 7,0,19,0

RMTP Default: Success 0.2s
RMTP Port 1935: Success 0.2s
RMTP Port 80: Success 0.2s
RMTP Port 443: Success 0.2s
RMTPT (Tunneling) Default: Success 0.7s
RMTPT (Tunneling) Port 80: Failed 0.5s
RMTPT (Tunneling) Port 443: Success 0.4s
RMTPT (Tunneling) Port 1935: Success 0.4s

so... I can see where it does get messed up for me on the port 80 used
for tunneling.

Thanks,
Jake


[vbcol=seagreen]
Hi Jake,=20
Thanks for the code.=20

I completely forgot to check the archive before mailing out there. I
found your code in the archives too.=20

Well I am facing this problem now. (I am testing locally)
Only 2 of my connections shows success and then the test stops abruptly

RMTP Default: Success 0.2s
RMTP Port 1935: Success 0.2s

I comment out the "RMTP Port 80" for checking=20
I get the remaining failed

RMTP Port 443: Failed 0s
RMTPT (Tunneling) Default: Failed 0.7s
RMTPT (Tunneling) Port 80: Failed 0.9s
RMTPT (Tunneling) Port 443: Failed 0.2s

With one success
RMTPT (Tunneling) Port 1935: Success 0.4s

Okay I am using the default Flash Communication Server Config.=20

Btw. some general question=20
Can a server support both together rtmp and rtmpt protocol?=20
Can I check with the client which is the best connection for him from a
port tester and set it for him (probably store it in a local Shared
Object for future reference)
What are the best practices and procedures you guys follow in regards to
the rtmp issue..!!=20

I am sure you guys must have gone thru the same =20


Btw. Jake on your novell port test I got the following results

RMTP Default: Success 1.7s
RMTP Port 1935: Success 1.3s
RMTP Port 80: Success 1.3s
RMTP Port 443: Success 1.3s
RMTPT (Tunneling) Default: Failed 1.8s
RMTPT (Tunneling) Port 80: Failed 1.2s
RMTPT (Tunneling) Port 443: Success 2.5s
RMTPT (Tunneling) Port 1935: Success 2.4s

I get all success on macromedia and flashcomm port tester.=20

Regards,
VARUN SHETTY=20

-----Original Message-----
From: flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org=20
[mailto:flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org] On Behalf Of Jake
Hilton
Sent: Monday, May 02, 2005 8:18 PM
To: flashcomm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org=20
Subject: Re: [FlashComm] where can i get a FCS port tester

//Quick port test written by Jake Hilton
fcs=3D"yourflashserver.com";
initial=3D0;
statusOut_txt.text=3D$version+"\n\n";
status_txt.text=3D"Test Running";
ncTypes =3D new Array();
ncTypes[0] =3D {protocol:"rtmp",port:"default",label:"RMTP Default"};
ncTypes[1] =3D {protocol:"rtmp",port:"1935",label:"RMTP Port 1935"};
ncTypes[2] =3D {protocol:"rtmp",port:"80",label:"RMTP Port 80"};
ncTypes[3] =3D {protocol:"rtmp",port:"443",label:"RMTP Port 443"};
ncTypes[4] =3D {protocol:"rtmpt",port:"default",label:"RMTPT (Tunneling)
Default"};
ncTypes[5] =3D {protocol:"rtmpt",port:"80",label:"RMTPT (Tunneling) Port
80"};
ncTypes[6] =3D {protocol:"rtmpt",port:"443",label:"RMTPT (Tunneling) Port
443"};
ncTypes[7] =3D {protocol:"rtmpt",port:"1935",label:"RMTPT (Tunneling) Port
1935"};
function netConnect (valIn) {
startLoad=3DgetTimer();
nc =3D new NetConnection();
nc.onStatus =3D function(objIn){
successOut(objIn.code);
}
var portpass =3D
ncTypes[valIn].port!=3D"default"?":"+ncTypes[valIn].port:""
=09
nc.connect(ncTypes[valIn].protocol+"://"+fcs+portpass+"/port_test");
}
function successOut (valIn) {
var currSeconds=3DMath.round((getTimer()-startLoad)/100)/10;
trace(ncTypes[initial].label+":
"+valIn.split("NetConnection.Connect.")[1]+" "+currSeconds+"s");
statusOut_txt.text +=3D ncTypes[initial].label+":
"+valIn.split("NetConnection.Connect.")[1]+" "+currSeconds+"s"+"\n";
nc.close();
initial++;
initial <
ncTypes.length?netConnect(initial):status_txt.text=3D"Test Completed";
}
netConnect(initial);


______________________________________

Jake
[vbcol=seagreen]
I have not yet testing FCS on a broad scale basis.=20
But this (port tester) is something I think I should be having when I
start the testing.=20

I didn't find any download link for the port testers on peldi's site
http://www.flashcomguru.com/apps/port_test/index.cfm=20

Even the macromedia site doesn't give the download link for their port
tester -=20
http://www.macromedia.com/cfusion/k...=3Dtn_16466-56=
=20



427800

Well I think I can make a particular port tester using multiple
connections and ports along with the lines of following code out here
http://www.macromedia.com/cfusion/k...d=3Dtn_16499=20

but not sure if I need to change something on the server side, well I am
just being lazy out here and trying to find a port tester that would
work directly.=20

Plz mail me a link where I can get a port tester or any info that I can
use.

Regards,
VARUN SHETTY=20

=3D-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com=20
=3D-----------------------------------------------------------

To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailma...fo/flashcomm=20


=3D---------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com=20
=3D---------------------------------------------------------

To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailma...fo/flashcomm=20

=3D-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com=20
=3D-----------------------------------------------------------

To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailma...fo/flashcomm=20

=3D---------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com=20
=3D---------------------------------------------------------

To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailma...fo/flashcomm=20

=3D-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com=20
=3D-----------------------------------------------------------

To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailma...fo/flashcomm=20

=3D---------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com=20
=3D---------------------------------------------------------

To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailma...fo/flashcomm=20

=3D-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com=20
=3D-----------------------------------------------------------

To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm

=-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=-----------------------------------------------------------

To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com