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
Project ID:
e1945e5f-b9fa-48e6-94d2-71b38a682cb7
Project ID: e1945e5f-b9fa-48e6-94d2-71b38a682cb7
do you have private networking enabled?
i don't know what that is
I am new here
its in your service settings
disable it and redeploy your bot
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!
@Ray - issue caused by the private network initialisation time