asyncio, telegrambot SSL and event loop closed issues #1940
Unanswered
dncastilho
asked this question in
Q&A
Replies: 1 comment 6 replies
-
Try getting/creating loop and using it instead of asyncio.run |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have apscheduler running function "frequent_jobs" every 2 minutes, to do a few sync methods and use the async method below to send messages through telegram bot. Every now and then, I face an error (also below). Any idea why this might be happening? OS is ubuntu, python 3.10.7, telegrambot latest (4.10.0).
Code
Beta Was this translation helpful? Give feedback.
All reactions