Comments inline.
Hi,
I'm having a bit of a problem getting uchiwa to connect to sensu-api when I enable basic auth on the api. I'm getting a 401 invalid authorization despite configuring uchiwa with the correct credentials. The credentials work fine when using curl (curl -u 'sensu:secret' http://localhost:4567/stashes\).
I'm at a loss for why this isn't working.
sensu version: 1.2.1-2
uchiwa version: 1.1.3-2
host OS: ubuntu 16.04api config:
{
"api": {
"host": "localhost",
"port": 4567,
"user": "sensu",
"password": "secret"
}
}uchiwa config:
{
"sensu": [
{
"host": "localhost",
"name": "sensu",
"user": "sensu",
"password": "secret”,
^^^^^^^^^^^^^^^^^^^^^^^^^^
I think its “pass” and not “password”.
{
"sensu": [
{
"user": “XX",
"pass": “YYY",
"timeout": 10
}
}
"ssl": false
}
],
"uchiwa": {
"host": "0.0.0.0",
"loglevel": "warn",
"port": 3000,
"refresh": 10,
"stats": 10
}
}
Regards.
@shankerbalan
···
On 28-Mar-2018, at 6:55 AM, Rory Schramm <etfeet@gmail.com> wrote: