You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Everytime i try to run the code of this repo using Docker Compose i get the following error: telegram.error.TimedOut: Timed out
I tried using it outside of docker and it ran fine (the code for the database didnt but that was expected) but everytime i try to run it with docker it doesn't work.
Has anyone else got this error and was able to solve it?
The text was updated successfully, but these errors were encountered:
Everytime i try to run the code of this repo using Docker Compose i get the following error: telegram.error.TimedOut: Timed out I tried using it outside of docker and it ran fine (the code for the database didnt but that was expected) but everytime i try to run it with docker it doesn't work.
Has anyone else got this error and was able to solve it?
try changing:
update only when 100 new symbols are ready
if abs(len(answer) - len(prev_answer)) < 100 and status != "finished":
with:
update only when 200 new symbols are ready
if abs(len(answer) - len(prev_answer)) < 200 and status != "finished":
Basically You can find two strings with these parameters in bot.py, so as I understood this error appears espesically in group chats, and extending update time value actually helped me. It worked and I don't get such an error anymore.
Everytime i try to run the code of this repo using Docker Compose i get the following error: telegram.error.TimedOut: Timed out
I tried using it outside of docker and it ran fine (the code for the database didnt but that was expected) but everytime i try to run it with docker it doesn't work.
Has anyone else got this error and was able to solve it?
The text was updated successfully, but these errors were encountered: