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
Hello,
I'm trying to use this plugin, but it seems that it can't decode the response. In debug mode I can clearly see the html code with all the backends without any particular error message.
I have the feeling that the response is not being retrieved because it is in Content-Type: text/html and Content-Type:application/json.
To compare, you can check the behaviour of the HAPRoxy demo with the following command:
Hello,
I'm trying to use this plugin, but it seems that it can't decode the response. In debug mode I can clearly see the html code with all the backends without any particular error message.
command sample
/usr/lib/centreon/plugins//centreon_haproxy_web.pl --plugin=apps::haproxy::web::plugin --mode=backend-usage --hostname='xxx' --port='xxx' --proto='http' --username='xxx' --password='xxx' --filter-name='.*' --verbose --credentials --basic --debug
response begin
Authorization: Basic ==
Content-Type:application/json
Accept:application/json
=> Recv header: HTTP/1.1 200 OK
=> Recv header: Cache-Control: no-cache
=> Recv header: Content-Type: text/html
=> Recv header: Transfer-Encoding: chunked
=> Recv header:
=> Recv data: 001c2f
Perhaps it's because response is chunked, but I can find any parameter to change it.
Any idea ?
Best regards,
The text was updated successfully, but these errors were encountered: