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: Exception in task #457

Closed
IRhoAias opened this issue Apr 27, 2024 · 10 comments
Closed

ERROR: Exception in task #457

IRhoAias opened this issue Apr 27, 2024 · 10 comments
Labels
Bug Something isn't working Solved This issue has been resolved

Comments

@IRhoAias
Copy link

04:38:35: Watching: EXTREMEBREAKER1 04:38:35: ERROR: Exception in task 04:38:35: Traceback (most recent call last): 04:38:35: File "utils.py", line 139, in wrapper 04:38:35: File "twitch.py", line 1046, in _watch_loop 04:38:35: File "channel.py", line 387, in send_watch 04:38:35: File "channel.py", line 237, in get_spade_url 04:38:35: exceptions.MinerException: Error while spade_url extraction: step #1

this happened to me on thursday and i ignored it but i realized that i didn't farm anything. now i am worried because i can't do it manually due to work i leave the error and a picture of the same error in case it is necessary.
image

@IRhoAias
Copy link
Author

04:38:35: Watching: EXTREMEBREAKER1
04:38:35: ERROR: Exception in task
04:38:35: Traceback (most recent call last):
04:38:35: File "utils.py", line 139, in wrapper
04:38:35: File "twitch.py", line 1046, in _watch_loop
04:38:35: File "channel.py", line 387, in send_watch
04:38:35: File "channel.py", line 237, in get_spade_url
04:38:35: exceptions.MinerException: Error while spade_url extraction: step #1
Sri This is the error

@DevilXD DevilXD added the Bug Something isn't working label Apr 27, 2024
@DevilXD
Copy link
Owner

DevilXD commented Apr 27, 2024

Hello o/

The error signifies the internal watch loop dying on a spade URL extraction step. Without a functional watch loop, no watch events will be sent to Twitch to advance the drops, and the only way to recover from this is to restart the application.

The error itself could be a one-off occurrence, so I'm more or less waiting for more reports first. For now, just restart to get it fixed.

@IRhoAias
Copy link
Author

in my particular case I always get the same error and deleting cookies.jar does not fix the error.
image

@DevilXD
Copy link
Owner

DevilXD commented Apr 27, 2024

Alright, well, I'll look into the potential cause of this further.

@DevilXD
Copy link
Owner

DevilXD commented Apr 28, 2024

I've looked into it, and I'm unable to reproduce this on my end. I've checked these three affected channels: "EXTREMEBREAKER1", "w0n23" and "LVTHalo", all of them resolving properly.

This may or may not be something Twitch is currently testing, and only a limited subset of users will be affected by. Either way, I'm unable to diagnose the issue for now.

@DevilXD
Copy link
Owner

DevilXD commented Apr 28, 2024

@EmiMathesi Putting your cookies file into public internet gives anyone who takes it unlimited access to your Twitch account. Your account may have already been compromised, so I'd suggest you to quickly change your password, hopefully while you still can. I've removed the file link from your comment.

I've never asked, nor will use, anyone else's cookies file to diagnose the issue, because I definitely don't want to access somebody else's account, specifically from my own IP address and location. If I can't diagnose this issue now, then we all just need to wait until I'm able to. That's all.

@mgbeck002
Copy link

mgbeck002 commented Apr 29, 2024

I had a similar issue. I was able to work around it by changing the regex
r'src="(https://static\.twitchcdn\.net/config/settings\.[0-9a-f]{32}\.js)"'
to
r'src="(https://assets\.twitch\.tv/config/settings\.[0-9a-f]{32}\.js)"'

in channel.py since it seems the link changed at least for some users.

@DevilXD
Copy link
Owner

DevilXD commented Apr 30, 2024

Interesting. I've implemented this finding in ab76491, please give it a try and see if it helped resolve this issue.

@mgbeck002
Copy link

Interesting. I've implemented this finding in ab76491, please give it a try and see if it helped resolve this issue.

That worked for me.

@DevilXD
Copy link
Owner

DevilXD commented May 13, 2024

I'm assuming this is fixed now then.

@DevilXD DevilXD closed this as completed May 13, 2024
@DevilXD DevilXD added the Solved This issue has been resolved label May 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working Solved This issue has been resolved
Projects
None yet
Development

No branches or pull requests

3 participants