Skip to content

CrewAgent troubleshooting ​

Start with the logs ​

LogWhere
Service (streaming, uploads, updates)C:\ProgramData\CrewAgent\crewagent.log
Tray app (screen recording)C:\ProgramData\CrewAgent\crewagent-ui.log

To watch what the agent does as it happens, stop the CrewAgent Service in Windows Services, then run "C:\Program Files\CrewAgent\crewagent.exe" -console -config="C:\ProgramData\CrewAgent\config.yaml" from an administrator command prompt. Press Ctrl+C to stop, then start the service again.

When contacting support, include the log and your CrewAgent version, shown at the top of the log.

Nothing appears in CrewSpec ​

Check, in order:

  1. Is the service running? In Windows Services, CrewAgent Service should be Running.
  2. Is the token valid? In API Tokens, check that the agent's token isn't disabled or expired, isn't marked Not accepted: over your API token allowance, and has stream/create/all. Last Used shows whether the agent has connected recently. If you rotated the token, put the new secret in service_token and restart the service.
  3. Do you have a free APU? Each live stream uses one APU. If all are in use, or you have none, new streams don't start. Usage and Limits on the Subscription screen shows how many are streaming now.
  4. Is the folder right? The file must be in one of the watch_directories, or a folder inside one, and have one of the file_extensions.
  5. Is the file new? Files last changed more than 30 minutes ago are treated as finished recordings and aren't streamed live. Turn on upload_existing_files to upload them instead.
  6. Is storage full? When your team's storage is full, new streams are paused.
  7. Can you see it? If the agent has a group_name or group_id, only that group's members, and people with stream/view/all, see its streams.

The service won't start ​

Usually config.yaml can't be read. Run the agent with -console (see the logs); it shows the line with the problem. Common causes:

  • Tabs or uneven indentation. Use spaces and line each setting up under its section.
  • Single backslashes in a quoted path. Use "D:\\Sonar", not "D:\Sonar".
  • A group_name that doesn't match a group exactly. Streams fail to start with "group not found".

A stream stops early ​

  • A file that stops growing for 30 seconds (staleness_sec) is treated as finished. If your software pauses longer while recording, raise it.
  • A stream that reaches the size limit is ended. Screen recordings stop shortly before the limit and are saved.

Screen recording doesn't start ​

  • Check that screen_recording.enabled is true.
  • Only one screen can be recorded at a time; end the current stream first.
  • The Windows notification shows the reason when recording fails, and crewagent-ui.log has the details.
  • The tray icon only appears after signing in to Windows. If it's missing, run crewagent.exe -ui.

Updates ​

The agent updates itself, but never during a stream. A computer that streams around the clock may stay on an older version; end the stream for a minute to let it update. The service log records each update check.

Docs for CrewSpec 26.11.190