wangbeishan
wangbeishan
> I have solved the problem. add a parameter "ssl = False " to the following code in miaccount.py. > > `async with self.session.request( "GET" if data is None else...
> you should change it in the path where it shows the error. The path is in cmd error infomation. In which to modify? The error is the path of...
> I guess it would be "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/MiService/miservice/miaccount.py" > […](#) > ------------------ 原始邮件 ------------------ 发件人: "Yonsm/MiService" ***@***.***>; 发送时间: 2023年3月13日(星期一) 上午10:30 ***@***.***>; ***@***.******@***.***>; 主题: Re: [Yonsm/MiService] [SSLCertVerificationError: (1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate...
> > I guess it would be "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/MiService/miservice/miaccount.py" > > […](#) > > ------------------ 原始邮件 ------------------ 发件人: "Yonsm/MiService" _**@**_._**>; 发送时间: 2023年3月13日(星期一) 上午10:30 _**@**_.**_>; _**@**_._**_**@**_.**_>; 主题: Re: [Yonsm/MiService] [SSLCertVerificationError: (1, '[SSL:...
看一下是不是python版本的原因,我从3.11.2降到3.9就好了。
> > > 可能是触发了登录二次验证,你试试先在同一台机器上登录 https://account.xiaomi.com/ > > > > > > @frostming 我看错误是这样的。我把clash关了也还是同样的结果。 Exception on login 1231108757: Cannot connect to host account.xiaomi.com:443 ssl:True [SSLCertVerificationError: (1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed:...