Telegram Bot Webhook Error

Hello,

Wondering if anyone has seen this with the Telegram Webhook. Everything seems to be setup correctly, but I am not getting the webhooks back (I can send just fine). In looking into Telegram, I am seeing this (with a getWebhookInfo call):

{"ok":true,"result":{"url":"https://url/api/telegram_webhooks","has_custom_certificate":false,"pending_update_count":5,"last_error_date":1524362520,"last_error_message":"Bad Request: zlib error -3","max_connections":40}}

There is nothing in the home-assistant.log (with DEBUG)

2018-04-22 01:55:40 INFO (MainThread) [homeassistant.components.telegram_bot] Setting up telegram_bot.webhooks
2018-04-22 01:55:41 DEBUG (MainThread) [homeassistant.components.telegram_bot.webhooks] telegram webhook Status: {'url': '', 'has_custom_certificate': False, 'pending_update_count': 5}
2018-04-22 01:55:41 INFO (MainThread) [homeassistant.components.telegram_bot.webhooks] Set new telegram webhook https://url/api/telegram_webhooks

Anyone have any ideas that could point me in the right direction?

Thanks!

Chris

1 Like

I have this problem too. Telegram servers do many similar requests to hass. Hass put response is wrong - is not 200 request code type.

I do request of getWebhookInfo, and receive response “last_error_message”:“Bad Request: zlib error -3”.

What`s wrong?

1 Like

I get the same zlib error -3 in my telegram config after migrate from Rpi to docker

Maybe this?

Yes I’ve readed this post… and tried with any possibility of ip’s… and still saying “acces denied”, I’ve put the internal ip of traefik, 127.0.0.1, the router ip, nothing…