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 in production when ingress call comes in #2045

Closed
matt2e opened this issue Jul 11, 2024 · 0 comments · Fixed by #2047
Closed

Panic in production when ingress call comes in #2045

matt2e opened this issue Jul 11, 2024 · 0 comments · Fixed by #2047
Assignees

Comments

@matt2e
Copy link
Collaborator

matt2e commented Jul 11, 2024

  • Seems to happen each time an ingress call comes in
  • Rolling the controllers seems to have fixed it

2024/07/11 04:22:11 http: panic serving 127.0.0.6:37523: runtime error: invalid memory address or nil pointer dereference
goroutine 19853 [running]:
net/http.(*conn).serve.func1()
/root/.cache/hermit/pkg/go-1.22.4/src/net/http/server.go:1898 +0xbe
panic({0x125a960?, 0x2a42cd0?})
/root/.cache/hermit/pkg/go-1.22.4/src/runtime/panic.go:770 +0x132
github.com/TBD54566975/ftl/backend/controller.(*Service).callWithRequest(0xc0002f6000, {0x20158d0, 0xc0096743c0}, 0xc0009a7980, {{{{0x149c258, 0x7}, {0xc00f84cab0, 0x11}}, {0xc000aba930, 0xa, ...}}, ...}, ...)
/src/backend/controller/controller.go:1004 +0xbe3
github.com/TBD54566975/ftl/backend/controller/ingress.Handle(0xc000e970c0, {{{0x149c258, 0x7}, {0xc00f84cab0, 0x11}}, {0xc000aba930, 0xa, 0xa}}, {0xc00616e808, 0xc, ...}, ...)
/src/backend/controller/ingress/handler.go:54 +0x4e3
github.com/TBD54566975/ftl/backend/controller.(*Service).ServeHTTP(0xc0002f6000, {0x20122e0, 0xc0001916c0}, 0xc009b730e0)
/src/backend/controller/controller.go:318 +0x32e
github.com/TBD54566975/ftl/internal/cors.Middleware.(*Cors).Handler.func1({0x20122e0, 0xc0001916c0}, 0xc009b730e0)
/root/go/pkg/mod/github.com/rs/[email protected]/cors.go:289 +0x184
net/http.HandlerFunc.ServeHTTP(0x471119?, {0x20122e0?, 0xc0001916c0?}, 0xc001293b68?)
/root/.cache/hermit/pkg/go-1.22.4/src/net/http/server.go:2166 +0x29
net/http.serverHandler.ServeHTTP({0xc00319f800?}, {0x20122e0?, 0xc0001916c0?}, 0x6?)
/root/.cache/hermit/pkg/go-1.22.4/src/net/http/server.go:3137 +0x8e
net/http.(*conn).serve(0xc000b51dd0, {0x2015898, 0xc0003878f0})
/root/.cache/hermit/pkg/go-1.22.4/src/net/http/server.go:2039 +0x5e8
created by net/http.(*Server).Serve in goroutine 98
/root/.cache/hermit/pkg/go-1.22.4/src/net/http/server.go:3285 +0x4b4

@github-actions github-actions bot added the triage Issue needs triaging label Jul 11, 2024
@ftl-robot ftl-robot mentioned this issue Jul 11, 2024
@matt2e matt2e self-assigned this Jul 11, 2024
@github-actions github-actions bot removed the triage Issue needs triaging label Jul 11, 2024
@matt2e matt2e closed this as completed in d41616f Jul 11, 2024
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

Successfully merging a pull request may close this issue.

1 participant