Answer the question
In order to leave comments, you need to log in
Telegram bot has stopped working. What could be the reason?
I uploaded the @gadaniebot bot two days ago and it worked fine all weekend.
But today he stopped responding to my requests via telegram.
If you contact the server directly, passing the necessary parameters, then it works out and sends a response to telegrams.
I also set up a webhook of another bot on the same server for testing. Commands also pass through it and answers safely reach the messenger.
What can you suggest in this situation?
I keep logs of incoming requests to the server. comes the same request once a minute. If something would have hung on the telegram.
Answer the question
In order to leave comments, you need to log in
Thanks imhuman.
As a result: incorrectly processed some requests and returned code 500 instead of 200. Which made telegrams again and again make the last request to my server. As soon as I corrected the error, all requests that had accumulated during this time passed!
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question