Our Telegram bot [TOKEN_OMITTED] never 'hooks' with our server.
This URL https://api.telegram.org/bot[TOKEN_OMITTED]/getWebhookInfo gives this response with 'Connection timeout' error:
{"ok":true,"result":{"url":"https://[DOMAIN_OMITTED].com/PHP/telWH2.php","has_custom_certificate":true,"pending_update_count":0,"last_error_date":1624178810,**"last_error_message":"Connection
timed out"**,"max_connections":40,"ip_address":"123.456.789.000"}}
However this command (copied from https://core.telegram.org/bots/webhooks#testing-your-bot-with-updates) works pretty well (so there seems not to be such 'Connection timeout' problem):
curl --tlsv1.2 -v -k -X POST -H "Content-Type: application/json" -H "Cache-Control: no-cache" -d '{ "update_id":10000, "message":{"date":1441645532,"chat":{"last_name":"Test Lastname","id":1111111,"first_name":"Test","username":"Test"},"message_id":1365,"from":{"last_name":"Test Lastname","id":1111111,"first_name":"Test","username":"Test"}, "text":"/start"}}' "https://[DOMAIN_OMITTED]/PHP/telWH2.php"
But as I said, the webhook never works. Any hints? Thank you!