failed to falidate DUO credentials #1963

Closed
opened 2025-10-09 17:39:10 +03:00 by OVERLORD · 9 comments
Owner

Originally created by @Trigun on GitHub.

Hi, when trying to config the duo 2fa it keeps saying: failed to falidate duo credentials.
I did a complete new install.

Originally created by @Trigun on GitHub. Hi, when trying to config the duo 2fa it keeps saying: failed to falidate duo credentials. I did a complete new install.
Author
Owner

@Trigun commented on GitHub:

yes, I setup:
The integration key
The Secret key
API -hostname

also, I had it working before but for some reason(maybe due to an update) I keep having the same error.

Thx for your help!

@Trigun commented on GitHub: yes, I setup: The integration key The Secret key API -hostname also, I had it working before but for some reason(maybe due to an update) I keep having the same error. Thx for your help!
Author
Owner

@MartB commented on GitHub:

Did you set up the duo api credentials inside the configuration?

=> DUO_IKEY etc.

@MartB commented on GitHub: Did you set up the duo api credentials inside the configuration? => DUO_IKEY etc.
Author
Owner

@Firestorrrm commented on GitHub:

Encountering the same error after a fresh install...

bitwarden_1  | [2019-10-22 19:37:08][bitwarden_rs::error][ERROR] Failed to validate Duo credentials.
bitwarden_1  | [CAUSE] Error(
bitwarden_1  |     Io(
bitwarden_1  |         Custom {
bitwarden_1  |             kind: TimedOut,
bitwarden_1  |             error: "timed out",
bitwarden_1  |         },
bitwarden_1  |     ),
bitwarden_1  |     "https://api-xxxxxx.duosecurity.com/auth/v2/check",
bitwarden_1  | )

Using the raspberry pi image.

@Firestorrrm commented on GitHub: Encountering the same error after a fresh install... ``` bitwarden_1 | [2019-10-22 19:37:08][bitwarden_rs::error][ERROR] Failed to validate Duo credentials. bitwarden_1 | [CAUSE] Error( bitwarden_1 | Io( bitwarden_1 | Custom { bitwarden_1 | kind: TimedOut, bitwarden_1 | error: "timed out", bitwarden_1 | }, bitwarden_1 | ), bitwarden_1 | "https://api-xxxxxx.duosecurity.com/auth/v2/check", bitwarden_1 | ) ``` Using the raspberry pi image.
Author
Owner

@shauder commented on GitHub:

Duo is working fine for me. Do you have it setup through the admin page or did you set it up at the user level?

I have mine just configured for my user since I am using my own personal duo and others can use theirs.

EDIT: I was on 1.9.1-8be2ed62 and I upgraded to 1.11.0-5ac66b05 and Duo is still working for me.

@shauder commented on GitHub: Duo is working fine for me. Do you have it setup through the admin page or did you set it up at the user level? I have mine just configured for my user since I am using my own personal duo and others can use theirs. EDIT: I was on 1.9.1-8be2ed62 and I upgraded to 1.11.0-5ac66b05 and Duo is still working for me.
Author
Owner

@Trigun commented on GitHub:

Apperantly the authenticator app also doesn't work.

hopefully it will be fixed soon as 2FA is crucial for a tool like this.

thnx!

@Trigun commented on GitHub: Apperantly the authenticator app also doesn't work. hopefully it will be fixed soon as 2FA is crucial for a tool like this. thnx!
Author
Owner

@shauder commented on GitHub:

This is a common problem with any 2FA solutions.

@shauder commented on GitHub: This is a common problem with any 2FA solutions.
Author
Owner

@Trigun commented on GitHub:

issue is solved! to solve it check if the time is in sync with(for example) with your logfile output.
If not, just do a hwclock tot sytem sync and it will work once you try to setup the 2fa

@Trigun commented on GitHub: issue is solved! to solve it check if the time is in sync with(for example) with your logfile output. If not, just do a hwclock tot sytem sync and it will work once you try to setup the 2fa
Author
Owner

@Trigun commented on GitHub:

This is a common problem with any 2FA solutions.

I know, but for some reason I never checked the time assuming once its set correclty is should always work. glad its fixed now :)

@Trigun commented on GitHub: > This is a common problem with any 2FA solutions. I know, but for some reason I never checked the time assuming once its set correclty is should always work. glad its fixed now :)
Author
Owner

@Trigun commented on GitHub:

Duo is working fine for me. Do you have it setup through the admin page or did you set it up at the user level?

I have mine just configured for my user since I am using my own personal duo and others can use theirs.

EDIT: I was on 1.9.1-8be2ed62 and I upgraded to 1.11.0-5ac66b05 and Duo is still working for me.

With an upgrade it should work but with a new install it doesn't work. not sure why as I've tried older versions as well. not sure where it goes wrong.

@Trigun commented on GitHub: > Duo is working fine for me. Do you have it setup through the admin page or did you set it up at the user level? > > I have mine just configured for my user since I am using my own personal duo and others can use theirs. > > EDIT: I was on 1.9.1-8be2ed62 and I upgraded to 1.11.0-5ac66b05 and Duo is still working for me. With an upgrade it should work but with a new install it doesn't work. not sure why as I've tried older versions as well. not sure where it goes wrong.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/vaultwarden#1963