Skip to content

"Panic issue index out of range" #327

Description

@ssenthil416

Enable http Ingest and try to curl to /Ingest with jacon input of metric and tagset

2016/11/04 14:14:00 http: panic serving: runtime error: index out of range
goroutine 109 [running]:
net/http.(*conn).serve.func1(0xc4225f8400)
/usr/local/go1.7.1/src/net/http/server.go:1491 +0x12a
panic(0x858c80, 0xc4200100d0)
/usr/local/go1.7.1/src/runtime/panic.go:458 +0x243
github.com/square/metrics/main/web/server.ingestHandler.ServeHTTP(0x7f4ec0011158, 0xc4225071a0, 0xad8120, 0xc422610000, 0xc42260c000)
/home/desk/work/src/github.com/square/metrics/main/web/server/ingest.go:54 +0x8ee
github.com/square/metrics/main/web/server.(*ingestHandler).ServeHTTP(0xc422582fe0, 0xad8120, 0xc422610000, 0xc42260c000)
:3 +0x79
net/http.(*ServeMux).ServeHTTP(0xc42253d380, 0xad8120, 0xc422610000, 0xc42260c000)
/usr/local/go1.7.1/src/net/http/server.go:2022 +0x7f
net/http.serverHandler.ServeHTTP(0xc422556f00, 0xad8120, 0xc422610000, 0xc42260c000)
/usr/local/go1.7.1/src/net/http/server.go:2202 +0x7d
net/http.(*conn).serve(0xc4225f8400, 0xad8ae0, 0xc422600200)
/usr/local/go1.7.1/src/net/http/server.go:1579 +0x4b7
created by net/http.(*Server).Serve
/usr/local/go1.7.1/src/net/http/server.go:2293 +0x44d

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions