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

Rodrigo Gonçalves commented on GUACAMOLE-370:
---------------------------------------------

Hi Nick,

I'm using the regular broker from the Remote Desktop Services. I've made two 
tests, while running guacd in trace log level.

*First, I've tried connection to one of the servers (A) in the pool.* I've 
previously connected to another server (B) in the same pool, so (A) should 
redirect to (B) automatically as my session is there. But instead the 
connection is dropped with the following log:

{{root@terminal:~# guacd -L trace -f
guacd[10046]: INFO:     Guacamole proxy daemon (guacd) version 
0.9.13-incubating started
guacd[10046]: DEBUG:    Successfully bound socket to host 127.0.0.1, port 4822
guacd[10046]: INFO:     Listening on host 127.0.0.1, port 4822
......

guacd[10051]: TRACE:    User confirmation of frame 70022377ms received at 
70022408ms (processing_lag=30ms)
guacd[10051]: TRACE:    Server completed frame 70022439ms.
guacd[10051]: TRACE:    User confirmation of frame 70022408ms received at 
70022439ms (processing_lag=30ms)
connected to *A*:3389
guacd[10051]: TRACE:    User confirmation of frame 70022439ms received at 
70022476ms (processing_lag=36ms)
guacd[10051]: ERROR:    Error handling RDP file descriptors
guacd[10051]: INFO:     User "@44ba0c7d-aa0c-4813-9a35-22c6e4645ddf" 
disconnected (0 users remain)
guacd[10051]: INFO:     Last user of connection 
"$4df41208-e727-4246-b096-47d5247e0f72" disconnected
guacd[10046]: INFO:     Connection "$4df41208-e727-4246-b096-47d5247e0f72" 
removed.
}}

*Second I've tried connecting to the broker (C)*. This is the resulting log:



{{root@terminal:~# guacd -L trace -f
guacd[10250]: INFO:     Guacamole proxy daemon (guacd) version 
0.9.13-incubating started
guacd[10250]: DEBUG:    Successfully bound socket to host 127.0.0.1, port 4822
guacd[10250]: INFO:     Listening on host 127.0.0.1, port 4822

guacd[10335]: INFO:     Creating new client for protocol "rdp"
guacd[10335]: INFO:     Connection ID is "$63db8f13-ed89-4c4d-9d6a-57364c7cf638"
guacd[10738]: DEBUG:    Parameter "console" omitted. Using default value of 0.
guacd[10738]: DEBUG:    Parameter "console-audio" omitted. Using default value 
of 0.
guacd[10738]: DEBUG:    Parameter "disable-auth" omitted. Using default value 
of 0.
guacd[10738]: INFO:     No security mode specified. Defaulting to RDP.
guacd[10738]: DEBUG:    User resolution is 1920x950 at 96 DPI
guacd[10738]: DEBUG:    Parameter "dpi" omitted. Using default value of 96.
guacd[10738]: DEBUG:    Using resolution of 1920x950 at 96 DPI
guacd[10738]: DEBUG:    Parameter "read-only" omitted. Using default value of 0.
guacd[10738]: DEBUG:    Parameter "enable-wallpaper" omitted. Using default 
value of 0.
guacd[10738]: DEBUG:    Parameter "enable-theming" omitted. Using default value 
of 0.
guacd[10738]: DEBUG:    Parameter "enable-font-smoothing" omitted. Using 
default value of 0.
guacd[10738]: DEBUG:    Parameter "enable-full-window-drag" omitted. Using 
default value of 0.
guacd[10738]: DEBUG:    Parameter "enable-desktop-composition" omitted. Using 
default value of 0.
guacd[10738]: DEBUG:    Parameter "enable-menu-animations" omitted. Using 
default value of 0.
guacd[10738]: DEBUG:    Parameter "color-depth" omitted. Using default value of 
16.
guacd[10738]: DEBUG:    Parameter "disable-audio" omitted. Using default value 
of 0.
guacd[10738]: DEBUG:    Parameter "enable-drive" omitted. Using default value 
of 0.
guacd[10738]: DEBUG:    Parameter "drive-path" omitted. Using default value of 
"".
guacd[10738]: DEBUG:    Parameter "create-drive-path" omitted. Using default 
value of 0.
guacd[10738]: DEBUG:    Parameter "enable-sftp" omitted. Using default value of 
0.
guacd[10738]: DEBUG:    Parameter "sftp-hostname" omitted. Using default value 
of "dv-broker.ufsc.br".
guacd[10738]: DEBUG:    Parameter "sftp-port" omitted. Using default value of 
"22".
guacd[10738]: DEBUG:    Parameter "sftp-username" omitted. Using default value 
of "".
guacd[10738]: DEBUG:    Parameter "sftp-password" omitted. Using default value 
of "".
guacd[10738]: DEBUG:    Parameter "sftp-passphrase" omitted. Using default 
value of "".
guacd[10738]: DEBUG:    Parameter "recording-name" omitted. Using default value 
of "recording".
guacd[10738]: DEBUG:    Parameter "create-recording-path" omitted. Using 
default value of 0.
guacd[10738]: INFO:     Resize method: none
guacd[10738]: DEBUG:    Parameter "enable-audio-input" omitted. Using default 
value of 0.
guacd[10738]: DEBUG:    Parameter "gateway-port" omitted. Using default value 
of 443.
guacd[10738]: INFO:     User "@896794cc-ced1-428b-933c-0b3fd9cd3dc6" joined 
connection "$63db8f13-ed89-4c4d-9d6a-57364c7cf638" (1 users now present)
guacd[10738]: INFO:     Loading keymap "base"
guacd[10738]: INFO:     Loading keymap "en-us-qwerty"
connected to *C*:3389
recv: Connection reset by peer
Error: protocol security negotiation or connection failure
guacd[10738]: ERROR:    Error connecting to RDP server
guacd[10738]: INFO:     User "@896794cc-ced1-428b-933c-0b3fd9cd3dc6" 
disconnected (0 users remain)
guacd[10738]: INFO:     Last user of connection 
"$63db8f13-ed89-4c4d-9d6a-57364c7cf638" disconnected
guacd[10335]: INFO:     Connection "$63db8f13-ed89-4c4d-9d6a-57364c7cf638" 
removed.}}


Any ideas? I'm capable of connecting to this pool using freerdp with the 
following config file:

{{redirectclipboard:i:1
redirectprinters:i:1
redirectcomports:i:1
redirectsmartcards:i:1
devicestoredirect:s:*
drivestoredirect:s:*
redirectdrives:i:1
session bpp:i:32
prompt for credentials on client:i:1
server port:i:3389
allow font smoothing:i:1
promptcredentialonce:i:1
gatewayusagemethod:i:3
gatewaycredentialssource:i:0
full address:s:*C*
workspace id:s:*C*
use redirection server name:i:1
loadbalanceinfo:s:tsv://MS Terminal Services Plugin.1.Secretarias
use multimon:i:0}}

> Missing broker support in RDP
> -----------------------------
>
>                 Key: GUACAMOLE-370
>                 URL: https://issues.apache.org/jira/browse/GUACAMOLE-370
>             Project: Guacamole
>          Issue Type: Bug
>          Components: guacamole
>    Affects Versions: 0.9.13-incubating
>         Environment: Ubuntu Xenial 16.04
>            Reporter: Rodrigo Gonçalves
>
> Connecting to a broker does not work. _load-balancing-info_ informed as well 
> but no success. 
> Only "Error connecting to RDP server" in guacd logs.
> When trying to connect to one of the serves in the collection, it will work 
> if it is the server running the user session. 
> If a connection is tried to a secondary server, and this tries to redirect to 
> the correct one, the connection is lost in guacd.
> Config used:
> <config name="Desktop Virtual" protocol="rdp">
>         <param name="hostname" value="broker-address" />
>         <param name="port" value="3389" />
>         <param name="enable-printing" value="true" />
>         <param name="ignore-cert" value="true" />
>          <param name="load-balancing-info" value="tsv://MS Terminal Services 
> Plugin.1.Secretarias" />
> </config>



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to