R
Railway15mo ago
botdev

Network Error While sending a file.

I have uploaded my telegram bot on a Railway Pro plan. The bot sends file back to users through Telegram Server. I get this error while sending the file: aiogram.utils.exceptions.NetworkError: Aiohttp client throws an error: ClientConnectorError: Cannot connect to host api.telegram.org:443 ssl:default [Network is unreachable] Any help is appreciated!
7 Replies
Percy
Percy15mo ago
Project ID: e1945e5f-b9fa-48e6-94d2-71b38a682cb7
botdev
botdev15mo ago
Project ID: e1945e5f-b9fa-48e6-94d2-71b38a682cb7
Brody
Brody15mo ago
do you have private networking enabled?
botdev
botdev15mo ago
i don't know what that is I am new here
Brody
Brody15mo ago
its in your service settings disable it and redeploy your bot
botdev
botdev15mo ago
Did that and redeployed. For now it is working fine. I will update here if I get the same error again. Thanks for the support!
Brody
Brody15mo ago
@Ray - issue caused by the private network initialisation time
Want results from more Discord servers?
Add your server