[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openser-users
Subject:    Re: [SR-Users] xhttp_pi show dr_rules buffer 2 small Error.
From:       Abdirahman Osman <abdirahman.osm () gmail ! com>
Date:       2021-10-28 20:25:43
Message-ID: CAEjtZA1qZEsJxU2XuKSGTMJ9XNvi-qxpdPEP_m=RybhNtNYWLw () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


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
>> 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@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
>

[Attachment #5 (text/html)]

<div dir="ltr"><div dir="ltr">That worked, thanks Muhammad!</div><div dir="ltr"><br \
clear="all"><div><div dir="ltr" class="gmail_signature" \
data-smartmail="gmail_signature"><div dir="ltr">Abdirahman A. \
Osman<div><div><br></div></div></div></div></div><br></div><br><div \
class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, 28 Oct 2021 at 15:45, M \
S &lt;<a href="mailto:shaheryarkh@gmail.com">shaheryarkh@gmail.com</a>&gt; \
wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px \
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">You \
need to increase  <span \
style="background-color:rgb(252,255,252);color:rgb(0,0,0);font-size:15px">xhttp_pi_buf_size</span>,<br><div><br></div><div><a \
href="https://kamailio.org/docs/modules/5.5.x/modules/xhttp_pi.html#idm193" \
target="_blank">https://kamailio.org/docs/modules/5.5.x/modules/xhttp_pi.html#idm193</a><br></div><div><br></div><div>--</div><div>Muhammad \
Shahzad Shafi</div><div>Tel:  +49 176 99 83 10 85</div><div><br></div></div><br><div \
class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Oct 28, 2021 at 7:34 PM \
Abdirahman Osman &lt;<a href="mailto:abdirahman.osm@gmail.com" \
target="_blank">abdirahman.osm@gmail.com</a>&gt; wrote:<br></div><blockquote \
class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid \
rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Hello \
Everyone,</div><div><br></div><div>I am using the xhttp_pi modules to see the list of \
rules on the browser  </div><div><a \
href="http://172.28.253.17:5060/pi/dr_rules/show?cmd=on" \
target="_blank">http://172.28.253.17:5060/pi/dr_rules/show?cmd=on</a></div><div><br></div><div>and \
am I   getting  <span style="color:rgb(0,0,0);font-family:&quot;Times New \
Roman&quot;;font-size:medium">Internal Server Error</span></div><div><br></div><div>I \
checked the logs and noticed the error &quot;ph_build_reply_footer(): buffer 2 \
small&quot;</div><div><br></div><div>13(20) DEBUG: db_postgres [km_dbase.c:411]: \
db_postgres_free_query(): PQclear(0x55e2416ae9a0) result set<br>13(20) ERROR: \
xhttp_pi [xhttp_pi_fnc.c:2470]: ph_build_reply_footer(): buffer 2 small<br>13(20) \
DEBUG: xhttp_pi [xhttp_pi.c:159]: pi_send(): pi_fault(500,&quot;Internal Server \
Error&quot;<br>13(20) DEBUG: xhttp_pi [xhttp_pi.c:169]: pi_send(): \
xhttp_api.reply(0x7ffc39eb1410, 500, Internal Server Error, text/html, Internal \
Server Error)<br>13(20) DEBUG: xhttp [xhttp_mod.c:416]: xhttp_send_reply(): response \
with content-type: text/html<br>13(20) DEBUG: xhttp [xhttp_mod.c:424]: \
xhttp_send_reply(): response with body: Internal Server Error<br>13(20) DEBUG: xhttp \
[xhttp_mod.c:426]: xhttp_send_reply(): sending out response: 500 Internal Server \
Error<br></div><div><br></div><div>Which buffer do I need to increase here? tried to \
increase sql_buffer_size but that didn&#39;t work for \
me.</div><div><br></div><div>Thanks!</div><div><br></div><div><br \
clear="all"><div><div dir="ltr"><div dir="ltr">Abdirahman A. \
Osman<div><div><br></div></div></div></div></div></div></div> \
__________________________________________________________<br> Kamailio - Users \
                Mailing List - Non Commercial Discussions<br>
   * <a href="mailto:sr-users@lists.kamailio.org" \
                target="_blank">sr-users@lists.kamailio.org</a><br>
Important: keep the mailing list in the recipients, do not reply only to the \
sender!<br> Edit mailing list options or unsubscribe:<br>
   * <a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" \
rel="noreferrer" target="_blank">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a><br>
 </blockquote></div>
__________________________________________________________<br>
Kamailio - Users Mailing List - Non Commercial Discussions<br>
   * <a href="mailto:sr-users@lists.kamailio.org" \
                target="_blank">sr-users@lists.kamailio.org</a><br>
Important: keep the mailing list in the recipients, do not reply only to the \
sender!<br> Edit mailing list options or unsubscribe:<br>
   * <a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" \
rel="noreferrer" target="_blank">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a><br>
 </blockquote></div></div>



__________________________________________________________
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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic