#C01HWQ1R0BC after upgrading to newer version, unable to create the new users in signoz UI. getting below exception in the query-service pod logs.
2024/04/12 19
2635 http: panic serving 10.242.31.200
47932 runtime error: invalid memory address or nil pointer dereference
goroutine 337 [running]:
net/http.(*conn).serve.func1()
/opt/hostedtoolcache/go/1.21.8/x64/src/net/http/server.go:1868 +0xb9
panic({0x1bf7b40?, 0x32a2a00?})
/opt/hostedtoolcache/go/1.21.8/x64/src/runtime/panic.go:920 +0x270
go.signoz.io/signoz/pkg/query-service/app.(*APIHandler).listPendingInvites(0x1b3bb80?, {0x2450dd8, 0xc00002a150}, 0x243d2b0?)
/home/runner/work/signoz/signoz/pkg/query-service/app/http_handler.go:1966 +0x266
go.signoz.io/signoz/pkg/query-service/app.(*APIHandler).RegisterRoutes.(*AuthMiddleware).AdminAccess.func64({0x2450dd8, 0xc00002a150}, 0x497b4f?)
/home/runner/work/signoz/signoz/pkg/query-service/app/auth.go:120 +0x1b7
net/http.HandlerFunc.ServeHTTP(0x30?, {0x2450dd8?, 0xc00002a150?}, 0x7ffff7fb9a68?)
/opt/hostedtoolcache/go/1.21.8/x64/src/net/http/server.go:2136 +0x29
go.signoz.io/signoz/ee/query-service/app.loggingMiddleware.func1({0x2450dd8, 0xc00002a150}, 0x24524e8?)
/home/runner/work/signoz/signoz/ee/query-service/app/server.go:358 +0xbf
net/http.HandlerFunc.ServeHTTP(0x24524e8?, {0x2450dd8?, 0xc00002a150?}, 0x1cf81a0?)
/opt/hostedtoolcache/go/1.21.8/x64/src/net/http/server.go:2136 +0x29
go.signoz.io/signoz/ee/query-service/app.(*Server).analyticsMiddleware-fm.(*Server).analyticsMiddleware.func1({0x24524e8, 0xc0000b3c20}, 0xdf8475801?)
/home/runner/work/signoz/signoz/ee/query-service/app/server.go:479 +0x10d
net/http.HandlerFunc.ServeHTTP(0x2456848?, {0x24524e8?, 0xc0000b3c20?}, 0xe?)
/opt/hostedtoolcache/go/1.21.8/x64/src/net/http/server.go:2136 +0x29
go.signoz.io/signoz/ee/query-service/app.setTimeoutMiddleware.func1({0x24524e8, 0xc0000b3c20}, 0xc0001a2f00)
/home/runner/work/signoz/signoz/ee/query-service/app/server.go:510 +0x1d3
net/http.HandlerFunc.ServeHTTP(0x2456848?, {0x24524e8?, 0xc0000b3c20?}, 0x243d580?)
/opt/hostedtoolcache/go/1.21.8/x64/src/net/http/server.go:2136 +0x29
go.signoz.io/signoz/pkg/query-service/app.LogCommentEnricher.func1({0x24524e8, 0xc0000b3c20}, 0xc0001a2d00)
/home/runner/work/signoz/signoz/pkg/query-service/app/server.go:366 +0x79a
net/http.HandlerFunc.ServeHTTP(0xc0001a2c00?, {0x24524e8?, 0xc0000b3c20?}, 0xc002e606c0?)
/opt/hostedtoolcache/go/1.21.8/x64/src/net/http/server.go:2136 +0x29
github.com/gorilla/mux.(*Router).ServeHTTP(0xc0008f4240, {0x24524e8, 0xc0000b3c20}, 0xc0001a2a00)
/home/runner/go/pkg/mod/github.com/gorilla/mux@v1.8.0/mux.go:210 +0x1c5
go.signoz.io/signoz/ee/query-service/app.(*Server).createPublicServer.(*Cors).Handler.func2({0x24524e8, 0xc0000b3c20}, 0xc0001a2a00)
/home/runner/go/pkg/mod/github.com/rs/cors@v1.10.1/cors.go:281 +0x184
net/http.HandlerFunc.ServeHTTP(0x0?, {0x24524e8?, 0xc0000b3c20?}, 0xc0006a0880?)
/opt/hostedtoolcache/go/1.21.8/x64/src/net/http/server.go:2136 +0x29
go.signoz.io/signoz/ee/query-service/app.(*Server).createPublicServer.CompressHandler.CompressHandlerLevel.func3({0x2451108?, 0xc0030701c0}, 0xc0001a2a00)
/home/runner/go/pkg/mod/github.com/gorilla/handlers@v1.5.1/compress.go:141 +0x547
net/http.HandlerFunc.ServeHTTP(0x3564040?, {0x2451108?, 0xc0030701c0?}, 0xc000908b50?)
/opt/hostedtoolcache/go/1.21.8/x64/src/net/http/server.go:2136 +0x29
net/http.serverHandler.ServeHTTP({0xc002e60690?}, {0x2451108?, 0xc0030701c0?}, 0x6?)
/opt/hostedtoolcache/go/1.21.8/x64/src/net/http/server.go:2938 +0x8e
net/http.(*conn).serve(0xc00072c360, {0x2456848, 0xc0005d6120})
/opt/hostedtoolcache/go/1.21.8/x64/src/net/http/server.go:2009 +0x5f4
created by net/http.(*Server).Serve in goroutine 131
/opt/hostedtoolcache/go/1.21.8/x64/src/net/http/server.go:3086 +0x5cb
{"level":"INFO","timestamp":"2024-04-12T19
2635.952Z","caller":"app/server.go:359","msg":"/api/v1/health\ttimeTaken:13.18µs","timeTaken":0,"path":"/api/v1/health"}
{"level":"INFO","timestamp":"2024-04-12T19
2635.955Z","caller":"app/server.go:359","msg":"/api/v1/health\ttimeTaken:2.956975ms","timeTaken":2,"path":"/api/v1/health"}
{"level":"INFO","timestamp":"2024-04-12T19
2645.951Z","caller":"app/server.go:359","msg":"/api/v1/health\ttimeTaken:16.183µs","timeTaken":0,"path":"/api/v1/health"}
{"level":"INFO","timestamp":"2024-04-12T19
2645.952Z","caller":"app/server.go:359","msg":"/api/v1/health\ttimeTaken:1.366697ms","timeTaken":1,"path":"/api/v1/health"}