Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
nekludovv opened this issue Dec 1, 2023 · 1 comment
Open
Labels
bug Something isn't working

Comments

@nekludovv
Copy link

nekludovv commented Dec 1, 2023

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(

  • E_WARNING           => DISPLAY_ERROR_HALT,
    
  • E_ALL               => DISPLAY_ERROR_INLINE,
    
  • );
    Снимок экрана 2023-12-01 183924

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

  • HTTP error before end of send, stop sending
    <
  • Closing connection 0

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 #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
Copy link
Author

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

@brlumen brlumen added the bug Something isn't working label Jun 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants