nickoala / telepot

Python framework for Telegram Bot API
MIT License
2.42k stars 474 forks source link

HTTPSConnectionPool Error #345

Open rahulnpadalkar opened 6 years ago

rahulnpadalkar commented 6 years ago

Here's the scenario, the bot takes a link and passes it to a python library and it outputs an mp3 file. This process takes some time (4-5 min). After the output is generated, a message is sent to the user. Telepot gives exception HTTPSConnectionPool (actually raised by urllib3) sometimes while sending this confirmation message or while uploading the mp3 file to the user. The mp3 file size is ~ 4-5 MB. This has started to happen frequently. Is there a workaround?

nickoala commented 6 years ago

Not sure they are related, but your issue rings a bell of #239 and #242. Someone there suggested some workarounds. Other than that, I am sorry I can't suggest anything more :sweat_smile: