[
https://issues.apache.org/jira/browse/GUACAMOLE-2169?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18037278#comment-18037278
]
Nick Couchman commented on GUACAMOLE-2169:
------------------------------------------
[~stevoni] It looks to me like the gist of what you're trying to do is the same
- you need some way, when troubleshooting connections, to be able to match up
the connection ID that you see in the Tomcat log files with the connection ID
that you see in the guacd log files, which is, more or less, what the reporter
in GUACAMOLE-752 was getting at. While you have one solution - make the
connection IDs identical between the two systems - that user had a different
one - expose the connection IDs from guacd in the Web UI - and Mike had a third
solution - generate a UUID between the two that can be tracked. While three
possible solutions have been proposed, the actual end goal of what's trying to
be achieved - make it easier to be able to track connections between the Tomcat
Guacamole components and the guacd components.
So, even though the approaches to solving it are different, I consider them
duplicate issues.
> Tunnel/Connection IDs Should Match Between Servlet and GuacD
> ------------------------------------------------------------
>
> Key: GUACAMOLE-2169
> URL: https://issues.apache.org/jira/browse/GUACAMOLE-2169
> Project: Guacamole
> Issue Type: Improvement
> Components: guacamole-client, guacd, guacd-docker
> Affects Versions: 1.6.0
> Reporter: Stephen
> Priority: Minor
>
> We're using a custom servlet which creates a SimpleGuacamoleTunnel to
> communicate to a Guac Daemon running in docker.
> During troubleshooting, it appears like the tunnel ID's or connection ID's
> are not the same between the two because they're both creating their own ID
> for logging.
> Troubleshooting would be much faster if the same ID was used from the
> beginning to the end for each connection/tunnel.
> Where the SimpleGuacamoleTunnel is creating it's TunnelId:
> [https://github.com/apache/guacamole-client/blob/82762fade3a17f4d90d780f2a7a1e4c41da6d095/guacamole-common/src/main/java/org/apache/guacamole/net/SimpleGuacamoleTunnel.java#L55]
> Where the Guacamole Server is generating it's connection ID:
> [https://github.com/apache/guacamole-server/blob/main/src/libguac/id.c#L42]
--
This message was sent by Atlassian Jira
(v8.20.10#820010)