Chatbot crashes sometimes
The chatbot sometimes crashes with the following exception:
░ monitoring@quoa:~/monitoring @master
░ 09:40:48 > tail -f logs/chatbot.err.log
Traceback (most recent call last):
File "scripts/chatbot.py", line 41, in <module>
CHANNEL_ID = get_channel_id(CHANNEL)
File "scripts/chatbot.py", line 33, in get_channel_id
rocket = RocketChat(BOTNAME, PASSWORD, server_url=URL)
File "/home/monitoring/.pyenv/versions/3.6.8/lib/python3.6/site-packages/rocketchat_API/rocketchat.py", line 29, in __init__
self.login(user, password)
File "/home/monitoring/.pyenv/versions/3.6.8/lib/python3.6/site-packages/rocketchat_API/rocketchat.py", line 104, in
login
raise RocketConnectionException()
rocketchat_API.APIExceptions.RocketExceptions.RocketConnectionException
...there might be some temporary communication issues with the KM3NeT chat server which it should be prepared for.