mantisbt-plugins / TelegramBot

15 stars 12 forks source link

TelegramBot cannot receive and show a list of Responsible people #39

Open nekludovv opened 9 months ago

nekludovv commented 9 months ago

Since May 2023 I have been using TelegramBot_2_0_0_dev_24_05_2023. You sent me this version individually. See the E-mail.

Версия MantisBT 2.25.7 Версия схемы 211 Версия PHP 7.3.33 Драйвер базы данных mysqli Версия база данных, описание 10.11.2, 10.11.2-MariaDB

Something happened a couple of days ago. When creating a task, it cannot receive and show a list of Responsible people in the chat. After entering the the algorithm freezes, nothing happens in the Telegram chat.

I try to get out of the hang, enter any character in the input Field, the algorithm works further to the end. Снимок экрана 2023-12-01 185354 I receive the created task as a new one without assigning anyone.

Errors Снимок экрана 2023-12-01 111106

I switched on $g_display_errors = array(

In the /tmp/TelegramBot_debug.log file, there are 400 Bad Requests for these requests

< HTTP/1.1 400 Bad Request < Server: nginx/1.18.0 < Date: Fri, 01 Dec 2023 08:01:35 GMT < Content-Type: application/json < Content-Length: 83 < Connection: keep-alive < Strict-Transport-Security: max-age=31536000; includeSubDomains; preload < Access-Control-Allow-Origin: * < Access-Control-Expose-Headers: Content-Length,Content-Type,Date,Server,Connection

Is this due to the fact that the list of users is large - 187? What could have happened? How to fix it?

The rest of the Telegram Bot functionality works fine.

P.S. A couple of days ago I tried to install a new version of Mantis 2.26. TelegramBot did not work. I rolled away. Showed an error by type INTERNAL APPLICATION ERROR https://github.com/mantisbt-plugins/TelegramBot/issues/32

Is TelegramBot_2_0_0_dev_24_05_2023 compatible with Mantis 2.26? Could Mantis 2.26 have written anything to the database?

nekludovv commented 9 months ago

TelegramBot has worked properly. I was setting the parameters: $g_show_user_realname_threshold = ANYBODY; $g_show_realname = ON;