[SR-Users] xhttp_pi show dr_rules buffer 2 small Error.

M S shaheryarkh at gmail.com
Thu Oct 28 21:44:26 CEST 2021


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 at gmail.com>
wrote:

> Hello Everyone,
>
> I am using the xhttp_pi modules to see the list of rules on the browser
> http://172.28.253.17:5060/pi/dr_rules/show?cmd=on
>
> 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 at 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20211028/9604602c/attachment.htm>


More information about the sr-users mailing list