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

[ERROR] by Try to get the userid list #120

Closed
big-mouth-cn opened this issue Jan 3, 2025 · 22 comments
Closed

[ERROR] by Try to get the userid list #120

big-mouth-cn opened this issue Jan 3, 2025 · 22 comments

Comments

@big-mouth-cn
Copy link

2025-01-03 15:16:41 [INFO ] ---- Image CaptCHA distance is 0.
2025-01-03 15:16:53 [INFO ] ---- Sliding CAPTCHA recognition failed and reloaded.
2025-01-03 15:17:13 [ERROR ] ---- Login failed, maybe caused by Sliding CAPTCHA recognition failed
2025-01-03 15:17:13 [INFO ] ---- login unsuccessed !
2025-01-03 15:17:13 [INFO ] ---- Login successfully on https://www.95598.cn/osgweb/login
2025-01-03 15:17:33 [INFO ] ---- Try to get the userid list
2025-01-03 15:18:33 [ERROR ] ---- Webdriver quit abnormly, reason: Message: no such element: Unable to locate element: {"method":"xpath","selector":"//div[@Class='el-dropdown']/span"}
(Session info: chrome=131.0.6778.204); For documentation on this error, please visit: https://www.selenium.dev/documentation/webdriver/troubleshooting/errors#no-such-element-exception
Stacktrace:
#0 0x005591fe9c60
#1 0x005591b517a0
#2 0x005591b8faf0
#3 0x005591bce1ec
#4 0x005591b85ab8
#5 0x005591b86658
#6 0x005591fbd8c8
#7 0x005591fc08bc
#8 0x005591fc0470
#9 0x005591faf130
#10 0x005591fc0efc
#11 0x005591f98c94
#12 0x005591fd98a8
#13 0x005591fd9a8c
#14 0x005591fe8db0
#15 0x007fb545ee8c
#16 0x007fb54c7b18
. get user_id list failed.
2025-01-03 15:18:33 [ERROR ] ---- state-refresh task failed, reason is [object of type 'NoneType' has no len()], 2 retry times left.
2025-01-03 15:18:44 [INFO ] ---- Webdriver initialized.
2025-01-03 15:18:44 [INFO ] ---- Open LOGIN_URL:https://www.95598.cn/osgweb/login.

@ARC-MX
Copy link
Owner

ARC-MX commented Jan 3, 2025

网络问题,每天登录次数超限制

@dongxi88
Copy link

dongxi88 commented Jan 3, 2025

网络问题,每天登录次数超限制

0点开始,直接运行docker,每次都提示这个。按理说0点开始不应该次数超过限制啊

@ARC-MX
Copy link
Owner

ARC-MX commented Jan 3, 2025

网络问题,每天登录次数超限制

0点开始,直接运行docker,每次都提示这个。按理说0点开始不应该次数超过限制啊

没有实验证明是0点刷新限制,你更新下镜像吧,镜像启动以后不用管了
它会自动定时执行的

@dongxi88
Copy link

dongxi88 commented Jan 3, 2025

image 正常登陆,没问题。但是在获取userid list时开始报错的

@dongxi88
Copy link

dongxi88 commented Jan 3, 2025

网络问题,每天登录次数超限制

0点开始,直接运行docker,每次都提示这个。按理说0点开始不应该次数超过限制啊

没有实验证明是0点刷新限制,你更新下镜像吧,镜像启动以后不用管了 它会自动定时执行的

刚拉的镜像

@ARC-MX
Copy link
Owner

ARC-MX commented Jan 3, 2025

image 正常登陆,没问题。但是在获取userid list时开始报错的

你手动登国网看你能登录么,这明显是被限制了

@dongxi88
Copy link

dongxi88 commented Jan 3, 2025

image 正常登陆,没问题。但是在获取userid list时开始报错的

你手动登国网看你能登录么,这明显是被限制了

那怎么办?会自动解除限制吗?

@ARC-MX
Copy link
Owner

ARC-MX commented Jan 3, 2025

image 正常登陆,没问题。但是在获取userid list时开始报错的

你手动登国网看你能登录么,这明显是被限制了

那怎么办?会自动解除限制吗?

image
会自动解除限制,你们没仔细看说明,什么都不要做等着就行,每天会运行两次,都是自动的

@dongxi88
Copy link

dongxi88 commented Jan 3, 2025

哦哦。那只能等正常登陆后,才能知道_xxxx把?
image

@ARC-MX
Copy link
Owner

ARC-MX commented Jan 3, 2025

哦哦。那只能等正常登陆后,才能知道_xxxx把? image

你验证码登录就能获取到

@dongxi88
Copy link

dongxi88 commented Jan 4, 2025

image 今天早上7点还是失败

@dongxi88
Copy link

dongxi88 commented Jan 4, 2025

哦哦。那只能等正常登陆后,才能知道_xxxx把? image

你验证码登录就能获取到

docker怎么用验证码登录呢?

@ARC-MX
Copy link
Owner

ARC-MX commented Jan 5, 2025

更新镜像重试吧

@ARC-MX ARC-MX closed this as completed Jan 5, 2025
@dongxi88
Copy link

dongxi88 commented Jan 5, 2025

看来是网页有变动?

@ARC-MX
Copy link
Owner

ARC-MX commented Jan 5, 2025

看来是网页有变动?

网页不是很稳定,你更新镜像,仔细看看RETRY_WAIT_TIME_OFFSET_UNIT的设置方式,根据硬件性能调整该值

@dongxi88
Copy link

dongxi88 commented Jan 5, 2025

image 还是这个报错,不是你readme了写的 no such element”诸如此类的错误可适当调大该值,如果硬件性能较好可以适当调小该值 RETRY_WAIT_TIME_OFFSET_UNIT=15

@ARC-MX
Copy link
Owner

ARC-MX commented Jan 5, 2025

image 还是这个报错,不是你readme了写的 no such element”诸如此类的错误可适当调大该值,如果硬件性能较好可以适当调小该值 RETRY_WAIT_TIME_OFFSET_UNIT=15

一样的,你这就是登录成功后获取不到用户ID,还是网络问题,我代码无法处理,你就手动登录看看多久能跳转网页吧
适当调大点

@dongxi88
Copy link

dongxi88 commented Jan 5, 2025

调到30了。再试试

@dongxi88
Copy link

dongxi88 commented Jan 5, 2025

这个值可以大于30吗?

@ARC-MX
Copy link
Owner

ARC-MX commented Jan 6, 2025

你是不是上海用户

@ARC-MX
Copy link
Owner

ARC-MX commented Jan 6, 2025

今天发现上海用户确实需要非常大的延迟才能刷新出来网页,我已添加刷新机制,10分钟后可以更新镜像重试

@dongxi88
Copy link

dongxi88 commented Jan 6, 2025

你是不是上海用户

北京

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

3 participants