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

[Diskstation] Can't get temperature, Error: Account disabled/ Failed to authenticate 2-step verification code #84

Closed
chris-008 opened this issue Jan 7, 2023 · 1 comment
Labels

Comments

@chris-008
Copy link

chris-008 commented Jan 7, 2023

Describe Your Problem:

All was working fine before enabling 2FA. After enabling 2FA, I got these errors.
I have pasted the correct OTP code as described.
The used account is not disabled, i use it daily to login to my Synology, but admin is disabled due to security reasons.
Could be disabled however due to multiple unsuccesfull login trials.

I run DSM7.1 so am following this tutorial:

Click on "user options" => "personal" => "2FA" => Verification Code (OTP) => Reset devices => "Can't scan it?" and here you get the secret key - copy and paste this to iobroker, go back, scan the code with your mobile and validate it.

However, the line
"copy and paste this to iobroker, go back, scan the code with your mobile and validate it."
is not really clear to me? I notice that the OTP changes every time I retry, so this should be the issue.

Thanks for the help!

Logs:

```
Show the Homebridge logs here, remove any sensitive information.


**Plugin Config:**

"name": "Diskstation",
            "host": "192.168.1.XX",
            "mac": "00:1X:32:eX:e9:XX",
            "port": 5000,
            "username": "login name",
            "password": "Synpassword",
            "protocol": "http",
            "version": "6.2.2",
            "startupTime": 60,
            "shutdownTime": 60,
            "otp": "XXXXXXXXXXXXXXXX",
            "accessory": "synology"

Screenshots:
[1/7/2023, 2:35:29 PM] [Diskstation] Can't get temperature, Error: Account disabled
[1/7/2023, 2:35:39 PM] [Diskstation] Can't get average disk temperature, Error: Account disabled
[1/7/2023, 2:36:00 PM] [Diskstation] Can't get temperature, Error: Account disabled
[1/7/2023, 2:36:09 PM] [Diskstation] Can't get average disk temperature, Error: Account disabled
[1/7/2023, 2:36:30 PM] [Diskstation] Can't get temperature, Error: Account disabled
[1/7/2023, 2:36:39 PM] [Diskstation] Can't get average disk temperature, Error: Account disabled
[1/7/2023, 2:37:00 PM] [Diskstation] Can't get temperature, Error: Account disabled
[1/7/2023, 2:37:09 PM] [Diskstation] Can't get average disk temperature, Error: Account disabled
[1/7/2023, 2:37:30 PM] [Diskstation] Can't get temperature, Error: Account disabled
[1/7/2023, 2:37:39 PM] [Diskstation] Can't get average disk temperature, Error: Account disabled
[1/7/2023, 2:38:00 PM] [Diskstation] Can't get temperature, Error: Account disabled
[1/7/2023, 2:38:09 PM] [Diskstation] Can't get average disk temperature, Error: Account disabled
[1/7/2023, 2:38:30 PM] [Diskstation] Can't get temperature, Error: Account disabled
[1/7/2023, 2:38:39 PM] [Diskstation] Can't get average disk temperature, Error: Account disabled
[1/7/2023, 2:39:00 PM] [Diskstation] Can't get temperature, Error: Account disabled
[1/7/2023, 2:39:09 PM] [Diskstation] Can't get average disk temperature, Error: Account disabled
[1/7/2023, 2:39:30 PM] [Diskstation] Can't get temperature, Error: Account disabled
[1/7/2023, 2:39:39 PM] [Diskstation] Can't get average disk temperature, Error: Account disabled
[1/7/2023, 2:40:00 PM] [Diskstation] Can't get temperature, Error: Account disabled
[1/7/2023, 2:40:09 PM] [Diskstation] Can't get average disk temperature, Error: Account disabled
[1/7/2023, 2:40:30 PM] [Diskstation] Can't get temperature, Error: Account disabled
[1/7/2023, 2:40:39 PM] [Diskstation] Can't get average disk temperature, Error: Account disabled
[1/7/2023, 2:41:00 PM] [Diskstation] Can't get temperature, Error: Account disabled
[1/7/2023, 2:41:14 PM] [Diskstation] Can't get average disk temperature, Error: Failed to authenticate 2-step verification code
[1/7/2023, 2:41:35 PM] [Diskstation] Can't get temperature, Error: Failed to authenticate 2-step verification code
[1/7/2023, 2:41:45 PM] [Diskstation] Can't get average disk temperature, Error: Failed to authenticate 2-step verification code
[1/7/2023, 2:42:04 PM] [Diskstation] Can't get temperature, Error: Failed to authenticate 2-step verification code
[1/7/2023, 2:42:15 PM] [Diskstation] Can't get average disk temperature, Error: Failed to authenticate 2-step verification code
[1/7/2023, 2:42:30 PM] [Diskstation] Can't get temperature, Error: Account disabled
[1/7/2023, 2:42:39 PM] [Diskstation] Can't get average disk temperature, Error: Account disabled

Environment:

  • Plugin Version:0.5.0
  • Homebridge Version: 1.6.0
  • Node.js Version: 18.13.0
  • NPM Version:
  • Operating System: Debian Bullseye
@chris-008
Copy link
Author

Ok, so I have pasted the code into the pluging config file (aka iobroker? ), got back one step into the Synology menu, took a picture with the Secure signin app of the new QR code and reconfirmed this new code OTP. I also temporarily disabled automatic blocking of IP's just to be sure that I coudl try it out. This got it workign again. Hope this helps for others!

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

No branches or pull requests

1 participant