failed to falidate DUO credentials #455

Closed
opened 2026-02-04 20:38:03 +03:00 by OVERLORD · 9 comments
Owner

Originally created by @Trigun on GitHub (Oct 18, 2019).

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 (Oct 18, 2019). Hi, when trying to config the duo 2fa it keeps saying: failed to falidate duo credentials. I did a complete new install.
Author
Owner

@MartB commented on GitHub (Oct 20, 2019):

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

=> DUO_IKEY etc.

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

@Trigun commented on GitHub (Oct 21, 2019):

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 (Oct 21, 2019): 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

@Firestorrrm commented on GitHub (Oct 22, 2019):

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 (Oct 22, 2019): 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

@Trigun commented on GitHub (Oct 23, 2019):

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 (Oct 23, 2019): 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 (Oct 23, 2019):

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 (Oct 23, 2019): 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 (Oct 28, 2019):

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 (Oct 28, 2019): > 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.
Author
Owner

@Trigun commented on GitHub (Nov 7, 2019):

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 (Nov 7, 2019): 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

@shauder commented on GitHub (Nov 7, 2019):

This is a common problem with any 2FA solutions.

@shauder commented on GitHub (Nov 7, 2019): This is a common problem with any 2FA solutions.
Author
Owner

@Trigun commented on GitHub (Nov 8, 2019):

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 (Nov 8, 2019): > 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 :)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/vaultwarden#455