error:transaction-end-before-headers

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

error:transaction-end-before-headers

joseph
i have over then 10000  daily this error befor was 0 or at least not much
using squid 5   latest patch  up to  r15228
my setup same nothing change
ps.. not only those  clients ip   the hole range affected  so its not from specific client that has some trouble so all my client produce this  

1498793967.385      0 10.3.252.229 NONE/000 0 NONE error:transaction-end-before-headers - HIER_NONE/- -
1498793967.385      0 10.3.252.229 NONE/000 0 NONE error:transaction-end-before-headers - HIER_NONE/- -
1498793967.385      0 10.3.252.229 NONE/000 0 NONE error:transaction-end-before-headers - HIER_NONE/- -
1498793967.385      0 10.3.252.229 NONE/000 0 NONE error:transaction-end-before-headers - HIER_NONE/- -
1498793967.385      0 10.3.252.229 NONE/000 0 NONE error:transaction-end-before-headers - HIER_NONE/- -
1498793967.385      0 10.3.252.229 NONE/000 0 NONE error:transaction-end-before-headers - HIER_NONE/- -
1498793967.387      0 10.3.252.229 NONE/000 0 NONE error:transaction-end-before-headers - HIER_NONE/- -
1498793967.387      0 10.3.252.229 NONE/000 0 NONE error:transaction-end-before-headers - HIER_NONE/- -
1498793967.387      0 10.3.252.229 NONE/000 0 NONE error:transaction-end-before-headers - HIER_NONE/- -
1498793967.387      0 10.3.252.229 NONE/000 0 NONE error:transaction-end-before-headers - HIER_NONE/- -
1498793967.387      0 10.3.252.229 NONE/000 0 NONE error:transaction-end-before-headers - HIER_NONE/- -
1498793967.387      0 10.3.252.229 NONE/000 0 NONE error:transaction-end-before-headers - HIER_NONE/- -
1498793967.387      0 10.3.252.229 NONE/000 0 NONE error:transaction-end-before-headers - HIER_NONE/- -
1498793967.387      0 10.3.252.229 NONE/000 0 NONE error:transaction-end-before-headers - HIER_NONE/- -
1498793967.391      0 10.3.252.229 NONE/000 0 NONE error:transaction-end-before-headers - HIER_NONE/- -
1498793967.391      0 10.3.252.229 NONE/000 0 NONE error:transaction-end-before-headers - HIER_NONE/- -
1498793967.391      0 10.3.252.229 NONE/000 0 NONE error:transaction-end-before-headers - HIER_NONE/- -
1498793967.391      0 10.3.252.229 NONE/000 0 NONE error:transaction-end-before-headers - HIER_NONE/- -
1498793970.692      0 10.3.255.106 NONE/000 0 NONE error:transaction-end-before-headers - HIER_NONE/- -
1498793973.205      0 10.3.254.96 NONE/000 0 NONE error:transaction-end-before-headers - HIER_NONE/- -
1498793979.237      0 10.3.254.152 NONE/000 0 NONE error:transaction-end-before-headers - HIER_NONE/- -
1498793979.702      0 10.3.252.174 NONE/000 0 NONE error:transaction-end-before-headers - HIER_NONE/- -
1498793980.841      0 10.3.254.96 NONE/000 0 NONE error:transaction-end-before-headers - HIER_NONE/- -
1498793980.841      0 10.3.254.96 NONE/000 0 NONE error:transaction-end-before-headers - HIER_NONE/- -
1498793980.841      0 10.3.254.96 NONE/000 0 NONE error:transaction-end-before-headers - HIER_NONE/- -
1498793980.841      0 10.3.254.96 NONE/000 0 NONE error:transaction-end-before-headers - HIER_NONE/- -
1498793982.845      0 10.3.254.96 NONE/000 0 NONE error:transaction-end-before-headers - HIER_NONE/- -
1498793982.845      0 10.3.254.96 NONE/000 0 NONE error:transaction-end-before-headers - HIER_NONE/- -
1498793988.355      0 10.3.254.96 NONE/000 0 NONE error:transaction-end-before-headers - HIER_NONE/- -
1498793988.356      0 10.3.254.96 NONE/000 0 NONE error:transaction-end-before-headers - HIER_NONE/- -
1498793988.569      0 10.3.252.174 NONE/000 0 NONE error:transaction-end-before-headers - HIER_NONE/- -
1498793991.236      0 10.3.254.96 NONE/000 0 NONE error:transaction-end-before-headers - HIER_NONE/- -
1498793991.236      0 10.3.254.96 NONE/000 0 NONE error:transaction-end-before-headers - HIER_NONE/- -
1498793992.237      0 10.3.254.96 NONE/000 0 NONE error:transaction-end-before-headers - HIER_NONE/- -
1498793992.237      0 10.3.254.96 NONE/000 0 NONE error:transaction-end-before-headers - HIER_NONE/- -
1498793993.237      0 10.3.254.96 NONE/000 0 NONE error:transaction-end-before-headers - HIER_NONE/- -
1498793994.239      0 10.3.254.96 NONE/000 0 NONE error:transaction-end-before-headers - HIER_NONE/- -
1498793994.239      0 10.3.254.96 NONE/000 0 NONE error:transaction-end-before-headers - HIER_NONE/- -
1498793995.241      0 10.3.254.96 NONE/000 0 NONE error:transaction-end-before-headers - HIER_NONE/- -
1498793995.242      0 10.3.254.96 NONE/000 0 NONE error:transaction-end-before-headers - HIER_NONE/- -
1498793996.146      0 10.3.252.174 NONE/000 0 NONE error:transaction-end-before-headers - HIER_NONE/- -
1498794028.229      0 10.3.254.96 NONE/000 0 NONE error:transaction-end-before-headers - HIER_NONE/- -
1498794028.229      0 10.3.254.96 NONE/000 0 NONE error:transaction-end-before-headers - HIER_NONE/- -
1498794034.188      0 10.3.252.174 NONE/000 0 NONE error:transaction-end-before-headers - HIER_NONE/- -
1498794037.041      0 10.3.252.174 NONE/000 0 NONE error:transaction-end-before-headers - HIER_NONE/- -
1498794037.042      0 10.3.252.174 NONE/000 0 NONE error:transaction-end-before-headers - HIER_NONE/- -
1498794037.042      0 10.3.252.174 NONE/000 0 NONE error:transaction-end-before-headers - HIER_NONE/- -
1498794058.094      0 10.3.252.174 NONE/000 0 NONE error:transaction-end-before-headers - HIER_NONE/- -
1498794064.108      0 10.3.252.174 NONE/000 0 NONE error:transaction-end-before-headers - HIER_NONE/- -
1498794069.832      0 10.3.252.174 NONE/000 0 NONE error:transaction-end-before-headers - HIER_NONE/- -
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: error:transaction-end-before-headers

Alex Rousskov
On 06/30/2017 03:35 AM, joseph wrote:
> i have over then 10000  daily this error befor was 0 or at least not much
> using squid 5   latest patch  up to  r15228
> my setup same nothing change

What Squid version did you run "before"?


> ps.. all my client produce this  
>
> 1498793967.385      0 10.3.252.229 NONE/000 0 NONE
> error:transaction-end-before-headers - HIER_NONE/- -

These errors are meant to be logged for clients that open and close
connections without sending any HTTP headers (or without sending
complete HTTP headers -- you can log HTTP request size to distinguish
these two cases).

I do not know whether Squid has a bug identifying these cases or you
just have a lot of these cases in your environment. If these are
frequent, then you should be able to learn more about them by capturing
network packets and matching them with the errors. Logging the
client/source TCP port number would help with that. There are a couple
of known problems with the detection code, but if this is some
new/unknown problem, it would be useful for developers to know more
about it. Please investigate if you can.

I do not know whether it is possible to match these cases with existing
ACLs so that you can stop logging them (if that is what you want).
Adding an ACL for this purpose is a known TODO, but I am not aware of
anybody working on that or sponsoring that work.

If you want to modify Squid to stop logging these cases, add "return;"
at the very beginning of ConnStateData::checkLogging() in
src/client_side.cc.

You forgot to ask a question, but I hope the above info is useful.


HTH,

Alex.
_______________________________________________
squid-users mailing list
[hidden email]
http://lists.squid-cache.org/listinfo/squid-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: error:transaction-end-before-headers

joseph
tks alex  i will investigate more i will capture port and link to identify the causes and packet as well
i dont remember on wish  patch start  getting those more and more
i may have to start  removing patch  one by one and test

its ben a one weak since i monitor the acsess.log error  before that was less  huge difference
Loading...