I fixed it, it seems I left the jdbc jar file inside the extension directory. Once Guacamole container is fully setup after applying the schemas, it no longer needs this file in the extension folder.
Before I had these 2 files in the extension folder when it is started: guacamole-auth-totp.jar guacamole-auth-jdbc-postgresql-1.6.0.jar so it loaded it again and caused TOTP to reject all incoming entered tokens from Google Authenticator. Removing the jdbc postgresql jar file from the extension folder fixed it. I find it strange that in version 1.5.5 I left this jar file in there and it worked just fine. Thanks for your help On 2025/05/07 20:32:54 Raymond Yip wrote: > Seems synced, podman containers should sync the time from the host and TOTP > from Guacamole 1.5.5 Docker Hub seems to work on the same machine. > > Container Time: > guacamole@b543cf2492d3:/opt/guacamole$ date +"%Y-%m-%d %H:%M:%S" > 2025-05-07 19:55:34 > Host Time: > [rocky@ip-<redacted> guacamole]$ date +"%Y-%m-%d %H:%M:%S" > 2025-05-07 19:55:38 > > > On 2025/05/07 19:23:54 Michael Jumper wrote: > > On 5/7/25 12:21 PM, Michael Jumper wrote: > > > On 5/7/25 8:56 AM, Raymond Yip wrote: > > >> Test System: > > >> I am using the Guacamole Docker container for 1.6.0 RC on Docker Hub. > > >> Brand new Postgres database. > > >> Also using the guacamole-auth-jdbc-postgresql-1.6.0.jar plugin with > > >> both schema's applied, specifically 001-create-schema.sql and 002- > > >> create- admin-user.sql. > > >> Using TOTP from this link: https://dist.apache.org/repos/dist/dev/ > > >> guacamole/1.6.0-RC1/binary/guacamole-auth-totp-1.6.0.tar.gz <https:// > > >> dist.apache.org/repos/dist/dev/guacamole/1.6.0-RC1/binary/guacamole- > > >> auth-totp-1.6.0.tar.gz> > > >> > > >> Reproducible: > > >> I had tried to login with guacadmin/guacadmin and it asks to enroll in > > >> TOTP with QR code. I scanned the QR code with Google Authenticator. > > >> I logged out and logged back in. This time giving the resulting 6 > > >> digit code I got back from Google Authenticator. > > >> It says "Verification failed. Please try again." After giving the > > >> correct code. > > >> > > >> Expected Behavior: > > >> Log the user in. It seems to work fine with version 1.5.5 docker hub > > >> release. > > >> > > > > > > What environment variables are you setting for TOTP? > > > > > > > Also, are you sure your system clock is synced? > > > > - Mike > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: user-unsubscr...@guacamole.apache.org > > For additional commands, e-mail: user-h...@guacamole.apache.org > > > > >