Troubleshooting¶
Common issues and solutions for Hawkeye MCP.
Installation Issues¶
Command Not Found: hawkeye-mcp¶
Problem: hawkeye-mcp: command not found
Solutions:
-
Check installation:
-
Reinstall globally:
-
Use npx instead:
Node Version Error¶
Problem: Error: Node.js 20+ required
Solution:
# Check version
node --version
# Upgrade Node.js
# macOS
brew install node@20
# Linux
curl -fsSL https://deb.nodesource.com/setup_20.x | sudo -E bash -
sudo apt-get install -y nodejs
Authentication Issues¶
401 Unauthorized¶
Problem: Authentication failed: 401 Unauthorized
Solutions:
-
Verify credentials:
-
Test login:
- Try logging into Hawkeye web UI
-
Reset password if needed
-
Check for typos:
- No extra spaces
- No surrounding quotes
-
Correct email format
-
For remote server:
- Verify your access token is valid and not expired
- Check the remote server URL is correct
Connection Timeout¶
Problem: ECONNREFUSED or ETIMEDOUT
Solutions:
-
Check network:
-
Check firewall:
- Allow outbound HTTPS (443)
-
Check corporate proxy settings
-
For remote server:
- Verify the remote server URL is reachable
- Check with your administrator
Claude Desktop Issues¶
Tools Not Showing¶
Problem: Can't see Hawkeye tools in Claude Desktop
Solutions:
-
Verify config file location:
-
Check JSON syntax:
- Use JSONLint
- Look for missing commas
-
Check bracket matching
-
Restart Claude Desktop:
- Completely quit (Cmd+Q on macOS)
- Wait 3 seconds
-
Relaunch
-
Check logs:
MCP Server Crashes¶
Problem: MCP server keeps crashing
Solutions:
-
Test server directly:
-
Check credentials:
- Ensure all env vars are set
-
No special characters causing issues
-
Update package:
Investigation Issues¶
Investigation Takes Too Long¶
Problem: Investigation running for several minutes
Normal Duration: 30-90 seconds
If Longer:
- First investigation on new project:
- Initial sync takes 5-10 minutes
-
Subsequent investigations faster
-
Check connection sync:
-
Complex incident:
- Many data sources = longer time
- This is normal
Investigation Progress Issues¶
Status Shows 'unknown'¶
Problem: Investigation status returns 'unknown' or no progress data
Solutions:
- Investigation just started:
- Wait 5-10 seconds for stream to initialize
-
Check again:
Show me the investigation status -
Stream connection initializing:
- Normal during first few seconds
-
Progress data will appear shortly
-
Investigation hasn't started yet:
- Verify investigation was created successfully
- Check session UUID is correct
No Steps Showing¶
Problem: investigation_summary.steps is empty or undefined
Solutions:
- Early initialization phase:
- Investigation may be in early setup
- Chain of thought messages haven't arrived yet
-
Wait 30 seconds and check again
-
Investigation just completed:
- Use
hawkeye_get_chain_of_thoughtfor full step details -
Use
hawkeye_get_rcafor final results -
Check investigation age:
- Progress data is cleaned up after 1 hour
- For older investigations, use other tools like
get_chain_of_thought
Progress Stuck at Same Percentage¶
Problem: Progress percentage hasn't changed in several minutes
This is Normal When:
- Complex data queries:
- Some steps require heavy database queries
- Analysis phase often takes longer
-
May pause at 30-60% during correlation analysis
-
Large data sets:
- Processing many logs or metrics
-
Normal for thorough investigations
-
Pattern detection:
- ML-based analysis can take time
- Expected behavior
Concerning If:
- Stuck at 0% for >2 minutes:
- Investigation may have failed to start
- Check connection sync status
-
Try creating a new investigation
-
Stuck at same % for >5 minutes:
- Check investigation status for errors
- Look for error messages in status response
- Contact support if issue persists
Very Few Data Sources¶
Problem: unique_sources only shows 1-2 sources, expected more
Solutions:
-
Check connection sync:
-
Verify data availability:
-
Time range issues:
- Incident may be outside data retention period
-
Check if data exists for the incident timeframe
-
Connection permissions:
- Verify IAM/API key permissions
- Ensure connections can access all resources
Current Step Not Updating¶
Problem: current_step field shows same message for several checks
Solutions:
- Check progress_percentage:
- If increasing, investigation is progressing
- current_step updates at major milestones only
-
Check completed_steps instead
-
Long-running step:
- Some steps naturally take longer
- Analysis and diagnosis phases especially
-
Normal behavior
-
Investigation may be done:
- Check status field for "completed"
- Get final RCA:
Show me the RCA
Incomplete RCA¶
Problem: RCA lacks details or specific recommendations
Solutions:
-
Add context instructions:
-
Add investigation steps:
-
Verify connections:
-
Check data availability:
Incorrect Root Cause¶
Problem: RCA identifies wrong root cause
Solutions:
-
Ask follow-up questions:
-
Add clarifying instruction:
-
Test instruction first:
- Apply to past session
- Rerun investigation
- Compare results
Connection Issues¶
Connection Won't Sync¶
Problem: Connection stuck in SYNCING state
Solutions:
-
Check status:
-
Verify credentials:
- AWS: Check role ARN and external ID
- Datadog: Check API/app keys
-
Azure: Check all 4 credentials
-
Check permissions:
- AWS: ReadOnlyAccess policy
-
Ensure trust relationship correct
-
Wait longer:
- First sync: 5-10 minutes normal
- Large environments: up to 15 minutes
Missing Resources¶
Problem: Expected resources not showing in discoveries
Solutions:
-
Check sync status:
-
Verify region:
- AWS: Ensure region included in connection
-
Resources in unconfigured regions won't show
-
Check permissions:
- Missing permissions = missing resources
- Verify IAM policies
Performance Issues¶
Slow Responses¶
Problem: Claude responses taking long time
Solutions:
-
Use compact mode:
-
Limit results:
-
Use global install:
High Memory Usage¶
Problem: MCP server using too much memory
Solutions:
- Restart MCP server:
-
Restart Claude Desktop
-
Limit concurrent operations:
-
Investigate one alert at a time
-
Update to latest version:
Error Messages¶
"No uninvestigated incidents found"¶
Meaning: All alerts have been investigated OR filters are removing them
Solutions:
-
Expand time range:
-
Check filters:
-
Include all severities:
- Your filter might be too aggressive
"Session not found"¶
Problem: Session UUID not found
Solutions:
- Verify UUID:
- Check for typos
-
Use correct UUID format
-
Check project:
- Ensure using correct project
-
Session might be in different project
-
List sessions:
"Connection not synced"¶
Problem: Connection not ready for use
Solution:
Debug Mode¶
Enable Verbose Logging¶
In Claude Desktop config:
{
"mcpServers": {
"hawkeye": {
"command": "npx",
"args": ["-y", "hawkeye-mcp-server"],
"env": {
"HAWKEYE_EMAIL": "...",
"HAWKEYE_PASSWORD": "...",
"HAWKEYE_LOG_LEVEL": "debug"
}
}
}
}
Using MCP Inspector¶
Test server in isolation:
Opens web interface showing: - Available tools - Tool execution - Request/response logs - Errors
Getting Help¶
If issues persist:
-
Check logs:
-
Test with inspector:
-
Contact support:
- Email: support@neubird.ai
-
Include: Error message, logs, MCP version
-
Documentation:
- Installation Guide
- FAQ