[sr-dev] [kamailio] Lots of tcp_read_* errors in log, multi-transport server, lack of context in messages (#385)

Andrey Utkin notifications at github.com
Wed Oct 28 17:48:29 CET 2015


Hi devs,
The logs of our Kamailio servers are rich for such lines:
```
 Oct 28 06:57:35 ip-172-31-0-139 /usr/local/sbin/kamailio[31963]: ERROR: <core> [tcp_read.c:271]: tcp_read_data(): error reading: Connection reset by peer (104)
Oct 28 06:57:35 ip-172-31-0-139 /usr/local/sbin/kamailio[31963]: ERROR: <core> [tcp_read.c:1296]: tcp_read_req(): ERROR: tcp_read_req: error reading
```

The servers serve WS, WSS, UDP, TCP and TLS as connection transports. So we cannot figure what happens and if this is really a problem, but we get accused by whoever audits the servers.
What could be done to make this more trackable? Or maybe these messages should be suppressed, if there's no way to track them and they don't mean any problem?

---
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/385
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-dev/attachments/20151028/32415fa6/attachment.html>


More information about the sr-dev mailing list