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 error issues) #81

Open
keepmi opened this issue Aug 19, 2023 · 8 comments
Open

账号显示登录之后会闪退(login error issues) #81

keepmi opened this issue Aug 19, 2023 · 8 comments
Labels
bug Something isn't working documentation Improvements or additions to documentation

Comments

@keepmi
Copy link

keepmi commented Aug 19, 2023

这三天从2.3.0到2.3.1都会出现这种情况

@Yudaotor
Copy link
Owner

Yudaotor commented Aug 19, 2023

因为Riot最近在登录的时候加了一个概率出现的图片验证码,所以会报错从而闪退.目前解决方案为:

  1. 提前使用浏览器登录观赛网站,并且记住密码,然后使用userDataDir配置来进行自动登录,详细可见readme和wiki.(wiki地址:https://github.com/Yudaotor/EsportsHelper/wiki/%E6%80%8E%E4%B9%88%E4%BD%BF%E7%94%A8%E6%9C%AC%E5%9C%B0%E6%B5%8F%E8%A7%88%E5%99%A8%E7%BC%93%E5%AD%98-%E5%85%8D%E8%B4%A6%E5%AF%86%E7%99%BB%E5%BD%95(How-to-use-Local-Browser-Cache-Password%E2%80%90Free-Login) )
  2. 不是每次登录都会出现这个问题,所以可能过段时间就可以了.
  3. 不使用无头模式即headless模式,在登录时出现图片验证码的时候手动验证,从而正常登录.

Because Riot has recently added a probable image verification code when logging in, it will report an error and flashback. The current solution is:

  1. Login to the site in advance with your browser and remember your password, then use the userDataDir configuration for automatic login, see the readme and wiki for details.(https://github.com/Yudaotor/EsportsHelper/wiki/%E6%80%8E%E4%B9%88%E4%BD%BF%E7%94%A8%E6%9C%AC%E5%9C%B0%E6%B5%8F%E8%A7%88%E5%99%A8%E7%BC%93%E5%AD%98-%E5%85%8D%E8%B4%A6%E5%AF%86%E7%99%BB%E5%BD%95(How-to-use-Local-Browser-Cache-Password%E2%80%90Free-Login))
  2. This problem does not occur every time you log in, so it may work after a while.
  3. Instead of using headless mode, manually verify the captcha when it appears during login, so that you can login normally.

@Yudaotor Yudaotor added bug Something isn't working documentation Improvements or additions to documentation labels Aug 19, 2023
@keepmi
Copy link
Author

keepmi commented Aug 19, 2023

因为Riot最近在登录的时候加了一个概率出现的图片验证码,所以会报错从而闪退.目前解决方案为:

  1. 提前使用浏览器登录观赛网站,并且记住密码,然后使用userDataDir配置来进行自动登录,详细可见readme和wiki.
  2. 不是每次登录都会出现这个问题,所以可能过段时间就可以了.
  3. 不使用无头模式即headless模式,在登录时出现图片验证码的时候手动验证,从而正常登录.

好的

@Yudaotor Yudaotor changed the title 账号显示登录之后会闪退 账号显示登录之后会闪退(login error issues) Aug 21, 2023
@zzz6839
Copy link

zzz6839 commented Aug 21, 2023

any solution for the docker user? @redr00t

@RedrootDEV
Copy link
Contributor

any solution for the docker user? @redr00t

I don't think so, using Docker it is not possible to interact with the graphical interface of the web browser, headless mode is mandatory.
the only solution I can think of is to provide the ability to mount (using the docker-compose.yml file) the user data folder.
I'll try to do it tomorrow.

@0xAB51NTH
Copy link

0xAB51NTH commented Aug 22, 2023

  1. Login to the site in advance with your browser and remember your password, then use the userDataDir configuration for automatic login, see the readme and wiki for details.

If someone wants to be able to use chrome browser and run the bot just copy the folder (user data) into any place and point the configuration file to it, because when chrome is turned on it will prevent esport bot from reading the cookies file (atleast from my testing, also idk if the bot needs something more than cookies but if its the only thing then you just need the default folder inside "user data", the structure of "user data/default" has to stay tho).

Otherwise you will run into errors (atleast from my testing)

@zzz6839
Copy link

zzz6839 commented Aug 22, 2023

any solution for the docker user? @redr00t

I don't think so, using Docker it is not possible to interact with the graphical interface of the web browser, headless mode is mandatory. the only solution I can think of is to provide the ability to mount (using the docker-compose.yml file) the user data folder. I'll try to do it tomorrow.

any possibility to link VNC so we can pass the captcha manually then turn on headless mode?

@RedrootDEV
Copy link
Contributor

any solution for the docker user? @redr00t

I don't think so, using Docker it is not possible to interact with the graphical interface of the web browser, headless mode is mandatory. the only solution I can think of is to provide the ability to mount (using the docker-compose.yml file) the user data folder. I'll try to do it tomorrow.

any possibility to link VNC so we can pass the captcha manually then turn on headless mode?

#95

@zzz6839
Copy link

zzz6839 commented Oct 27, 2023

can confirm the latest docker version WORKS LIKE A CHAD! Appreciate for your contribution my LORD (╯°o°)ᕗ (ง •̀_•́)ง @redr00t

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

5 participants