Sounds like time to use a RemoteObject. ;-)
Leif



On Mon, Apr 28, 2008 at 2:31 PM, Cameron Childress <[EMAIL PROTECTED]>
wrote:

> Delightful.  This looks like a reported bug in AIR.
>
> https://bugs.adobe.com/jira/browse/SDK-15403
>
> -Cameron
>
>
> On Mon, Apr 28, 2008 at 1:29 PM, Cameron Childress <[EMAIL PROTECTED]>
> wrote:
>
> > No extra fancy stuff going on.  Every remoting call works except this
> > one.  Really, this one works too, but only when CF/Flex Remoting responds <
> > ~20/30 seconds.  This CF based remoting call is proxying requests from Flex
> > to a remote server which may sometimes timeout or respond slowly.  What I
> > need is to make Flex wait 60 seconds before giving up.
> >
> > CF can handle waiting the 60 seconds before gracefully failing and
> > responding with a nice predictable error code, and I've tested that using a
> > CF unit test.
> >
> > Flex (AIR) processes the request just fine till I force CF to take ~60
> > seconds to respond.  That's longer then Flex is willing to wait.
> >
> > Oddly, once CF finally times out (after the 60 seconds), on the console
> > I see Flex Remoting attempting to send the packet back to the Flex app, but
> > by then the Flex app has stopped waiting for the response.
> >
> > -Cameron
> >
> >
> > On Mon, Apr 28, 2008 at 1:15 PM, Douglas Knudsen <
> > [EMAIL PROTECTED]> wrote:
> >
> > > Are other RemoteObject calls working?  Same CFC?  Any security schtuff
> > > going on?
> > >
> > > DK
> > >
> > >
> > > On Mon, Apr 28, 2008 at 12:37 PM, Cameron Childress <
> > > [EMAIL PROTECTED]> wrote:
> > >
> > > > Oh.  I see a zero and I type a zero.  I guess I should read AND
> > > > comprehend.  So I tried -1, and it's doing the same thing.  Actually 
> > > > though,
> > > > I just noticed the following in the server log - corresponding with each
> > > > failure.  I wonder if the timeout setting I seek is on the server side? 
> > > >  OR
> > > > maybe Flex is sending the error to the server to let it know it didn't 
> > > > get
> > > > an Ack.  Looking into this more now.  If anyone has hints, feel free to
> > > > share...
> > > >
> > > > [Flex] Error handling message: flex.messaging.MessageException: No
> > > > destination with id '' is registered with any service.
> > > >   incomingMessage: Flex Message
> > > > (flex.messaging.messages.CommandMessage)
> > > >
> > > > -Cameron
> > > >
> > > >
> > > > On Mon, Apr 28, 2008 at 12:10 PM, Leif Wells <[EMAIL PROTECTED]>
> > > > wrote:
> > > >
> > > > > Did you attempt using -1 as Douglas suggested?
> > > > >
> > > > > On Mon, Apr 28, 2008 at 11:59 AM, Cameron Childress <
> > > > > [EMAIL PROTECTED]> wrote:
> > > > >
> > > > > > Oh yes, I have tried.  I tried setting it to zero, and also to a
> > > > > > high number.  No dice.  IT always timesout in about 23 seconds or 
> > > > > > so with
> > > > > > this error:
> > > > > >
> > > > > > [FaultEvent fault=[RPC Fault faultString="error"
> > > > > > faultCode="Channel.Call.Failed" 
> > > > > > faultDetail="NetConnection.Call.Failed:
> > > > > > HTTP: Failed"] messageId="046FE4C6-48BE-2981-5ADF-95C08A1AC4E5" 
> > > > > > type="fault"
> > > > > > bubbles=false cancelable=true eventPhase=2]
> > > > > >
> > > > > > I have also more recently noted a property of message objects
> > > > > > called "timetolive", but am not familiar enough with Flex's 
> > > > > > messaging to
> > > > > > know if that's any help in this situation.
> > > > > >
> > > > > > http://livedocs.adobe.com/flex/3/langref/mx/messaging/messages/AbstractMessage.html
> > > > > >
> > > > > > -Cameron
> > > > > >
> > > > > >
> > > > > -------------------------------------------------------------
> > > > > To unsubscribe from this list, simply email the list with
> > > > > unsubscribe in the subject line
> > > > >
> > > > > For more info, see http://www.affug.com
> > > > > Archive @ http://www.mail-archive.com/discussion%40affug.com/
> > > > > List hosted by FusionLink <http://www.fusionlink.com>
> > > > > -------------------------------------------------------------
> > > > >
> > > >
> > > >
> > > >
> > > > --
> > > > Cameron Childress
> > > > Sumo Consulting Inc
> > > > http://www.sumoc.com
> > > > ---
> > > > cell: 678.637.5072
> > > > aim: cameroncf
> > > > email: [EMAIL PROTECTED]
> > > > -------------------------------------------------------------
> > > > To unsubscribe from this list, simply email the list with
> > > > unsubscribe in the subject line
> > > >
> > > > For more info, see http://www.affug.com
> > > > Archive @ http://www.mail-archive.com/discussion%40affug.com/
> > > > List hosted by FusionLink <http://www.fusionlink.com>
> > > > -------------------------------------------------------------
> > > >
> > >
> > >
> > >
> > > --
> > > Douglas Knudsen
> > > http://www.cubicleman.com
> > > this is my signature, like it?
> > > -------------------------------------------------------------
> > > To unsubscribe from this list, simply email the list with unsubscribe
> > > in the subject line
> > >
> > > For more info, see http://www.affug.com
> > > Archive @ http://www.mail-archive.com/discussion%40affug.com/
> > > List hosted by FusionLink <http://www.fusionlink.com>
> > > -------------------------------------------------------------
> > >
> >
> >
> >
> > --
> > Cameron Childress
> > Sumo Consulting Inc
> > http://www.sumoc.com
> > ---
> > cell: 678.637.5072
> > aim: cameroncf
> > email: [EMAIL PROTECTED]
> >
>
>
>
> --
> Cameron Childress
> Sumo Consulting Inc
> http://www.sumoc.com
> ---
> cell: 678.637.5072
> aim: cameroncf
> email: [EMAIL PROTECTED]
> -------------------------------------------------------------
> To unsubscribe from this list, simply email the list with unsubscribe in
> the subject line
>
> For more info, see http://www.affug.com
> Archive @ http://www.mail-archive.com/discussion%40affug.com/
> List hosted by FusionLink <http://www.fusionlink.com>
> -------------------------------------------------------------
>



-------------------------------------------------------------
To unsubscribe from this list, simply email the list with unsubscribe in the 
subject line

For more info, see http://www.affug.com
Archive @ http://www.mail-archive.com/discussion%40affug.com/
List hosted by http://www.fusionlink.com
-------------------------------------------------------------

Reply via email to