FlowState Agents
Troubleshooting
Troubleshooting
This guide covers common issues you may encounter while using the Agents App and how to resolve them.
Common Issues
Issue: Dashboard Shows No Active Workers
Symptoms:
- Active Workers count shows 0
- Tasks remain in queue indefinitely
- No activity in the Activity Feed
Cause: Workers may be offline, crashed, or not configured properly.
Solution:
- Navigate to Workers in the sidebar
- Check if any workers are listed
- Verify worker status (Active, Idle, or Inactive)
- If workers show as Inactive:
- Check that the agent service is running
- Verify network connectivity between agents and FlowState
- Review worker logs for error messages
- Contact your administrator if no workers are configured
Issue: Tasks Stuck in "In Progress"
Symptoms:
- Task shows "In Progress" for an extended period
- No new logs appearing for the task
- Worker appears idle despite assigned task
Cause: The agent may have crashed during execution, or there's a communication issue.
Solution:
- Navigate to the task detail page
- Check the Conversation tab for any agent queries awaiting response
- Review the Logs for error messages
- If the agent is unresponsive:
- Check worker status on the Workers page
- Consider manually resetting the task status
- Review system logs for crash reports
- If blocked by a human response:
- Respond to the agent's query in the Conversation tab
- The task will be re-queued for processing
Issue: Approvals Not Appearing
Symptoms:
- Agent completes work but no approval request appears
- Approval count remains at 0
Cause: The task may not be configured to require approval, or there's a data sync issue.
Solution:
- Verify the task is configured to require approval
- Check the task detail page for completion status
- Refresh the Approvals page
- If using offline mode, check for sync status:
- Look for the sync indicator in the app
- Wait for pending changes to replicate
- Check the Logs page for any error messages related to approval creation
Issue: Log Viewer Shows No Entries
Symptoms:
- Log viewer displays empty state
- "No logs found" message appears
- Filters return no results
Cause: Logs may not have been generated yet, or filters are too restrictive.
Solution:
- Remove all filters to see if any logs exist
- Expand the time range being viewed
- Check if:
- Agents have executed any tasks
- You're viewing logs for the correct workspace
- Log level filter is set appropriately (include debug/info)
- If logs should exist but don't appear:
- Check network connectivity
- Verify database sync status
- Contact support if issue persists
Issue: Codebase Operations Failing
Symptoms:
- Unable to create new codebases
- Error message when editing codebase
- Codebase list not loading
Cause: Permission issues, validation errors, or network problems.
Solution:
- Verify you have permissions to manage codebases
- Check that all required fields are filled correctly
- Ensure the workspace context is set properly
- Try refreshing the page
- Check browser console for error details
- Verify network connectivity to FlowState services
Issue: Agent Responses Not Updating Task
Symptoms:
- You reply to an agent query but task doesn't progress
- Task remains in same status after response
- Agent doesn't pick up the updated task
Cause: The response may not have saved correctly, or the agent queue needs refresh.
Solution:
- Verify your response was saved (check the Conversation tab)
- Ensure the task status was reset to allow agent pickup
- Check that:
- The response form submitted successfully
- No error messages appeared
- The conversation shows your reply
- If response appears but task doesn't progress:
- Verify workers are active
- Check for any blocking issues in task metadata
- Review logs for processing errors
Issue: Performance Issues or Slow Loading
Symptoms:
- Pages take a long time to load
- Interface feels sluggish
- Operations timeout
Cause: Large data sets, network latency, or browser resource constraints.
Solution:
- Apply filters to reduce data being loaded:
- Filter tasks by status
- Limit log results by date range
- Focus on specific codebases
- Clear browser cache and cookies
- Check network connectivity and speed
- Close other resource-intensive tabs
- Try a different browser
- If persists, report to support with:
- Approximate number of records
- Browser and version
- Actions that trigger slowness
Issue: Approval Actions Not Working
Symptoms:
- Approve/Reject buttons don't respond
- Error message when taking action
- Approval status doesn't update
Cause: Permission issues, concurrent edits, or network problems.
Solution:
- Verify you have permission to approve items
- Check if another user modified the approval
- Refresh the page and try again
- Ensure you're logged in with an active session
- Check for error messages in the dialog
- If using comments, ensure they're valid (not too long)
Debugging with Logs
The Agents App provides comprehensive logging for debugging issues.
Accessing Logs
- Navigate to Logs in the sidebar
- Use filters to narrow down:
- Level: debug, info, warn, error, critical
- Category: Filter by log category
- Search: Find specific messages
Interpreting Log Entries
| Level | Meaning | Action |
|---|---|---|
| debug | Detailed diagnostic information | Usually for developers |
| info | Normal operational messages | Informational only |
| warn | Potential issues | Monitor for patterns |
| error | Operation failures | Investigate and fix |
| critical | System-level failures | Immediate attention needed |
Log Metadata
Expand log entries to see additional metadata:
- Command: The command that was executed
- Exit Code: Process exit status (0 = success)
- Duration: How long the operation took
- Error: Detailed error information if applicable
Getting Help
If you can't resolve your issue:
- Check the FAQ for additional answers
- Search existing support tickets for similar issues
- Gather diagnostic information:
- Description of the issue
- Steps to reproduce
- Screenshots of the problem
- Relevant log entries
- Browser and device information
- Contact support with the gathered information
Reporting Bugs
When reporting bugs, include:
Issue Summary: Brief description
Steps to Reproduce:
1. Step one
2. Step two
3. Step three
Expected Behavior: What should happen
Actual Behavior: What actually happens
Environment:
- Browser: Chrome 120
- FlowState Version: 1.0.0
- Operating System: macOS 14.0
Logs/Screenshots: [Attach relevant files]