jlplenio / crude-twitch-viewer-bot

Send live viewers to Twitch, youtube and kick with this viewer bot software. The tool offers a user-friendly graphical interface. This program requires HTTP proxies.
GNU Affero General Public License v3.0
326 stars 91 forks source link

Error:net::ERR_TUNNEL_CONNECTION #249

Closed empathist-dot closed 3 months ago

empathist-dot commented 3 months ago

Reporting this issue because it didn't exist yesterday. Nothing changed on my machine. I tried three different networks but the instance crashes immediately with the following error:

TWITCH Instance 1 died: Error:net::ERR_TUNNEL_CONNECTIO... Please see ctvbot.log. TWITCH Instance 2 died: Error:net::ERR_TUNNEL_CONNECTIO... Please see ctvbot.log. TWITCH Instance 1 died: Error:net::ERR_TUNNEL_CONNECTIO... Please see ctvbot.log.

Please answer the following questions:

Logs
If applicable, post the part of the ctvbot.log, that refers to the problem.

2024-03-29 12:51:05,824;INFO;57_43;Thread-4;manager;spawn_instance_thread;Ordered TWITCH instance 2, Thread-4, proxy http://188.74.183.10:8279, user_agent Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.129 Safari/537.36
2024-03-29 12:51:05,834;INFO;42_43;Thread-4;manager;instance_status_report_callback;STARTING instance 2
2024-03-29 12:51:05,937;WARNING;60_43;Thread-2;instance;goto_with_retry;Instance 1 failed connection attempt #3.
2024-03-29 12:51:05,948;ERROR;0_43;Thread-2;instance;start;net::ERR_TUNNEL_CONNECTION_FAILED at https://www.twitch.tv/login
=========================== logs ===========================
navigating to "https://www.twitch.tv/login", waiting until "load"
============================================================ died at page chrome-error://chromewebdata/
Traceback (most recent call last):
  File "ctvbot\instance.py", line 82, in start
  File "ctvbot\sites.py", line 202, in todo_after_spawn
  File "ctvbot\instance.py", line 156, in goto_with_retry
  File "playwright\sync_api\_generated.py", line 9293, in goto
  File "playwright\_impl\_sync_base.py", line 109, in _sync
  File "playwright\_impl\_page.py", line 479, in goto
  File "playwright\_impl\_frame.py", line 147, in goto
  File "playwright\_impl\_connection.py", line 61, in send
  File "playwright\_impl\_connection.py", line 482, in wrap_api_call
  File "playwright\_impl\_connection.py", line 97, in inner_send
playwright._impl._api_types.Error: net::ERR_TUNNEL_CONNECTION_FAILED at https://www.twitch.tv/login
=========================== logs ===========================
empathist-dot commented 3 months ago

Proxies expired. Didn't know the free webshare ones were this bad. Nevermind this issue.

I upgraded my plan. Hopefully your reference code worked.