Troubleshooting - toml0006/AWSCostMonitor GitHub Wiki
Troubleshooting Guide
Common issues and their solutions.
No AWS Profiles Found
Problem: App shows "No profiles found" when launched.
Solutions:
-
Check AWS CLI installation:
aws --version
If not installed, follow AWS CLI installation guide
-
Verify config file exists:
ls -la ~/.aws/config
-
List profiles manually:
aws configure list-profiles
-
Example config file format:
[default] region = us-east-1 [profile dev] region = us-west-2 [profile prod] region = us-east-1
Authentication Errors
Problem: "Access Denied" or authentication failures.
Solutions:
-
Check credentials file:
ls -la ~/.aws/credentials
-
Test AWS access:
aws sts get-caller-identity --profile your-profile-name
-
Verify Cost Explorer permissions:
- Your IAM user/role needs
ce:GetCostAndUsage
permission - Add this policy to your IAM user:
{ "Version": "2012-10-17", "Statement": [ { "Effect": "Allow", "Action": [ "ce:GetCostAndUsage", "ce:GetDimensionValues" ], "Resource": "*" } ] }
- Your IAM user/role needs
Rate Limiting Issues
Problem: "Rate limit exceeded" errors.
Explanation: AWS allows only 1 Cost Explorer API request per minute per account.
Solutions:
- Wait for the cooldown: The app shows a countdown timer
- Adjust refresh interval: Go to Settings → Refresh Rate
- Use manual refresh sparingly: Don't click refresh repeatedly
- Check API usage: Monitor requests in the Debug section
Incorrect Cost Data
Problem: Costs don't match AWS console.
Explanations:
- Data freshness: AWS costs can take 24-48 hours to finalize
- Time zones: Ensure your Mac's timezone matches AWS region settings
- Currency: Check if you're viewing the same currency in both places
- Billing period: Verify you're comparing the same time periods
Solutions:
- Wait 24-48 hours for data to stabilize
- Check AWS Cost Explorer console to compare
- Verify selected profile matches the account you expect
- Clear cache and refresh data
Performance Issues
Problem: App is slow or unresponsive.
Solutions:
- Reduce refresh frequency: Settings → Refresh Rate → increase interval
- Check memory usage: Activity Monitor → AWSCostMonitor
- Restart the app: Quit and relaunch
- Clear cache: Settings → Debug → Clear Cache
Menu Bar Icon Missing
Problem: Can't find the app icon in menu bar.
Solutions:
- Check if app is running: Look in Activity Monitor
- Restart the app: Use Spotlight to launch again
- Menu bar space: Hide other menu bar items to make room
- Bartender conflict: If using Bartender, check if icon is hidden
App Won't Start
Problem: Application fails to launch.
Solutions:
- macOS compatibility: Requires macOS 13.0+
- Security settings:
- System Preferences → Security & Privacy → General
- Click "Open Anyway" if prompted
- Corrupted download: Re-download from GitHub releases
- Console logs: Check Console.app for crash reports
Data Not Refreshing
Problem: Cost data appears stale or won't update.
Solutions:
- Check internet connection
- Verify AWS credentials haven't expired
- Manual refresh: Click refresh button
- Check API limits: Debug section shows request counts
- Service outages: Check AWS Service Health Dashboard
Settings Not Saving
Problem: App doesn't remember your preferences.
Solutions:
- Permissions: Ensure app can write to
~/Library/Preferences/
- Disk space: Check available storage
- Reset preferences: Delete
~/Library/Preferences/com.middleout.AWSCostMonitor.plist
Getting Help
If you're still experiencing issues:
- Enable debug logging: Settings → Debug → Enable Verbose Logging
- Export logs: Settings → Debug → Export Logs
- Create an issue: GitHub Issues
- Join discussions: GitHub Discussions
- Email support: [email protected]
When reporting issues, please include:
- AWSCostMonitor version
- macOS version
- AWS CLI version
- Error messages or logs
- Steps to reproduce
Still stuck? Check our Discussions or create an issue.