V
V
Vova Putsyk2016-02-15 21:39:10
Python
Vova Putsyk, 2016-02-15 21:39:10

Telegram webhook does not send requests. What could be the problem?

  • Made a bot in python using bottle.py
  • It did not work, which I just did not, and I did everything according to the instructions and copied the code from github . But he didn't work anymore.

What could be the problem? Doesn't throw errors. set_webhook() succeeds (shows True). Hosting - nitrous.io , the required port is open.
I will be grateful for help

Answer the question

In order to leave comments, you need to log in

3 answer(s)
V
Vova Putsyk, 2016-02-16
@vovawed

I think the problem was in my hosting, I am now looking for a new one. It's bad in that it only runs when a browser window is open.

I
Igor Alyakimov, 2016-02-16
@kaiten

Telegram sends requests only to a valid ssl, or to a self-signed one, but then the public key needs to be uploaded to telegram

A
Alexey S., 2016-02-16
@Winsik

try to manually send a message (as if you are a telegram server) and do a debug

logger = telebot.logger
telebot.logger.setLevel(logging.DEBUG) # Outputs debug messages to console.

to track incoming messages from the cart

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question