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: Getting to reward website failed, retrying... #107

Open
Sato-Isolated opened this issue Jan 15, 2024 · 13 comments
Open

ERROR: Getting to reward website failed, retrying... #107

Sato-Isolated opened this issue Jan 15, 2024 · 13 comments

Comments

@Sato-Isolated
Copy link

Sato-Isolated commented Jan 15, 2024

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:

image

[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

@Yudaotor
Copy link
Owner

show the debug pic

@Sato-Isolated
Copy link
Author

I'm sorry I don't have the screenshot anymore but it was the login page for the riot games account.

@Yudaotor
Copy link
Owner

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

@Sato-Isolated
Copy link
Author

Sato-Isolated commented Jan 16, 2024

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.

@Neblinio
Copy link

Neblinio commented Feb 2, 2024

I have the same issue. Let me know if you need any logs or info
error

@Yudaotor
Copy link
Owner

Yudaotor commented Feb 2, 2024

I have the same issue. Let me know if you need any logs or info error

This is a display bug. In fact, you did not log in successfully.

@Neblinio
Copy link

Neblinio commented Feb 2, 2024

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.

@Yudaotor
Copy link
Owner

Yudaotor commented Feb 2, 2024

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

@NaniDaFuck
Copy link

same happens with me

what is the right method to login successfully with cookies?

@Neblinio
Copy link

Neblinio commented Feb 3, 2024

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.

image

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)

@Yudaotor
Copy link
Owner

Yudaotor commented Feb 3, 2024

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.

image

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"?

@Yudaotor
Copy link
Owner

Yudaotor commented Feb 3, 2024

same happens with me

what is the right method to login successfully with cookies?

login to your account using a local chrome with selecting "stay signed in ", and configure the userdata path.

@Neblinio
Copy link

Neblinio commented Feb 4, 2024

when u login manually are u select "stay signed in"?

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).

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

4 participants