-
Notifications
You must be signed in to change notification settings - Fork 78
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
/v3/service_discovery/consul PUT panicmem #349
Comments
Hi Marek, can you please paste the logs with the full stack trace to the panic if possible. Thank you, |
this one? time="2024-11-22T09:21:24Z" level=info msg="[::1] - - [22/Nov/2024:09:21:24 +0000] "PUT /v3/service_discovery/consul/9c720cd0-021d-4a3d-b229-d1bc32509628 HTTP/1.1" 200 - "-" "curl/7.76.1"" changed log_level to trace in /etc/dataplaneapi/dataplaneapi.yml
|
yes, thank you! |
rocky 9.5
haproxy 3.0.5
dataplaneapi 3.0.3 (from rpm, run from systemd unit)
selinux enabled
[root@lb ~]# curl -s -u admin:admin http://localhost:5555/v3/service_discovery/consul | jq
[
{
"address": "consul-1.example.net",
"enabled": true,
"id": "9c720cd0-021d-4a3d-b229-d1bc32509628",
"port": 8500,
"retry_timeout": 10,
"server_slots_base": 10,
"server_slots_growth_increment": 10,
"server_slots_growth_type": "linear",
"service_allowlist": [
"app1"
]
}
]
curl -X PUT
-u admin:admin
-H 'Content-Type: application/json'
-d '{
"id": "9c720cd0-021d-4a3d-b229-d1bc32509628",
"address": "consul-1.example.net",
"enabled": true,
"port": 8500,
"retry_timeout": 10,
"service_allowlist": ["my-consul-service"]
}' http://localhost:5555/v3/service_discovery/consul/9c720cd0-021d-4a3d-b229-d1bc32509628
{"code":500,"message":"runtime error: invalid memory address or nil pointer dereference: /opt/hostedtoolcache/go/1.23.2/x64/src/runtime/panic.go:261 panicmem"}
replicated: always
The text was updated successfully, but these errors were encountered: