Closed MRSSSMR closed 1 year ago
If you add the "sites.py" file in 0.5.5 to 0.5.1
I think we can solve the problems that arise from some of the recent categories
If you know how to make an exe file I'd appreciate it if you could share your tips
I can't fully understand your issue. From the screenshot you posted, it seems that the instances are dying while restarting? https://github.com/jlplenio/crude-twitch-viewer-bot/blob/96b94453297c86d55eb434914d3c8b0854a5d6e3/ctvbot/instance.py#L150
Please provide further logs.
2023-06-24 11:35:20,002;INFO;100_72;Thread-254;manager;instance_status_report_callback;SHUTDOWN instance 171 2023-06-24 11:35:20,945;INFO;36_71;Thread-261;manager;instance_status_report_callback;WATCHING instance 178
I think it's because it takes longer to turn on multiple websites
It's just a guess, but as you pointed out I think it's because of 20,000ms
For example Before, if I wanted to turn on 80 at once, 60 would have survived Currently, about 20 out of 80 survive
And the program seems to have gotten heavier as the version was upgraded from 0.5.5 to 0.6.0
Personally, in 0.5.1 version, only the screen comes out In the 0.6.0 version, the chatroom came out I think we need a lot of resources
So... I think the bot is dying because of time limits and heavy programs What do you think?
I got the same problem yesterday at version 0.6, proxies from webshare.io also. 17/20 proxies got TimedOutError: Timeout 20000ms
Here is the log file if u are interested. ctvbot.log
up
help me plz :(
2024-03-25 02:42:23,026;INFO;0_31;Thread-21 (spawn_instance_thread);manager;spawn_instance_thread;Ordered UNKNOWN instance 11, Thread-21 (spawn_instance_thread), proxy http://45.94.47.66:8110, user_agent Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.121 Safari/537.36 2024-03-25 02:42:23,030;INFO;0_31;Thread-21 (spawn_instance_thread);manager;instance_status_report_callback;STARTING instance 11 2024-03-25 02:42:28,175;WARNING;40_31;Thread-2 (spawn_instance_thread);instance;goto_with_retry;Instance 1 failed connection attempt #1. 2024-03-25 02:42:31,356;WARNING;23_31;Thread-20 (spawn_instance_thread);instance;goto_with_retry;Instance 10 failed connection attempt #1. 2024-03-25 02:42:31,608;WARNING;25_31;Thread-16 (spawn_instance_thread);instance;goto_with_retry;Instance 8 failed connection attempt #1. 2024-03-25 02:42:31,620;WARNING;16_31;Thread-20 (spawn_instance_thread);instance;goto_with_retry;Instance 10 failed connection attempt #2. 2024-03-25 02:42:39,845;WARNING;16_30;Thread-20 (spawn_instance_thread);instance;goto_with_retry;Instance 10 failed connection attempt #3. 2024-03-25 02:42:39,857;ERROR;100_30;Thread-20 (spawn_instance_thread);instance;start;net::ERR_TIMED_OUT at https://twitch.com/^^ died at page about:blank Traceback (most recent call last): File "ctvbot\instance.py", line 95, in start File "ctvbot\sites.py", line 30, in todo_after_spawn File "ctvbot\instance.py", line 177, in goto_with_retry File "playwright\sync_api_generated.py", line 9327, in goto File "playwright_impl_sync_base.py", line 115, in _sync File "playwright_impl_page.py", line 484, in goto File "playwright_impl_frame.py", line 149, in goto File "playwright_impl_connection.py", line 63, in send
Hello. I think there's a problem. I'm reporting It was okay until 0.5.1 version
However, from version 0.5.3, when more than 100 people use bots, the above phrase started to appear In the 0.5.1 version, 150 people could use it
May I know what the problem is?
Traceback (most recent call last): File "ctvbot\instance.py", line 83, in start File "ctvbot\instance.py", line 102, in loop_and_check File "ctvbot\sites.py", line 94, in update_status File "playwright\sync_api_generated.py", line 7611, in evaluate File "playwright_impl_sync_base.py", line 104, in _sync File "playwright_impl_page.py", line 411, in evaluate File "playwright_impl_frame.py", line 272, in evaluate File "playwright_impl_connection.py", line 43, in send File "playwright_impl_connection.py", line 396, in wrap_api_call File "playwright_impl_connection.py", line 78, in inner_send playwright._impl._api_types.Error: Target page, context or browser has been closed 2023-06-22 19:57:49,614;INFO;0_19;Thread-145;manager;instance_status_report_callback;SHUTDOWN instance 108