Re: RDP - First Connection Issue

2017-03-20 Thread Mehdi Osman
Hi Frederico,

We're already using the IP...

Thanks.

2017-03-20 18:43 GMT+01:00 Frederico Attoni <frederico.att...@webaula.com>:

> Hi Mehdi,
>
> Try to use the ip instead of the vm name. If it works set on the server
> hosts the name / ip listing.
>
>
>
> 2017-03-20 14:30 GMT-03:00 Mehdi Osman <mehdi.os...@acfellows.com>:
>
>> ​Hey Mike,
>>
>> We spotted the below lines in Catalina.out:
>>
>> 09:48:09.272 [http-nio-8080-exec-12] INFO  o.a.g.tunnel.TunnelRequestService 
>> - User "ahmed2" connected to connection "4016".
>> 09:48:24.277 [Thread-2399] ERROR o.a.g.w.GuacamoleWebSocketTunnelEndpoint - 
>> Connection to guacd terminated abnormally: Connection to guacd timed out.
>> 09:48:24.277 [Thread-2399] INFO  o.a.g.tunnel.TunnelRequestService - User 
>> "ahmed2" disconnected from connection "4016". Duration: 15005 milliseconds
>>
>>
>> As soon as we hit the "Reconnect" button, it works right away and we
>> never face that issue again, as long as the VM is up & running. We're
>> therefore thinking of removing the delay we added between the time the VM
>> kick starts and connection action, as it's not predictable.
>>
>> Thanks.
>> ​
>>
>> 2017-03-20 18:24 GMT+01:00 Mike Jumper <mike.jum...@guac-dev.org>:
>>
>>> On Mon, Mar 20, 2017 at 1:57 AM, Mehdi Osman <mehdi.os...@acfellows.com>
>>> wrote:
>>>
>>>> Hi Steve, Kris,
>>>>
>>>> We're relying on Google Compute Engine. VMs are much much quicker to
>>>> launch.
>>>>
>>>> On the logs side, there's nothing suspicious. Below is the excerpt when
>>>> it fails:
>>>>
>>>> Mar 20 08:54:23 guac-gtw-tsq1 guacd[1480]: Creating new client for 
>>>> protocol "rdp"
>>>> Mar 20 08:54:23 guac-gtw-tsq1 guacd[1480]: Connection ID is 
>>>> "$9cdb7c0c-9af4-4d74-9c08-3d336cfa9617"
>>>> Mar 20 08:54:24 guac-gtw-tsq1 guacd[15570]: Security mode: ANY
>>>> Mar 20 08:54:24 guac-gtw-tsq1 guacd[15570]: Parameter "enable-wallpaper" 
>>>> must be either "true" or "false". Using default value.
>>>> Mar 20 08:54:24 guac-gtw-tsq1 guacd[15570]: Resize method: none
>>>> Mar 20 08:54:24 guac-gtw-tsq1 guacd[15570]: User 
>>>> "@56e3b092-c223-4ea4-ad6c-331ae1abc888" joined connection 
>>>> "$9cdb7c0c-9af4-4d74-9c08-3d336cfa9617" (1 users now present)
>>>> Mar 20 08:54:24 guac-gtw-tsq1 guacd[15570]: Loading keymap "base"
>>>> Mar 20 08:54:24 guac-gtw-tsq1 guacd[15570]: Loading keymap "en-us-qwerty"
>>>> Mar 20 08:54:24 guac-gtw-tsq1 guacd[15570]: Failed to load guacdr plugin. 
>>>> Drive redirection and printing will not work. Sound MAY not work.
>>>> Mar 20 08:54:24 guac-gtw-tsq1 guacd[15570]: Failed to load guacsnd 
>>>> alongside guacdr plugin. Sound will not work. Drive redirection and 
>>>> printing MAY not work.
>>>>
>>>>
>>>>
>>> Anything else in the logs when this fails?
>>>
>>> Those warnings at the bottom are not fatal errors; they're simply
>>> warnings that certain functionality is effectively disabled due to
>>> guacamole-server's plugins for FreeRDP not being installed to a location
>>> where FreeRDP could find them. The RDP connection should still otherwise
>>> work fine. If you are ultimately disconnected, there should at least be log
>>> messages noting that the connection has closed, and hopefully messages
>>> prior to that indicating what error occurred (if any).
>>>
>>> - Mike
>>>
>>>
>>
>>
>> --
>>
>>
>> Mehdi Osman
>> Managing Partner, AC Fellows
>> m. +33 6 61 38 47 65 <+33%206%2061%2038%2047%2065>
>> e mehdi.os...@acfellows.com
>> <https://fr.linkedin.com/pub/mehdi-osman/4/617/545>
>>
>
>


-- 


Mehdi Osman
Managing Partner, AC Fellows
m. +33 6 61 38 47 65
e mehdi.os...@acfellows.com
<https://fr.linkedin.com/pub/mehdi-osman/4/617/545>


Re: RDP - First Connection Issue

2017-03-20 Thread Mehdi Osman
​Hey Mike,

We spotted the below lines in Catalina.out:

09:48:09.272 [http-nio-8080-exec-12] INFO
o.a.g.tunnel.TunnelRequestService - User "ahmed2" connected to
connection "4016".
09:48:24.277 [Thread-2399] ERROR
o.a.g.w.GuacamoleWebSocketTunnelEndpoint - Connection to guacd
terminated abnormally: Connection to guacd timed out.
09:48:24.277 [Thread-2399] INFO  o.a.g.tunnel.TunnelRequestService -
User "ahmed2" disconnected from connection "4016". Duration: 15005
milliseconds


As soon as we hit the "Reconnect" button, it works right away and we never
face that issue again, as long as the VM is up & running. We're therefore
thinking of removing the delay we added between the time the VM kick starts
and connection action, as it's not predictable.

Thanks.
​

2017-03-20 18:24 GMT+01:00 Mike Jumper <mike.jum...@guac-dev.org>:

> On Mon, Mar 20, 2017 at 1:57 AM, Mehdi Osman <mehdi.os...@acfellows.com>
> wrote:
>
>> Hi Steve, Kris,
>>
>> We're relying on Google Compute Engine. VMs are much much quicker to
>> launch.
>>
>> On the logs side, there's nothing suspicious. Below is the excerpt when
>> it fails:
>>
>> Mar 20 08:54:23 guac-gtw-tsq1 guacd[1480]: Creating new client for protocol 
>> "rdp"
>> Mar 20 08:54:23 guac-gtw-tsq1 guacd[1480]: Connection ID is 
>> "$9cdb7c0c-9af4-4d74-9c08-3d336cfa9617"
>> Mar 20 08:54:24 guac-gtw-tsq1 guacd[15570]: Security mode: ANY
>> Mar 20 08:54:24 guac-gtw-tsq1 guacd[15570]: Parameter "enable-wallpaper" 
>> must be either "true" or "false". Using default value.
>> Mar 20 08:54:24 guac-gtw-tsq1 guacd[15570]: Resize method: none
>> Mar 20 08:54:24 guac-gtw-tsq1 guacd[15570]: User 
>> "@56e3b092-c223-4ea4-ad6c-331ae1abc888" joined connection 
>> "$9cdb7c0c-9af4-4d74-9c08-3d336cfa9617" (1 users now present)
>> Mar 20 08:54:24 guac-gtw-tsq1 guacd[15570]: Loading keymap "base"
>> Mar 20 08:54:24 guac-gtw-tsq1 guacd[15570]: Loading keymap "en-us-qwerty"
>> Mar 20 08:54:24 guac-gtw-tsq1 guacd[15570]: Failed to load guacdr plugin. 
>> Drive redirection and printing will not work. Sound MAY not work.
>> Mar 20 08:54:24 guac-gtw-tsq1 guacd[15570]: Failed to load guacsnd alongside 
>> guacdr plugin. Sound will not work. Drive redirection and printing MAY not 
>> work.
>>
>>
>>
> Anything else in the logs when this fails?
>
> Those warnings at the bottom are not fatal errors; they're simply warnings
> that certain functionality is effectively disabled due to
> guacamole-server's plugins for FreeRDP not being installed to a location
> where FreeRDP could find them. The RDP connection should still otherwise
> work fine. If you are ultimately disconnected, there should at least be log
> messages noting that the connection has closed, and hopefully messages
> prior to that indicating what error occurred (if any).
>
> - Mike
>
>


-- 


Mehdi Osman
Managing Partner, AC Fellows
m. +33 6 61 38 47 65
e mehdi.os...@acfellows.com
<https://fr.linkedin.com/pub/mehdi-osman/4/617/545>


Re: RDP - First Connection Issue

2017-03-20 Thread Mehdi Osman
Hi Steve, Kris,

We're relying on Google Compute Engine. VMs are much much quicker to launch.

On the logs side, there's nothing suspicious. Below is the excerpt when it
fails:

Mar 20 08:54:23 guac-gtw-tsq1 guacd[1480]: Creating new client for
protocol "rdp"
Mar 20 08:54:23 guac-gtw-tsq1 guacd[1480]: Connection ID is
"$9cdb7c0c-9af4-4d74-9c08-3d336cfa9617"
Mar 20 08:54:24 guac-gtw-tsq1 guacd[15570]: Security mode: ANY
Mar 20 08:54:24 guac-gtw-tsq1 guacd[15570]: Parameter
"enable-wallpaper" must be either "true" or "false". Using default
value.
Mar 20 08:54:24 guac-gtw-tsq1 guacd[15570]: Resize method: none
Mar 20 08:54:24 guac-gtw-tsq1 guacd[15570]: User
"@56e3b092-c223-4ea4-ad6c-331ae1abc888" joined connection
"$9cdb7c0c-9af4-4d74-9c08-3d336cfa9617" (1 users now present)
Mar 20 08:54:24 guac-gtw-tsq1 guacd[15570]: Loading keymap "base"
Mar 20 08:54:24 guac-gtw-tsq1 guacd[15570]: Loading keymap "en-us-qwerty"
Mar 20 08:54:24 guac-gtw-tsq1 guacd[15570]: Failed to load guacdr
plugin. Drive redirection and printing will not work. Sound MAY not
work.
Mar 20 08:54:24 guac-gtw-tsq1 guacd[15570]: Failed to load guacsnd
alongside guacdr plugin. Sound will not work. Drive redirection and
printing MAY not work.

Thanks.

2017-03-16 22:53 GMT+01:00 Steve Karam <oraclealchem...@gmail.com>:

> Mehdi,
>
> Which cloud? It sounds like this could be related to the target systems,
> not to Guacamole. For example, Windows systems may need an extra reboot
> when launched from an AMI in EC2 depending on how they were created. Is it
> possible that the target linux systems are becoming unavailable while they
> go through init? If you try to connect via native RDP to these systems at
> the same point as #3 in your steps, does it get disconnected at any point?
>
> In short, if the server hosting the Guacamole client is always available,
> but the targets are temporarily unavailable post-launch, it seems more
> likely it’s the targets initializing.
>
> Steve Karam
>
> On Mar 16, 2017, at 5:49 PM, Mehdi Osman <mehdi.os...@acfellows.com>
> wrote:
>
> Hi Mike,
>
> Any idea on the issue?
>
> Your help is very much appreciated.
> Thanks for your support and keep up the good work.
>
>
> --
> *From:* Mehdi Osman <mehdi.os...@acfellows.com>
> *Sent:* Wednesday, March 15, 2017 8:08:03 PM
> *To:* user@guacamole.incubator.apache.org
> *Subject:* Re: RDP - First Connection Issue
>
> Oh! Forgot to mention that we're using the 0.9.11 version.
> Cheers.
>
> 2017-03-15 20:07 GMT+01:00 Mehdi Osman <mehdi.os...@acfellows.com>:
>
>> Hi,
>>
>> We're having a strange issue with Guacamole upon first connection only.
>> Our use case is the following:
>> 1) We create a VM in the cloud (Windows or Linux)
>> 2) As soon as the VM is available, we insert a new "Connection" into the
>> MySQL DB
>> 3) Then, we try to connect
>>
>> What happens (in like 3 times out of 5) is that we get the connection
>> issue popup asking us to "Reconnect". As soon as we hit the button, we
>> connect successfully. Then, once done the first time, we never face the
>> issue again.
>>
>> The only workaround we found, is by adding a delay between steps 2) 3)
>> above. The higher the delay (15s) the less chances we face the issue.
>>
>> It's important to note that we use RDP to connect to Ubuntu (with xRDP)
>> or Windows VMs.
>>
>> Any idea?
>>
>> Thanks for your time.
>>
>
>
>
> --
>
>
> Mehdi Osman
> Managing Partner, AC Fellows
> m. +33 6 61 38 47 65 <+33%206%2061%2038%2047%2065>
> e mehdi.os...@acfellows.com
> <https://fr.linkedin.com/pub/mehdi-osman/4/617/545>
>
>
>


-- 


Mehdi Osman
Managing Partner, AC Fellows
m. +33 6 61 38 47 65
e mehdi.os...@acfellows.com
<https://fr.linkedin.com/pub/mehdi-osman/4/617/545>


Re: RDP - First Connection Issue

2017-03-16 Thread Mehdi Osman
Hi Mike,

Any idea on the issue?

Your help is very much appreciated.
Thanks for your support and keep up the good work.



From: Mehdi Osman <mehdi.os...@acfellows.com>
Sent: Wednesday, March 15, 2017 8:08:03 PM
To: user@guacamole.incubator.apache.org
Subject: Re: RDP - First Connection Issue

Oh! Forgot to mention that we're using the 0.9.11 version.
Cheers.

2017-03-15 20:07 GMT+01:00 Mehdi Osman 
<mehdi.os...@acfellows.com<mailto:mehdi.os...@acfellows.com>>:
Hi,

We're having a strange issue with Guacamole upon first connection only. Our use 
case is the following:
1) We create a VM in the cloud (Windows or Linux)
2) As soon as the VM is available, we insert a new "Connection" into the MySQL 
DB
3) Then, we try to connect

What happens (in like 3 times out of 5) is that we get the connection issue 
popup asking us to "Reconnect". As soon as we hit the button, we connect 
successfully. Then, once done the first time, we never face the issue again.

The only workaround we found, is by adding a delay between steps 2) 3) above. 
The higher the delay (15s) the less chances we face the issue.

It's important to note that we use RDP to connect to Ubuntu (with xRDP) or 
Windows VMs.

Any idea?

Thanks for your time.



--



Mehdi Osman
Managing Partner, AC Fellows
m. +33 6 61 38 47 65
e mehdi.os...@acfellows.com<mailto:mehdi.os...@acfellows.com>
[https://newoldstamp.com/editor/images/in.jpg]<https://fr.linkedin.com/pub/mehdi-osman/4/617/545>



Re: RDP - First Connection Issue

2017-03-15 Thread Mehdi Osman
Oh! Forgot to mention that we're using the 0.9.11 version.
Cheers.

2017-03-15 20:07 GMT+01:00 Mehdi Osman <mehdi.os...@acfellows.com>:

> Hi,
>
> We're having a strange issue with Guacamole upon first connection only.
> Our use case is the following:
> 1) We create a VM in the cloud (Windows or Linux)
> 2) As soon as the VM is available, we insert a new "Connection" into the
> MySQL DB
> 3) Then, we try to connect
>
> What happens (in like 3 times out of 5) is that we get the connection
> issue popup asking us to "Reconnect". As soon as we hit the button, we
> connect successfully. Then, once done the first time, we never face the
> issue again.
>
> The only workaround we found, is by adding a delay between steps 2) 3)
> above. The higher the delay (15s) the less chances we face the issue.
>
> It's important to note that we use RDP to connect to Ubuntu (with xRDP) or
> Windows VMs.
>
> Any idea?
>
> Thanks for your time.
>



-- 


Mehdi Osman
Managing Partner, AC Fellows
m. +33 6 61 38 47 65
e mehdi.os...@acfellows.com
<https://fr.linkedin.com/pub/mehdi-osman/4/617/545>


Unable to connect to RDP using no-auth

2016-10-19 Thread Mehdi Osman
Hi all,

I’ve tried this several times, and I followed the manual to the letter, but
I’m still unable to connect to an RDP session with no-auth. All details
below.

*Guacamole version:*

0.9.9

*Extensions (2): *

guacamole-auth-noauth-0.9.9.jar

guacamole-legacy-urls-0.9.9.jar (for debugging so I could use the old URLs)

*no-auth-config.xml:*

  
122.187.127.111 john_doe _6@aAD$-=5TqU any true 

*tomcat (8.5.6) output:*

15:36:35.476 [http-nio-8080-exec-9] INFO
o.g.g.n.b.r.a.AuthenticationService - User
"e38492c1-09e7-4a30-b32c-3254989f1f14" successfully authenticated from
149.62.159.212.
15:36:35.594 [http-nio-8080-exec-1] ERROR
o.g.g.w.GuacamoleWebSocketTunnelEndpoint - Creation of WebSocket
tunnel to guacd failed: Illegal identifier - unknown type.

*guacd output:*

Oct 19 15:40:19 guacamole guacd[13686]: Protocol "rdp" selected
Oct 19 15:40:19 guacamole guacd[13686]: Connection ID is
"$77054a61-309f-49ac-a434-6822b7db4392"
Oct 19 15:40:19 guacamole guacd[13686]: No security mode specified.
Defaulting to RDP.
Oct 19 15:40:19 guacamole guacd[13686]: Loading keymap "base"
Oct 19 15:40:19 guacamole guacd[13686]: Loading keymap "en-us-qwerty"
Oct 19 15:40:19 guacamole guacd[13686]: Failed to load guacdr plugin.
Drive redirection and printing will not work. Sound MAY not work.
Oct 19 15:40:19 guacamole guacd[13686]: Failed to load guacsnd
alongside guacdr plugin. Sound will not work. Drive redirection and
printing MAY not work.
Oct 19 15:40:19 guacamole guacd[13686]: Error connecting to RDP server
Oct 19 15:40:19 guacamole guacd[13686]: Connection did not succeed

FYI, guacamole works properly without no-auth extension. Any help would be
highly appreciated.

Thanks very much for your time.