Max streaming connections per session error
i have flex application uses messaging streaming amf connection, falling polling. when max number of streaming connections on server reached, fall polling (at least prints max-streaming-clients error client connects, assume falling - how can tell?). however, streaming connection not initialize , not fall - no messages received on client. following error logged on server:
[emst]09/25/2008 13:43:18.231 [error] endpoint id 'my-streaming-amf' cannot grant streaming connection flexclient id 'd5b8e3a1-1a1c-063e-84a6-6a743a1e4ee0' because max-streaming-connections-per-session limit of '1' has been reached.
this make sense if issue caused trying initialize streaming connection in 2 tabs of browser, trying initialize in 1 tab. closing browser (and destroying session) not fix it. solution i've found reboot client machine. has happened in both firefox 3.0.2 , ie 7.
(1) cause client in state?
(2) when happens, why doesn't fall polling? fallback when server max connections reached? when streaming connection doesn't initialize, no messages received.
(3) there way explicitly close streaming connection on client can fix without rebooting?
thanks!
[emst]09/25/2008 13:43:18.231 [error] endpoint id 'my-streaming-amf' cannot grant streaming connection flexclient id 'd5b8e3a1-1a1c-063e-84a6-6a743a1e4ee0' because max-streaming-connections-per-session limit of '1' has been reached.
this make sense if issue caused trying initialize streaming connection in 2 tabs of browser, trying initialize in 1 tab. closing browser (and destroying session) not fix it. solution i've found reboot client machine. has happened in both firefox 3.0.2 , ie 7.
(1) cause client in state?
(2) when happens, why doesn't fall polling? fallback when server max connections reached? when streaming connection doesn't initialize, no messages received.
(3) there way explicitly close streaming connection on client can fix without rebooting?
thanks!
hi mary. if turn on debug level logging on client , server should able tell if have fallen polling channel after attempt connect on streaming channel has been rejected. in client log, see flex application sending poll requests server @ polling interval configured in channel , in server log should see server receiving these requests.
the behaviour seeing seems strange me. reason have max-streaming-connections-per-session limit on server because browsers limit number of active connections can made server single session. in ie example, 2. happens in cases when browser's connection limit reached new connections put on hold until 1 of existing connections closes. cause flex application hang no errors being reported on client or server. why need max-streaming-connections-per-session setting on server. prevents more 1 persistent connection being made same session, browser should never reach it's max connections per server limit , lock up.
it looks somehow getting browser lock though server limiting 1 streaming connection per session. may possible if reload flex application in browser (by doing page refresh) in case browser possibly briefly leave streaming connection open in background , when tried create new streaming connection, browser's connection limit server have been reached , application hang. when application hangs reloading swf/page in browser?
i don't know why closing browser wouldn't fix problem. you're right closing browser should end session. if launch new browser , load swf same "cannot grant streaming connection" error on server or browser locked up, ie. no error received on client , server?
you're not using proxy server or might holding connection open server?
-alex
the behaviour seeing seems strange me. reason have max-streaming-connections-per-session limit on server because browsers limit number of active connections can made server single session. in ie example, 2. happens in cases when browser's connection limit reached new connections put on hold until 1 of existing connections closes. cause flex application hang no errors being reported on client or server. why need max-streaming-connections-per-session setting on server. prevents more 1 persistent connection being made same session, browser should never reach it's max connections per server limit , lock up.
it looks somehow getting browser lock though server limiting 1 streaming connection per session. may possible if reload flex application in browser (by doing page refresh) in case browser possibly briefly leave streaming connection open in background , when tried create new streaming connection, browser's connection limit server have been reached , application hang. when application hangs reloading swf/page in browser?
i don't know why closing browser wouldn't fix problem. you're right closing browser should end session. if launch new browser , load swf same "cannot grant streaming connection" error on server or browser locked up, ie. no error received on client , server?
you're not using proxy server or might holding connection open server?
-alex
More discussions in Configuration and Getting Started
adobe
Comments
Post a Comment