简体   繁体   中英

Unable to setup development environment for Kiali

I want to setup developer environment for Kiali-ui. I am following Kiali guide to do this.

But while accessing Kiali on browser(http://localhost:3000) i am getting following issue:

Not Found

Cannot GET /api/auth/info

From console logs I am getting following issue:

Failed to load resource: the server responded with a status of 404 (Not Found)

I am using this link to setup proxy for the API requests:

  "name": "@kiali/kiali-ui",
  "version": "1.49.0",
  "proxy": "http://{IP-OF-KIALI}:20001"

Is there any pre-requisite to setup development environment for Kiali-ui?

I was giving wrong url of Kiali in package.json. Following url works for me:

  "proxy": "http://{IP-OF-KIALI}:20001/kiali"

This url is of Kiali which running inside k8s pod.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM