Error using Telegram API

Website URL

Error Message

error:14094438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error

Other Information

Hello! I was trying to create a PHP web application using the Telegram API, but I ran into an issue with the error message “error:14094438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error”. I have an SSL certificate from zerossl and I have set up a redirect to HTTPS, as well as using HTTPS for my connection. Can you help me with this problem?

I believe this is blocked on free hosting

1 Like

The problem seems to be related to SSL, and it’s unlikely to be blocked on a free hosting service.

Actually, access to the telegram API is blocked on free hosting. You will need to upgrade to premium to use the API.

1 Like

It isn’t. Many social APIs cannot be used on our hosting due to abuse. It’s not always clear if this is done by us or by the provider of the API. But I can tell you that free hosting is unfortunately abused a lot for spam bots and the like, which means that even legitimate use cases are not possible here, as it’s not possible to exclude specific sites or accounts from the restrictions.

I’ve done a little bit of digging, and it seems that the Telegram API is blocked on our end. Specifically, the Telegram API is routed to the local server. Because of this, your API calls are not going to Telegram, but end up on our web servers instead. And since our web servers allow HTTPS connections, but don’t have valid HTTPS configuration for the Telegram API domain, you get an SSL error.

So I can tell you with 100% certainty that you see this error because the Telegram API is blocked on our hosting, that we cannot make an exception for you, and that you need to upgrade to premium hosting if you want to host something that needs to interact with the Telegram API.


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.