我正在尝试在 kapacitor 和 Influxdb 中记录流任务。
我使用 Windows 7 Entreprise,我已经安装了 telegraf(收集数据)和 influxdb,它们都可以工作(用 grafana 仪表板测试),但是当我启动 Kapacitor 并尝试记录任务时,我收到此错误“wsarecv:现有连接被远程主机强行关闭”(并且 Kapacitor 服务器停止)。
我在 Kapacitor Server Cmd 上收到此错误:
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xc0000005 code=0x0 addr=0x48 pc=0x5ada1d]
goroutine 46 [running]:
panic(0x1d23000, 0xc04200e070)
/usr/local/go/src/runtime/panic.go:500 +0x1af
github.com/influxdata/kapacitor/services/replay.(*Service).doRecordStream(0xc042
17d290, 0xc042ac5bc0, 0x24, 0x0, 0x0, 0xed1baf5dd, 0xc0079d8620, 0x2ed2e20, 0xc0
42679000, 0x1, ...)
/root/go/src/github.com/influxdata/kapacitor/services/replay/service.go:
1256 +0x11d
github.com/influxdata/kapacitor/services/replay.(*Service).handleRecordStream.fu
nc1(0xc04202a680, 0xc04217d290, 0xc0425308c0, 0xc042531680, 0xc042ac5bc0, 0x24,
0xc04220e7e0, 0x62, 0x0, 0x0, ...)
/root/go/src/github.com/influxdata/kapacitor/services/replay/service.go:
622 +0x12c
created by github.com/influxdata/kapacitor/services/replay.(*Service).handleReco
rdStream
/root/go/src/github.com/influxdata/kapacitor/services/replay/service.go:
624 +0x4f0
c:\InfluxDb\kapacitor>
有人知道如何解决这个问题吗?