promviz
promviz copied to clipboard
Cannot read property 'serverUpdateTime' of null
How to reproduce:
Preconditions: Helm and Prometheus are installed into the cluster
Steps:
helm install --name promviz ./helm/promviz helm install --name promviz-front ./helm/promviz-front
Wait for the pods to be ready kubectl port-forward promviz-front-promviz-front-6bd8c9578f-88488 -n default 8080:8080 Open localhost:8080 in the browser
Expected result: promviz dashboard with data Current result: promviz dashboard stuck on loading. Error message in js console is:
Uncaught TypeError: Cannot read property 'serverUpdateTime' of null
at TrafficStore.updateTraffic (trafficStore.js:133)
at Object.ID_2 (trafficStore.js:33)
at AppDispatcher._invokeCallback (Dispatcher.js:198)
at AppDispatcher.dispatch (Dispatcher.js:174)
at AppDispatcher.handleAction (appDispatcher.js:7)
at Object.updateTraffic (trafficActions.js:8)
at trafficFlow.jsx:162
at Request.callback (client.js:614)
at Request.<anonymous> (client.js:435)
at Request.Emitter.emit (index.js:133)
Found the solution: You should give promviz address in configuration instead of promviz-front.
@cristian04 Did you found the solution for this? I'm having the same error here.
Thanks @Istalacar.
I found now. You need place the the url of promviz in helm/promviz-front/values.yaml
:
Like this:
env:
updateURL: "http://localhost:9091/graph"
@rodrigopandini I've tried your approach and it didn't work, still unable to connect:

Did you encounter this error too? Thanks!