You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@guacamole.apache.org by "Matt Visnovsky (Jira)" <ji...@apache.org> on 2021/09/29 23:12:00 UTC
[jira] [Comment Edited] (GUACAMOLE-1430) RDP audio redirection
causing connection to drop/close (Windows 10, Guacamole 1.3.0)
[ https://issues.apache.org/jira/browse/GUACAMOLE-1430?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17422433#comment-17422433 ]
Matt Visnovsky edited comment on GUACAMOLE-1430 at 9/29/21, 11:11 PM:
----------------------------------------------------------------------
Alright, so I went ahead and built the client and server from source. I verified I have the latest FreeRDP binaries with the following command:
{quote}root@Guacamole:~# xfreerdp /version
This is FreeRDP version 2.2.0 (n/a)
{quote}
Now I'm seeing the following error (no SSL/TLS) when attempting to connect (using same guacamole.properties file from when I was running stable binaries):
{quote}Sep 29 22:41:20 Guacamole tomcat9[1851]: 22:41:20.591 [http-nio-8080-exec-4] ERROR o.a.g.w.GuacamoleWebSocketTunnelEndpoint - Creation of WebSocket tunnel to guacd failed: java.net.ConnectException: Connection refused (Connection refused)
Sep 29 22:41:20 Guacamole tomcat9[1851]: 22:41:20.787 [http-nio-8080-exec-6] DEBUG o.a.g.net.InetGuacamoleSocket - Connecting to guacd at localhost:4822.
{quote}
With SSL/TLS, same error:
{quote}Sep 29 22:41:44 Guacamole tomcat9[1851]: 22:41:44.181 [http-nio-8080-exec-9] DEBUG o.a.guacamole.net.SSLGuacamoleSocket - Connecting to guacd at localhost:4822 via SSL/TLS.
Sep 29 22:41:44 Guacamole tomcat9[1851]: 22:41:44.194 [http-nio-8080-exec-9] ERROR o.a.g.w.GuacamoleWebSocketTunnelEndpoint - Creation of WebSocket tunnel to guacd failed: java.net.ConnectException: Connection refused (Connection refused)
{quote}
Client and server are on the same machine, so I'm not sure why guacd is refusing the connection from tomcat. Just to verify guacd is indeed listening on 4822, here's the output of sudo lsof -i -P -n | grep LISTEN | grep guacd:
{quote}guacd 11554 root 4u IPv6 434813834 0t0 TCP [::1]:4822 (LISTEN)
{quote}
Any advice?
was (Author: visnovsky):
Alright, so I went ahead and built the client and server from source. I verified I have the latest FreeRDP binaries with the following command:
root@Guacamole:~# xfreerdp /version
This is FreeRDP version 2.2.0 (n/a)
Now I'm seeing the following error (no SSL/TLS) when attempting to connect (using same guacamole.properties file from when I was running stable binaries):
Sep 29 22:41:20 Guacamole tomcat9[1851]: 22:41:20.591 [http-nio-8080-exec-4] ERROR o.a.g.w.GuacamoleWebSocketTunnelEndpoint - Creation of WebSocket tunnel to guacd failed: java.net.ConnectException: Connection refused (Connection refused)
Sep 29 22:41:20 Guacamole tomcat9[1851]: 22:41:20.787 [http-nio-8080-exec-6] DEBUG o.a.g.net.InetGuacamoleSocket - Connecting to guacd at localhost:4822.
With SSL/TLS, same error:
Sep 29 22:41:44 Guacamole tomcat9[1851]: 22:41:44.181 [http-nio-8080-exec-9] DEBUG o.a.guacamole.net.SSLGuacamoleSocket - Connecting to guacd at localhost:4822 via SSL/TLS.
Sep 29 22:41:44 Guacamole tomcat9[1851]: 22:41:44.194 [http-nio-8080-exec-9] ERROR o.a.g.w.GuacamoleWebSocketTunnelEndpoint - Creation of WebSocket tunnel to guacd failed: java.net.ConnectException: Connection refused (Connection refused)
Client and server are on the same machine, so I'm not sure why guacd is refusing the connection from tomcat. Any advice?
> RDP audio redirection causing connection to drop/close (Windows 10, Guacamole 1.3.0)
> ------------------------------------------------------------------------------------
>
> Key: GUACAMOLE-1430
> URL: https://issues.apache.org/jira/browse/GUACAMOLE-1430
> Project: Guacamole
> Issue Type: Bug
> Components: RDP
> Affects Versions: 1.3.0
> Environment: Ubuntu 18.0.4 Server running guacamole-server (guacd Apache Tomcat) v1.3.0 connecting to Windows 10 with latest updates
> Reporter: Matt Visnovsky
> Priority: Minor
> Labels: RDP, audio, bug
>
> Remote microphone access with Windows RDP protocol is causing Guacamole connections to drop/close as soon as the redirected-audio (microphone) connection is accessed. I'm able to recreate the bug in all major browsers: Firefox, Chrome, Edge and IE11. The bug does NOT occur with native Windows 10 RDP client, so I've been able to narrow down the bug to Guacamole.
> /var/log/tomcat9 logs yield no useful information.
> Here's the last few lines of "cat /var/log/syslog | grep -i "guacd" at the time of the connection drop:
> Sep 29 17:13:22 Guacamole guacd[20070]: RDPDR user logged on
> Sep 29 17:13:48 Guacamole guacd[20070]: Accepted format: 16-bit PCM with 2 channels at 44100 Hz
> Sep 29 17:13:48 Guacamole guacd[20070]: Accepted format: 16-bit PCM with 2 channels at 44100 Hz
> Sep 29 17:13:58 Guacamole guacd[20070]: Connection closed.
> Sep 29 17:13:58 Guacamole guacd[20070]: Internal RDP client disconnected
> Sep 29 17:13:58 Guacamole guacd[20070]: User "@4e06ba07-07f8-4bb4-bc90-b6680a938c2e" disconnected (0 users remain)
> Sep 29 17:13:58 Guacamole guacd[20070]: Last user of connection "$4ab6dbad-4c1c-4650-a903-68fbab3306ba" disconnected
> Sep 29 17:13:58 Guacamole guacd[225]: Connection "$4ab6dbad-4c1c-4650-a903-68fbab3306ba" removed.
> Sep 29 17:13:58 Guacamole tomcat9[183]: 17:13:58.135 [http-nio-8080-exec-5] DEBUG o.a.g.net.InetGuacamoleSocket - Closing socket to guacd.
> Sep 29 17:14:01 Guacamole tomcat9[183]: 17:14:01.637 [http-nio-8080-exec-10] DEBUG o.a.g.net.InetGuacamoleSocket - Connecting to guacd at localhost:4822.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)