Skip to main content
This guide helps you resolve runtime errors and environment-related issues when using AskUI.

Python Vision Agent Errors

Session Info Doesn’t Match Error

Error Message:
Cause: This happens when there’s a mismatch between your client session and the AskUI Controller session. Solution:
  1. Open Terminal/PowerShell
  2. Enter askui-shell
  3. Import debug commands:
  4. Stop all running controllers:
  5. Try your script again

Controller Connection Issues

Symptoms:
  • Timeout errors when starting agent
  • “Cannot connect to controller” messages
Solutions:
  1. Verify controller is running:
  2. Start controller if needed:
  3. Check controller logs:

Environment Configuration

Python Path Issues

Problem: Python packages not found or wrong Python version used. Solutions:
  1. Use askui-shell Python environments:
  2. Use virtual environments:

Credential Configuration Errors

Problem: Missing or invalid workspace credentials. Solutions:
  1. Using askui-shell (recommended):
    • Credentials are automatically loaded
    • Run AskUI-ShowSettings to verify
  2. Using .env files:
  3. Direct environment variables:

Memory and Performance Issues

High Memory Usage

Symptoms:
  • System slowdown during automation
  • Out of memory errors
Solutions:
  1. Close agents properly:
  2. Limit concurrent agents:

Slow Startup Times

Known Issue: ADE/Controller startup can be slow on some systems. Workarounds:
  1. Keep controller running:
  2. Pre-warm the system:

Platform-Specific Issues

Windows Service Errors

Problem: Controller fails to start as Windows service. Solutions:
  1. Run as administrator:
    • Right-click askui-shell
    • Select “Run as Administrator”
  2. Check Windows Defender:
    • Add AskUI to exclusions
    • Path: %USERPROFILE%\AppData\Local\Programs\askui

macOS Security Blocks

Problem: macOS blocks AskUI from running. Solutions:
  1. Grant permissions:
  2. System Preferences:
    • Security & Privacy > Privacy > Accessibility
    • Add AskUI Controller

Linux Permission Errors

Problem: Permission denied errors. Solutions:
  1. Fix permissions:
  2. Add user to required groups:

Process Management

Zombie Processes

Problem: Old controller processes not cleaning up. Solutions:
  1. Clean up all processes:
  2. Manual cleanup (if needed):

Port Conflicts

Problem: Controller can’t start due to port in use. Default Ports:
  • Controller: 6769
  • UI Controller: 9000
Solutions:
  1. Find conflicting process:
  2. Configure different port:

Debugging Runtime Issues

Enable Debug Logging

Capture System Information

Common Error Patterns

Next Steps