RE: Implement HA on Guacamole Server

2017-07-23 Thread James Fraser
Hi Thiago I have a "HA" setup currently running within Azure We found to many timeout issues with using a PAAS solution for MYSQL so instead are running a simpler solution at the moment. We have two servers, one is the Master and one is the slave. We have a load balancer (traffic manager for se

Re: guacd 0.9.12-incubating is using 100% cpu

2017-07-23 Thread Mike Jumper
That's not actually a bug - that backslash-escaped character is the true clipboard contents as sent by the VNC server. If you try copying exactly "\u0107", or just a backslash, you'll find that such strings are not escaped with yet more backslashes. Attempting to decode such strings internally wou

Re: guacd 0.9.12-incubating is using 100% cpu

2017-07-23 Thread danielos
BTW another bug / missing feature - some characters are not decoded in browser clipboard, eg: \u0107 should be decoded to ć - Daniel W dniu 23.07.2017 o 19:35, Mike Jumper [via Apache Guacamole (incubating) - Users] pisze: > On Jul 23, 2017 10:52, "danielos" <[hidden email] > > wrote: > >

Re: guacd 0.9.12-incubating is using 100% cpu

2017-07-23 Thread Mike Jumper
On Jul 23, 2017 10:52, "danielos" wrote: 1. instance 0.9.12 (outside docker, not hanging/spinning) is using user-mapping.xml without any VNC clipboard encoding specified. 2. instance 0.9.13-RC1 (inside docker, hanging/spinning) is using postgresql configuration with VNC encoding set to "UTF-8" I

Re: guacd 0.9.12-incubating is using 100% cpu

2017-07-23 Thread danielos
1. instance 0.9.12 (outside docker, not hanging/spinning) is using user-mapping.xml without any VNC clipboard encoding specified. 2. instance 0.9.13-RC1 (inside docker, hanging/spinning) is using postgresql configuration with VNC encoding set to "UTF-8" I'll try to disable "UTF-8" override. But

Re: guacd 0.9.12-incubating is using 100% cpu

2017-07-23 Thread Mike Jumper
On Sun, Jul 23, 2017 at 9:52 AM, danielos wrote: > 1. Here are multiple thread stacktraces > > 2. I noticed that mouse "double click" event is randomly trigger spinning > a) That "double click" in "planner" app is used to "rename task", but I > noticed that is also copies name of the task to clip

Re: guacd 0.9.12-incubating is using 100% cpu

2017-07-23 Thread danielos
I did interesting experiment. I runned 2 guacamole clients at the same time on the same vnc server (mirror view in 2 Firefoxes). 1st guacamole client - 0.9.13-RC1 (on docker) 2nd guacamole client - 0.9.12 (outside docker) And acting on 2nd client (outside docker) I was able to hang 1st client (

Re: guacd 0.9.12-incubating is using 100% cpu

2017-07-23 Thread danielos
1. Here are multiple thread stacktraces 2. I noticed that mouse "double click" event is randomly trigger spinning a) That "double click" in "planner" app is used to "rename task", but I noticed that is also copies name of the task to clipboard, which in turn is transmitted to guacamole client vi

Re: Guacamole throws 404 when trying guac.connect();

2017-07-23 Thread Mike Jumper
On Sat, Jul 22, 2017 at 2:04 PM, messido wrote: > ... as soon as I write > 'guac.connect()' I get a failed post request to > 'http://localhost:8080/guacamole-client/ng/tunnel' with error code 404 NOT > FOUND > What is the correct URL to the tunnel servlet of your web application?

Re: guacd 0.9.12-incubating is using 100% cpu

2017-07-23 Thread Mike Jumper
On Sat, Jul 22, 2017 at 3:28 AM, danielos wrote: > I managed to install gdb in guacd container: > > - > > [root@480dcc5d723f /]# top > top - 10:44:32 up 104 days, 23:28, 0 users, load average: 1.66, 1.95, 1.65 > Tasks: 4 total, 1 running, 3 sleeping, 0 stopped

Re: guacd 0.9.12-incubating is using 100% cpu

2017-07-23 Thread Mike Jumper
On Sun, Jul 23, 2017 at 4:17 AM, danielos wrote: > Unfortunatelly problem still exists in 0.9.13-incubating-RC1 with docker > > Is it possible tu build guacd docker image on debian-jessie instead of > centos? just for testing. > You'd have to modify the Dockerfile, but yes, you can do this. - Mi

Re: guacd 0.9.12-incubating is using 100% cpu

2017-07-23 Thread danielos
Unfortunatelly problem still exists in 0.9.13-incubating-RC1 with docker Is it possible tu build guacd docker image on debian-jessie instead of centos? just for testing. pozdrawiam Daniel Nguyen W dniu 23.07.2017 o 01:13, Daniel Nguyen pisze: > > I was not able to reproduce it quickly on 0.9.13