corentin-soriano commented on PR #1028:
URL: 
https://github.com/apache/guacamole-client/pull/1028#issuecomment-2410163377

   @necouchman I found another issue related to the case sensitive with the 
quick connect extension.
   It is still present on your branch:
   ```log
   Oct 14 08:28:46 guacamole.host server[3886265]: 08:28:46.647 
[http-nio-8080-exec-4] DEBUG o.a.g.event.EventLoggingListener - User "corentin" 
(authenticated by "openid") successfully accessed/retrieved connection "0" 
within "quickconnect" (currently named "ssh://127.0.0.1/")
   Oct 14 08:28:46 guacamole.host server[3886265]: 14-Oct-2024 08:28:46.852 
SEVERE [http-nio-8080-exec-14] 
org.apache.coyote.AbstractProtocol$ConnectionHandler.process Error reading 
request, ignored
   Oct 14 08:28:46 guacamole.host server[3886265]:         
java.lang.NullPointerException
   Oct 14 08:28:46 guacamole.host server[3886265]:                 at 
org.apache.guacamole.auth.jdbc.HistoryTrackingConnection.connect(HistoryTrackingConnection.java:109)
   Oct 14 08:28:46 guacamole.host server[3886265]:                 at 
org.apache.guacamole.net.auth.DelegatingConnection.connect(DelegatingConnection.java:160)
   Oct 14 08:28:46 guacamole.host server[3886265]:                 at 
org.apache.guacamole.net.auth.DelegatingConnection.connect(DelegatingConnection.java:171)
   Oct 14 08:28:46 guacamole.host server[3886265]:                 at 
org.apache.guacamole.net.auth.TokenInjectingConnection.connect(TokenInjectingConnection.java:115)
   Oct 14 08:28:46 guacamole.host server[3886265]:                 at 
org.apache.guacamole.net.auth.DelegatingConnection.connect(DelegatingConnection.java:160)
   Oct 14 08:28:46 guacamole.host server[3886265]:                 at 
org.apache.guacamole.net.auth.DelegatingConnection.connect(DelegatingConnection.java:171)
   Oct 14 08:28:46 guacamole.host server[3886265]:                 at 
org.apache.guacamole.tunnel.TunnelRequestService.createConnectedTunnel(TunnelRequestService.java:216)
   Oct 14 08:28:46 guacamole.host server[3886265]:                 at 
org.apache.guacamole.tunnel.TunnelRequestService.createTunnel(TunnelRequestService.java:352)
   Oct 14 08:28:46 guacamole.host server[3886265]:                 at 
org.apache.guacamole.tunnel.websocket.RestrictedGuacamoleWebSocketTunnelEndpoint.createTunnel(RestrictedGuacamoleWebSocketTunnelEndpoint.java:113)
   Oct 14 08:28:46 guacamole.host server[3886265]:                 at 
org.apache.guacamole.websocket.GuacamoleWebSocketTunnelEndpoint.onOpen(GuacamoleWebSocketTunnelEndpoint.java:200)
   Oct 14 08:28:46 guacamole.host server[3886265]:                 at 
org.apache.tomcat.websocket.server.WsHttpUpgradeHandler.init(WsHttpUpgradeHandler.java:131)
   Oct 14 08:28:46 guacamole.host server[3886265]:                 at 
org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:970)
   Oct 14 08:28:46 guacamole.host server[3886265]:                 at 
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1786)
   Oct 14 08:28:46 guacamole.host server[3886265]:                 at 
org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52)
   Oct 14 08:28:46 guacamole.host server[3886265]:                 at 
org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191)
   Oct 14 08:28:46 guacamole.host server[3886265]:                 at 
org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659)
   Oct 14 08:28:46 guacamole.host server[3886265]:                 at 
org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:63)
   Oct 14 08:28:46 guacamole.host server[3886265]:                 at 
java.base/java.lang.Thread.run(Thread.java:829)
   Oct 14 08:28:46 guacamole.host server[3886265]: 08:28:46.989 
[http-nio-8080-exec-10] WARN  o.a.g.a.mysql.conf.MySQLEnvironment - You have 
enabled case-sensitive usernames; however, MySQL's default collations do not 
support case-sensitive string comparisons. If you really want case-sensitive 
usernames you will need to configure your database appropriately.
   ```
   
   HistoryTrackingConnection.java:109
   ```java
           connectionRecordMapper.insert(connectionRecordModel,
                   environment.getCaseSensitiveUsernames());
   ```
   
   The extension works on an instance without auth-jdbc.
   Can you take a look please?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@guacamole.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to