Groups | Blog | Home
all groups > macromedia flash flashcom > july 2007 >

macromedia flash flashcom : Unexpected Client Disconnects


DanielKozimor
7/30/2007 9:25:34 PM
We're running into some odd client disconnects with our appication. It seems
that after a period of time (usually 30-45 minutes - but it varies) FMS will
boot a client for no apparent reason. On server side, application.onDisconnect
gets triggered and, the client gets a "NetConnection.Connect.Closed" event.

It seems like it usually happens to clients that are behind the same router,
but at this point, we're just speculating. The networking stuff in FMS is a
complete blackbox so I'm not even sure what to debug. Anyone experienced this?
Any workarounds? Any logs I can check to figure out why a client would get
booted sometimes?

We do have FMS ping all clients regularly (to figure out latency) and all
clients call a remote method on FMS on a set interval - this was a possible
solution mentioned in some white papers. Clearly, it hasn't helped us.
techeye
7/31/2007 2:06:09 AM
Here are a couple of things to explore:
-The application logs should provide you more information
logs\_defaultVHost_\YOURAPP\...

-If it is one particular router that is causing the issue it might be network
related.

- Try adding debug traces to your application.

- What version & OS are you running?
DanielKozimor
7/31/2007 5:18:36 AM
[q]
-The application logs should provide you more information
logs\_defaultVHost_\YOURAPP\...
[/q]

It doesn't help. About the only thing I get from the log is that
application.onDisconnect is called but thats just an event listener that gets
called after FMS already decided to kick the client out.

[q]If it is one particular router that is causing the issue it might be
network related.[/q]

At this moment we're speculating this might have something to do with it -
maybe its random. We noticed this behavior in a few separate instances. We
would have multiple clients connected to FMS and the client that was booted
seems to be one of the ones that was behind a router along with another client.
I don't know if that has anything to do with it. I'm inclined to say its not
simply network related .. 30mins to 1 hour and we're guaranteed a client is
booted.

[q]What version & OS are you running?[/q]

Windows Server 2003.


AddThis Social Bookmark Button