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

login failed with "Unknown exception occurred!" #6

Open
xfangfang opened this issue Dec 10, 2021 · 2 comments
Open

login failed with "Unknown exception occurred!" #6

xfangfang opened this issue Dec 10, 2021 · 2 comments

Comments

@xfangfang
Copy link

My MiCloud account is under China server.

Got response_json from _login_step2:

{
  "notificationUrl": "https://account.xiaomi.com/fe/service/verifyPhone?skipUrl=https%3A%2F%2Faccount.xiaomi.com............",
  "result": "ok",
  "code": 0,
  "captchaUrl": null,
  "description": "成功",
  "location": "",
  "securityStatus": 32,
  "pwd": 0,
  "desc": "成功"
}

try to access the notificationUrl in response_json:

image

Click YES on this website then I can login normally using micloud.
Hope to be helpful when someone has the similar problem.

@Squachen
Copy link
Owner

Thank you, I'll leave this issue open for people to find. Might add a warning about it to the documentation when I get the time.

@xfangfang
Copy link
Author

Thank you very much for this project.

Seems some exception check should be added to _login_step2, otherwise users must modify the source code to see the URL mentioned above.

if you don’t have time to do, I can add some code to check this problem.(But it may take some time)

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

No branches or pull requests

2 participants