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

登录时尝试多个服务器, 随服务器需求切换服务器 功能异常 #228

Closed
swqsldz opened this issue Apr 14, 2020 · 0 comments
Closed
Labels
C 优先级: 最高 t:bug 类型: bug
Milestone

Comments

@swqsldz
Copy link

swqsldz commented Apr 14, 2020

问题

0.37.2下,如果帐号密码错误的情况下,输入验证码后,不会抛出密码错误异常,而是执行了多个服务器自动切换登录并继续请求验证码
大概率会导致帐号被风控,并提示网络环境异常/请更换常用设备登录

如何复现

1.使用一个错误的密码进行登录尝试
2.获取验证码并输入正确的验证码
3.未抛出密码错误异常,进入服务器切换逻辑,继续同时请求多个服务器并请求验证码

期望表现

密码错误的情况下抛出如下异常,不进行多个服务器重试
net.mamoe.mirai.network.WrongPasswordException:“Error(title=登录失败, message=帐号或密码错误,请重新输入。, errorInfo=)”

@swqsldz swqsldz added the t:bug 类型: bug label Apr 14, 2020
@Him188 Him188 added the C 优先级: 最高 label Apr 14, 2020
@Him188 Him188 added this to the mirai-core 1.0.0 milestone Apr 14, 2020
@Him188 Him188 closed this as completed in 90ee9b4 Apr 15, 2020
Him188 pushed a commit that referenced this issue Jan 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C 优先级: 最高 t:bug 类型: bug
Projects
None yet
Development

No branches or pull requests

2 participants