<#C01HWQ1R0BC|> after upgrading to newer version, ...
# support
a
#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 192635 http: panic serving 10.242.31.20047932 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-12T192635.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-12T192635.955Z","caller":"app/server.go:359","msg":"/api/v1/health\ttimeTaken:2.956975ms","timeTaken":2,"path":"/api/v1/health"} {"level":"INFO","timestamp":"2024-04-12T192645.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-12T192645.952Z","caller":"app/server.go:359","msg":"/api/v1/health\ttimeTaken:1.366697ms","timeTaken":1,"path":"/api/v1/health"}
a
@Anil let us check
thanks for reporting
seems to work fine in our staging area. Can you record a video with the network tab open in the browser?
a
Can we quickly huddle up on this
Hello @Ankit Nayan We tried resetting the admin password using the following steps (https://signoz.io/docs/operate/sqlite/reset-admin-password/) but after that we are not able to create any new user using invite option.
We are noticing the below exceptions in query service pod 2024/04/18 194905 http: panic serving 10.242.30.14533048 runtime error: invalid memory address or nil pointer dereference goroutine 270 [running]: net/http.(*conn).serve.func1() /opt/hostedtoolcache/go/1.21.9/x64/src/net/http/server.go:1868 +0xb9 panic({0x1be9900?, 0x3290a00?}) /opt/hostedtoolcache/go/1.21.9/x64/src/runtime/panic.go:920 +0x270 go.signoz.io/signoz/pkg/query-service/app.(*APIHandler).listPendingInvites(0x1b2e020?, {0x2443178, 0xc00086d320}, 0x242f660?) /home/runner/work/signoz/signoz/pkg/query-service/app/http_handler.go:1706 +0x266 go.signoz.io/signoz/pkg/query-service/app.(*APIHandler).RegisterRoutes.(*AuthMiddleware).AdminAccess.func64({0x2443178, 0xc00086d320}, 0x497b4f?) /home/runner/work/signoz/signoz/pkg/query-service/app/auth.go:120 +0x1b7 net/http.HandlerFunc.ServeHTTP(0x412ce5?, {0x2443178?, 0xc00086d320?}, 0x1?) /opt/hostedtoolcache/go/1.21.9/x64/src/net/http/server.go:2136 +0x29 go.signoz.io/signoz/ee/query-service/app.loggingMiddleware.func1({0x2443178, 0xc00086d320}, 0x2444888?) /home/runner/work/signoz/signoz/ee/query-service/app/server.go:358 +0xbf net/http.HandlerFunc.ServeHTTP(0x2444888?, {0x2443178?, 0xc00086d320?}, 0x7fffa809c030?) /opt/hostedtoolcache/go/1.21.9/x64/src/net/http/server.go:2136 +0x29 go.signoz.io/signoz/ee/query-service/app.(*Server).analyticsMiddleware-fm.(*Server).analyticsMiddleware.func1({0x2444888, 0xc002cfeba0}, 0xdf8475801?) /home/runner/work/signoz/signoz/ee/query-service/app/server.go:513 +0x104 net/http.HandlerFunc.ServeHTTP(0x2448be8?, {0x2444888?, 0xc002cfeba0?}, 0xe?) /opt/hostedtoolcache/go/1.21.9/x64/src/net/http/server.go:2136 +0x29 go.signoz.io/signoz/ee/query-service/app.setTimeoutMiddleware.func1({0x2444888, 0xc002cfeba0}, 0xc0007e9800) /home/runner/work/signoz/signoz/ee/query-service/app/server.go:544 +0x1d3 net/http.HandlerFunc.ServeHTTP(0x2448be8?, {0x2444888?, 0xc002cfeba0?}, 0x242f930?) /opt/hostedtoolcache/go/1.21.9/x64/src/net/http/server.go:2136 +0x29 go.signoz.io/signoz/pkg/query-service/app.LogCommentEnricher.func1({0x2444888, 0xc002cfeba0}, 0xc0007e9700) /home/runner/work/signoz/signoz/pkg/query-service/app/server.go:365 +0x79a net/http.HandlerFunc.ServeHTTP(0xc0007e9600?, {0x2444888?, 0xc002cfeba0?}, 0xc00368a540?) /opt/hostedtoolcache/go/1.21.9/x64/src/net/http/server.go:2136 +0x29 github.com/gorilla/mux.(*Router).ServeHTTP(0xc000002480, {0x2444888, 0xc002cfeba0}, 0xc0007e9500) /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({0x2444888, 0xc002cfeba0}, 0xc0007e9500)
Could you please check and confirm whether its a bug or known issue?
v
There's no such reproducible issue.
a
Hello @Vishal Sharma can we huddle up now
I am available so that I can share my screen