cello icon indicating copy to clipboard operation
cello copied to clipboard

Failed to stop a running node

Open xichen1 opened this issue 2 years ago • 0 comments

Expected Behavior

A running node should be stopped after clicking the stop button.

Current Behavior

Error occurs, failed to stop the node

Possible Solution

The backend to operate on a node requires a payload to specify the action, but the frontend didn't call it with the payload. Instead, it used the URL parameter to specify the action.

fail payload response

Steps to Reproduce

  1. login
  2. create agent, network
  3. create node and make sure it's running
  4. stop the node

Possible Implementation

Make the frontend pass the action in the payload.

xichen1 avatar Aug 12 '22 07:08 xichen1