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

Chatbot seems to "time out"? #43

Open
Meatwad650 opened this issue Feb 15, 2023 · 1 comment
Open

Chatbot seems to "time out"? #43

Meatwad650 opened this issue Feb 15, 2023 · 1 comment

Comments

@Meatwad650
Copy link

The chatbot works great on initial boot but it seems like it times out after some time and no longer responds to new commands. Is there a variable that controls this behavior?

@nimbo78
Copy link

nimbo78 commented Mar 29, 2024

root@wlanpi-365:/home/wlanpi# service wlanpi-chat-bot status
● wlanpi-chat-bot.service - Telegram chatbot for the WLAN Pi
     Loaded: loaded (/lib/systemd/system/wlanpi-chat-bot.service; enabled; vendor preset: enabled)
     Active: failed (Result: exit-code) since Wed 2024-03-27 01:14:53 MSK; 2 days ago
   Main PID: 480959 (code=exited, status=1/FAILURE)
        CPU: 5min 51.942s

Mar 27 01:14:53 wlanpi-365 chatbot[480959]:   File "/opt/wlanpi-chat-bot/lib/python3.9/site-packages/timeout_decorator/timeout_decorator.py", line 165, in re>
Mar 27 01:14:53 wlanpi-365 chatbot[480959]:     self.cancel()
Mar 27 01:14:53 wlanpi-365 chatbot[480959]:   File "/opt/wlanpi-chat-bot/lib/python3.9/site-packages/timeout_decorator/timeout_decorator.py", line 159, in ca>
Mar 27 01:14:53 wlanpi-365 chatbot[480959]:     _raise_exception(self.__timeout_exception, self.__exception_message)
Mar 27 01:14:53 wlanpi-365 chatbot[480959]:   File "/opt/wlanpi-chat-bot/lib/python3.9/site-packages/timeout_decorator/timeout_decorator.py", line 45, in _ra>
Mar 27 01:14:53 wlanpi-365 chatbot[480959]:     raise exception()
Mar 27 01:14:53 wlanpi-365 chatbot[480959]: timeout_decorator.timeout_decorator.TimeoutError: 'Timed Out'
Mar 27 01:14:53 wlanpi-365 systemd[1]: wlanpi-chat-bot.service: Main process exited, code=exited, status=1/FAILURE
Mar 27 01:14:53 wlanpi-365 systemd[1]: wlanpi-chat-bot.service: Failed with result 'exit-code'.
Mar 27 01:14:53 wlanpi-365 systemd[1]: wlanpi-chat-bot.service: Consumed 5min 51.942s CPU time.

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