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?
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:
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?