bitnami / vms

Bitnami VMs
https://bitnami.com
Other
207 stars 44 forks source link

[Guacamole] : TOTP extension not authenticate #979

Closed zerocool51 closed 1 year ago

zerocool51 commented 1 year ago

Platform

Virtual Machine

bndiagnostic ID know more about bndiagnostic ID

0401a4c8-028d-db04-2d99-34e434f18511

bndiagnostic output

? Connectivity: Found possible issues
✓ Resources: No issues found
✓ Processes: No issues found
✓ Apache: No issues found

bndiagnostic was not useful. Could you please tell us why?

TOTP extension not authenticate after first login

Describe your issue as much as you can

Hi to all, after installation the TOTP extension cannot authenticate, because the code product from APP result invalid. See the log 07:27:24.450 [main] INFO o.a.g.environment.LocalEnvironment - GUACAMOLE_HOME is "/opt/bitnami/guacamole". 07:27:24.826 [main] INFO o.a.g.GuacamoleServletContextListener - Read configuration parameters from "/opt/bitnami/guacamole/guacamole.properties". 07:27:24.833 [main] INFO o.a.g.rest.auth.HashTokenSessionMap - Sessions will expire after 60 minutes of inactivity. 07:27:26.607 [main] INFO o.a.g.extension.ExtensionModule - Multiple extensions are installed and will be loaded in order of decreasing priority: 07:27:26.607 [main] INFO o.a.g.extension.ExtensionModule - - [mysql] "MySQL Authentication" (/opt/bitnami/guacamole/extensions/guacamole-auth-jdbc-mysql-1.5.2.jar) 07:27:26.607 [main] INFO o.a.g.extension.ExtensionModule - - [postgresql] "PostgreSQL Authentication" (/opt/bitnami/guacamole/extensions/guacamole-auth-jdbc-postgresql-1.5.2.jar) 07:27:26.607 [main] INFO o.a.g.extension.ExtensionModule - - [sqlserver] "SQLServer Authentication" (/opt/bitnami/guacamole/extensions/guacamole-auth-jdbc-sqlserver-1.5.2.jar) 07:27:26.607 [main] INFO o.a.g.extension.ExtensionModule - - [totp] "TOTP TFA Authentication Backend" (/opt/bitnami/guacamole/extensions/guacamole-auth-totp-1.5.2.jar) 07:27:26.607 [main] INFO o.a.g.extension.ExtensionModule - To change this order, set the "extension-priority" property or rename the extension files. The default priority of extensions is dictated by the sort order of their filenames. 07:27:26.642 [main] ERROR o.a.g.extension.ProviderFactory - authentication provider extension failed to start: Property mysql-database is required. 07:27:26.644 [main] ERROR o.a.g.extension.ProviderFactory - authentication provider extension failed to start: Property mysql-database is required. 07:27:26.859 [main] INFO o.a.g.extension.ExtensionModule - Extension "MySQL Authentication" (mysql) loaded. 07:27:30.370 [main] INFO o.a.g.extension.ExtensionModule - Extension "PostgreSQL Authentication" (postgresql) loaded. 07:27:30.413 [main] ERROR o.a.g.extension.ProviderFactory - authentication provider extension failed to start: Property sqlserver-database is required. 07:27:30.414 [main] ERROR o.a.g.extension.ProviderFactory - authentication provider extension failed to start: Property sqlserver-database is required. 07:27:30.491 [main] INFO o.a.g.extension.ExtensionModule - Extension "SQLServer Authentication" (sqlserver) loaded. 07:27:31.120 [main] INFO o.a.g.extension.ExtensionModule - Extension "TOTP TFA Authentication Backend" (totp) loaded. 07:27:31.613 [main] INFO o.a.g.t.w.WebSocketTunnelModule - Loading JSR-356 WebSocket support... 07:27:34.298 [main] WARN o.g.jersey.server.wadl.WadlFeature - JAXBContext implementation could not be found. WADL feature is disabled. 11-Jun-2023 07:27:35.404 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [/bitnami/tomcat/webapps/guacamole] has finished in [18,672] ms 11-Jun-2023 07:27:35.410 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-8080"] 11-Jun-2023 07:27:35.429 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["ajp-nio-127.0.0.1-8009"] 11-Jun-2023 07:27:35.436 INFO [main] org.apache.catalina.startup.Catalina.start Server startup in [18866] milliseconds 07:29:27.329 [http-nio-8080-exec-7] WARN o.a.g.e.AuthenticationProviderFacade - Authentication attempt ignored because the relevant authentication provider could not be loaded. Please check for errors earlier in the logs. 07:29:27.329 [http-nio-8080-exec-7] WARN o.a.g.e.AuthenticationProviderFacade - Authentication attempt ignored because the relevant authentication provider could not be loaded. Please check for errors earlier in the logs. 07:29:27.746 [http-nio-8080-exec-7] WARN o.a.g.e.AuthenticationProviderFacade - Authentication attempt ignored because the relevant authentication provider could not be loaded. Please check for errors earlier in the logs. 07:29:27.747 [http-nio-8080-exec-7] WARN o.a.g.e.AuthenticationProviderFacade - Authentication attempt ignored because the relevant authentication provider could not be loaded. Please check for errors earlier in the logs. 07:29:35.170 [http-nio-8080-exec-3] WARN o.a.g.e.AuthenticationProviderFacade - Authentication attempt ignored because the relevant authentication provider could not be loaded. Please check for errors earlier in the logs. 07:29:35.170 [http-nio-8080-exec-3] WARN o.a.g.e.AuthenticationProviderFacade - Authentication attempt ignored because the relevant authentication provider could not be loaded. Please check for errors earlier in the logs. 07:29:35.370 [http-nio-8080-exec-3] INFO o.a.g.r.auth.AuthenticationService - User "xxxxxxx" successfully authenticated from x.y.z.w. 07:29:35.371 [http-nio-8080-exec-3] WARN o.a.g.e.AuthenticationProviderFacade - User data retrieval attempt ignored because the relevant authentication provider could not be loaded. Please check for errors earlier in the logs. 07:29:35.372 [http-nio-8080-exec-3] WARN o.a.g.e.AuthenticationProviderFacade - User data retrieval attempt ignored because the relevant authentication provider could not be loaded. Please check for errors earlier in the logs. 07:29:54.009 [http-nio-8080-exec-6] WARN o.a.g.e.AuthenticationProviderFacade - Authentication attempt ignored because the relevant authentication provider could not be loaded. Please check for errors earlier in the logs. 07:29:54.009 [http-nio-8080-exec-6] WARN o.a.g.e.AuthenticationProviderFacade - Authentication attempt ignored because the relevant authentication provider could not be loaded. Please check for errors earlier in the logs. 07:29:54.033 [http-nio-8080-exec-6] INFO o.a.g.r.auth.AuthenticationService - User "xxxxxxx" successfully authenticated from x.y.z.w. 07:29:54.034 [http-nio-8080-exec-6] WARN o.a.g.e.AuthenticationProviderFacade - User data retrieval attempt ignored because the relevant authentication provider could not be loaded. Please check for errors earlier in the logs. 07:29:54.034 [http-nio-8080-exec-6] WARN o.a.g.e.AuthenticationProviderFacade - User data retrieval attempt ignored because the relevant authentication provider could not be loaded. Please check for errors earlier in the logs. 07:30:12.537 [http-nio-8080-exec-10] WARN o.a.g.e.AuthenticationProviderFacade - Authentication attempt ignored because the relevant authentication provider could not be loaded. Please check for errors earlier in the logs. 07:30:12.538 [http-nio-8080-exec-10] WARN o.a.g.e.AuthenticationProviderFacade - Authentication attempt ignored because the relevant authentication provider could not be loaded. Please check for errors earlier in the logs. 07:30:12.558 [http-nio-8080-exec-10] INFO o.a.g.r.auth.AuthenticationService - User "xxxxxxx" successfully authenticated from x.y.z.w. 07:30:12.558 [http-nio-8080-exec-10] WARN o.a.g.e.AuthenticationProviderFacade - User data retrieval attempt ignored because the relevant authentication provider could not be loaded. Please check for errors earlier in the logs. 07:30:12.558 [http-nio-8080-exec-10] WARN o.a.g.e.AuthenticationProviderFacade - User data retrieval attempt ignored because the relevant authentication provider could not be loaded. Please check for errors earlier in the logs. 07:30:37.019 [http-nio-8080-exec-8] WARN o.a.g.e.AuthenticationProviderFacade - Authentication attempt ignored because the relevant authentication provider could not be loaded. Please check for errors earlier in the logs. 07:30:37.025 [http-nio-8080-exec-8] WARN o.a.g.e.AuthenticationProviderFacade - Authentication attempt ignored because the relevant authentication provider could not be loaded. Please check for errors earlier in the logs. 07:30:37.054 [http-nio-8080-exec-8] INFO o.a.g.r.auth.AuthenticationService - User "xxxxxxx" successfully authenticated from x.y.z.w. 07:30:37.054 [http-nio-8080-exec-8] WARN o.a.g.e.AuthenticationProviderFacade - User data retrieval attempt ignored because the relevant authentication provider could not be loaded. Please check for errors earlier in the logs. 07:30:37.055 [http-nio-8080-exec-8] WARN o.a.g.e.AuthenticationProviderFacade - User data retrieval attempt ignored because the relevant authentication provider could not be loaded. Please check for errors earlier in the logs.

zerocool51 commented 1 year ago

Problem with parameter of file guacamole.properties.