monocular icon indicating copy to clipboard operation
monocular copied to clipboard

Chart UI spinning, TypeError: "this.chart.attributes.repo.source is undefined"

Open biancajiang opened this issue 6 years ago • 6 comments

In stalled monocular with nginx ingress controller. Also followed #422 (very helpful!) and verified API works for charts and individual chart.

helm install -n mn monocular/monocular -f monocular-values.yaml

/charts/repo UI works. But when click on individual chart (/charts/repo/redis) for details, UI just keeps spinning. Lots of TypeError: "this.chart.attributes.repo.source is undefined" in Firefox console. In Chrome console, slight different msg "ERROR TypeError: Cannot read property 'match' of undefined"

image

All API calls in network are successful except /auth/verify is 404. From other issues this seems harmless.

Any idea how I can fix or workaround this?

biancajiang avatar Jul 26 '18 22:07 biancajiang

Same issue on my side... Any news?

jroucheton avatar Aug 30 '18 14:08 jroucheton

How are you accessing the Monocular UI? Please don't use a service directly and use the Nginx Ingress Controller as described in the documentation.

prydonius avatar Aug 30 '18 17:08 prydonius

I am using the Nginx Ingress Controller accessing to url: https://192.168.99.100 It sounds strange because I don't see any error in pod logs.

jroucheton avatar Aug 30 '18 19:08 jroucheton

This looks like a bug if the repo doesn't have a source

prydonius avatar Aug 30 '18 20:08 prydonius

Correct! My repository has been set without any source tag. After adding this one, it is working :+1:

Thanks!

jroucheton avatar Aug 30 '18 20:08 jroucheton

Thanks for confirming @jroucheton, we should fix this!

prydonius avatar Aug 30 '18 20:08 prydonius