haproxytech / dataplaneapi

HAProxy Data Plane API
https://www.haproxy.com/documentation/dataplaneapi/
Apache License 2.0
328 stars 76 forks source link

Error on fetching stats info from endpoint v2/services/haproxy/stats/native #321

Closed nandu506tvm closed 10 months ago

nandu506tvm commented 10 months ago

{"code":500,"message":"runtime error: index out of range [32] with length 1: /home/runner/go/pkg/mod/github.com/haproxytech/client-native/v5@v5.1.1/runtime/stats.go:56 (*SingleRuntime).GetStats"}

[root@localhost ~]# haproxy -v HA-Proxy version 2.0.7 2019/09/27 - https://haproxy.org/ [root@localhost ~]# dataplaneapi -v HAProxy Data Plane API v2.9.0 91da11d

Build from: https://github.com/haproxytech/dataplaneapi Build date: 2023-12-08T14:53:01Z

Am i missing something here ? All other API calls seems to be working

mjuraga commented 7 months ago

Hi, sorry for the late response, this is confirmed as a bug and we are working on a fix for it.

nandu506tvm commented 7 months ago

Hey ,

No problem !.. Thanks for letting me know

Regards. Nandu J B

On Thu, 18 Apr, 2024, 1:44 pm Marko Juraga, @.***> wrote:

Hi, sorry for the late response, this is confirmed as a bug and we are working on a fix for it.

— Reply to this email directly, view it on GitHub https://github.com/haproxytech/dataplaneapi/issues/321#issuecomment-2063291940, or unsubscribe https://github.com/notifications/unsubscribe-auth/ATDNIV7V6GUFVQW6FHUR6STY556HDAVCNFSM6AAAAABBPJ5S4WVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANRTGI4TCOJUGA . You are receiving this because you modified the open/close state.Message ID: @.***>