ARC-MX / sgcc_electricity_new

HomeAssistant 国家电网电费查询
Apache License 2.0
346 stars 60 forks source link

验证码滑块拖动一直报错 #29

Open EricCorleone opened 4 months ago

EricCorleone commented 4 months ago

日志如下:

sgcc_electricity  | 2024-07-08 18:12:54  [INFO    ] ---- Sliding CAPTCHA recognition failed and reloaded.
sgcc_electricity  | 2024-07-08 18:13:14  [INFO    ] ---- Get electricity canvas image successfully.
sgcc_electricity  | 2024-07-08 18:13:14  [INFO    ] ---- Image CaptCHA distance is 199.
sgcc_electricity  | 2024-07-08 18:13:25  [INFO    ] ---- Sliding CAPTCHA recognition failed and reloaded.
sgcc_electricity  | 2024-07-08 18:13:45  [INFO    ] ---- Get electricity canvas image successfully.
sgcc_electricity  | 2024-07-08 18:13:45  [INFO    ] ---- Image CaptCHA distance is 251.
sgcc_electricity  | 2024-07-08 18:13:56  [INFO    ] ---- Sliding CAPTCHA recognition failed and reloaded.
sgcc_electricity  | 2024-07-08 18:14:16  [INFO    ] ---- Get electricity canvas image successfully.

麻烦大佬看一下,谢谢

EricCorleone commented 4 months ago

我在网页上试了一下登录,发现会一直报错:网络连接超时(RK001),请重试!可能是国网登录本身出了bug? image 用验证码登录是没问题的,用密码登录就一直报错

ARC-MX commented 4 months ago

每天最多登5次

---- 回复的原邮件 ---- | 发件人 | Eric @.> | | 日期 | 2024年07月08日 18:26 | | 收件人 | @.> | | 抄送至 | @.***> | | 主题 | Re: [ARC-MX/sgcc_electricity_new] 验证码滑块拖动一直报错 (Issue #29) |

我在网页上试了一下登录,发现会一直报错:网络连接超时(RK001),请重试!可能是国网登录本身出了bug? image.png (view on web)

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID: @.***>

EricCorleone commented 4 months ago

我是今天更新了项目和镜像,重新构建运行,结果一开始就一直遇到日志里的报错,都没有成功登录过一次

EricCorleone commented 4 months ago

过了零点就好了,也不知道一开始怎么回事

EricCorleone commented 4 months ago

今天又是一直报错,貌似这个滑块拖动的成功率变得很低了 IMG_7316

ARC-MX commented 4 months ago

你这都能检测到验证码,滑动基本不会错,和你说了每天有登录限制,你这种手动登录官网看看能不能登录。这不是代码的问题

bassce commented 4 months ago

国网前两天在后台更新,今天才恢复。

litianyu0707 commented 4 months ago

我也是一直滑块失败。。。

musenyua commented 3 months ago

我也一直失败