My link shortener app has an SSL issue / or something with certificates

What is the name of the domain?

tril cc

What is the error number?

_ssl.c:1006

What is the error message?

Error: [SSL: TLSV1_UNRECOGNIZED_NAME] tlsv1 unrecognized name (_ssl.c:1006) – that’s what the Telegram bot says.

What is the issue you’re encountering

Hello, I’m hosting a link shortener on Heroku. I have a Flask app and a Telegram bot codes there. But the domains I use for shortened links are added here to Cloudflare. A few days ago I noticed that bot shows an error when I try to shorten a link. As I see it is related to certificates or domains, I don’t know for sure: Error: [SSL: TLSV1_UNRECOGNIZED_NAME] tlsv1 unrecognized name (_ssl.c:1006) I didn’t change any settings for like 6 monts on Heroku and Cloudflare (until few days ago, because I tried to fix it. But, it still doesn’t work). What might be the cause of the problem?

What steps have you taken to resolve the issue?

Set SSL/TLS encryption mode to “Full (strict)”. Enabled Automatic Certificate Management (ACM) on Heroku.

What are the steps to reproduce the issue?

Open this bot and try to shorten amy link: Telegram: Contact @shortlylin_kbot

What is the name of the domain?

tril cc

What is the error number?

_ssl.c:1006

What is the error message?

Error: [SSL: TLSV1_UNRECOGNIZED_NAME] tlsv1 unrecognized name (_ssl.c:1006) – that’s what the Telegram bot says.

What is the issue you’re encountering

Hello, I’m hosting a link shortener on Heroku. I have a Flask app and a Telegram bot codes there. But the domains I use for shortened links are added here to Cloudflare. A few days ago I noticed that bot shows an error when I try to shorten a link. As I see it is related to certificates or domains, I don’t know for sure: Error: [SSL: TLSV1_UNRECOGNIZED_NAME] tlsv1 unrecognized name (_ssl.c:1006) I didn’t change any settings for like 6 monts on Heroku and Cloudflare (until few days ago, because I tried to fix it. But, it still doesn’t work). What might be the cause of the problem?

What steps have you taken to resolve the issue?

Set SSL/TLS encryption mode to “Full (strict)”. Enabled Automatic Certificate Management (ACM) on Heroku.

What are the steps to reproduce the issue?

Open this bot and try to shorten any link: Telegram: Contact @shortlylin_kbot

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