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: Getting to reward website failed, retrying... #107
Comments
show the debug pic |
I'm sorry I don't have the screenshot anymore but it was the login page for the riot games account. |
sounds like u didnt login successfully using cookies |
it's quite strange because the first hour I was well connected and then it disconnects me and this happens when I'm with the Headless option on true. |
Is there any solution? I'm running headless on Ubuntu, and since Riot implemented captcha my last possible way to login has been the cookies method. Recently, it has started failing too. |
reset cookies method maybe works |
same happens with me what is the right method to login successfully with cookies? |
I updated to the new EsportsHelper V2.3.2 version, and tried to completely reset cookies by deleting my "userDataDir". Then I installed xfce + google chrome and successfully login by manually resolving captcha + 2FA, and then grabbed the fresh new userDataDir (called "Default"). It didn't work. After a few seconds the process gets killed. I also tried with an alt account that has no 2FA enabled, and I'm presented with the "please solve the captcha manually" (I'm running a headless ubuntu and couldn't solve it to test, but it should have worked fine) |
when u login manually are u select "stay signed in"? |
login to your account using a local chrome with selecting "stay signed in ", and configure the userdata path. |
Yes I did. By the way. I've been noticing something weird with lolesports website login process for the last year or longer. When I visit lolesports with my main Windows PC to watch games, sometimes I see a login button even though I always check "stay signed in". When I click it, I get instantly logged in without being asked for user & pass (my browser doesn't save any passwords, so cookies are being used). It happens a few times, and for example the next day you suddenly get remembered by lolesports, and are automatically logged in when you visit. And it stays like that for weeks or months. Maybe this affects EsportsHelper's cookie login method? Just now I double checked my manual Chrome login from yesterday on Ubuntu, and when I visited lolesports it had the login button... but when I clicked it, it remembered me (using cookies, because my browser has 0 saved passwords). |
I get this message every time
League: LEC Viewers: 58179 Definition: 160p Title: G2 VS. RGE 0 - 0 (1/BESTOF 1) 2024-01-15 17:59:27,225 INFO: Next check at: 01-15 18:07:27 2024-01-15 17:59:27,225 INFO: ================================================== 2024-01-15 18:07:28,247 INFO: Start checking... 2024-01-15 18:07:28,714 INFO: Checking live broadcasts... 2024-01-15 18:07:29,127 INFO: Checking drops number... 2024-01-15 18:08:35,366 INFO: rewardError-Debug screenshot successful. 2024-01-15 18:08:51,228 ERROR: Getting to reward website failed, retrying... 2024-01-15 18:08:51,229 ERROR: ++++++++++++++++++++++++++++++++++++++++++++++++++ Traceback (most recent call last): File "C:\Users\ismys\Documents\GitHub\EsportsHelper\EsportsHelper\Utils.py", line 480, in checkRewardPage wait.until(ec.presence_of_element_located( File "C:\Users\ismys\AppData\Local\Programs\Python\Python310\lib\site-packages\selenium\webdriver\support\wait.py", line 95, in until raise TimeoutException(message, screen, stacktrace) selenium.common.exceptions.TimeoutException: Message:
[edit]
ok I get it is that it disconnects me from the site but it only does that when I'm in with the Headless option : True
The text was updated successfully, but these errors were encountered: