<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Hello,</p>
<p>can you want the traffic on port 8000 and see if there is no
"unexpected" traffic there? There should be no error message for
parsing the first line of an HTTP request.</p>
<p>The error message related the missing pipe can be made debug.<br>
</p>
<p>Cheers,<br>
Daniel<br>
</p>
<div class="moz-cite-prefix">On 21.01.20 15:34, Nuno Ferreira wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CA+945_O5_KDF6xmreMvR6=_GLuGrAo_QZ2jkj7+a3qk-PWbLeg@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">
<div>Hi all,</div>
<div><br>
</div>
<div>I'm using pipelimit with the "clean_unused" option to get
rid of pipes that are not used for quite some time. At the
same time we are monitoring pipelimit with a jsonrpc call
similar to:</div>
<div><br>
</div>
<div><font face="monospace"># curl --header 'Content-Type:
application/json' --data-binary '{"id": 1, "jsonrpc": "2.0",
"method": "pl.list", "params": ["pipe_INVITE"]' <a
href="http://127.0.0.1:8000/RPC" moz-do-not-send="true">http://127.0.0.1:8000/RPC</a><br>
<br>
</font></div>
<div><font face="arial, sans-serif">Reply:</font></div>
<div><font face="monospace">{<br>
"jsonrpc": "2.0",<br>
"error": {<br>
"code": 400,<br>
"message": "Unknown pipe id pipe_INVITE"<br>
},<br>
"id": 1</font><br>
</div>
<div><font face="monospace">}</font></div>
<div><br>
</div>
<div>The above reply is valid because the pipe_INVITE was not
loaded yet, but the request makes kamailio to log the
following log messages:</div>
<div><br>
</div>
<div><font face="monospace">Jan 20 11:21:48 proxy1
kamailio[24474]: ERROR: pipelimit [pl_ht.c:519]:
rpc_pl_list(): no pipe: pipe_INVITE<br>
Jan 20 11:21:48 proxy1 kamailio[24474]: ERROR: <core>
[core/parser/parse_fline.c:262]: parse_first_line():
parse_first_line: bad message (offset: 20)<br>
Jan 20 11:21:48 proxy1 kamailio[24474]: [466B blob data]</font></div>
<div><br>
</div>
<div>Since the monitoring system does periodic requests, those
log lines get a bit annoying and fill the log with ERROR
messages that aren't really errors.</div>
<div><br>
</div>
<div>IMHO the first log line should be converted to DEBUG
instead of ERROR, but I have some doubts about the one
from parse_fline.c:262. parse_first_line() is used to process
both SIP and HTTP. It makes sense to log ERROR if SIP but not
in the case of HTTP...</div>
<div>Regarding the "[466B blob data]" I really don't know from
where it's coming from.</div>
<div>I can submit a PR, but I would like to have first some
feedback from you.</div>
<div><br>
</div>
Thank you,
<div><br>
</div>
<div>Nuno<br clear="all">
<div><br>
</div>
</div>
</div>
<br>
<span
style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;background-color:rgb(255,255,255)">*Confidentiality
Notice: The information contained in this e-mail and any</span><br
style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;background-color:rgb(255,255,255)">
<span
style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;background-color:rgb(255,255,255)">attachments
may be confidential. If you are not an intended recipient, you</span><br
style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;background-color:rgb(255,255,255)">
<span
style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;background-color:rgb(255,255,255)">are
hereby notified that any dissemination, distribution or copying
of this</span><br
style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;background-color:rgb(255,255,255)">
<span
style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;background-color:rgb(255,255,255)">e-mail
is strictly prohibited. If you have received this e-mail in
error,</span><br
style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;background-color:rgb(255,255,255)">
<span
style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;background-color:rgb(255,255,255)">please
notify the sender and permanently delete the e-mail and any</span><br
style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;background-color:rgb(255,255,255)">
<span
style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;background-color:rgb(255,255,255)">attachments
immediately. You should not retain, copy or use this e-mail or</span><br
style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;background-color:rgb(255,255,255)">
<span
style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;background-color:rgb(255,255,255)">any
attachment for any purpose, nor disclose all or any part of the</span><br
style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;background-color:rgb(255,255,255)">
<span
style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;background-color:rgb(255,255,255)">contents
to any other person. Thank you.*</span>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
Kamailio (SER) - Users Mailing List
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.kamailio.org">sr-users@lists.kamailio.org</a>
<a class="moz-txt-link-freetext" href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
</blockquote>
<pre class="moz-signature" cols="72">--
Daniel-Constantin Mierla -- <a class="moz-txt-link-abbreviated" href="http://www.asipto.com">www.asipto.com</a>
<a class="moz-txt-link-abbreviated" href="http://www.twitter.com/miconda">www.twitter.com/miconda</a> -- <a class="moz-txt-link-abbreviated" href="http://www.linkedin.com/in/miconda">www.linkedin.com/in/miconda</a>
Kamailio Advanced Training - March 9-11, 2020, Berlin - <a class="moz-txt-link-abbreviated" href="http://www.asipto.com">www.asipto.com</a>
Kamailio World Conference - April 27-29, 2020, in Berlin -- <a class="moz-txt-link-abbreviated" href="http://www.kamailioworld.com">www.kamailioworld.com</a></pre>
</body>
</html>