Tkd-Alex / Twitch-Channel-Points-Miner-v2

A simple script that will watch a stream for you and earn the channel points.
GNU General Public License v3.0
1.23k stars 680 forks source link

After some hours running it my user stop showing up in the viewers list #520

Open D3SK3R opened 2 years ago

D3SK3R commented 2 years ago

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:

  1. Run the python script and let it run (short version in my case)
  2. Come back after some hours
  3. See that you are still getting twitch channel points and drops
  4. Open your streamer's channel from an incognito tab and search for your nick in the viewers list
  5. Realize it's not there, so you are not getting Streamelements points.
  6. 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):

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>"])

H00dlum commented 2 years ago

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?

D3SK3R commented 2 years ago

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

H00dlum commented 2 years ago

Looks like that GQLOperations messages is a red herring just had it happen without that message

LeoAlt8 commented 2 years ago

I've been seeing this problem for a long time. 😞

13Quavo commented 2 years ago

+1

cjonsson97 commented 2 years ago

I have the same error

15sawyer commented 2 years ago

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.

13Quavo commented 2 years ago

@Tkd-Alex

Yishaqel commented 2 years ago

It would be very helpful if someone could find a way to fix this bug as it removes a major feature of this program.