On 04/05/16 12:30, Jens Link wrote:
Hi,
I'm just trying to install Icinga Director and to do some other work
with the API. My host is dual-stacked.
curl -k -s -u root:12345 'https://mon.example.com:5665/v1/' does not
work. Same as curl -6 -k -s -u root:12345 'https://mon.example.com:5665/v1/'
On the other hand curl -4 -k -s -u root:12345
'https://mon.example.com:5665/v1/'
does work.
It looks like Iicinga Director is trying to connect via IPv6 and does
not fall back to IPv4.
If the connection is rejected then there is no fallback.
Make sure that the api is listening on the IPv6 address as well. Check
with "netstat -ltn". It should show a line like this:
tcp6 0 0 :::5665 :::*
LISTEN
To make it bind on all IP addresses configure
bind_host = "::"
in the ApiListener object.
-Gerald
_______________________________________________
icinga-users mailing list
[email protected]
https://lists.icinga.org/mailman/listinfo/icinga-users