Well, how to dig into the RDP server? the only error we have in eventlog is event 40: "session has been disconnected. reason code 16". There is no info about this error code. And it looks like a bug in Desktop Window Manager but i dont know what triggers it, because native RDP works fine.
On Mon, Sep 13, 2021 at 7:04 PM Nick Couchman <vn...@apache.org> wrote: > On Mon, Sep 13, 2021 at 11:35 AM rustyhex <terrefac...@gmail.com> wrote: > >> Hello, we have strange problems with guacamole. OS: Win2022 Server. S >> *ometimes* connection works for a small amount of time, maybe minutes, >> but most of the time it disconnects right after a connection attempt. >> >> Servlet error: >> >> org.apache.guacamole.servlet.GuacamoleHTTPTunnelServlet - HTTP tunnel >> request failed: Connection to guacd timed out. >> >> >> Ui packet data: >> >> /api/guacamole/tunnel?read:422ff105-91d8-44f5-8965-1d5414586ae6:7 >> ->4.sync,10.7402431384;5.error,15.Upstream >> error.,3.515;7.dispose,2.-1;7.dispose,1.0;10.disconnect; >> >> >> Guacd error: >> >> guacd[1]: INFO: Connection ID is "$ade12a4e-9114-4f93-9838-8daef86adb22" >> guacd[8394]: INFO: Security mode: Negotiate (ANY) >> guacd[8394]: INFO: Resize method: none >> guacd[8394]: INFO: User "@87278617-fcd2-4989-90af-8b6184b1c320" joined >> connection "$ade12a4e-9114-4f93-9838-8daef86adb22" (1 users now present) >> guacd[8394]: INFO: Loading keymap "base" >> guacd[8394]: INFO: Loading keymap "en-us-qwerty" >> guacd[8394]: INFO: Connected to RDPDR 1.13 as client 0x0014 >> guacd[8394]: INFO: RDP server closed connection: Upstream error. >> guacd[8394]: INFO: Internal RDP client disconnected >> guacd[8394]: INFO: User "@87278617-fcd2-4989-90af-8b6184b1c320" >> disconnected (0 users remain) >> guacd[8394]: INFO: Last user of connection >> "$ade12a4e-9114-4f93-9838-8daef86adb22" disconnected >> >> >> >> > Well, based on the message, here, the RDP server is closing the connection > for some reason or another. You might try disabling Glyph Caching on the > RDP connection in Guacamole and see if that takes care of it - otherwise > you'll need to dig into the RDP server to see why it's shutting down the > connection. Guacamole is simply reacting to the RDP server at this point. > > -Nick > >>