this is log with debug enabled: *1) if I access tomcat directly http://server:8080/guacamole/#/ this is WORKING everytime* 15:27:28.125 [localhost-startStop-1] DEBUG o.a.g.e.LanguageResourceService - Merged strings with existing language: "en" 15:27:28.125 [localhost-startStop-1] INFO o.a.g.extension.ExtensionModule - Extension "MySQL Authentication" loaded. 15:27:28.126 [localhost-startStop-1] DEBUG o.a.g.extension.ExtensionModule - [2] Binding AuthenticationProvider "org.apache.guacamole.auth.file.FileAuthenticationProvider". 15:27:28.127 [localhost-startStop-1] INFO o.a.g.environment.LocalEnvironment - GUACAMOLE_HOME is "/etc/guacamole". 15:27:28.259 [localhost-startStop-1] INFO o.a.g.t.w.WebSocketTunnelModule - Loading JSR-356 WebSocket support... 15:27:28.277 [localhost-startStop-1] DEBUG o.a.guacamole.tunnel.TunnelModule - WebSocket module loaded: org.apache.guacamole.tunnel.websocket.WebSocketTunnelModule 17-Apr-2019 15:27:28.675 INFO [localhost-startStop-1] com.sun.jersey.guice.spi.container.GuiceComponentProviderFactory.register Registering org.apache.guacamole.rest.RESTExceptionMapper as a provider class 17-Apr-2019 15:27:28.678 INFO [localhost-startStop-1] com.sun.jersey.guice.spi.container.GuiceComponentProviderFactory.register Registering org.apache.guacamole.rest.extension.ExtensionRESTService as a root resource class 17-Apr-2019 15:27:28.679 INFO [localhost-startStop-1] com.sun.jersey.guice.spi.container.GuiceComponentProviderFactory.register Registering org.apache.guacamole.rest.language.LanguageRESTService as a root resource class 17-Apr-2019 15:27:28.679 INFO [localhost-startStop-1] com.sun.jersey.guice.spi.container.GuiceComponentProviderFactory.register Registering org.apache.guacamole.rest.patch.PatchRESTService as a root resource class 17-Apr-2019 15:27:28.679 INFO [localhost-startStop-1] com.sun.jersey.guice.spi.container.GuiceComponentProviderFactory.register Registering org.apache.guacamole.rest.auth.TokenRESTService as a root resource class 17-Apr-2019 15:27:28.680 INFO [localhost-startStop-1] com.sun.jersey.guice.spi.container.GuiceComponentProviderFactory.register Registering org.apache.guacamole.rest.session.SessionRESTService as a root resource class 17-Apr-2019 15:27:28.680 INFO [localhost-startStop-1] com.sun.jersey.guice.spi.container.GuiceComponentProviderFactory.register Registering org.codehaus.jackson.jaxrs.JacksonJsonProvider as a provider class 17-Apr-2019 15:27:28.684 INFO [localhost-startStop-1] com.sun.jersey.server.impl.application.WebApplicationImpl._initiate Initiating Jersey application, version 'Jersey: 1.17.1 02/28/2013 12:47 PM' 17-Apr-2019 15:27:28.786 INFO [localhost-startStop-1] com.sun.jersey.guice.spi.container.GuiceComponentProviderFactory.getComponentProvider Binding org.apache.guacamole.rest.RESTExceptionMapper to GuiceManagedComponentProvider with the scope "Singleton" 17-Apr-2019 15:27:28.789 INFO [localhost-startStop-1] com.sun.jersey.guice.spi.container.GuiceComponentProviderFactory.getComponentProvider Binding org.codehaus.jackson.jaxrs.JacksonJsonProvider to GuiceManagedComponentProvider with thescope "Singleton" 17-Apr-2019 15:27:29.421 INFO [localhost-startStop-1] com.sun.jersey.guice.spi.container.GuiceComponentProviderFactory.getComponentProvider Binding org.apache.guacamole.rest.extension.ExtensionRESTService to GuiceManagedComponentProvider with the scope "PerRequest" 17-Apr-2019 15:27:29.427 INFO [localhost-startStop-1] com.sun.jersey.guice.spi.container.GuiceComponentProviderFactory.getComponentProvider Binding org.apache.guacamole.rest.language.LanguageRESTService to GuiceManagedComponentProvider with the scope "PerRequest" 17-Apr-2019 15:27:29.428 INFO [localhost-startStop-1] com.sun.jersey.guice.spi.container.GuiceComponentProviderFactory.getComponentProvider Binding org.apache.guacamole.rest.patch.PatchRESTService to GuiceManagedComponentProvider with the scope "PerRequest" 17-Apr-2019 15:27:29.432 INFO [localhost-startStop-1] com.sun.jersey.guice.spi.container.GuiceComponentProviderFactory.getComponentProvider Binding org.apache.guacamole.rest.auth.TokenRESTService to GuiceManagedComponentProvider with the scope "PerRequest" 17-Apr-2019 15:27:29.434 INFO [localhost-startStop-1] com.sun.jersey.guice.spi.container.GuiceComponentProviderFactory.getComponentProvider Binding org.apache.guacamole.rest.session.SessionRESTService to GuiceManagedComponentProvider with the scope "PerRequest" 17-Apr-2019 15:27:29.454 INFO [localhost-startStop-1] org.webjars.servlet.WebjarsServlet.init WebjarsServlet initialization completed 17-Apr-2019 15:27:29.463 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployWAR Deployment of web application archive [/var/lib/tomcat8/webapps/guacamole.war] has finished in [4,613] ms 17-Apr-2019 15:27:29.465 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [/var/lib/tomcat8/webapps/ROOT] 17-Apr-2019 15:27:29.927 INFO [localhost-startStop-1] org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time. 17-Apr-2019 15:27:29.929 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [/var/lib/tomcat8/webapps/ROOT] has finished in [464] ms 17-Apr-2019 15:27:29.940 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-8080"] 17-Apr-2019 15:27:29.964 INFO [main] org.apache.catalina.startup.Catalina.start Server startup in 6887 ms Loading class `com.mysql.jdbc.Driver'. This is deprecated. The new driver class is `com.mysql.cj.jdbc.Driver'. The driver is automatically registered via the SPI and manual loading of the driver class is generally unnecessary. 15:27:55.265 [http-nio-8080-exec-7] DEBUG o.a.g.a.f.FileAuthenticationProvider - User mapping file "/etc/guacamole/user-mapping.xml" does not exist and will not be read. 15:27:55.267 [http-nio-8080-exec-7] DEBUG o.a.g.r.auth.AuthenticationService - Anonymous authentication attempt from 192.168.102.111 failed. 15:28:26.508 [pool-1-thread-1] DEBUG o.a.g.rest.auth.HashTokenSessionMap - Checking for expired sessions... 15:28:26.508 [pool-1-thread-1] DEBUG o.a.g.rest.auth.HashTokenSessionMap - Session check completed in 0 ms. 15:28:33.245 [http-nio-8080-exec-5] DEBUG o.a.g.auth.mysql.MySQLEnvironment - Database recognized as MySQL 8.0.15. WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by org.apache.ibatis.ognl.OgnlRuntime (file:/etc/guacamole/extensions/guacamole-auth-jdbc-mysql-1.0.0.jar) to method java.util.Collections$EmptySet.isEmpty() WARNING: Please consider reporting this to the maintainers of org.apache.ibatis.ognl.OgnlRuntime WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations will be denied in a future release 15:28:33.300 [http-nio-8080-exec-5] INFO o.a.g.r.auth.AuthenticationService - User "guacadmin" successfully authenticated from 192.168.102.111. 15:28:33.336 [http-nio-8080-exec-5] DEBUG o.a.g.a.f.FileAuthenticationProvider - User mapping file "/etc/guacamole/user-mapping.xml" does not exist and will not be read. 15:28:33.348 [http-nio-8080-exec-5] DEBUG o.a.g.r.auth.AuthenticationService - Login was successful for user "guacadmin". 15:28:33.747 [http-nio-8080-exec-4] DEBUG o.a.g.auth.mysql.MySQLEnvironment - Database recognized as MySQL 8.0.15. 15:28:33.756 [http-nio-8080-exec-4] DEBUG o.a.g.auth.mysql.MySQLEnvironment - Database recognized as MySQL 8.0.15. 15:28:33.775 [http-nio-8080-exec-3] DEBUG o.a.g.auth.mysql.MySQLEnvironment - Database recognized as MySQL 8.0.15. 15:28:33.778 [http-nio-8080-exec-4] DEBUG o.a.g.auth.mysql.MySQLEnvironment - Database recognized as MySQL 8.0.15. 15:28:33.803 [http-nio-8080-exec-4] DEBUG o.a.g.auth.mysql.MySQLEnvironment - Database recognized as MySQL 8.0.15. 15:28:33.830 [http-nio-8080-exec-4] DEBUG o.a.g.auth.mysql.MySQLEnvironment - Database recognized as MySQL 8.0.15. 15:28:33.844 [http-nio-8080-exec-4] DEBUG o.a.g.auth.mysql.MySQLEnvironment - Database recognized as MySQL 8.0.15. 15:28:33.892 [http-nio-8080-exec-4] DEBUG o.a.g.auth.mysql.MySQLEnvironment - Database recognized as MySQL 8.0.15. 15:28:34.194 [http-nio-8080-exec-6] DEBUG o.a.g.auth.mysql.MySQLEnvironment - Database recognized as MySQL 8.0.15. 15:28:34.194 [http-nio-8080-exec-1] DEBUG o.a.g.auth.mysql.MySQLEnvironment - Database recognized as MySQL 8.0.15. 15:28:34.212 [http-nio-8080-exec-5] DEBUG o.a.g.auth.mysql.MySQLEnvironment - Database recognized as MySQL 8.0.15. 15:28:34.245 [http-nio-8080-exec-1] DEBUG o.a.g.auth.mysql.MySQLEnvironment - Database recognized as MySQL 8.0.15. 15:28:34.253 [http-nio-8080-exec-5] DEBUG o.a.g.auth.mysql.MySQLEnvironment - Database recognized as MySQL 8.0.15. 15:28:34.253 [http-nio-8080-exec-1] DEBUG o.a.g.auth.mysql.MySQLEnvironment - Database recognized as MySQL 8.0.15. 15:28:34.270 [http-nio-8080-exec-6] DEBUG o.a.g.auth.mysql.MySQLEnvironment - Database recognized as MySQL 8.0.15. 15:28:38.319 [http-nio-8080-exec-4] DEBUG o.a.g.auth.mysql.MySQLEnvironment - Database recognized as MySQL 8.0.15. 15:28:38.650 [http-nio-8080-exec-10] DEBUG o.a.g.auth.mysql.MySQLEnvironment - Database recognized as MySQL 8.0.15. 15:28:38.695 [http-nio-8080-exec-10] DEBUG o.a.g.auth.mysql.MySQLEnvironment - Database recognized as MySQL 8.0.15. 15:28:38.701 [http-nio-8080-exec-10] DEBUG o.a.g.auth.mysql.MySQLEnvironment - Database recognized as MySQL 8.0.15. 15:28:38.722 [http-nio-8080-exec-10] DEBUG o.a.g.net.InetGuacamoleSocket - Connecting to guacd at localhost:4822. 15:28:38.786 [http-nio-8080-exec-10] INFO o.a.g.tunnel.TunnelRequestService - User "guacadmin" connected to connection "61". 15:28:38.790 [http-nio-8080-exec-10] INFO o.a.g.t.h.RestrictedGuacamoleHTTPTunnelServlet - Using HTTP tunnel (not WebSocket). Performance may be sub-optimal. 15:28:38.790 [http-nio-8080-exec-10] DEBUG o.a.g.s.GuacamoleHTTPTunnelServlet - Registered tunnel "28b2e676-d076-46a7-b45e-36db5f38ba34". 15:28:38.981 [http-nio-8080-exec-8] DEBUG o.a.g.auth.mysql.MySQLEnvironment - Database recognized as MySQL 8.0.15. 15:28:38.992 [http-nio-8080-exec-8] DEBUG o.a.g.auth.mysql.MySQLEnvironment - Database recognized as MySQL 8.0.15. 15:28:39.004 [http-nio-8080-exec-8] DEBUG o.a.g.auth.mysql.MySQLEnvironment - Database recognized as MySQL 8.0.15. 15:28:39.024 [http-nio-8080-exec-8] DEBUG o.a.g.auth.mysql.MySQLEnvironment - Database recognized as MySQL 8.0.15. 15:28:39.063 [http-nio-8080-exec-8] DEBUG o.a.g.auth.mysql.MySQLEnvironment - Database recognized as MySQL 8.0.15. 15:29:13.029 [http-nio-8080-exec-2] DEBUG o.a.g.s.GuacamoleHTTPTunnelServlet - Deregistered tunnel "28b2e676-d076-46a7-b45e-36db5f38ba34". 15:29:13.032 [http-nio-8080-exec-2] INFO o.a.g.tunnel.TunnelRequestService - User "guacadmin" disconnected from connection "61". Duration: 34242 milliseconds 15:29:13.032 [http-nio-8080-exec-2] DEBUG o.a.g.net.InetGuacamoleSocket - Closing socket to guacd. 15:29:13.051 [http-nio-8080-exec-9] DEBUG o.a.g.s.GuacamoleHTTPTunnelServlet - Deregistered tunnel "28b2e676-d076-46a7-b45e-36db5f38ba34". 15:29:13.051 [http-nio-8080-exec-9] INFO o.a.g.tunnel.TunnelRequestService - User "guacadmin" disconnected from connection "61". Duration: 34261 milliseconds 15:29:13.051 [http-nio-8080-exec-9] DEBUG o.a.g.net.InetGuacamoleSocket - Closing socket to guacd. 15:29:21.031 [http-nio-8080-exec-6] DEBUG o.a.g.auth.mysql.MySQLEnvironment - Database recognized as MySQL 8.0.15. 15:29:21.068 [http-nio-8080-exec-6] DEBUG o.a.g.auth.mysql.MySQLEnvironment - Database recognized as MySQL 8.0.15. 15:29:21.075 [http-nio-8080-exec-6] DEBUG o.a.g.auth.mysql.MySQLEnvironment - Database recognized as MySQL 8.0.15. 15:29:21.087 [http-nio-8080-exec-6] DEBUG o.a.g.net.InetGuacamoleSocket - Connecting to guacd at localhost:4822. 15:29:21.144 [http-nio-8080-exec-6] INFO o.a.g.tunnel.TunnelRequestService - User "guacadmin" connected to connection "61". 15:29:21.144 [http-nio-8080-exec-6] INFO o.a.g.t.h.RestrictedGuacamoleHTTPTunnelServlet - Using HTTP tunnel (not WebSocket). Performance may be sub-optimal. 15:29:21.144 [http-nio-8080-exec-6] DEBUG o.a.g.s.GuacamoleHTTPTunnelServlet - Registered tunnel "e31f1760-e54d-4910-9a35-a29e09f04f0b". 15:29:21.182 [http-nio-8080-exec-8] DEBUG o.a.g.auth.mysql.MySQLEnvironment - Database recognized as MySQL 8.0.15. 15:29:21.190 [http-nio-8080-exec-8] DEBUG o.a.g.auth.mysql.MySQLEnvironment - Database recognized as MySQL 8.0.15. 15:29:21.198 [http-nio-8080-exec-8] DEBUG o.a.g.auth.mysql.MySQLEnvironment - Database recognized as MySQL 8.0.15. 15:29:21.206 [http-nio-8080-exec-8] DEBUG o.a.g.auth.mysql.MySQLEnvironment - Database recognized as MySQL 8.0.15. 15:29:21.240 [http-nio-8080-exec-8] DEBUG o.a.g.auth.mysql.MySQLEnvironment - Database recognized as MySQL 8.0.15. 15:29:26.508 [pool-1-thread-1] DEBUG o.a.g.rest.auth.HashTokenSessionMap - Checking for expired sessions... 15:29:26.508 [pool-1-thread-1] DEBUG o.a.g.rest.auth.HashTokenSessionMap - Session check completed in 0 ms. 15:29:33.923 [http-nio-8080-exec-9] DEBUG o.a.g.auth.mysql.MySQLEnvironment - Database recognized as MySQL 8.0.15. 15:29:33.932 [http-nio-8080-exec-9] DEBUG o.a.g.auth.mysql.MySQLEnvironment - Database recognized as MySQL 8.0.15. 15:29:33.939 [http-nio-8080-exec-9] DEBUG o.a.g.auth.mysql.MySQLEnvironment - Database recognized as MySQL 8.0.15. 15:29:33.946 [http-nio-8080-exec-9] DEBUG o.a.g.auth.mysql.MySQLEnvironment - Database recognized as MySQL 8.0.15. 15:29:39.071 [http-nio-8080-exec-2] DEBUG o.a.g.auth.mysql.MySQLEnvironment - Database recognized as MySQL 8.0.15. 15:29:39.078 [http-nio-8080-exec-2] DEBUG o.a.g.auth.mysql.MySQLEnvironment - Database recognized as MySQL 8.0.15. 15:29:39.083 [http-nio-8080-exec-2] DEBUG o.a.g.auth.mysql.MySQLEnvironment - Database recognized as MySQL 8.0.15. 15:29:39.090 [http-nio-8080-exec-2] DEBUG o.a.g.auth.mysql.MySQLEnvironment - Database recognized as MySQL 8.0.15. 15:29:52.547 [http-nio-8080-exec-9] DEBUG o.a.g.s.GuacamoleHTTPTunnelServlet - Deregistered tunnel "e31f1760-e54d-4910-9a35-a29e09f04f0b". 15:29:52.547 [http-nio-8080-exec-9] INFO o.a.g.tunnel.TunnelRequestService - User "guacadmin" disconnected from connection "61". Duration: 31403 milliseconds 15:29:52.547 [http-nio-8080-exec-9] DEBUG o.a.g.net.InetGuacamoleSocket - Closing socket to guacd.
*2) if I access it using apache2 proxy url https://krtek-ng.vfu.local/guacamole/#/ - this never works* 15:38:34.475 [http-nio-8080-exec-8] DEBUG o.a.g.r.auth.AuthenticationService - Login was successful for user "guacadmin". 15:38:34.703 [http-nio-8080-exec-1] DEBUG o.a.g.auth.mysql.MySQLEnvironment - Database recognized as MySQL 8.0.15. 15:38:34.712 [http-nio-8080-exec-1] DEBUG o.a.g.auth.mysql.MySQLEnvironment - Database recognized as MySQL 8.0.15. 15:38:34.740 [http-nio-8080-exec-1] DEBUG o.a.g.auth.mysql.MySQLEnvironment - Database recognized as MySQL 8.0.15. 15:38:34.761 [http-nio-8080-exec-1] DEBUG o.a.g.auth.mysql.MySQLEnvironment - Database recognized as MySQL 8.0.15. 15:38:34.808 [http-nio-8080-exec-1] DEBUG o.a.g.auth.mysql.MySQLEnvironment - Database recognized as MySQL 8.0.15. 15:38:34.842 [http-nio-8080-exec-1] DEBUG o.a.g.auth.mysql.MySQLEnvironment - Database recognized as MySQL 8.0.15. 15:38:34.874 [http-nio-8080-exec-7] DEBUG o.a.g.auth.mysql.MySQLEnvironment - Database recognized as MySQL 8.0.15. 15:38:34.899 [http-nio-8080-exec-1] DEBUG o.a.g.auth.mysql.MySQLEnvironment - Database recognized as MySQL 8.0.15. 15:38:35.121 [http-nio-8080-exec-6] DEBUG o.a.g.auth.mysql.MySQLEnvironment - Database recognized as MySQL 8.0.15. 15:38:35.122 [http-nio-8080-exec-2] DEBUG o.a.g.auth.mysql.MySQLEnvironment - Database recognized as MySQL 8.0.15. 15:38:35.144 [http-nio-8080-exec-2] DEBUG o.a.g.auth.mysql.MySQLEnvironment - Database recognized as MySQL 8.0.15. 15:38:35.146 [http-nio-8080-exec-6] DEBUG o.a.g.auth.mysql.MySQLEnvironment - Database recognized as MySQL 8.0.15. 15:38:35.151 [http-nio-8080-exec-2] DEBUG o.a.g.auth.mysql.MySQLEnvironment - Database recognized as MySQL 8.0.15. 15:38:35.183 [http-nio-8080-exec-10] DEBUG o.a.g.auth.mysql.MySQLEnvironment - Database recognized as MySQL 8.0.15. 15:38:35.193 [http-nio-8080-exec-10] DEBUG o.a.g.auth.mysql.MySQLEnvironment - Database recognized as MySQL 8.0.15. 15:38:47.729 [http-nio-8080-exec-2] DEBUG o.a.g.auth.mysql.MySQLEnvironment - Database recognized as MySQL 8.0.15. 15:38:48.143 [http-nio-8080-exec-1] DEBUG o.a.g.auth.mysql.MySQLEnvironment - Database recognized as MySQL 8.0.15. 15:38:48.180 [http-nio-8080-exec-1] DEBUG o.a.g.auth.mysql.MySQLEnvironment - Database recognized as MySQL 8.0.15. 15:38:48.189 [http-nio-8080-exec-1] DEBUG o.a.g.auth.mysql.MySQLEnvironment - Database recognized as MySQL 8.0.15. 15:38:48.218 [http-nio-8080-exec-1] DEBUG o.a.g.net.InetGuacamoleSocket - Connecting to guacd at localhost:4822. 15:38:48.286 [http-nio-8080-exec-1] INFO o.a.g.tunnel.TunnelRequestService - User "guacadmin" connected to connection "61". 15:38:48.290 [http-nio-8080-exec-1] INFO o.a.g.t.h.RestrictedGuacamoleHTTPTunnelServlet - Using HTTP tunnel (not WebSocket). Performance may be sub-optimal. 15:38:48.291 [http-nio-8080-exec-1] DEBUG o.a.g.s.GuacamoleHTTPTunnelServlet - Registered tunnel "3243a84b-1c76-446c-8d4a-42a0fb8703aa". 15:38:48.402 [http-nio-8080-exec-8] DEBUG o.a.g.auth.mysql.MySQLEnvironment - Database recognized as MySQL 8.0.15. 15:38:48.414 [http-nio-8080-exec-8] DEBUG o.a.g.auth.mysql.MySQLEnvironment - Database recognized as MySQL 8.0.15. 15:38:48.426 [http-nio-8080-exec-8] DEBUG o.a.g.auth.mysql.MySQLEnvironment - Database recognized as MySQL 8.0.15. 15:38:48.440 [http-nio-8080-exec-8] DEBUG o.a.g.auth.mysql.MySQLEnvironment - Database recognized as MySQL 8.0.15. 15:38:48.496 [http-nio-8080-exec-8] DEBUG o.a.g.auth.mysql.MySQLEnvironment - Database recognized as MySQL 8.0.15. *and browser shows: Error - An error has occurred and this action cannot be completed. If the problem persists, please notify your system administrator or check your system logs.* -- Sent from: http://apache-guacamole-general-user-mailing-list.2363388.n4.nabble.com/
