Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] My TOTP no longer works? #491

Open
1 task done
Welved opened this issue Feb 9, 2025 · 4 comments
Open
1 task done

[BUG] My TOTP no longer works? #491

Welved opened this issue Feb 9, 2025 · 4 comments

Comments

@Welved
Copy link

Welved commented Feb 9, 2025

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

I login as usual. That works, but... my TOTP does not. I've even tried to update my container and even tired my admin account.

I am very sure that my TOTP has worked and have always worked. What is happening? It worked fine since last night.

Expected Behavior

Log into my user account as usual. Luckily my backup codes somehow still function...

Oh... never mind. Somehow I was able to log into my admin account using one of my user's back up codes...

Steps To Reproduce

  1. Navigate to the subdomain assigned to my nextcloud
  2. Login
  3. input my TOTP.
  4. Get met with "Error while validating your second factor".

Environment

- OS: Ubuntu (ARM, RaspberryPi5)
- How docker service was installed:

sudo curl -sSL https://get.docker.com | sh
sudo usermod -aG docker pi

CPU architecture

arm64

Docker creation

https://hub.docker.com/r/linuxserver/nextcloud

Container logs

[migrations] 02-default-location: skipped
[migrations] done
usermod: no changes
───────────────────────────────────────
      ██╗     ███████╗██╗ ██████╗
      ██║     ██╔════╝██║██╔═══██╗
      ██║     ███████╗██║██║   ██║
      ██║     ╚════██║██║██║   ██║
      ███████╗███████║██║╚██████╔╝
      ╚══════╝╚══════╝╚═╝ ╚═════╝
   Brought to you by linuxserver.io
───────────────────────────────────────
To support LSIO projects visit:
https://www.linuxserver.io/donate/
───────────────────────────────────────
GID/UID
───────────────────────────────────────
User UID:    1000
User GID:    1000
───────────────────────────────────────
Linuxserver.io version: 30.0.3-ls355
Build-date: 2024-12-05T14:04:00+00:00
───────────────────────────────────────
    
using keys found in /config/keys
[custom-init] No custom files found, skipping...
[ls.io-init] done.
[migrations] started
[migrations] 01-nginx-site-confs-default: skipped
[migrations] 02-default-location: skipped
[migrations] done
usermod: no changes
───────────────────────────────────────
      ██╗     ███████╗██╗ ██████╗
      ██║     ██╔════╝██║██╔═══██╗
      ██║     ███████╗██║██║   ██║
      ██║     ╚════██║██║██║   ██║
      ███████╗███████║██║╚██████╔╝
      ╚══════╝╚══════╝╚═╝ ╚═════╝
   Brought to you by linuxserver.io
───────────────────────────────────────
To support LSIO projects visit:
https://www.linuxserver.io/donate/
───────────────────────────────────────
GID/UID
───────────────────────────────────────
User UID:    1000
User GID:    1000
───────────────────────────────────────
Linuxserver.io version: 30.0.3-ls355
Build-date: 2024-12-05T14:04:00+00:00
───────────────────────────────────────
    
using keys found in /config/keys
[custom-init] No custom files found, skipping...
[ls.io-init] done.
[migrations] started
[migrations] 01-nginx-site-confs-default: skipped
[migrations] 02-default-location: skipped
[migrations] done
usermod: no changes
───────────────────────────────────────
      ██╗     ███████╗██╗ ██████╗
      ██║     ██╔════╝██║██╔═══██╗
      ██║     ███████╗██║██║   ██║
      ██║     ╚════██║██║██║   ██║
      ███████╗███████║██║╚██████╔╝
      ╚══════╝╚══════╝╚═╝ ╚═════╝
   Brought to you by linuxserver.io
───────────────────────────────────────
To support LSIO projects visit:
https://www.linuxserver.io/donate/
───────────────────────────────────────
GID/UID
───────────────────────────────────────
User UID:    1000
User GID:    1000
───────────────────────────────────────
Linuxserver.io version: 30.0.3-ls355
Build-date: 2024-12-05T14:04:00+00:00
───────────────────────────────────────
    
using keys found in /config/keys
[custom-init] No custom files found, skipping...
[ls.io-init] done.
@Welved
Copy link
Author

Welved commented Feb 9, 2025

I did try to update my nextcloud container via portainer. I get met with a

"Failure
Failed recreating container: Pull image error docker.io/linuxserver/nextcloud:latest: Error response from daemon: Get "https://registry-1.docker.io/v2/": net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)"

My image field in the container does indeed have :latest appended to it.

@j0nnymoe
Copy link
Member

j0nnymoe commented Feb 9, 2025

Your host is having issues communicating with docker hub for that error above. Unsure what to suggest with TOTP issues, maybe check your host time is set correctly etc.

@Welved
Copy link
Author

Welved commented Feb 10, 2025

Your host is having issues communicating with docker hub for that error above. Unsure what to suggest with TOTP issues, maybe check your host time is set correctly etc.

Yea, that was the issue. My Pi's time was off for some reason, a whole hour off. Despite it being on the same time zone, had to go manually change the time.

In regards to pulling a image, that still doesn't work. I have everything that has to do with docker whitelisted through my DNS, portainer is unable to pull a image.

@Welved
Copy link
Author

Welved commented Feb 12, 2025

Your host is having issues communicating with docker hub for that error above. Unsure what to suggest with TOTP issues, maybe check your host time is set correctly etc.

I am just glad I didn't go ahead and reset my TOTP... then, I would be fucked.

For some reason my Pi5 randomly changes the time, despite it being on the desired time zone. I have to manually go in and change it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Issues
Development

No branches or pull requests

2 participants