talk-buddy

Connection Issues

Having trouble connecting to speech or AI services? This guide will help you diagnose and fix connection problems in Talk Buddy.

Quick Diagnosis

Look at the bottom of Talk Buddy for service status indicators:

Common Status Combinations

All Green: Everything working perfectly ✅ All Red: Check internet connection and service URLs ❌ Mixed Colors: Some services working, others need attention ⚠️ All Gray: Services not configured or first-time setup needed ⚙️

Internet Connection Issues

Basic Connectivity

Test Your Internet Connection

  1. Open a web browser
  2. Visit a reliable site (google.com, github.com)
  3. Check connection speed using speedtest.net
  4. Verify stable connection (no frequent dropouts)

Network Requirements

Firewall and Security

Windows Firewall

  1. Open Windows Security (search “Windows Security”)
  2. Go to Firewall & network protection
  3. Click “Allow an app through firewall”
  4. Find Talk Buddy in the list
  5. Check both “Private” and “Public” boxes
  6. If Talk Buddy isn’t listed: Click “Change settings” → “Allow another app” → Browse for Talk Buddy

macOS Firewall

  1. Open System Preferences → Security & Privacy
  2. Click “Firewall” tab
  3. Click “Firewall Options”
  4. Ensure Talk Buddy is set to “Allow incoming connections”
  5. If not listed: Click “+” and add Talk Buddy

Antivirus Software

Some antivirus programs block Talk Buddy:

Corporate/School Networks

Common Enterprise Restrictions

Solutions for Restricted Networks

  1. Contact IT department: Request access to necessary services
  2. Use mobile hotspot: Bypass network restrictions temporarily
  3. VPN connection: If allowed by organization policy
  4. Local services: Set up local AI/speech services (see Service Setup guides)

Service-Specific Issues

Speech-to-Text (STT) Problems

Symptoms

Solutions

Check Microphone Permissions

Test Microphone Hardware

  1. Use system voice recorder to verify microphone works
  2. Check microphone volume in system settings
  3. Try different microphone if available
  4. Ensure microphone isn’t muted in system settings

Service Configuration

  1. Go to Talk Buddy Settings
  2. Check STT Service URL (default: configured service endpoint)
  3. Click “Test STT” to verify connection
  4. Try different STT model if options are available

Text-to-Speech (TTS) Problems

Symptoms

Solutions

Check Audio Output

  1. Verify speakers/headphones work with other applications
  2. Check system volume isn’t muted or too low
  3. Try different audio device if multiple are available
  4. Test system text-to-speech functionality

Service Configuration

  1. Go to Talk Buddy Settings
  2. Check TTS Service URL and configuration
  3. Click “Test TTS” to verify connection
  4. Try different voice options (male/female)
  5. Adjust speech speed if available

AI Chat Service Problems

Symptoms

Solutions

Service URL and Configuration

  1. Go to Talk Buddy Settings
  2. Verify AI Service URL (default: Ollama endpoint)
  3. Check API keys if using paid services
  4. Test connection using settings test button

Model Availability

Local Service Setup Issues

Ollama Connection Problems

Common Ollama Issues

Ollama Troubleshooting Steps

  1. Check if Ollama is running:
    # Check if service is running
    curl http://localhost:11434/api/tags
    
  2. Verify model installation:
    # List installed models
    ollama list
       
    # Install model if missing
    ollama pull llama2
    
  3. Check Ollama logs:
    # View logs for error messages
    ollama logs
    
  4. Restart Ollama service:
    # Stop and start Ollama
    ollama stop
    ollama start
    

Speaches Service Issues

Common Speaches Problems

Speaches Troubleshooting

  1. Check service status:
    # Test if Speaches is responding
    curl http://localhost:8000/health
    
  2. Verify installation: Follow Speaches setup guide

  3. Check available models: Ensure required speech models are downloaded

  4. Port conflicts: Try different port if 8000 is in use

Advanced Troubleshooting

Network Diagnostics

Test Specific Endpoints

Use terminal/command prompt to test connections:

# Test Ollama (local AI)
curl http://localhost:11434/api/tags

# Test Speaches (local speech)
curl http://localhost:8000/health

# Test online services (if using)
curl https://api.service-url.com/health

Check Port Availability

# Windows
netstat -an | findstr :11434

# macOS/Linux
netstat -an | grep :11434
lsof -i :11434

System Resource Issues

Memory and CPU

Disk Space

Log File Analysis

Talk Buddy Logs

  1. Find log location:
    • Windows: %APPDATA%/TalkBuddy/logs/
    • macOS: ~/Library/Application Support/TalkBuddy/logs/
    • Linux: ~/.config/TalkBuddy/logs/
  2. Check recent logs for error messages
  3. Look for connection errors, timeout messages, or service failures

Service Logs

Service URL Reference

Default Service URLs

Online Services (Fallback)

Changing Service URLs

  1. Go to Settings in Talk Buddy
  2. Update service URLs in the appropriate fields
  3. Click “Test” for each service to verify connectivity
  4. Save settings when all tests pass

Getting Additional Help

Information to Collect

When seeking help, gather:

Support Resources

Temporary Workarounds

While Troubleshooting


Quick Fix Checklist

First Steps (5 minutes)

If Still Having Issues (15 minutes)

Advanced Steps (30 minutes)


Most connection issues are resolved by checking basic network connectivity and service permissions. Work through the checklist systematically for best results! 🔧

Related Guides: