Comments (16)
Hey Pablo,
i discovered the same error message but only when using the speech to text software "dragon naturally speaking". In difference to you, i only need to input 2-3 characters to make a client disconnect. Funny enough, the client that is really "editing the document" stays connected.
Please see my results here, you will need to "download" the video but only the last 20 seconds are of interest.
https://xdreamgroup-my.sharepoint.com/:v:/g/personal/harald_jordan_x-dream-media_com/EYMvU9t4K1tBm0d_-aOSwiQB-LB5RcdWbW5Ti4thUBtEkQ?e=ze330z
I was not yet able to find any pattern when this happens, it can go well for many sentences or it can break at the first x letters that dragon does input.
It worked with swellrt releases < 2.0.
What i did by now is trying to capture the key events dragon sends but it doesnt look like those make a great difference. Also i wrote some selenium tests inputting text by hitting keys and pasing from clipboard, this way the error is not reproduceable.
Any hint to about how to continue debugging this is very welcome!
from swellrt.
Without being sure that we face the same issue, i keep posting here because our error messages are the same.
I think i made some progress debugging this on client side:
As i can reproduce the issue easily, i subscribed to all events that are fired at the editor and looked out for some pattern that might cause this, but i did not find any. the only thing i noticed is that it looks that this warning often appears at the time of interest:
swellrt_beta-0.js:16864 [Violation] 'setTimeout' handler took 71ms
In my build, the line 16864 points to the inner function (...return function()) of this in the debug build:
function entry_0(jsFunction){
var stackIndex_0;
$stack_0[stackIndex_0 = ++$stackDepth_0] = entry_0;
($location_0[stackIndex_0] = 'Impl.java:' + '74' , cggcci).$clinit_Impl();
$stackDepth_0 = stackIndex_0 - 1;
return function(){
var stackIndex, returnTemp;
$stack_0[stackIndex = ++$stackDepth_0] = null;
if ($location_0[stackIndex] = 'Impl.java:' + '75' , isScript()) {
returnTemp = ($location_0[stackIndex] = 'Impl.java:' + '77' , cggcci).entry0(jsFunction, this, arguments);
$stackDepth_0 = stackIndex - 1;
return returnTemp;
}
else {
var __0 = ($location_0[stackIndex] = 'Impl.java:' + '79' , cggcci).entry0(jsFunction, this, arguments);
if (($location_0[stackIndex] = 'Impl.java:' + '78' , __0) != null) {
__0 = ($location_0[stackIndex] = 'Impl.java:' + '82' , __0).val;
}
returnTemp = ($location_0[stackIndex] = 'Impl.java:' + '84' , __0);
$stackDepth_0 = stackIndex - 1;
return returnTemp;
}
$stackDepth_0 = stackIndex - 1;
}
;
}
I am still struggeling with finding back from javascript to java code, i hoped this could be more helpful but it is my believe that this could be some track...
from swellrt.
There you are seeing the obfuscated javascript code generated from java.
In order to get useful information from code traces you must build the js client in development mode from source code.
Clone the repo and use following commands
# build server backend
./gradlew compileJava
# build js client in dev mode
./gradlew devWeb
# runs server
./gradlew run
from swellrt.
from swellrt.
My bad... I read it too fast!
Well, regarding the screenshot showing the error in the browser's console, I am not sure that both are related, "Illegal State Exception" and "ERROR[WaveWebSocketClient]".
To check this properly, I fixed the first exception in the develop/ branch.
About the second error, it seems a race condition. I paste below all the methods that can trigger this error. Also, I suggest to enable the following property to get detailed error messages:
__swell_config = {
captureExceptions: true,
};
from swellrt.
from swellrt.
from swellrt.
from swellrt.
from swellrt.
from swellrt.
from swellrt.
from swellrt.
from swellrt.
from swellrt.
from swellrt.
from swellrt.
Related Issues (20)
- Questions about logged in users or participants HOT 2
- Is there a formal mechanism for cleaning up when no active connection (i.e. opening) to a collaborative object? HOT 4
- Unable to run swellrt in docker HOT 1
- Not response from swellrt server in some cases HOT 1
- Restrict swellrt be served for my application only HOT 1
- How to know user of a particular id exists or not? HOT 2
- swellrt version and jetpad version HOT 2
- Editor customisation question HOT 3
- Memory leaking HOT 3
- stopShowDiffs function only available in dev build
- Maximum number of Clients (viewers) for Text editor HOT 5
- why requiring Java JDK 8 & MongoDB 3.2 HOT 2
- id postfix in open
- getObjectNames() to return object id as a single string HOT 2
- Service instable HOT 9
- How to activate annotations from the current caret positions HOT 1
- Server Exception on transformation precondition HOT 1
- Exception when working with large size data
- How to get the revision data of a specific version?
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 swellrt.