Kanvas is not working properly locally in my system

It started with this error randomly( I usually get kanvas up and running by mesheryctl system start and port-forwarding to 9081), the day before everything was working fine.

Upon receiving some guidance(from Darshan), I followed these steps to switch context, because it seemed like a case of misconfigured server or incorrect context.

  1. Restart mesheryctl:- mesheryctl system restart

  2. Create context to point at localhost:9081:- mesheryctl system context create any-name —url http://localhost:9081

  3. Switch to use this as active context: mesheryctl system context switch any-name

  4. Now login:- mesheryctl system login

  5. U can also use mesheryctl system check to confirm for any authentication issues

  6. Now make sure to reopen your private browser and run localhost 9081

And it worked for a while( 2 mins to be precise ), but I started seeing weird behaviour. The page does not load properly, I can’t open my pre-existing designs and can’t deploy a design.

1 Like

Hey @Siddhi_Sahu :waving_hand: I’d recommend trying to run mesheryctl with a containerized setup, such as Docker or Minikube, as this approach often resolves issues like the one you’re experiencing. Containerized environments use pre-built images that include all necessary extensions, including Kanvas, which is a tightly-coupled extension from the meshery-extensions repository. This ensures compatibility and proper integration without the manual setup challenges common in local builds.
Here are some docs that can help you out:

2 Likes

Hi @Siddhi_Sahu , just checking in. Did the solution above from @Darshan_n help resolve your issue?

1 Like

Hello @Ritesh_Karankal @Darshan_n :waving_hand:, it just started working randomly, after I cleared up my local clusters. I use KinD btw.

1 Like