# Unmatched responses or requests

**URL:** <https://discuss.elastic.co/t/unmatched-responses-or-requests/246455>\
**Category:** Beats\
**Tags:** packetbeat\
**Created:** [August 26, 2020, 1:18pm UTC](https://discuss.elastic.co/t/unmatched-responses-or-requests/246455 "2020-08-26T13:18:32Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![toms130](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/toms130/32/58507_2.png) [@toms130](https://discuss.elastic.co/u/toms130)\
**Post date:** [August 26, 2020, 1:18pm UTC](https://discuss.elastic.co/t/unmatched-responses-or-requests/246455/1 "2020-08-26T13:18:32Z")

</div>

Hi all,

I'm using packetbeat to capture http webservices traffic using SOAP , and I'm facing a lot of http requests that are logged as unmatched requests or responses. ( for example, 80k on 470k documents on last 24h had these error, with ~ 70% unmatched response, 15% Packet loss while capturing the request, and 15% unmatched request).

I use packetbeat on ~ 30 different VMs under proxmox, dispatched on around 10 hypervisors and have these uncomplete documents from all VMs.  
Some has more error than others, I watched on VMs which have the most important count of erreor, but found nothing relevant on metrics (lot of cpu & memory free, network link not saturated)

I also use packetbeat on kubernetes containers, the behavior is the same on both platforms.

I've already read a lot of topics about it, and changed my conf from pcap to af\_packet, but unfortunately this is not better.  
I also tried to disable tcp offloading, but I still see unmatched documents.

Below actual config I use :

```auto
packetbeat.interfaces.device: eth0
packetbeat.interfaces.type: af_packet
packetbeat.interfaces.buffer_size_mb: 2048
packetbeat.interfaces.auto_promisc_mode: true

packetbeat.flows:
  enabled: false
  timeout: 30s
  period: 10s
packetbeat.protocols:
- type: http
  enabled: true
  ports: [8200,8201,8202,8204,8205,8207,8208]
  include_body_for: ["application/json","text/html","application/soap+xml","text/xml"]
  send_all_headers: true
  real_ip_header: "X-Forwarded-For"
  send_request: false
  send_response: false
  keep_null: true
logging.metrics.enabled: false
packetbeat.procs.enabled: false
packetbeat.ignore_outgoing: false
processors:
  - add_fields:
      target: fields
      fields:
        context: 'prod'
tags: ["packetbeat"]
output.logstash:
  enabled: true
  hosts: ["ls1.vrack:5045","ls2.vrack:5045"]

```

Does anyone has an idea ?  
regards  
thomas

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [September 23, 2020, 3:18pm UTC](https://discuss.elastic.co/t/unmatched-responses-or-requests/246455/2 "2020-09-23T15:18:34Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
