After 2.9.0 upgrade: IllegalStateException: AsyncContext

Post here your questions about SFS2X. Here we discuss all server-side matters. For client API questions see the dedicated forums.

Moderators: Lapo, Bax

KarymovDN
Posts: 12
Joined: 29 Jun 2014, 14:10

Re: After 2.9.0 upgrade: IllegalStateException: AsyncContext

Post by KarymovDN »

Marco, I see the same exception about once a minute on a local machine (Mac OS) with 1 user connected via BlueBox. I don't see any effect on transmitting though - all messages arrive in correct order. If you want to investigate it, I can help with logs or whatever you need.
User avatar
Lapo
Site Admin
Posts: 23438
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: After 2.9.0 upgrade: IllegalStateException: AsyncContext

Post by Lapo »

Thanks for reporting.
The interesting (or rather, weird) part is that I am on MacOS X too and I have never seen this problem... once. :shock:

What MacOS X version do you use?
What client technology do you use for the test client?

cheers
Lapo
--
gotoAndPlay()
...addicted to flash games
ktamlyn
Posts: 17
Joined: 04 Sep 2013, 16:25

Re: After 2.9.0 upgrade: IllegalStateException: AsyncContext

Post by ktamlyn »

I am encountering a similar issue to the original poster.

1) I am receiving the same async error on a regular basis
2) "Bluebox" does not seem to be a consideration though I have not elimintated this completely as the cause of the error
3) I am having specific users encounter connection problems. They will connect and be OK for about 10 minutes and then end up being disconnected involuntarily, at which point they cannot reconnect - they end up in this connect/disconnect/connect loop.
4) We do not encounter this problem in normal testing, but have encountered it at two separate client networks. Not every user has a problem, and the ones that do have the problem consistently.

Is there a download for SFS 2X version 2.7.X which I can download and test on the client end?

Is there a possibility that upgrading from 2.9.0 to 2.9.2 will eliminate this issue? We are running out of patience on the client end, and the only way to test is to have them test so the fewer times we have to ask "try this version please" the better.

Thanks!
User avatar
Lapo
Site Admin
Posts: 23438
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: After 2.9.0 upgrade: IllegalStateException: AsyncContext

Post by Lapo »

The disconnection in 10 minutes might be caused by a timing issue we have fixed in 2.9.2
I highly suggest to upgrade and tell us if it has helped.
4) We do not encounter this problem in normal testing, but have encountered it at two separate client networks. Not every user has a problem, and the ones that do have the problem consistently.
Keep in mind that user behind a proxy or in restricted networks may have connection issues even with the BlueBox. What the BB does is tunneling the traffic over HTTP in the most efficient way. What it can't do is compensating for a crappy connection :)
Lapo
--
gotoAndPlay()
...addicted to flash games
ktamlyn
Posts: 17
Joined: 04 Sep 2013, 16:25

Re: After 2.9.0 upgrade: IllegalStateException: AsyncContext

Post by ktamlyn »

Can you provide a link to version 2.7? I am unsure if this is a good temporary fix, but like the user who started this tread I am getting disconnect issues that I'm trying to resolve.
User avatar
Lapo
Site Admin
Posts: 23438
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: After 2.9.0 upgrade: IllegalStateException: AsyncContext

Post by Lapo »

Version 2.9.x has been tested with over 100K CCU with no disconnection issues whatsoever. There is no specific reason to correlate disconnections with a version upgrade. Disconnections happen for a myriad of times.

Please make sure to upgrade to version 2.9.2 if you're having disconnection issues with the BlueBox (HTTP tunneling)
The last patch we did address an HTTP timeout issue that will help under certain scenarios, with HTTP tunneled connections.

http://www.smartfoxserver.com/download/sfs2x#p=update
Lapo
--
gotoAndPlay()
...addicted to flash games
User avatar
rewb0rn
Posts: 177
Joined: 26 Jan 2009, 12:54
Location: Berlin, Germany

Re: After 2.9.0 upgrade: IllegalStateException: AsyncContext

Post by rewb0rn »

Hey just a heads up, this exception is still popping up in SFS 2.9.2

Thanks
Post Reply