That worked, thanks Muhammad!

Abdirahman A. Osman



On Thu, 28 Oct 2021 at 15:45, M S <shaheryarkh@gmail.com> wrote:
You need to increase xhttp_pi_buf_size,

https://kamailio.org/docs/modules/5.5.x/modules/xhttp_pi.html#idm193

--
Muhammad Shahzad Shafi
Tel: +49 176 99 83 10 85


On Thu, Oct 28, 2021 at 7:34 PM Abdirahman Osman <abdirahman.osm@gmail.com> wrote:
Hello Everyone,

I am using the xhttp_pi modules to see the list of rules on the browser 

and am I  getting Internal Server Error

I checked the logs and noticed the error "ph_build_reply_footer(): buffer 2 small"

13(20) DEBUG: db_postgres [km_dbase.c:411]: db_postgres_free_query(): PQclear(0x55e2416ae9a0) result set
13(20) ERROR: xhttp_pi [xhttp_pi_fnc.c:2470]: ph_build_reply_footer(): buffer 2 small
13(20) DEBUG: xhttp_pi [xhttp_pi.c:159]: pi_send(): pi_fault(500,"Internal Server Error"
13(20) DEBUG: xhttp_pi [xhttp_pi.c:169]: pi_send(): xhttp_api.reply(0x7ffc39eb1410, 500, Internal Server Error, text/html, Internal Server Error)
13(20) DEBUG: xhttp [xhttp_mod.c:416]: xhttp_send_reply(): response with content-type: text/html
13(20) DEBUG: xhttp [xhttp_mod.c:424]: xhttp_send_reply(): response with body: Internal Server Error
13(20) DEBUG: xhttp [xhttp_mod.c:426]: xhttp_send_reply(): sending out response: 500 Internal Server Error

Which buffer do I need to increase here? tried to increase sql_buffer_size but that didn't work for me.

Thanks!


Abdirahman A. Osman

__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions
  * sr-users@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the sender!
Edit mailing list options or unsubscribe:
  * https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions
  * sr-users@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the sender!
Edit mailing list options or unsubscribe:
  * https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users