R
Railway16mo 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
Percy16mo ago
Project ID: e1945e5f-b9fa-48e6-94d2-71b38a682cb7
botdev
botdevOP16mo ago
Project ID: e1945e5f-b9fa-48e6-94d2-71b38a682cb7
Brody
Brody16mo ago
do you have private networking enabled?
botdev
botdevOP16mo ago
i don't know what that is I am new here
Brody
Brody16mo ago
its in your service settings disable it and redeploy your bot
botdev
botdevOP16mo 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
Brody16mo ago
@Ray - issue caused by the private network initialisation time
Want results from more Discord servers?
Add your server