desprit / tg-ai-connector

This package can be used to connect Telegram bot to AI engines such as OpenAI ChatGPT, Dall-E, Midjourney, Stable Diffusion, etc.
49 stars 9 forks source link

TeleBot: "Infinity polling: polling exited" #18

Open sorokinvld opened 1 year ago

sorokinvld commented 1 year ago

how can I fix such error?

2023-04-05 14:57:30,896 (init.py:966 MainThread) ERROR - TeleBot: "Infinity polling: polling exited" 2023-04-05 14:57:30,896 (init.py:968 MainThread) ERROR - TeleBot: "Break infinity polling"

sorokinvld commented 1 year ago

fixed after bot.infinity_polling() changed to bot.polling()

desprit commented 1 year ago

@sorokinvld

Hi! Thanks for reporting. What's you stack? Are you starting it normally through the terminal or in some custom way?