I am running guacamole in a Linux box. By an IDE with a debugger: ¿A reference to configure Guacamole into Windows?
-Gabriel De: Gabriel Huerta Araujo Enviado el: sábado, 1 de abril de 2023 11:45 a. m. Para: user@guacamole.apache.org Asunto: RE: Change to the way of authenticating provided by Guacamole Ok, Michael: But how can I enable debug-level logging? I did below changes to logging properties (I uncommented all FINE commented) and I do not see any error which guides me to a solution. # cat /etc/tomcat9/logging.properties # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. # The ASF licenses this file to You under the Apache License, Version 2.0 # (the "License"); you may not use this file except in compliance with # the License. You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. handlers = 1catalina.org.apache.juli.AsyncFileHandler, 2localhost.org.apache.juli.AsyncFileHandler, java.util.logging.ConsoleHandler .handlers = 1catalina.org.apache.juli.AsyncFileHandler, java.util.logging.ConsoleHandler ############################################################ # Handler specific properties. # Describes specific configuration info for Handlers. ############################################################ 1catalina.org.apache.juli.AsyncFileHandler.level = FINE 1catalina.org.apache.juli.AsyncFileHandler.directory = ${catalina.base}/logs 1catalina.org.apache.juli.AsyncFileHandler.prefix = catalina. 1catalina.org.apache.juli.AsyncFileHandler.maxDays = 90 2localhost.org.apache.juli.AsyncFileHandler.level = FINE 2localhost.org.apache.juli.AsyncFileHandler.directory = ${catalina.base}/logs 2localhost.org.apache.juli.AsyncFileHandler.prefix = localhost. 2localhost.org.apache.juli.AsyncFileHandler.maxDays = 90 java.util.logging.ConsoleHandler.level = FINE java.util.logging.ConsoleHandler.formatter = org.apache.juli.SystemdFormatter ############################################################ # Facility specific properties. # Provides extra control for each logger. ############################################################ #org.apache.catalina.core.ContainerBase.[Catalina].[localhost].level = INFO org.apache.catalina.core.ContainerBase.[Catalina].[localhost].level = FINE org.apache.catalina.core.ContainerBase.[Catalina].[localhost].handlers = 2localhost.org.apache.juli.AsyncFileHandler # For example, set the org.apache.catalina.util.LifecycleBase logger to log # each component that extends LifecycleBase changing state: org.apache.catalina.util.LifecycleBase.level = FINE # To see debug messages in TldLocationsCache, uncomment the following line: org.apache.jasper.compiler.TldLocationsCache.level = FINE # To see debug messages for HTTP/2 handling, uncomment the following line: org.apache.coyote.http2.level = FINE # To see debug messages for WebSocket handling, uncomment the following line: org.apache.tomcat.websocket.level = FINE -Gabriel De: Michael Jumper <mjum...@apache.org<mailto:mjum...@apache.org>> Enviado el: sábado, 1 de abril de 2023 09:58 a. m. Para: user@guacamole.apache.org<mailto:user@guacamole.apache.org> Asunto: Re: Change to the way of authenticating provided by Guacamole On Sat, Apr 1, 2023, 12:21 AM Gabriel Huerta Araujo <huert...@globalhitss.com.invalid<mailto:huert...@globalhitss.com.invalid>> wrote: I did what log told me to do: “set "skip-if-unavailable: tacacs" within your guacamole.properties” And now when I enter to give my credentials, it works. But how can I do to eliminate “The "tacacs" authentication provider has been skipped due to an internal error. If this is unexpected or you are the developer of this authentication provider, you may wish to enable debug-level logging: null” message? [2023-04-01 01:13:56] [info] 01:13:56.357 [http-nio-8080-exec-4] WARN o.a.g.e.AuthenticationProviderFacade - The "tacacs" authentication provider has been skipped due to an internal error. If this is unexpected or you are the developer of this authentication provider, you may wish to enable debug-level logging: null You should not set "skip-if-unavailable" unless you know the cause of an underlying error and are expecting it to occasionally occur. Setting that property tells Guacamole to ignore the error in the extension; it does not solve the error. You should instead enable debug-level logging and investigate what is failing inside your extension. Debug-level logging will give you additional error details and stack traces that may help you figure out how to fix your extension. Using an IDE with a debugger may help, as well. - Mike