You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Event listener fails with "invalid semantic version" when HAProxy is installed from distribution packages #415
The HAProxy event listener fails to start when HAProxy is installed from distribution
packages, because the version string reported by the runtime API cannot be parsed as
a valid semantic version.
Log output:
level=error msg="Failed to start HAProxy's event listener:invalid semantic version"
This prevents ACME certificate persistence: HAProxy emits acme newcert events to the dpapi ring, but the Data Plane API never consumes them, so renewed certificates stay
in memory only and are lost on reload.
Environment
Failing:
HAProxy version
Source
Result
3.4.3-0+ha34+ubuntu24.04u1
Official HAProxy Technologies repo (Ubuntu 24.04, haproxy-awslc)
fails
3.2.22-1ppa1~noble
ppa:vbernat/haproxy-3.2 (Ubuntu 24.04)
fails
Working:
HAProxy version
Source
Result
3.3.13-f0df3469b
Built from source (haproxytech/haproxy:ubuntu-s6-3.3.13)
works
Data Plane API v3.4.2 (also reproduced with v3.2.15).
The working container uses an equivalent configuration, so this does not appear to be
a configuration issue.
Analysis
GetVersion() in client-native/runtime/runtime_client.go:118 runs show info and
passes the version string to ParseHAProxyVersion(), which relies on Masterminds/semver/v3. Distribution packaging suffixes are rejected — note the
double + in 3.4.3-0+ha34+ubuntu24.04u1, which is not valid semver.
The subsequent check in client-native/events.go only uses Major() and Minor():
Tested with Data Plane API v3.2.16 (HAProxy 3.2.22-1ppa1~noble) and v3.4.3 (HAProxy 3.4.3-0+ha34+ubuntu24.04u1). The error persists in both:
level=error msg="Failed to start HAProxy's event listener:invalid semantic version"
Both releases were built on 2026-09-03T15:19Z, while the fix (client-native 0564d06) was committed at 2026-09-03T19:08Z — roughly four hours later, so neither picked it up.
Which Data Plane API release is expected to include it?
Activity
oliwer commentedon Sep 4, 2026
Thanks for the detailed report. This should fix it: 0564d06
jorgemsanjose-max commentedon Oct 1, 2026
Tested with Data Plane API v3.2.16 (HAProxy 3.2.22-1ppa1~noble) and v3.4.3 (HAProxy 3.4.3-0+ha34+ubuntu24.04u1). The error persists in both:
level=error msg="Failed to start HAProxy's event listener:invalid semantic version"
Both releases were built on 2026-09-03T15:19Z, while the fix (client-native 0564d06) was committed at 2026-09-03T19:08Z — roughly four hours later, so neither picked it up.
Which Data Plane API release is expected to include it?