mnencia / mchfuse

Western Digital My Cloud Home FUSE file system
Apache License 2.0
83 stars 19 forks source link

Error code 403 and 429 logging in #53

Open andyb2000 opened 2 years ago

andyb2000 commented 2 years ago

Hi, Just grabbed the binaries and trying this, but it will not let me sign in. MCHFuse version 0.4.0 (2022-02-20T11:44:24Z, 40975bd)

When running the login it fails as follows: # mchfuse --debug -c /etc/mchfuse.conf Mycloud /media/WD-cloud 2022/05/09 09:14:51 Failure signing in My Cloud Home account: status code 403 logging in on https://prod.wdckeystone.com/authrouter/oauth/token: unexpected status code The credentials in /etc/mchfuse.conf are correct and enclosed in double-quotes. I've also tried passing on the command line username/password and same issue. My username and password don't have any unusual characters in, etc. After a few attempts I then get error: # mchfuse --debug -c /etc/mchfuse.conf Mycloud /media/WD-cloud 2022/05/09 09:15:13 Failure signing in My Cloud Home account: status code 429 logging in on https://prod.wdckeystone.com/authrouter/oauth/token: unexpected status code And I get an email from WD stating my account has been blocked due to incorrect sign-in attempts: `

We detected a suspicious login attempt from XX, XX using the IP Address: X.X.X.X ` (It then lets me unblock it, which I then do) So it suggests it's hitting the WD auth servers, but for some reason getting a 403 forbidden error so not authenticating correctly. Not sure what else it could be! Thanks for your help.

fadjar commented 2 years ago

I have the same problem. However, I have experienced a problem to sign in using WD discovery in windows OS before. Previously, the login had used home.mycloud.com. But suddenly, it changed to login to auth0.accounts.westerndigital.com. Maybe, this has a correlation with the occurred error.