-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Atmosphere streaming problem #145
Comments
@zsenyeg Can you put a breakpoint wasync/wasync/src/main/java/org/atmosphere/wasync/transport/StreamTransport.java Line 284 in 2b3e5e7
|
Hey! Thanks for your suggestion. I'v tried to debugging the problem, the close method is not invoking in case of wifi connection loss. Another strange - or expected - behaviour is when the central server is down automatic reconnection is not working. Here's the warning from the log:
Is it intended that after on throwable call there's no automatic reconnection? `2017-05-24 11:03:31 - [New I/O worker #5] - ERROR h.d.a.b.b.OnlineStateProviderBean - Unexpected message Error 404: com.ibm.ws.webcontainer.servlet.exception.NoTargetForURIException: No target servlet configured for uri: /allexa-be-gj-expert/atmosphere/push What am i doing wrong? Cheers, |
Hi there!
I have a problem using wasync in my project. Project architecture and configuration:
Server side:
Websphere 8.5 - Atmosphere Framework 2.3.8, protocol STREAMING, casuse WS is not supported by WAS currently. Server side is standard @managedservice
web.xml
Client side wasync related code:
AsyncHttpClient config:
AsyncHttpClient version is maven dependency of wasync.
My problem is that if i turn off wifi, or pull out network connector in client machine, wasync cannot detect network loss, do nothing, just not receiving messages from server, even if network connection is coming back.
Is it a streaming related problem, or related to my configuration. How can i detect that network connection is not available? Maybe i should write a ping like scheduler, and detect socket io exception?
Any help would be life saving for me.
Cheers,
Zsolt
The text was updated successfully, but these errors were encountered: