Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
22.7 Legacy Series
»
HAProxy API reconfigure failed
« previous
next »
Print
Pages: [
1
]
Author
Topic: HAProxy API reconfigure failed (Read 4126 times)
MiRei
Newbie
Posts: 16
Karma: 0
HAProxy API reconfigure failed
«
on:
October 04, 2022, 11:21:58 am »
I have a problem with the API of the Haproxy.
The modification of conditions and e.g. the status query via
curl -k -u $OPNS_KEY:$OPNS_SECRET https://$IPFW/api/haproxy/service/configtest
work without any problems.
But when I want to to apply my modifactions via:
curl -k -u $OPNS_KEY:$OPNS_SECRET https://$IPFW/api/haproxy/service/reconfigure
I get an error message:
{"status": "failed"}
Does anyone have a tip?
Thanks a lot
Logged
ibrahim.djadir
Newbie
Posts: 4
Karma: 0
Re: HAProxy API reconfigure failed
«
Reply #1 on:
August 28, 2023, 09:59:39 am »
Hello
I am trying to do a similar configuration add an acl in haproxy using API, I added the acl the request was successful, then I sent a reconfigure request I received ok response. when I checked the config file nothing changed.
Did you find any solution?
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
22.7 Legacy Series
»
HAProxy API reconfigure failed