I have my telegram bot deployed on Heroku. Bot used to work fine, but at some point it just stopped sending messages when receiving commands. here is the answer of getWebHookInfo:
{"ok":true,"result":{"url":"https://telegram-rainbow-bot.herokuapp.com:443/api/message/update","has_custom_certificate":false,"pending_update_count":1,"last_error_date":1613676609,"last_error_message":"Wrong response from the webhook: 404 Not Found","max_connections":40,"ip_address":"54.171.62.111"}}
I have no idea what happened. Bot worked as usual, and suddenly that happens. Bot is using port 443 for https requests. Also sometimes logs say "Failed to determine the https port for redirect".