Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Panic when adding route via web interface #420

Open
replay opened this issue Apr 15, 2020 · 3 comments
Open

Panic when adding route via web interface #420

replay opened this issue Apr 15, 2020 · 3 comments

Comments

@replay
Copy link
Contributor

replay commented Apr 15, 2020

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
@je1lylee
Copy link

+1

@replay
Copy link
Contributor Author

replay commented Nov 22, 2022

@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.

@je1lylee
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants