Excellent point.
Are you using a custom policy file on the ES5? I assume that mochi is already set up with appropriate policy files that allow swfs on the site to load content from other domains (which the ES5 connection would be).The mochi reviewer actually was able to connect with our own hosted game but could not with the standalone swf file hosted on their site. I assume that means his PC has no problem accessing those ports on our server but not sure what happens when the swf file is hosted on mochi server.
If there's a logging line about a given client, then it did reach the ES5. You probably want to disable that particular logging line however.If we can see on the server side there is indeed connection request from users while user can't connect, does that mean DNS is definitely not the problem? I do see a lot of netty.ChannelOpenedHandler - clientId: xxx has connected messages in the ElectroServer5.log file. Does that mean server has received the client's connection request?
See this discussion on StackOverflow. The idea is to prevent the HTML window or AIR app from being closed until the Flash player tidies up.Can you elaborate the _es.engine.close() part?
Yes, it will try TCP first, then HTTP. This page of the manual explains the defaults and how to customize the time the client will wait before giving up on a particular connection.Does having both BinaryTCP and HTTP in the settings mean client will try BinaryTCP first and HTTP if that fails? How long will the client wait for BinaryTCP before trying HTTP?
Another thread on this forum that may or may not be relevant has turned up a problem where the ES5 stops accepting new connections (at least until some existing users break their connections). Jason is looking into it; this other thread's situation is probably due to a leakage of file handles caused by users connecting then doing a dirty disconnect without logging in. For Unix servers, you can improve this by setting a high ulimit value, and a daily reboot of the ES5 if you still have problems. Hopefully this fix will be available soon.



Reply With Quote
