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 while trying to send minute watched #507

Open
pyromeister opened this issue Apr 23, 2024 · 2 comments
Open

Error while trying to send minute watched #507

pyromeister opened this issue Apr 23, 2024 · 2 comments

Comments

@pyromeister
Copy link

Describe the bug

Hi, since some days (more then one week now) i receive in the log the follow message every 30seconds and the miner dont do its work anymore

23/04/24 14:36:51 - DEBUG - TwitchChannelPointsMiner.classes.WebSocketsPool - [on_message]: #0 - Received: {"type":"MESSAGE","data":{"topic":"video-playback-by-id.26610234","message":"{\"type\":\"viewcount\",\"server_time\":1713875810.691012,\"viewers\":7118}"}} 23/04/24 14:36:59 - DEBUG - urllib3.connectionpool - [_new_conn]: Starting new HTTPS connection (1): video-edge-986d4b.pdx01.abs.hls.ttvnw.net:443 23/04/24 14:36:59 - ERROR - TwitchChannelPointsMiner.classes.Twitch - [send_minute_watched_events]: Error while trying to send minute watched: HTTPSConnectionPool(host='video-edge-986d4b.pdx01.abs.hls.ttvnw.net', port=443): Max retries exceeded with url: /v1/segment/**ID removed, not sure if needed**.ts (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) 23/04/24 14:37:00 - DEBUG - TwitchChannelPointsMiner.classes.TwitchWebSocket - [send]: #0 - Send: {"type":"PING"} 23/04/24 14:37:00 - DEBUG - TwitchChannelPointsMiner.classes.WebSocketsPool - [on_message]: #0 - Received: { "type": "PONG" }

Steps to reproduce

happens after each restart and every time after 30seconds

Expected behavior

no error and mine the points, because of the error no points are mined.

Operating system

Docker

Python version

1

Miner version

1

Other relevant software versions

No response

Logs

https://gist.github.com/pyromeister/314e64e4fec14751d28db1f084e30da8

Additional context

The program is installed via docker on a unraid server, not sure about the python, os and miner version (repository is directly: rdavidoff/twitch-channel-points-miner-v2)

@ranehal
Copy link

ranehal commented Apr 23, 2024

same here after the update

@pyromeister
Copy link
Author

same here after the update

Hey ranehal, for me i created a complete new docker and used the run.py from the mainpage here ... this file was updated to, i think that was the problem for me. Now it works fine again, so just delete the old one and create new docker with the new run.py

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

2 participants