[ https://issues.apache.org/jira/browse/GUACAMOLE-1862?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17772269#comment-17772269 ]
Mike Jumper commented on GUACAMOLE-1862: ---------------------------------------- guacd is not hanging or waiting for the CLIPRDR channel in this case. That log message indicates only the following: * The RDP server has not responded to the request to connect of the CLIPRDR channel. * Received clipboard data from the client has been dropped and not sent to the RDP server at all, since the CLIPRDR channel is still not connected. Given the context, it sounds like: * Your RDP server is hanging, hence the lack of response to the request to connect CLIPRDR. * With the RDP server hanging, lack of graphical updates gives the appearance that guacd is hanging. * After reloading, the RDP server coincidentally manages to get past whatever was causing it to hang. If your RDP server shows no inbound connection in the case of the apparent hang, that suggests that something on the network is transiently preventing the outbound RDP connection from guacd to your RDP server. There is definitely no state maintained between connections that would cause one attempt to establish a TCP socket and another attempt to _not_ establish a socket. Things would follow the same code path in both connection attempts. > GUACD is waits for CLIPRDR channel > ---------------------------------- > > Key: GUACAMOLE-1862 > URL: https://issues.apache.org/jira/browse/GUACAMOLE-1862 > Project: Guacamole > Issue Type: Bug > Components: guacd > Affects Versions: 1.5.3, 1.5.4 > Environment: OS: Ubuntu 22/04 > GUACD Docker: Ubuntu 22/04 -> same issue on original Docker Image (Alpine > Linux) > Reporter: HUBERION > Priority: Minor > Attachments: Hanging.txt, Successfuly_after_CTRL-R.txt > > > After creating a adhoc Connection via a custom AuthenticationProvider > Extenions sometimes (about 20%) of the cases the GUACD hangs and stays in > this stage with the log "Clipboard data has been received, but cannot be sent > to the RDP server because the CLIPRDR channel is not yet connected." > Refreshing with CTRL-R in the browser solves the issue normally. We think > that the GUACD is not evenen opening a Socket connection to the Remote hosts. > The Issue exists on all 1.5.X Version, most likely also on older. > Tested with newest Firefox/Chrome browser. > Remote Server = Windows 2019. > RDP Parameters: security=nla, ignore-cert=true, server-layout=de-de-qwertz, > hostname, port, connectionUsername, connectionPassword > > > guacd[22219]: DEBUG: Processing instruction: size > guacd[22219]: DEBUG: Processing instruction: audio > guacd[22219]: DEBUG: Processing instruction: video > guacd[22219]: DEBUG: Processing instruction: image > guacd[22219]: DEBUG: Processing instruction: timezone > guacd[22219]: DEBUG: Processing instruction: name > guacd[22219]: DEBUG: Parameter "console" omitted. Using default value of 0. > guacd[22219]: DEBUG: Parameter "console-audio" omitted. Using default > value of 0. > guacd[22219]: DEBUG: Parameter "disable-auth" omitted. Using default value > of 0. > guacd[22219]: INFO: Security mode: NLA > guacd[22219]: DEBUG: User resolution is 2560x1205 at 120 DPI > guacd[22219]: DEBUG: Parameter "dpi" omitted. Using default value of 96. > guacd[22219]: DEBUG: Using resolution of 2048x964 at 96 DPI > guacd[22219]: DEBUG: Parameter "force-lossless" omitted. Using default > value of 0. > guacd[22219]: DEBUG: Parameter "read-only" omitted. Using default value of > 0. > guacd[22219]: DEBUG: Parameter "client-name" omitted. Using default value > of "Guacamole RDP". > guacd[22219]: DEBUG: Parameter "enable-wallpaper" omitted. Using default > value of 0. > guacd[22219]: DEBUG: Parameter "enable-theming" omitted. Using default > value of 0. > guacd[22219]: DEBUG: Parameter "enable-font-smoothing" omitted. Using > default value of 0. > guacd[22219]: DEBUG: Parameter "enable-full-window-drag" omitted. Using > default value of 0. > guacd[22219]: DEBUG: Parameter "enable-desktop-composition" omitted. Using > default value of 0. > guacd[22219]: DEBUG: Parameter "enable-menu-animations" omitted. Using > default value of 0. > guacd[22219]: DEBUG: Parameter "disable-bitmap-caching" omitted. Using > default value of 0. > guacd[22219]: DEBUG: Parameter "disable-offscreen-caching" omitted. Using > default value of 0. > guacd[22219]: DEBUG: Parameter "disable-glyph-caching" omitted. Using > default value of 0. > guacd[22219]: DEBUG: Glyph caching is currently universally disabled, > regardless of the value of the "disable-glyph-caching" parameter, as glyph > caching support is not considered stable by FreeRDP as of the FreeRDP 2.0.0 > release. See: https://issues.apache.org/jira/browse/GUACAMOLE-1191 > guacd[22219]: DEBUG: Parameter "color-depth" omitted. Using default value > of 16. > guacd[22219]: DEBUG: Parameter "disable-audio" omitted. Using default > value of 0. > guacd[22219]: DEBUG: Parameter "enable-printing" omitted. Using default > value of 0. > guacd[22219]: DEBUG: Parameter "printer-name" omitted. Using default value > of "Guacamole Printer". > guacd[22219]: DEBUG: Parameter "enable-drive" omitted. Using default value > of 0. > guacd[22219]: DEBUG: Parameter "drive-name" omitted. Using default value > of "Guacamole Filesystem". > guacd[22219]: DEBUG: Parameter "drive-path" omitted. Using default value > of "". > guacd[22219]: DEBUG: Parameter "create-drive-path" omitted. Using default > value of 0. > guacd[22219]: DEBUG: Parameter "disable-download" omitted. Using default > value of 0. > guacd[22219]: DEBUG: Parameter "disable-upload" omitted. Using default > value of 0. > guacd[22219]: DEBUG: Parameter "timezone" omitted. Using default value of > "Europe/Vienna". > guacd[22219]: DEBUG: Parameter "enable-sftp" omitted. Using default value > of 0. > guacd[22219]: DEBUG: Parameter "sftp-hostname" omitted. Using default > value of "localhost". > guacd[22219]: DEBUG: Parameter "sftp-port" omitted. Using default value of > "22". > guacd[22219]: DEBUG: Parameter "sftp-username" omitted. Using default > value of "ayr_saa_huber". > guacd[22219]: DEBUG: Parameter "sftp-password" omitted. Using default > value of "". > guacd[22219]: DEBUG: Parameter "sftp-passphrase" omitted. Using default > value of "". > guacd[22219]: DEBUG: Parameter "sftp-root-directory" omitted. Using > default value of "/". > guacd[22219]: DEBUG: Parameter "sftp-server-alive-interval" omitted. Using > default value of 0. > guacd[22219]: DEBUG: Parameter "sftp-disable-download" omitted. Using > default value of 0. > guacd[22219]: DEBUG: Parameter "sftp-disable-upload" omitted. Using > default value of 0. > guacd[22219]: DEBUG: Parameter "recording-name" omitted. Using default > value of "recording". > guacd[22219]: DEBUG: Parameter "recording-exclude-output" omitted. Using > default value of 0. > guacd[22219]: DEBUG: Parameter "recording-exclude-mouse" omitted. Using > default value of 0. > guacd[22219]: DEBUG: Parameter "recording-exclude-touch" omitted. Using > default value of 0. > guacd[22219]: DEBUG: Parameter "recording-include-keys" omitted. Using > default value of 0. > guacd[22219]: DEBUG: Parameter "create-recording-path" omitted. Using > default value of 0. > guacd[22219]: INFO: Resize method: none > guacd[22219]: DEBUG: Parameter "enable-touch" omitted. Using default value > of 0. > guacd[22219]: DEBUG: Parameter "enable-audio-input" omitted. Using default > value of 0. > guacd[22219]: DEBUG: Parameter "gateway-port" omitted. Using default value > of 443. > guacd[22219]: DEBUG: Parameter "disable-copy" omitted. Using default value > of 0. > guacd[22219]: DEBUG: Parameter "disable-paste" omitted. Using default > value of 0. > guacd[22219]: INFO: No clipboard line-ending normalization specified. > Defaulting to preserving the format of all line endings. > guacd[22219]: DEBUG: Parameter "wol-send-packet" omitted. Using default > value of 0. > guacd[22219]: INFO: User "@1adce5aa-ce6f-4747-b133-ef0cee7e34fe" joined > connection "$b795e554-c029-40e2-910b-7bb612d464cc" (1 users now present) > guacd[22219]: DEBUG: Client is using protocol version "VERSION_1_5_0" > guacd[22219]: INFO: Loading keymap "base" > guacd[22219]: INFO: Loading keymap "de-de-qwertz" > guacd[22219]: DEBUG: Support for CLIPRDR (clipboard redirection) > registered. Awaiting channel connection. > guacd[22219]: DEBUG: Support for static channel "rdpdr" loaded. > guacd[22219]: DEBUG: Support for static channel "rdpsnd" loaded. > guacd[22219]: DEBUG: Local framebuffer format PIXEL_FORMAT_BGRX32 > guacd[22219]: DEBUG: Remote framebuffer format PIXEL_FORMAT_RGB16 > guacd[22219]: DEBUG: Clipboard data has been received, but cannot be sent > to the RDP server because the CLIPRDR channel is not yet connected. > guacd[22219]: DEBUG: Clipboard data has been received, but cannot be sent > to the RDP server because the CLIPRDR channel is not yet connected. > guacd[22219]: DEBUG: Clipboard data has been received, but cannot be sent > to the RDP server because the CLIPRDR channel is not yet connected. > guacd[22219]: DEBUG: Clipboard data has been received, but cannot be sent > to the RDP server because the CLIPRDR channel is not yet connected. > guacd[22219]: DEBUG: Clipboard data has been received, but cannot be sent > to the RDP server because the CLIPRDR channel is not yet connected. > guacd[22219]: DEBUG: Clipboard data has been received, but cannot be sent > to the RDP server because the CLIPRDR channel is not yet connected. > guacd[22219]: DEBUG: Clipboard data has been received, but cannot be sent > to the RDP server because the CLIPRDR channel is not yet connected. > guacd[22219]: DEBUG: Clipboard data has been received, but cannot be sent > to the RDP server because the CLIPRDR channel is not yet connected. > guacd[22219]: DEBUG: Clipboard data has been received, but cannot be sent > to the RDP server because the CLIPRDR channel is not yet connected. -- This message was sent by Atlassian Jira (v8.20.10#820010)