Comments (7)
This issue only happens with GWT. I try reproducing using the atmosphere-chat and everything works fine.
from atmosphere-javascript.
The same issue happened for me on 2.1.0 and 2.0.7. Using enableProtocol and trackMessageSize flags.
I also using GWT
from atmosphere-javascript.
Looks like sync disconnection never get response from server until it kills the connection. I tried to add OnDisconnectInterceptor and it didn't help.
from atmosphere-javascript.
To reproduce issue easier you need to set up maxStreamingLength to 50K or 1MB instead of default and set up streaming transport. Unfortunatelly i didn't tried to reproduce the issue on examples.
Just tried to set disconnect request to async, however it brings another problem:
4 reconnections happens succesfully but messages from server becomes corrupted and I get exceptions:
"Uncaught Error: message length" in _trackMessageSize function
from atmosphere-javascript.
Here snap from YourKit Tomcat 7.0.42:
from atmosphere-javascript.
@gromozekas Please open another issue, this is not the same. Also, upgrade to Tomcat 7.0.47 and redo your tests as Tomcat .42 suffer many internal deadlock. If you are still able to reproduce, try to grab a thread dump with line number, will be easier for me to debug. Thanks!
from atmosphere-javascript.
Closed as fixed. Please re-open if you are still able to reproduce.
from atmosphere-javascript.
Related Issues (20)
- Support ES Modules HOT 4
- How to get the websocket close code with atmosphere.js
- Need a better error message on websocket connection timeout
- 3.0.1 is not in Maven Central HOT 1
- connection leak for websocket HOT 4
- On websocket connection timeout, the fallback connection open and is cancelled immediately
- Invalid html code used HOT 1
- Unsubscribe from single subsocket? HOT 4
- Websocket reconnect causes huge problems with tomcat HOT 7
- Heartbeat event HOT 4
- Error: "message is not defined" HOT 6
- Use navigator.sendBeacon for unload event
- Need detailed release notes.
- Why the _reconnectWithFallbackTransport function uses the connectTimeout instead of the reconnectInterval parameter? HOT 1
- The websocket does no more downgrading to fallback transport when more than maxWebsocketErrorRetries onerror append on the websocket.
- TypeError: Beacons can only be sent over HTTP(S) HOT 3
- "ReferenceError: atmosphere is not defined" HOT 1
- Request changed from HTTP GET to POST HOT 10
- Message lost on openAfterResume with long-polling HOT 1
- Unsubscribe on beforeunload instead on unload has Chrome will stop firing unload events HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from atmosphere-javascript.