This error seems to be a rare one since google doesn't cough up anything. (There do exist questions and answers for different Telegram Webhook error messages.)
So this is mine:
{"ok":true,"result":{"url":"https://blablabla.com:8443/mytgmhook",
"has_custom_certificate":false,
"pending_update_count":22,
"last_error_date":1535648677,
"last_error_message":"SSL error {
error:14095044:SSL routines:ssl3_read_n:internal error
}","max_connections":40}}
For context:
I am running a newly set up Amazon Linux 2 on EC2.
I have created SSL certificates using LetsEncrypt and Amazon's instructions. I have verified the setup on ssllabs.com and it's all green.
I have opened the ports 443 and 8443 and tested them, they work, traffic gets through.
The site is accessible via https on both domain.com and www.domain.com
This error message is preventing me from getting and parsing the bot inputs. They never arrive to my server. Note that it didn't stop working -- it never worked.
Any ideas please?
EDIT:
I have discovered that if I keep refreshing the getWebhookInfo, the above error is sometimes replaced with this one:
"last_error_message":"SSL error {
error:1408F10B:SSL routines:ssl3_get_record:wrong version number
}","max_connections":40}}
I have launched a brand new EC2 instance, with Ubuntu this time, and I get the same error.
I am still at a loss as how to solve this.