caldera icon indicating copy to clipboard operation
caldera copied to clipboard

Always "No deployed agents" even when multiple agents appear in Logs & Operations

Open bfrisbie-wiz opened this issue 1 year ago • 4 comments

Describe the bug I'm able to deploy agents, but the server's /agents page always shows No deployed agents for the blue user even when I can see there are active agents from Both the server's logs, and when running Operations.

I'm running Caldera 5.0.0, and posted about this problem in Slack here.

To Reproduce Steps to reproduce the behavior:

  1. Do All of the following as the blue user
  2. Install Caldera server and run with python3 server.py --build --log DEBUG
  3. Install Caldera agents (Sandcat and Ragdoll) on 3 VMs
  4. Check Caldera server logs: Observe Incoming HTTP beacons from agents
  5. Check server's /agents page and see no agents

Expected behavior After agents are deployed, they should appear on the server's /agents page.

Screenshots If applicable, add screenshots to help explain your problem.

screenshot_2024-11-05_at_10 21 55___am

https://github.com/user-attachments/assets/e6a51ed5-63fe-496e-ab92-9958c10e096d

Desktop (please complete the following information):

Here's info about the OS the Caldera server is running on:

$ uname -a
Linux ip-172-26-2-58 6.1.0-22-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.94-1 (2024-06-21) x86_64 GNU/Linux

bfrisbie-wiz avatar Nov 05 '24 20:11 bfrisbie-wiz

Looks like your first issue -- we aim to respond to issues as quickly as possible. In the meantime, check out our documentation here: http://caldera.readthedocs.io/

github-actions[bot] avatar Nov 05 '24 20:11 github-actions[bot]

Louis Hackländer-Jansen was able to replicate this problem. The root of the problem is that No agents deployed Always seems appear for the blue user, even if (as in my case) Everything was done with the blue user, including installing the agents.

bfrisbie-wiz avatar Nov 06 '24 16:11 bfrisbie-wiz

What command did you use to run the agents? Are they in the blue group?

uruwhy avatar May 30 '25 13:05 uruwhy

@uruwhy I don't recall as this was > 6 months ago, other than I used the commands listed in the Caldera docs. I was logging in as the red user.

At the time I encountered this problem (and maybe still the case), the documentation did not indicate the blue user must be used to view agents.

bfrisbie-wiz avatar Jun 09 '25 17:06 bfrisbie-wiz