E
E
entermix2019-08-05 17:04:27
API
entermix, 2019-08-05 17:04:27

How to get a request (webhook) from Telegram after blocking IP from RKN?

After the release of Bot API 4.4, Telegram cannot send a request (webhook) to the web server.

All webhook requests from the Bot API are now coming from the subnets 149.154.160.0/20 and 91.108.4.0/22. Most users won't need to do anything to continue receiving webhooks. If you control inbound access with a firewall, you may need to update your configuration. You can always find the list of actual IP addresses of servers used to send webhooks there: https://core.telegram.org/bots/webhooks


https://core.telegram.org/bots/api
https://core.telegram.org/bots/webhooks

The hoster says that these addresses are blocked by the RKN. Perhaps someone has already encountered such a situation? How to be in this case?

Answer the question

In order to leave comments, you need to log in

4 answer(s)
I
Ivan Shumov, 2019-08-05
@inoise

Take the bot outside the Russian Federation. Dot

S
Sergey Fedotov, 2019-08-05
@FSA

I can offer two options:
1. Full removal of the server outside the Russian Federation.
2. Acquiring a small VPS, installing nginx on it and proxying requests through it to your server in the Russian Federation.

A
Anton none, 2020-03-01
@AHTOLLlKA

I solved it through the webhookapp.com service, added
the redirect API to my domain there and attached the webhook to the new address xxxxxxxxxx.proxy.webhookapp.com
works :)

V
Vladimir Skibin, 2019-08-09
@megafax

Connect ipv6, everything works in it

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question