Closed TheFeelTrain closed 1 year ago
Can confirm this issue is happening here too. Additional information: I'm running the .exe file from version 1.1 on Windows Server 2019 (x64). I noticed that the previous version I was using was up for +24h while the most recent I had to restart as I noticed a couple of times already that the program wasn't opened anymore.
I'm using multiple accounts. The logs seem to be similar to @TheFeelTrain where suddenly https://rex.rewards.lolesports.com/v1/events/watch
returns 403 for a while till eventually it stops with maximum login retries reached.
Temporary work around is on the discord, search for Automatic Restart .bat
The script file restart the program if it hard crashes. in #capsule-farmer-help
This is still happening as of the latest commit so I'm not sure why it was closed.
What happened?
After a few hours it seems like you get locked out (403) and then the script doesn't know how to handle it. My uneducated guess is that it's a token that expires. I thought it might be rate-limiting but I'm only using a single account and it happens even if there's only a couple of matches going so that seems doubtful. From the logs it looks like it attempts to resend the request but just fails over and over for about 10 minutes until eventually it can't even log back in.
This happens a couple of times per day. A simple workaround might be to just restart the whole thing automatically if a 403 is detected since manually restarting fixes it.
What should happen?
Keeps working indefinitely.
Capsule Farmer Version
1.1
Operating System
Other (Non Windows are not natively supported)
Operating System Version
Arch Linux Kernel 6.1.7-zen1-1-zen Python 3.10.9
Running with
pipenv run python ./main.py
If it's not happening with the release binary I guess it could be something on my end. But it appears to be networking related rather than anything on my machine.Relevant log output
My issue is not a question