Page MenuHomePhabricator

Umbrella task for Benthos parsing error
Closed, DeclinedPublic

Description

Opened this umbrella task to collect activities about eventual/common Benthos parsing errors (that ends up in the DLQ).

Event Timeline

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"
}

Change #1034431 had a related patch set uploaded (by Fabfur; author: Fabfur):

[operations/puppet@production] benthos:cache: catch missing host header

https://gerrit.wikimedia.org/r/1034431

Change #1034431 merged by Fabfur:

[operations/puppet@production] benthos:cache: catch missing host header and delete meta field

https://gerrit.wikimedia.org/r/1034431

Change #1034534 had a related patch set uploaded (by Fabfur; author: Fabfur):

[operations/puppet@production] benthos:cache: fix potentially missing uri_host field

https://gerrit.wikimedia.org/r/1034534

Change #1034534 merged by Fabfur:

[operations/puppet@production] benthos:cache: fix potentially missing uri_host field

https://gerrit.wikimedia.org/r/1034534