Opened this umbrella task to collect activities about eventual/common Benthos parsing errors (that ends up in the DLQ).
Description
Description
Details
Details
Related Changes in Gerrit:
| Status | Subtype | Assigned | Task | ||
|---|---|---|---|---|---|
| Resolved | Fabfur | T351117 Move analytics log from Varnish to HAProxy | |||
| Declined | Fabfur | T358109 Install new Benthos instance on cp hosts | |||
| Declined | Fabfur | T365441 Umbrella task for Benthos parsing error | |||
| Declined | Fabfur | T365117 HAProxy log format doesn't support "invalid" request path |
Event Timeline
Comment Actions
A missing Host header in the request result in a 400 from Varnish and a parsing error from varnish:
{
"$schema": "/webrequest/1.0.0",
"backend": "Varnish",
"cache_status": "int-front",
"content_type": "text/html; charset=utf-8",
"dt": "2024-05-21T08:01:48Z",
"error": "failed assignment (line 1): expected string, array or object value, got null from field `this.uri_host`",
"haproxy_pid": 3353284,
"hostname": "cp4044.ulsfo.wmnet",
"http_method": "GET",
"http_status": "400",
"ip": "<REDACTED>",
"meta": {
"domain": "null",
"dt": "2024-05-21T08:01:48Z",
"stream": "webrequest_frontend"
},
"response_size": 2330,
"sequence": 55084,
"time_firstbyte": 0.001,
"tls": "vers=TLSv1.2;keyx=UNKNOWN;auth=ECDSA;ciph=CHACHA20-POLY1305-SHA256;prot=h1;sess=new",
"uri_path": "/",
"webrequest_source": "text",
"x_analytics": "https=1;client_port=59023",
"x_cache": "cp4044 int"
}Comment Actions
Change #1034431 had a related patch set uploaded (by Fabfur; author: Fabfur):
[operations/puppet@production] benthos:cache: catch missing host header
Comment Actions
Change #1034431 merged by Fabfur:
[operations/puppet@production] benthos:cache: catch missing host header and delete meta field
Comment Actions
Change #1034534 had a related patch set uploaded (by Fabfur; author: Fabfur):
[operations/puppet@production] benthos:cache: fix potentially missing uri_host field
Comment Actions
Change #1034534 merged by Fabfur:
[operations/puppet@production] benthos:cache: fix potentially missing uri_host field