Twitch-Channel-Points-Miner-v2
Twitch-Channel-Points-Miner-v2 copied to clipboard
After some hours running it my user stop showing up in the viewers list
Describe the bug Apparently after some hours of it running, somehow I still get twitch points and collect drops, but my nick isn't in the viewers list, so I can't get any points on Streamelements
To Reproduce Steps to reproduce the behavior:
- Run the python script and let it run (short version in my case)
- Come back after some hours
- See that you are still getting twitch channel points and drops
- Open your streamer's channel from an incognito tab and search for your nick in the viewers list
- Realize it's not there, so you are not getting Streamelements points.
- Stop and re-run the script to see that your nick is back to the viewers list and you are now getting streamelements points again
Expected behavior My account/nickname is in the viewers list the whole time so that I get streamelements points along with twitch channel points
Desktop (please complete the following information):
- OS: Linux 5.11, Ubuntu
- Python version Python 3.8.10
Additional context
As I said, I'm running the short version but modified, here it is:
from TwitchChannelPointsMiner import TwitchChannelPointsMiner
twitch_miner = TwitchChannelPointsMiner("<my nickname>)
twitch_miner.mine(["<streamer 1>", "<streamer 2>", "<streamer 3>", "<streamer 4>"])
28/05/22 22:46:36 - ERROR - [post_gql_request]: Error with GQLOperations (Inventory): ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))
This may occur after this, so maybe some reconnect to irc logic is needed?
28/05/22 22:46:36 - ERROR - [post_gql_request]: Error with GQLOperations (Inventory): ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))
I took a look at the logs and can't see any error like this, no connection reset by peer, everything seems to run normal at all times
Looks like that GQLOperations messages is a red herring just had it happen without that message
I've been seeing this problem for a long time. 😞
+1
I have the same error
Same. Worth noting, that disconnect and reconnect don't fix the issue (e.g. when ChatPresence is set to online). Only a restart of the script.
@Tkd-Alex
It would be very helpful if someone could find a way to fix this bug as it removes a major feature of this program.