Re: [flexcoders] What are the chances Flex could be causing this?

2009-03-19 Thread nwebb
Thanks Peter,

3 or 4 out of 10 are failing each time. All SWFs are calling back to the
same location of a dev server.
Unfortunately testing in Firefox is out right now - they are using a dummy
payload (sent through using external interface),  which isn't coming through
in FF - I need to brush up on my JavaScript before I can get it working.




On Wed, Mar 18, 2009 at 6:53 PM, Peter Farland pfarl...@adobe.com wrote:

I would have thought that if you were hitting the maximum connections
 per host limitation then your requests would just queue and take longer to
 respond. Out of curiosity, how many fail and how many return data? Does the
 number change?



 Are the 10 SWFs calling back to the same dev server hosting the SWFs, or
 are they hitting a different URL? If they are hitting a different URL, can
 you possibly host your swf on the remote URL and try again (ensuring that
 the URL used to load the SWF has exactly the same host name as the service
 being contacted)?



 You could try testing your theory by modifying the registry to allow IE to
 make more requests simultaneously, see:

 http://support.microsoft.com/kb/282402



 You could also try Firefox for comparison?



 Pete





 *From:* flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] *On
 Behalf Of *nwebb
 *Sent:* Wednesday, March 18, 2009 2:32 PM
 *To:* flexcoders@yahoogroups.com
 *Subject:* [flexcoders] What are the chances Flex could be causing this?



 Hi, we've got a webservice with about 10 methods. When the application
 starts up it calls about 6 of them in quick succession (I'm currently
 chaining those calls).

 If I upload the SWF to our dev environment, create a tab-group in IE (10
 tabs in total), with each tab loading the swf, I can load 10 instances of
 the application similtaneously.
 When I do that I'm seeing that several instances of the app are throwing
 errors like this:

 18:06:08.273 | [ERROR] | mx.messaging.Producer |
 'B8ED2C1F-ABBE-DB29-3DB4-1AC289775CF2' producer fault for
 'F87115A3-7C5D-2F13-2EA0-1AC2ED13E733'.18:06:08.304 | [ERROR] |
 Tools.business.AbstractRPCConsumer.fault | faultCode:Server.Error.Request
 faultString:'HTTP request error' faultDetail:'Error: [IOErrorEvent
 type=ioError bubbles=false cancelable=false eventPhase=2 text=Error
 #2032: Stream Error. URL: http://dev- 

 I'm pretty sure this is a server-side issue but want to make absolutely
 sure. The server logs in place don't show any errors  (but I'm just a
 front-end guy looking at some custom error logs - I could easily be missing
 something!) - many of the Flex calls are getting rejected.

 Or could this be a red herring? Perhaps the browser is imposing a limits on
 the number of connections opened and I can't test things this way.  If
 anyone has thoughts on whether I could be doing anything weird on the
 front-end to cause this please let me know.

 Thanks.









Re: [flexcoders] What are the chances Flex could be causing this?

2009-03-19 Thread nwebb
Thanks Jonathon,

I'll get the guys to do that - much appreciated.

On Wed, Mar 18, 2009 at 7:17 PM, Jonathon Stierman
jonat...@wolfmotell.comwrote:

You could be hitting your servers’ (IIS, Apache) maximum number of
 connections – which means your application (and thus your custom logs)
 wouldn’t even be run.  The server would just eat the requests and send back
 a 500 level HTTP response.



 Check your servers’ error logs, and see if anything appears in there.



 Jonathon



 *From:* flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] *On
 Behalf Of *nwebb
 *Sent:* Wednesday, March 18, 2009 1:32 PM
 *To:* flexcoders@yahoogroups.com
 *Subject:* [flexcoders] What are the chances Flex could be causing this?



 Hi, we've got a webservice with about 10 methods. When the application
 starts up it calls about 6 of them in quick succession (I'm currently
 chaining those calls).


 If I upload the SWF to our dev environment, create a tab-group in IE (10
 tabs in total), with each tab loading the swf, I can load 10 instances of
 the application similtaneously.
 When I do that I'm seeing that several instances of the app are throwing
 errors like this:

 18:06:08.273 | [ERROR] | mx.messaging.Producer |
 'B8ED2C1F-ABBE-DB29-3DB4-1AC289775CF2' producer fault for
 'F87115A3-7C5D-2F13-2EA0-1AC2ED13E733'.18:06:08.304 | [ERROR] |
 Tools.business.AbstractRPCConsumer.fault | faultCode:Server.Error.Request
 faultString:'HTTP request error' faultDetail:'Error: [IOErrorEvent
 type=ioError bubbles=false cancelable=false eventPhase=2 text=Error
 #2032: Stream Error. URL: http://dev- 

 I'm pretty sure this is a server-side issue but want to make absolutely
 sure. The server logs in place don't show any errors  (but I'm just a
 front-end guy looking at some custom error logs - I could easily be missing
 something!) - many of the Flex calls are getting rejected.

 Or could this be a red herring? Perhaps the browser is imposing a limits on
 the number of connections opened and I can't test things this way.  If
 anyone has thoughts on whether I could be doing anything weird on the
 front-end to cause this please let me know.

 Thanks.

 



RE: [flexcoders] What are the chances Flex could be causing this?

2009-03-19 Thread Peter Farland
Jonathon had a good point - look out for maximum number of connections, perhaps 
there is a specific maximum number of connections per host.

Pete


From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf 
Of nwebb
Sent: Thursday, March 19, 2009 5:34 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] What are the chances Flex could be causing this?

Thanks Jonathon, 

I'll get the guys to do that - much appreciated.


On Wed, Mar 18, 2009 at 7:17 PM, Jonathon Stierman jonat...@wolfmotell.com 
wrote:
You could be hitting your servers' (IIS, Apache) maximum number of connections 
- which means your application (and thus your custom logs) wouldn't even be 
run.  The server would just eat the requests and send back a 500 level HTTP 
response.
 
Check your servers' error logs, and see if anything appears in there.
 
Jonathon
 


[flexcoders] What are the chances Flex could be causing this?

2009-03-18 Thread nwebb
Hi, we've got a webservice with about 10 methods. When the application
starts up it calls about 6 of them in quick succession (I'm currently
chaining those calls).

If I upload the SWF to our dev environment, create a tab-group in IE (10
tabs in total), with each tab loading the swf, I can load 10 instances of
the application similtaneously.
When I do that I'm seeing that several instances of the app are throwing
errors like this:

18:06:08.273 | [ERROR] | mx.messaging.Producer |
'B8ED2C1F-ABBE-DB29-3DB4-1AC289775CF2' producer fault for
'F87115A3-7C5D-2F13-2EA0-1AC2ED13E733'.18:06:08.304 | [ERROR] |
Tools.business.AbstractRPCConsumer.fault | faultCode:Server.Error.Request
faultString:'HTTP request error' faultDetail:'Error: [IOErrorEvent
type=ioError bubbles=false cancelable=false eventPhase=2 text=Error
#2032: Stream Error. URL: http://dev- 

I'm pretty sure this is a server-side issue but want to make absolutely
sure. The server logs in place don't show any errors  (but I'm just a
front-end guy looking at some custom error logs - I could easily be missing
something!) - many of the Flex calls are getting rejected.

Or could this be a red herring? Perhaps the browser is imposing a limits on
the number of connections opened and I can't test things this way.  If
anyone has thoughts on whether I could be doing anything weird on the
front-end to cause this please let me know.

Thanks.


RE: [flexcoders] What are the chances Flex could be causing this?

2009-03-18 Thread Peter Farland
I would have thought that if you were hitting the maximum connections per host 
limitation then your requests would just queue and take longer to respond. Out 
of curiosity, how many fail and how many return data? Does the number change?

Are the 10 SWFs calling back to the same dev server hosting the SWFs, or are 
they hitting a different URL? If they are hitting a different URL, can you 
possibly host your swf on the remote URL and try again (ensuring that the URL 
used to load the SWF has exactly the same host name as the service being 
contacted)?

You could try testing your theory by modifying the registry to allow IE to make 
more requests simultaneously, see:
http://support.microsoft.com/kb/282402

You could also try Firefox for comparison?

Pete


From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf 
Of nwebb
Sent: Wednesday, March 18, 2009 2:32 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] What are the chances Flex could be causing this?

Hi, we've got a webservice with about 10 methods. When the application starts 
up it calls about 6 of them in quick succession (I'm currently chaining those 
calls).

If I upload the SWF to our dev environment, create a tab-group in IE (10 tabs 
in total), with each tab loading the swf, I can load 10 instances of the 
application similtaneously.
When I do that I'm seeing that several instances of the app are throwing errors 
like this:

18:06:08.273 | [ERROR] | mx.messaging.Producer | 
'B8ED2C1F-ABBE-DB29-3DB4-1AC289775CF2' producer fault for 
'F87115A3-7C5D-2F13-2EA0-1AC2ED13E733'.18:06:08.304 | [ERROR] | 
Tools.business.AbstractRPCConsumer.fault | faultCode:Server.Error.Request 
faultString:'HTTP request error' faultDetail:'Error: [IOErrorEvent 
type=ioError bubbles=false cancelable=false eventPhase=2 text=Error #2032: 
Stream Error. URL: http://dev- 

I'm pretty sure this is a server-side issue but want to make absolutely sure. 
The server logs in place don't show any errors  (but I'm just a front-end guy 
looking at some custom error logs - I could easily be missing something!) - 
many of the Flex calls are getting rejected.

Or could this be a red herring? Perhaps the browser is imposing a limits on the 
number of connections opened and I can't test things this way.  If anyone has 
thoughts on whether I could be doing anything weird on the front-end to cause 
this please let me know.

Thanks.








RE: [flexcoders] What are the chances Flex could be causing this?

2009-03-18 Thread Jonathon Stierman
You could be hitting your servers' (IIS, Apache) maximum number of connections 
- which means your application (and thus your custom logs) wouldn't even be 
run.  The server would just eat the requests and send back a 500 level HTTP 
response.

Check your servers' error logs, and see if anything appears in there.

Jonathon

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf 
Of nwebb
Sent: Wednesday, March 18, 2009 1:32 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] What are the chances Flex could be causing this?


Hi, we've got a webservice with about 10 methods. When the application starts 
up it calls about 6 of them in quick succession (I'm currently chaining those 
calls).

If I upload the SWF to our dev environment, create a tab-group in IE (10 tabs 
in total), with each tab loading the swf, I can load 10 instances of the 
application similtaneously.
When I do that I'm seeing that several instances of the app are throwing errors 
like this:

18:06:08.273 | [ERROR] | mx.messaging.Producer | 
'B8ED2C1F-ABBE-DB29-3DB4-1AC289775CF2' producer fault for 
'F87115A3-7C5D-2F13-2EA0-1AC2ED13E733'.18:06:08.304 | [ERROR] | 
Tools.business.AbstractRPCConsumer.fault | faultCode:Server.Error.Request 
faultString:'HTTP request error' faultDetail:'Error: [IOErrorEvent 
type=ioError bubbles=false cancelable=false eventPhase=2 text=Error #2032: 
Stream Error. URL: http://dev- 

I'm pretty sure this is a server-side issue but want to make absolutely sure. 
The server logs in place don't show any errors  (but I'm just a front-end guy 
looking at some custom error logs - I could easily be missing something!) - 
many of the Flex calls are getting rejected.

Or could this be a red herring? Perhaps the browser is imposing a limits on the 
number of connections opened and I can't test things this way.  If anyone has 
thoughts on whether I could be doing anything weird on the front-end to cause 
this please let me know.

Thanks.


inline: image001.jpginline: image002.jpg