uchiwa not coming up and crash


#1

Uchiwa crashing immediately after start on Ubuntu 12.0.4

Anybody see this issue? Is there any work around?.,

Thanks in advance.

NP

Log file:
{“Date”:“2014-11-07T23:19:07.266321513Z”,“Level”:“info”,“Src”:{“Func”:“github.com/sensu/uchiwa/uchiwa.LoadConfig",“Line”:96},“Output”:"Loading configuration file /etc/sensu/conf.d/uchiwa.json”}
{“Date”:“2014-11-07T23:19:07.267049731Z”,“Level”:“info”,“Src”:{“Func”:“github.com/sensu/uchiwa/uchiwa.WebServer",“Line”:146},“Output”:"Uchiwa is now listening on 127.0.0.1:3000”}

Error file:
panic: interface conversion: interface is nil, not string

goroutine 20 [running]:
runtime.panic(0x6939e0, 0xc208040e40)
/usr/local/go/src/pkg/runtime/panic.c:279 +0xf5
github.com/sensu/uchiwa/uchiwa.BuildEvents()
/root/go/src/github.com/sensu/uchiwa/uchiwa/events.go:48 +0xd26
github.com/sensu/uchiwa/uchiwa.Build(0x8686d0)
/root/go/src/github.com/sensu/uchiwa/uchiwa/dc.go:106 +0x2e6
github.com/sensu/uchiwa/uchiwa.Fetch(0xa)
/root/go/src/github.com/sensu/uchiwa/uchiwa/dc.go:117 +0x2a
created by main.main
/tmp/build/assets/opt/uchiwa/src/uchiwa.go:21 +0x1b0


#2

Noticed the http listener crashing when API auth is configured in uchiwa.json. When I configured with wrong values it is working and I see the dashboard.

···

On Fri, Nov 7, 2014 at 3:24 PM, Nathan Paul nathan.paul8@gmail.com wrote:

Uchiwa crashing immediately after start on Ubuntu 12.0.4

Anybody see this issue? Is there any work around?.,

Thanks in advance.

NP

Log file:
{“Date”:“2014-11-07T23:19:07.266321513Z”,“Level”:“info”,“Src”:{“Func”:“github.com/sensu/uchiwa/uchiwa.LoadConfig”,“Line”:96},“Output”:“Loading configuration file /etc/sensu/conf.d/uchiwa.json”}
{“Date”:“2014-11-07T23:19:07.267049731Z”,“Level”:“info”,“Src”:{“Func”:“github.com/sensu/uchiwa/uchiwa.WebServer”,“Line”:146},“Output”:“Uchiwa is now listening on 127.0.0.1:3000”}

Error file:
panic: interface conversion: interface is nil, not string

goroutine 20 [running]:
runtime.panic(0x6939e0, 0xc208040e40)
/usr/local/go/src/pkg/runtime/panic.c:279 +0xf5
github.com/sensu/uchiwa/uchiwa.BuildEvents()
/root/go/src/github.com/sensu/uchiwa/uchiwa/events.go:48 +0xd26
github.com/sensu/uchiwa/uchiwa.Build(0x8686d0)
/root/go/src/github.com/sensu/uchiwa/uchiwa/dc.go:106 +0x2e6
github.com/sensu/uchiwa/uchiwa.Fetch(0xa)
/root/go/src/github.com/sensu/uchiwa/uchiwa/dc.go:117 +0x2a
created by main.main
/tmp/build/assets/opt/uchiwa/src/uchiwa.go:21 +0x1b0


#3

Hi Nathan,

Which version of Sensu and Uchiwa are you using?

Also, could you provide me the JSON returned by the events endpoint of the Sensu API (usually something like http://sensu_api:4567/events).

Thanks

···

On Saturday, November 8, 2014 4:16:06 PM UTC-5, Nathan Paul wrote:

Noticed the http listener crashing when API auth is configured in uchiwa.json. When I configured with wrong values it is working and I see the dashboard.

On Fri, Nov 7, 2014 at 3:24 PM, Nathan Paul nathan...@gmail.com wrote:

Uchiwa crashing immediately after start on Ubuntu 12.0.4

Anybody see this issue? Is there any work around?.,

Thanks in advance.

NP

Log file:
{“Date”:“2014-11-07T23:19:07.266321513Z”,“Level”:“info”,“Src”:{“Func”:“github.com/sensu/uchiwa/uchiwa.LoadConfig”,“Line”:96},“Output”:“Loading configuration file /etc/sensu/conf.d/uchiwa.json”}
{“Date”:“2014-11-07T23:19:07.267049731Z”,“Level”:“info”,“Src”:{“Func”:“github.com/sensu/uchiwa/uchiwa.WebServer”,“Line”:146},“Output”:“Uchiwa is now listening on 127.0.0.1:3000”}

Error file:
panic: interface conversion: interface is nil, not string

goroutine 20 [running]:
runtime.panic(0x6939e0, 0xc208040e40)
/usr/local/go/src/pkg/runtime/panic.c:279 +0xf5
github.com/sensu/uchiwa/uchiwa.BuildEvents()
/root/go/src/github.com/sensu/uchiwa/uchiwa/events.go:48 +0xd26
github.com/sensu/uchiwa/uchiwa.Build(0x8686d0)
/root/go/src/github.com/sensu/uchiwa/uchiwa/dc.go:106 +0x2e6
github.com/sensu/uchiwa/uchiwa.Fetch(0xa)
/root/go/src/github.com/sensu/uchiwa/uchiwa/dc.go:117 +0x2a
created by main.main
/tmp/build/assets/opt/uchiwa/src/uchiwa.go:21 +0x1b0