-
Notifications
You must be signed in to change notification settings - Fork 161
Open
Open
Copy link
Description
What's wrong?
When context_propagation: all is enabled, certain SSL connections may fail with Connection reset by peer, despite the peer being up and responsive. This seems to be worsened/primarily occur for hosts with ~moderate latency (e.g. connections from US to EU).
It appears to specifically occur when these items are loaded:
perf_event name pyperf_collect
perf_event name read_python_stack
sched_cls name obi_app_egress
sched_cls name obi_app_ingress
sk_msg name obi_packet_extender
sk_msg name obi_packet_extender_write_msg_tp
sock_ops name obi_sockmap_tracker
No apparent error/related stdout logs from Beyla.
Steps to reproduce
- obtain a host that's in the US (I used a cheap Hetzner host to reproduce)
- deploy Beyla with Docker (see attached configuration)
curl --fail -6 https://mc.pjw.lol -o /dev/null<- this host is physically located in Europe- may take a couple restarts of Beyla or a few tries (some timing bug?)
- feel free to use this host in testing!
- does NOT reproduce with
curl -4 ...
System information
Linux 6.8.0-79-generic #79-Ubuntu SMP PREEMPT_DYNAMIC Tue Aug 12 14:42:46 UTC 2025 x86_64 GNU/Linux
Software version
Grafana Beyla 2.7.5 (official Docker image)
Configuration
discovery:
poll_interval: 30s
min_process_age: 30s
instrument:
- open_ports: "1-65535"
exclude_instrument:
# some irrelevant exclusions omitted
otel_metrics_export:
features: []
instrumentations: []
prometheus_export:
port: 0
network:
enable: false
otel_traces_export:
instrumentations:
- "*"
ebpf:
context_propagation: all
track_request_headers: true
Logs
curl -6 --fail https://mc.pjw.lol -o /dev/null
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
curl: (35) Recv failure: Connection reset by peer
curl -4 --fail https://mc.pjw.lol -o /dev/null
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 2386 0 2386 0 0 3692 0 --:--:-- --:--:-- --:--:-- 3687
Metadata
Metadata
Assignees
Labels
No labels