Forums

Could you add the api to the whitelist

link to aiogram github: https://github.com/aiogram/aiogram aiogram documentation: https://docs.aiogram.dev/en/latest/ API Telegram Bot: https://core.telegram.org/bots/api

@TheBaseAccount api.telegram.org is already in the whitelist.

I am using aiogram could you please add it to the whitelist , cause at first I could not run it , then I add the proxy that written in your blog but still did not work..

Aiohttp client throws an error: ClientConnectionError: Cannot initialize a TLS-in-TLS connection to host api.telegram.org:443 through an underlying connection to an HTTPS proxy http://proxy.server:3128 ssl:default [sslcontext is expected to be an instance of ssl.SSLContext, got <ssl.SSLContext object at 0x7effe524f740>]

The error message that you're getting is because aoigram cannot use a proxy for the connection that you're trying to make. api.telegram.org is already on the whitelist.