dapr / dashboard

General purpose dashboard for Dapr
Apache License 2.0
181 stars 47 forks source link

Registered actors are not visible on the dashboard application page #232

Open MargaretKrutikova opened 1 year ago

MargaretKrutikova commented 1 year ago

Expected Behavior

The dashboard shows the types and the number of registered actors in the "Actors" tab for dapr applications running in self-hosted mode.

Actual Behavior

The "Actors" tab always shows "No registered actors". The issue only appears in version 0.11.0 of the dashboard in self-hosted mode. Everything works as expected in kubernetes mode or in self-hosted mode with the dashboard version 0.10.0, so I am guessing it is a regression from 0.10.0 to 0.11.0.

The metadata api seems to be unreachable from the dashboard, and all calls to http://localhost:8080/api/metadata/All/dapr-app always fail with ERR_EMPTY_RESPONSE. It might have been this commit that introduced the issue to the metadata api.

Steps to Reproduce the Problem

  1. Install dapr-cli and run dapr init to install the latest runtime and dashboard versions locally.
  2. Run any dapr application that registers actors.
  3. Run the dashboard with dapr dashboard.
  4. Navigate to http://localhost:8080 and to the details page of the running dapr app.
  5. Go to Actors tab near Summary.
  6. The tab shows No registered actors.

Release Note

RELEASE NOTE: FIX Bug in dashboard.