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

http panic when draining logs #16

Open
crasu opened this issue May 30, 2019 · 0 comments
Open

http panic when draining logs #16

crasu opened this issue May 30, 2019 · 0 comments

Comments

@crasu
Copy link

crasu commented May 30, 2019

I get the following panic when trying to drain logs to aws:

2019-05-30T22:30:09.243163+00:00 app[web.1]: 2019/05/30 22:30:09 http: panic serving 10.29.184.30:23753: runtime error: invalid memory address or nil pointer dereference
2019-05-30T22:30:09.243185+00:00 app[web.1]: goroutine 68 [running]:
2019-05-30T22:30:09.243187+00:00 app[web.1]: net/http.(*conn).serve.func1(0xc42040a6e0)
2019-05-30T22:30:09.243189+00:00 app[web.1]: /app/tmp/cache/go1.9.7/go/src/net/http/server.go:1697 +0xd0
2019-05-30T22:30:09.243191+00:00 app[web.1]: panic(0x7b8360, 0xa79360)
2019-05-30T22:30:09.243192+00:00 app[web.1]: /app/tmp/cache/go1.9.7/go/src/runtime/panic.go:491 +0x283
2019-05-30T22:30:09.243194+00:00 app[web.1]: github.com/kiskolabs/heroku-cloudwatch-drain/vendor/github.com/newrelic/go-agent.(*txn).End(0xc4201d9400, 0x0, 0x0)
2019-05-30T22:30:09.243196+00:00 app[web.1]: /tmp/build_499c843c508c547a3144bce1b808eb93/src/github.com/kiskolabs/heroku-cloudwatch-drain/vendor/github.com/newrelic/go-agent/internal_txn.go:259 +0xb35
2019-05-30T22:30:09.243198+00:00 app[web.1]: github.com/kiskolabs/heroku-cloudwatch-drain/vendor/github.com/newrelic/go-agent.wrapCFHR.End(0xc4201d9400, 0xa4da60, 0xc4203c01c0)
2019-05-30T22:30:09.243200+00:00 app[web.1]: :1 +0x34
2019-05-30T22:30:09.243202+00:00 app[web.1]: panic(0x7b8360, 0xa79360)
2019-05-30T22:30:09.243203+00:00 app[web.1]: /app/tmp/cache/go1.9.7/go/src/runtime/panic.go:491 +0x283
2019-05-30T22:30:09.243205+00:00 app[web.1]: github.com/kiskolabs/heroku-cloudwatch-drain/vendor/github.com/honeybadger-io/honeybadger-go.(*Client).Handler.func1.1(0xc420096600, 0xc420012200)
2019-05-30T22:30:09.243207+00:00 app[web.1]: /tmp/build_499c843c508c547a3144bce1b808eb93/src/github.com/kiskolabs/heroku-cloudwatch-drain/vendor/github.com/honeybadger-io/honeybadger-go/client.go:96 +0x1d1
2019-05-30T22:30:09.243209+00:00 app[web.1]: panic(0x7b8360, 0xa79360)
2019-05-30T22:30:09.243210+00:00 app[web.1]: /app/tmp/cache/go1.9.7/go/src/runtime/panic.go:491 +0x283
2019-05-30T22:30:09.243212+00:00 app[web.1]: github.com/kiskolabs/heroku-cloudwatch-drain/vendor/github.com/jcxplorer/cwlogger.(*Logger).Log(0x0, 0x2e6eb030, 0xed4825070, 0xa854c0, 0xc42005e1e0, 0x5a)
2019-05-30T22:30:09.243214+00:00 app[web.1]: /tmp/build_499c843c508c547a3144bce1b808eb93/src/github.com/kiskolabs/heroku-cloudwatch-drain/vendor/github.com/jcxplorer/cwlogger/cwlogger.go:105 +0x5b
2019-05-30T22:30:09.243215+00:00 app[web.1]: main.(*App).processMessages(0xc420098840, 0x7fb63f7dc8f8, 0xc4201d4cc0, 0xa4baa0, 0x0, 0xa504a0, 0xc4201d9400, 0x0, 0x0)
2019-05-30T22:30:09.243217+00:00 app[web.1]: /tmp/build_499c843c508c547a3144bce1b808eb93/src/github.com/kiskolabs/heroku-cloudwatch-drain/main.go:228 +0x216
2019-05-30T22:30:09.243219+00:00 app[web.1]: main.(*App).ServeHTTP(0xc420098840, 0x7fb63f86b0d0, 0xc4201d9400, 0xc420012200)
2019-05-30T22:30:09.243221+00:00 app[web.1]: /tmp/build_499c843c508c547a3144bce1b808eb93/src/github.com/kiskolabs/heroku-cloudwatch-drain/main.go:154 +0x582
2019-05-30T22:30:09.243222+00:00 app[web.1]: github.com/kiskolabs/heroku-cloudwatch-drain/vendor/github.com/honeybadger-io/honeybadger-go.(*Client).Handler.func1(0x7fb63f86b0d0, 0xc4201d9400, 0xc420012200)
2019-05-30T22:30:09.243224+00:00 app[web.1]: /tmp/build_499c843c508c547a3144bce1b808eb93/src/github.com/kiskolabs/heroku-cloudwatch-drain/vendor/github.com/honeybadger-io/honeybadger-go/client.go:99 +0x94
2019-05-30T22:30:09.243226+00:00 app[web.1]: net/http.HandlerFunc.ServeHTTP(0xc4200f6ca0, 0x7fb63f86b0d0, 0xc4201d9400, 0xc420012200)
2019-05-30T22:30:09.243228+00:00 app[web.1]: /app/tmp/cache/go1.9.7/go/src/net/http/server.go:1918 +0x44
2019-05-30T22:30:09.243229+00:00 app[web.1]: github.com/kiskolabs/heroku-cloudwatch-drain/vendor/github.com/newrelic/go-agent.WrapHandle.func1(0xa4da60, 0xc4203c01c0, 0xc420012200)
2019-05-30T22:30:09.243231+00:00 app[web.1]: /tmp/build_499c843c508c547a3144bce1b808eb93/src/github.com/kiskolabs/heroku-cloudwatch-drain/vendor/github.com/newrelic/go-agent/instrumentation.go:30 +0x112
2019-05-30T22:30:09.243233+00:00 app[web.1]: net/http.HandlerFunc.ServeHTTP(0xc420096840, 0xa4da60, 0xc4203c01c0, 0xc420012200)
2019-05-30T22:30:09.243235+00:00 app[web.1]: /app/tmp/cache/go1.9.7/go/src/net/http/server.go:1918 +0x44
2019-05-30T22:30:09.243236+00:00 app[web.1]: net/http.(*ServeMux).ServeHTTP(0xc42015b980, 0xa4da60, 0xc4203c01c0, 0xc420012200)
2019-05-30T22:30:09.243238+00:00 app[web.1]: /app/tmp/cache/go1.9.7/go/src/net/http/server.go:2254 +0x130
2019-05-30T22:30:09.243240+00:00 app[web.1]: net/http.serverHandler.ServeHTTP(0xc420165040, 0xa4da60, 0xc4203c01c0, 0xc420012200)
2019-05-30T22:30:09.243242+00:00 app[web.1]: /app/tmp/cache/go1.9.7/go/src/net/http/server.go:2619 +0xb4
2019-05-30T22:30:09.243243+00:00 app[web.1]: net/http.(*conn).serve(0xc42040a6e0, 0xa4e0e0, 0xc4201d4c40)
2019-05-30T22:30:09.243245+00:00 app[web.1]: /app/tmp/cache/go1.9.7/go/src/net/http/server.go:1801 +0x71d
2019-05-30T22:30:09.243246+00:00 app[web.1]: created by net/http.(*Server).Serve
2019-05-30T22:30:09.243248+00:00 app[web.1]: /app/tmp/cache/go1.9.7/go/src/net/http/server.go:2720 +0x288

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

1 participant