kiali: "Cannot load the graph: json: cannot unmarshal object into Go value of type []*kubernetes.RegistryEndpoint"
UI fails to load with this error: Cannot load the graph: json: cannot unmarshal object into Go value of type []*kubernetes.RegistryEndpoint
Image quay.io/kiali/kiali:v1.72
Cluster is GKE 1.27
Running OSS Istio from master with ambient enabled
2023-08-22T23:34:46Z ERR json: cannot unmarshal object into Go value of type []*kubernetes.RegistryEndpoint: goroutine 6341 [running]:
runtime/debug.Stack()
/opt/hostedtoolcache/go/1.20.5/x64/src/runtime/debug/stack.go:24 +0x65
github.com/kiali/kiali/handlers.handlePanic({0x232aee0, 0xc000cb3b90})
/home/runner/work/kiali/kiali/handlers/graph.go:86 +0x219
panic({0x1c286e0, 0xc0003ad8f0})
/opt/hostedtoolcache/go/1.20.5/x64/src/runtime/panic.go:884 +0x213
github.com/kiali/kiali/graph.CheckError(...)
/home/runner/work/kiali/kiali/graph/util.go:38
github.com/kiali/kiali/graph/telemetry/istio/appender.getServiceList({0xc000f35986, 0xa}, {0xc000540c10, 0x6}, 0xc00154bda0)
/home/runner/work/kiali/kiali/graph/telemetry/istio/appender/appender.go:291 +0x314
github.com/kiali/kiali/graph/telemetry/istio/appender.getServiceLists(0x8?, {0xc000540c10, 0x6}, 0xc00079d050?)
/home/runner/work/kiali/kiali/graph/telemetry/istio/appender/appender.go:264 +0xac
github.com/kiali/kiali/graph/telemetry/istio/appender.IstioAppender.AppendGraph({0x202afe8?}, 0xc00154be00, 0xc00059c240?, 0xc000c85908)
/home/runner/work/kiali/kiali/graph/telemetry/istio/appender/istio_details.go:47 +0x65
github.com/kiali/kiali/graph/telemetry/istio.BuildNamespacesTrafficMap({_, _}, {0xc00154bc50, {0x0, {0xc00150b440, 0x6, 0x6}}, 0x0, 0x1, 0xc00154bb90, ...}, ...)
/home/runner/work/kiali/kiali/graph/telemetry/istio/istio.go:80 +0x6a3
github.com/kiali/kiali/graph/api.graphNamespacesIstio({_, _}, _, _, {{0x203097d, 0x9}, {0x202afe8, 0x5}, {{0xc000540b79, 0x15}, ...}, ...})
/home/runner/work/kiali/kiali/graph/api/api.go:52 +0x126
github.com/kiali/kiali/graph/api.GraphNamespaces({_, _}, _, {{0x203097d, 0x9}, {0x202afe8, 0x5}, {{0xc000540b79, 0x15}, {0xdf8475800, ...}}, ...})
/home/runner/work/kiali/kiali/graph/api/api.go:33 +0x2fb
github.com/kiali/kiali/handlers.GraphNamespaces({0x232aee0, 0xc000cb3b90}, 0xc000f25400)
/home/runner/work/kiali/kiali/handlers/graph.go:51 +0x165
net/http.HandlerFunc.ServeHTTP(0x2038cfd?, {0x232aee0?, 0xc000cb3b90?}, 0x7aa179d53840?)
/opt/hostedtoolcache/go/1.20.5/x64/src/net/http/server.go:2122 +0x2f
github.com/kiali/kiali/routing.metricHandler.func1({0x2339a90?, 0xc00044c930}, 0xc00082b901?)
/home/runner/work/kiali/kiali/routing/router.go:145 +0x13b
net/http.HandlerFunc.ServeHTTP(0x233aec8?, {0x2339a90?, 0xc00044c930?}, 0xc00082b910?)
/opt/hostedtoolcache/go/1.20.5/x64/src/net/http/server.go:2122 +0x2f
github.com/kiali/kiali/handlers.AuthenticationHandler.Handle.func1({0x2339a90, 0xc00044c930}, 0xc000f25200)
/home/runner/work/kiali/kiali/handlers/authentication.go:79 +0x3fd
net/http.HandlerFunc.ServeHTTP(0x233aec8?, {0x2339a90?, 0xc00044c930?}, 0x230f150?)
/opt/hostedtoolcache/go/1.20.5/x64/src/net/http/server.go:2122 +0x2f
github.com/kiali/kiali/server.plainHttpMiddleware.func1({0x2339a90?, 0xc00044c930?}, 0xc00154ba70?)
/home/runner/work/kiali/kiali/server/server.go:157 +0x65
net/http.HandlerFunc.ServeHTTP(0xc000f25100?, {0x2339a90?, 0xc00044c930?}, 0x2?)
/opt/hostedtoolcache/go/1.20.5/x64/src/net/http/server.go:2122 +0x2f
github.com/gorilla/mux.(*Router).ServeHTTP(0xc000000f00, {0x2339a90, 0xc00044c930}, 0xc0001b4400)
/home/runner/go/pkg/mod/github.com/gorilla/mux@v1.8.0/mux.go:210 +0x1cf
github.com/NYTimes/gziphandler.GzipHandlerWithOpts.func1.1({0x2339940, 0xc000ee01c0}, 0x0?)
/home/runner/go/pkg/mod/github.com/!n!y!times/gziphandler@v1.1.1/gzip.go:336 +0x24e
net/http.HandlerFunc.ServeHTTP(0xc0005e8700?, {0x2339940?, 0xc000ee01c0?}, 0x40d92a?)
/opt/hostedtoolcache/go/1.20.5/x64/src/net/http/server.go:2122 +0x2f
net/http.(*ServeMux).ServeHTTP(0xc000540b20?, {0x2339940, 0xc000ee01c0}, 0xc0001b4400)
/opt/hostedtoolcache/go/1.20.5/x64/src/net/http/server.go:2500 +0x149
net/http.serverHandler.ServeHTTP({0xc000d99620?}, {0x2339940, 0xc000ee01c0}, 0xc0001b4400)
/opt/hostedtoolcache/go/1.20.5/x64/src/net/http/server.go:2936 +0x316
net/http.(*conn).serve(0xc000b36a20, {0x233aec8, 0xc000cb1ad0})
/opt/hostedtoolcache/go/1.20.5/x64/src/net/http/server.go:1995 +0x612
created by net/http.(*Server).Serve
/opt/hostedtoolcache/go/1.20.5/x64/src/net/http/server.go:3089 +0x5ed
About this issue
- Original URL
- State: closed
- Created 10 months ago
- Comments: 25
Commits related to this issue
- refactor for the /debug/endpointz changes in Istio 1.20 fixes: https://github.com/kiali/kiali/issues/6510 — committed to jmazzitelli/kiali by jmazzitelli 10 months ago
- refactor for the /debug/endpointz changes in Istio 1.20 fixes: https://github.com/kiali/kiali/issues/6510 — committed to jmazzitelli/kiali by jmazzitelli 10 months ago
- refactor for the /debug/endpointz changes in Istio 1.20 fixes: https://github.com/kiali/kiali/issues/6510 — committed to jmazzitelli/kiali by jmazzitelli 10 months ago
- refactor for the /debug/endpointz changes in Istio 1.20 fixes: https://github.com/kiali/kiali/issues/6510 — committed to jmazzitelli/kiali by jmazzitelli 10 months ago
- refactor for the /debug/endpointz changes in Istio 1.20 fixes: https://github.com/kiali/kiali/issues/6510 — committed to jmazzitelli/kiali by jmazzitelli 10 months ago
- refactor for the /debug/endpointz changes in Istio 1.20 fixes: https://github.com/kiali/kiali/issues/6510 — committed to jmazzitelli/kiali by jmazzitelli 10 months ago
- refactor for the /debug/endpointz changes in Istio 1.20 fixes: https://github.com/kiali/kiali/issues/6510 — committed to jmazzitelli/kiali by jmazzitelli 10 months ago
- refactor for the /debug/endpointz changes in Istio 1.20 fixes: https://github.com/kiali/kiali/issues/6510 — committed to jmazzitelli/kiali by jmazzitelli 10 months ago
- remove the usage of istiod /debug/endpointz entirely (#6673) * refactor for the /debug/endpointz changes in Istio 1.20 fixes: https://github.com/kiali/kiali/issues/6510 * changes to code that acc... — committed to kiali/kiali by jmazzitelli 9 months ago
- fix: json err in istio 1.18.1 and kiali 1.67.0, following error occurs: ``` json: cannot unmarshal object into Go value of type []*kubernetes.RegistryEndpoint ``` this is fixed in 1.75.0: - https:/... — committed to flavono123/terraform-aws-eks-blueprints by flavono123 7 months ago
- remove the usage of istiod /debug/endpointz entirely (#6673) * refactor for the /debug/endpointz changes in Istio 1.20 fixes: https://github.com/kiali/kiali/issues/6510 * changes to code that acc... — committed to hhovsepy/kiali by jmazzitelli 9 months ago
- remove the usage of istiod /debug/endpointz entirely (#6673) (#7095) * refactor for the /debug/endpointz changes in Istio 1.20 fixes: https://github.com/kiali/kiali/issues/6510 * changes to code ... — committed to kiali/kiali by hhovsepy 5 months ago
BTW: we have now veered away from the purpose of this issue. This is a question for the Istio team for “How do I install Istio 1.19 via helm”… please go to the general Istio slack channel or other Istio support channels for details on that.