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

WebSocket error #645

Open
serifold opened this issue Jan 22, 2025 · 0 comments
Open

WebSocket error #645

serifold opened this issue Jan 22, 2025 · 0 comments

Comments

@serifold
Copy link

Describe the bug

I can visit twitch.tv on my browser, and I can ping twitch.tv successfully, but in the console after get init info it keeps producing the "WebSocket error: [WinError 10060]" error, it seems like in the console it can't send request successfully.

Steps to reproduce

22/01/25 22:10:05 - INFO - [__init__]: Twitch Channel Points Miner v2-1.9.9 (fork by rdavydov)
22/01/25 22:10:05 - INFO - [__init__]: https://github.com/rdavydov/Twitch-Channel-Points-Miner-v2
22/01/25 22:10:06 - INFO - [run]: Analytics running on http://127.0.0.1:5000/
22/01/25 22:10:06 - INFO - [run]: Start session: 'xxx'
22/01/25 22:10:06 - INFO - [run]: Loading data for 1 streamers. Please wait...
22/01/25 22:10:10 - INFO - [claim_bonus]: Claiming the bonus for Streamer(username=xxx, channel_id=111, channel_points=2.21k)!
22/01/25 22:10:18 - INFO - [run]: Join IRC Chat: xxx
22/01/25 22:10:18 - INFO - [set_online]: Streamer(username=xxx, channel_id=111, channel_points=2.21k) is Online!
22/01/25 22:11:09 - ERROR - [on_error]: #0 - WebSocket error: [WinError 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond
22/01/25 22:11:09 - ERROR - [error]: [WinError 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond - goodbye
22/01/25 22:11:09 - INFO - [on_close]: #0 - WebSocket closed
22/01/25 22:11:09 - INFO - [handle_reconnection]: #0 - Reconnecting to Twitch PubSub server in ~60 seconds
22/01/25 22:11:42 - WARNING - [handle_reconnection]: #0 - No internet connection available! Retry after 1m
22/01/25 22:12:45 - WARNING - [handle_reconnection]: #0 - No internet connection available! Retry after 1m
22/01/25 22:13:48 - WARNING - [handle_reconnection]: #0 - No internet connection available! Retry after 1m
22/01/25 22:14:51 - WARNING - [handle_reconnection]: #0 - No internet connection available! Retry after 1m
22/01/25 22:15:54 - WARNING - [handle_reconnection]: #0 - No internet connection available! Retry after 2m

Expected behavior

There should be no Websocket error.

Operating system

Windows 10 22H2

Python version

3.13.1

Miner version

1.9.9

Other relevant software versions

No response

Logs

https://gist.github.com/serifold/f6bb230be9bcf331a97014e3330f979b

Additional context

No response

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

1 participant