carbon-relay-ng icon indicating copy to clipboard operation
carbon-relay-ng copied to clipboard

Panic when adding route via web interface

Open replay opened this issue 4 years ago • 3 comments

Version: master

How to reproduce:

  1. Start carbon-relay-ng with config examples/carbon-relay-ng.ini
  2. Go to web interface
  3. Fill all form fields with following values: Route Key: test Route Type: sendAllMatch Match prefix: a Match substring: b Match regex: c Address: 127.0.0.1:1234
  4. Click the Add button
  5. Panic:
goroutine 1201 [running]:
time.NewTicker(0x0, 0x40c396)
        /usr/local/go/src/time/tick.go:23 +0x147
github.com/grafana/carbon-relay-ng/nsqd.(*DiskQueue).ioLoop(0xc000b4e900)
        /home/replay/go/src/github.com/grafana/carbon-relay-ng/nsqd/diskqueue.go:540 +0x47
created by github.com/grafana/carbon-relay-ng/nsqd.NewDiskQueue
        /home/replay/go/src/github.com/grafana/carbon-relay-ng/nsqd/diskqueue.go:93 +0x2fb

replay avatar Apr 15 '20 23:04 replay

+1

je1lylee avatar Nov 22 '22 05:11 je1lylee

@je1lylee The web interface is beta, if you would like to use carbon-relay-ng in a production environment it is recommended to use config files.

replay avatar Nov 22 '22 13:11 replay

Thank you! I edited config files manually, everything looks good now.

je1lylee avatar Nov 22 '22 13:11 je1lylee