EsportsHelper icon indicating copy to clipboard operation
EsportsHelper copied to clipboard

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

Open keepmi opened this issue 2 years ago • 8 comments

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

keepmi avatar Aug 19 '23 05:08 keepmi

因为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 avatar Aug 19 '23 05:08 Yudaotor

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

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

好的

keepmi avatar Aug 19 '23 05:08 keepmi

any solution for the docker user? @redr00t

zzz6839 avatar Aug 21 '23 22:08 zzz6839

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.

Dy-zaster avatar Aug 22 '23 08:08 Dy-zaster

  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)

0xAB51NTH avatar Aug 22 '23 15:08 0xAB51NTH

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?

zzz6839 avatar Aug 22 '23 19:08 zzz6839

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?

https://github.com/Yudaotor/EsportsHelper/pull/95

Dy-zaster avatar Oct 25 '23 22:10 Dy-zaster

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

zzz6839 avatar Oct 27 '23 08:10 zzz6839