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