[ 
https://issues.apache.org/jira/browse/GUACAMOLE-620?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16608555#comment-16608555
 ] 

Michael Jumper commented on GUACAMOLE-620:
------------------------------------------

{quote}
It's a self written servlet, as far as I know it is almost as same as official 
one except authentication part.
{quote}

Regardless of how confidently you feel that it couldn't possibly be your 
changes, available evidence does not support that conclusion. Those changes are 
so far the only difference between a deployment that works and a deployment 
that doesn't.

If you do not see this behavior with the mainline Guacamole webapp, but you do 
see this with your custom webapp, that strongly suggests the issue is in the 
custom component, particularly since the general Guacamole user base is not 
encountering this issue.

Please see:

* http://guacamole.apache.org/faq/#probably-not-a-bug
* http://guacamole.apache.org/faq/#test-against-latest-version

Specifically:

{quote}
Please remember that Guacamole is used by many others without issue, and the 
_more fundamental a problem is, the less likely it’s a bug_. Before assuming 
that you have found a bug, perform basic troubleshooting steps to confirm that 
Guacamole itself is the only factor affecting whether things work correctly:

...

We cannot look into issues which have not actually been reproduced in the 
latest version of our code. If the problem you’re experiencing has only been 
reproduced in an older or modified version of Guacamole, the chance is high 
that the problem has either already been addressed (even if you cannot find a 
bug report which specifically covers the issue) or that the problem is due to 
the difference between your code and upstream (even if you are absolutely 
positive this is impossible).

Before reporting an issue upstream, please confirm that the issue exists within 
the latest version of the upstream code.
{quote}

I'm still interested in seeing the .pcap, but I expect it will show that 
instructions are being mangled before being sent to guacd by the servlet in 
question, with guacd aborting the connection because of the protocol violation. 
If that's the case, then the issue is absolutely truly within your servlet.

> User input thread automatically exit with an instruction parse error
> --------------------------------------------------------------------
>
>                 Key: GUACAMOLE-620
>                 URL: https://issues.apache.org/jira/browse/GUACAMOLE-620
>             Project: Guacamole
>          Issue Type: Bug
>          Components: libguac
>    Affects Versions: 0.9.14
>            Reporter: Changkun Ou
>            Priority: Minor
>
> Remote desktop protocol: RDP
> User experience:
> A user operates a few minutes, then the desktop display froze. A browser 
> refresh can connect to the server desktop again.
> Under the hood: 
> Observed `guacd` log shows the user is disconnected. 
> A warning level log shows that {{guac_user_input_thread}} automatically exit 
> with an instruction parser error:
> {code}
> Guacamole connection failure: Instruction parse error
> {code}
> Here is a happening context captured in a browser, where the server sends 
> {{10.disconnect}} since last {{sync}} instruction:
>  
> {code}
> server: 4.sync,8.24744179;
> client: 4.sync,8.24744179;
> client: 5.mouse,3.667,3.459,1.1;
> client: 5.mouse,3.627,3.470,1.1;
> client: 5.mouse,3.597,3.470,1.1;
> client: 5.mouse,3.493,3.442,1.1;
> server: 4.copy,1.0,3.241,3.368,3.617,3.355,2.14,1.0,1.0,3.377;
> server: 4.copy,1.0,3.241,3.366,3.616,1.2,2.14,1.0,1.0,3.375;
> server: 4.copy,1.0,3.241,3.365,3.615,1.1,2.14,1.0,1.0,3.374;
> server: 4.copy,1.0,3.241,3.364,3.613,1.1,2.14,1.0,1.0,3.373;
> server: 4.copy,3.-25,1.0,1.0,2.64,1.1,2.14,1.0,3.220,3.364;
> server: 4.copy,3.-25,1.0,1.0,2.64,1.1,2.14,1.0,3.284,3.364;
> server: 4.copy,3.-25,1.0,1.0,2.64,1.1,2.14,1.0,3.348,3.364;
> server: 4.copy,3.-25,1.0,1.0,2.64,1.1,2.14,1.0,3.412,3.364;
> server: 4.copy,3.-25,1.0,1.0,2.64,1.1,2.14,1.0,3.476,3.364;
> server: 4.copy,3.-25,1.0,1.0,2.64,1.1,2.14,1.0,3.540,3.364;
> server: 4.copy,3.-25,1.0,1.0,2.64,1.1,2.14,1.0,3.604,3.364;
> server: 4.copy,3.-25,1.0,1.0,2.64,1.1,2.14,1.0,3.668,3.364;
> server: 4.copy,3.-25,1.0,1.0,2.64,1.1,2.14,1.0,3.732,3.364;
> server: 4.copy,4.-113,1.0,1.0,2.58,1.1,2.14,1.0,3.796,3.364;
> server: 4.copy,3.-25,1.0,1.0,2.64,1.1,2.14,1.0,3.218,3.365;
> server: 4.copy,3.-25,1.0,1.0,2.64,1.1,2.14,1.0,3.282,3.365;
> server: 4.copy,3.-25,1.0,1.0,2.64,1.1,2.14,1.0,3.346,3.365;
> server: 4.copy,3.-25,1.0,1.0,2.64,1.1,2.14,1.0,3.410,3.365;
> server: 4.copy,3.-25,1.0,1.0,2.64,1.1,2.14,1.0,3.474,3.365;
> server: 4.copy,3.-25,1.0,1.0,2.64,1.1,2.14,1.0,3.538,3.365;
> server: 4.copy,3.-25,1.0,1.0,2.64,1.1,2.14,1.0,3.602,3.365;
> server: 4.copy,3.-25,1.0,1.0,2.64,1.1,2.14,1.0,3.666,3.365;
> server: 4.copy,3.-25,1.0,1.0,2.64,1.1,2.14,1.0,3.730,3.365;
> server: 4.copy,4.-114,1.0,1.0,2.62,1.1,2.14,1.0,3.794,3.365;
> server: 4.copy,3.-26,1.0,1.0,2.64,1.2,2.14,1.0,3.217,3.366;
> server: 4.copy,3.-26,1.0,1.0,2.64,1.2,2.14,1.0,3.281,3.366;
> server: 4.copy,3.-26,1.0,1.0,2.64,1.2,2.14,1.0,3.345,3.366;
> server: 4.copy,3.-26,1.0,1.0,2.64,1.2,2.14,1.0,3.409,3.366;
> server: 4.copy,3.-26,1.0,1.0,2.64,1.2,2.14,1.0,3.473,3.366;
> server: 4.copy,3.-26,1.0,1.0,2.64,1.2,2.14,1.0,3.537,3.366;
> server: 4.copy,3.-26,1.0,1.0,2.64,1.2,2.14,1.0,3.601,3.366;
> server: 4.copy,3.-26,1.0,1.0,2.64,1.2,2.14,1.0,3.665,3.366;
> server: 4.copy,3.-26,1.0,1.0,2.64,1.2,2.14,1.0,3.729,3.366;
> server: 4.copy,3.-26,1.0,1.0,2.64,1.2,2.14,1.0,3.793,3.366;
> server: 4.copy,4.-594,1.0,1.0,2.64,1.5,2.14,1.0,3.216,3.368;
> server: 4.copy,4.-594,1.0,1.0,2.64,1.5,2.14,1.0,3.280,3.368;
> server: 4.copy,4.-594,1.0,1.0,2.64,1.5,2.14,1.0,3.344,3.368;
> server: 4.copy,4.-594,1.0,1.0,2.64,1.5,2.14,1.0,3.408,3.368;
> server: 4.copy,4.-594,1.0,1.0,2.64,1.5,2.14,1.0,3.472,3.368;
> server: 4.copy,4.-594,1.0,1.0,2.64,1.5,2.14,1.0,3.536,3.368;
> server: 4.copy,4.-594,1.0,1.0,2.64,1.5,2.14,1.0,3.600,3.368;
> server: 4.copy,4.-594,1.0,1.0,2.64,1.5,2.14,1.0,3.664,3.368;
> server: 4.copy,4.-594,1.0,1.0,2.64,1.5,2.14,1.0,3.728,3.368;
> server: 4.copy,4.-594,1.0,1.0,2.64,1.5,2.14,1.0,3.792,3.368;
> server: 3.img,1.3,2.14,1.0,9.image/png,3.856,3.368;
> server: 
> 4.blob,1.3,112.iVBORw0KGgoAAAANSUhEUgAAAAIAAAAFAQMAAABVfa/fAAAAA1BMVEUQIDF/BroyAAAAC0lEQVQImWNggAEAAAoAAWeL7ekAAAAASUVORK5CYII=;
> server: 3.end,1.3;
> server: 4.copy,3.-25,1.0,1.0,2.64,1.1,2.14,1.0,3.613,3.373;
> server: 4.copy,3.-25,1.0,1.0,2.64,1.1,2.14,1.0,3.677,3.373;
> server: 4.copy,3.-25,1.0,1.0,2.64,1.1,2.14,1.0,3.741,3.373;
> server: 4.copy,4.-634,1.0,1.0,2.53,1.1,2.14,1.0,3.805,3.373;
> server: 4.copy,4.-634,1.0,1.0,2.53,1.1,2.14,1.0,3.805,3.373;
> server: 4.copy,3.-25,1.0,1.0,2.64,1.1,2.14,1.0,3.679,3.374;
> server: 4.copy,3.-25,1.0,1.0,2.64,1.1,2.14,1.0,3.743,3.374;
> server: 4.copy,4.-635,1.0,1.0,2.51,1.1,2.14,1.0,3.807,3.374;
> server: 4.copy,3.-26,1.0,1.0,2.64,1.2,2.14,1.0,3.616,3.375;
> server: 4.copy,3.-26,1.0,1.0,2.64,1.2,2.14,1.0,3.680,3.375;
> server: 4.copy,3.-26,1.0,1.0,2.64,1.2,2.14,1.0,3.744,3.375;
> server: 4.copy,4.-639,1.0,1.0,2.50,1.2,2.14,1.0,3.808,3.375;
> server: 4.copy,2.-4,1.0,1.0,2.64,2.63,2.14,1.0,3.617,3.377;
> server: 4.copy,2.-4,1.0,1.0,2.64,2.63,2.14,1.0,3.681,3.377;
> server: 4.copy,2.-4,1.0,1.0,2.64,2.63,2.14,1.0,3.745,3.377;
> server: 4.copy,4.-636,1.0,1.0,2.49,2.63,2.14,1.0,3.809,3.377;
> server: 4.copy,2.-4,1.0,1.0,2.64,2.63,2.14,1.0,3.617,3.440;
> server: 4.copy,2.-4,1.0,1.0,2.64,2.63,2.14,1.0,3.681,3.440;
> server: 4.copy,2.-4,1.0,1.0,2.64,2.63,2.14,1.0,3.745,3.440;
> server: 4.copy,4.-636,1.0,1.0,2.49,2.63,2.14,1.0,3.809,3.440;
> server: 4.copy,2.-4,1.0,1.0,2.64,2.63,2.14,1.0,3.617,3.503;
> server: 4.copy,2.-4,1.0,1.0,2.64,2.63,2.14,1.0,3.681,3.503;
> server: 4.copy,2.-4,1.0,1.0,2.64,2.63,2.14,1.0,3.745,3.503;
> server: 4.copy,4.-636,1.0,1.0,2.49,2.63,2.14,1.0,3.809,3.503;
> server: 4.copy,2.-4,1.0,1.0,2.64,2.63,2.14,1.0,3.617,3.566;
> server: 4.copy,2.-4,1.0,1.0,2.64,2.63,2.14,1.0,3.681,3.566;
> server: 4.copy,2.-4,1.0,1.0,2.64,2.63,2.14,1.0,3.745,3.566;
> server: 4.copy,4.-636,1.0,1.0,2.49,2.63,2.14,1.0,3.809,3.566;
> server: 4.copy,2.-4,1.0,1.0,2.64,2.63,2.14,1.0,3.617,3.629;
> server: 4.copy,2.-4,1.0,1.0,2.64,2.63,2.14,1.0,3.681,3.629;
> server: 4.copy,2.-4,1.0,1.0,2.64,2.63,2.14,1.0,3.745,3.629;
> server: 4.copy,4.-636,1.0,1.0,2.49,2.63,2.14,1.0,3.809,3.629;
> server: 4.copy,4.-822,1.0,1.0,2.64,2.40,2.14,1.0,3.617,3.692;
> server: 4.copy,4.-822,1.0,1.0,2.64,2.40,2.14,1.0,3.681,3.692;
> server: 4.copy,4.-822,1.0,1.0,2.64,2.40,2.14,1.0,3.745,3.692;
> server: 3.img,1.3,2.14,1.0,9.image/png,3.809,3.692;
> server: 
> 4.blob,1.3,116.iVBORw0KGgoAAAANSUhEUgAAADEAAAAoAQMAAABti4AMAAAAA1BMVEUQIDF/BroyAAAADUlEQVQYlWNgGAWUAAABQAABuwBcGQAAAABJRU5ErkJggg==;
> server: 3.end,1.3;
> server: 4.sync,8.24744258;
> server: 7.dispose,5.-1017;
> server: 10.disconnect;
> client: 10.disconnect;
> {code}
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to