Giter Site home page Giter Site logo

Comments (5)

MRSSSMR avatar MRSSSMR commented on June 11, 2024

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

from crude-twitch-viewer-bot.

jlplenio avatar jlplenio commented on June 11, 2024

I can't fully understand your issue. From the screenshot you posted, it seems that the instances are dying while restarting?

def goto_with_retry(self, url, max_tries=3, timeout=20000):

Please provide further logs.

from crude-twitch-viewer-bot.

MRSSSMR avatar MRSSSMR commented on June 11, 2024

=========================== logs ===========================
navigating to "https://www.twitch.tv/Xxx", waiting until "load"

2023-06-24 11:34:59,968;WARNING;100_77;Thread-254;instance;goto_with_retry;Instance 171 failed connection attempt #2.
2023-06-24 11:34:59,998;INFO;0_77;Thread-265;manager;instance_status_report_callback;SHUTDOWN instance 182
2023-06-24 11:34:59,998;INFO;0_77;Thread-264;manager;instance_status_report_callback;SHUTDOWN instance 181
2023-06-24 11:35:15,934;WARNING;13_72;Thread-261;sites;todo_after_spawn;banner 18+ not found/clicked.
2023-06-24 11:35:15,934;INFO;0_72;Thread-261;manager;instance_status_report_callback;INITIALIZED instance 178
2023-06-24 11:35:19,982;WARNING;44_72;Thread-254;instance;goto_with_retry;Instance 171 failed connection attempt #3.
2023-06-24 11:35:19,982;ERROR;0_72;Thread-254;instance;start;Timeout 20000ms exceeded.
=========================== logs ===========================
navigating to "https://www.twitch.tv/Xxx", waiting until "load"
============================================================ died at page https://www.twitch.tv/XQC
Traceback (most recent call last):
File "ctvbot\instance.py", line 82, in start
File "ctvbot\sites.py", line 146, in todo_after_spawn
File "ctvbot\instance.py", line 156, in goto_with_retry
File "playwright\sync_api_generated.py", line 8114, in goto
File "playwright_impl_sync_base.py", line 104, in _sync
File "playwright_impl_page.py", line 495, in goto
File "playwright_impl_frame.py", line 146, in goto
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.TimeoutError: Timeout 20000ms exceeded.
=========================== logs ===========================
navigating to "https://www.twitch.tv/Xxx", waiting until "load"

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

from crude-twitch-viewer-bot.

MRSSSMR avatar MRSSSMR commented on June 11, 2024

save

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?

from crude-twitch-viewer-bot.

huyhuyvu01 avatar huyhuyvu01 commented on June 11, 2024

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

from crude-twitch-viewer-bot.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.