Troubleshooting
This document helps you solve common issues when using OpenHuman.
Authentication Issues
Invalid API Key
Symptoms: Returns 401 Unauthorized when calling API
Solution:
- Check if API key is set correctly
- Confirm the key has not expired
- Verify environment variable configuration
echo $OPENHUMAN_API_KEY
OAuth Connection Failed
Symptoms: Error when integrating OAuth connection
Solution:
- Confirm the integrated service account is not blocked
- Check OAuth scopes permissions
- Re-authorize the integration
Network Issues
Request Timeout
Symptoms: API request times out
Solution:
- Check network connection
- Increase timeout configuration
- Use retry mechanism
const client = new OpenHuman({
apiKey: process.env.OPENHUMAN_API_KEY,
timeout: 60000, // 60 seconds
});
Cannot Connect to Remote Core
Symptoms: Remote core connection fails
Solution:
- Confirm remote core URL is accessible
- Verify token correctness
- Check firewall settings
curl -I https://your-core.example/rpc
Memory Tree Issues
Inaccurate Memory Retrieval
Symptoms: recall returns irrelevant results
Solution:
- Use more precise query terms
- Specify scope to narrow the range
- Check if memory was stored correctly
const memories = await client.memory.recall({
query: 'What topics is the user interested in',
scope: 'user_preference',
limit: 5,
});
Memory Storage Failed
Symptoms: store operation fails
Solution:
- Check disk space
- Confirm database file is not corrupted
- Verify write permissions
Tool Issues
Tool Call Failed
Symptoms: Error during tool execution
Solution:
- Check if tool parameters are correct
- Confirm network connection is normal
- View specific error message
try {
const result = await client.tools.execute('web-search', {
query: 'test',
});
} catch (error) {
console.error('Tool error:', error.message);
}
Browser Control Not Responding
Symptoms: Browser control operation has no response
Solution:
- Confirm CEF browser is installed
- Check if browser process is running
- Restart browser control session
Performance Issues
Slow Response
Symptoms: Agent response time is too long
Solution:
- Reduce context length
- Use streaming responses
- Consider using a lighter model
High Token Usage
Symptoms: Token consumption exceeds expectations
Solution:
- Enable token compression
- Reduce historical messages
- Limit recall return count
Deployment Issues
Docker Container Failed to Start
Symptoms: Container cannot start
Solution:
- Check if port is in use
- Verify environment variable configuration
- View container logs
docker logs openhuman-container
Cloud Deployment Connection Failed
Symptoms: Cannot connect after cloud deployment
Solution:
- Confirm security group rules configuration
- Check domain DNS resolution
- Verify SSL certificate
Getting Help
If the problem is still not resolved:
- Check GitHub Issues
- Refer to Official Documentation
- Join community discussion