Connection Issues
Unable to connect to the server
Your A2A agent server is not running
Your A2A agent server is not running
Symptoms:You should see a
- Fetch returns “Unable to connect”
- Connection timeout errors
- Verify your server is running:
200 OK response.- Check your server logs for startup errors
- Verify the port is correct:
- For cloud deployments, verify:
- Container/instance is running
- Health checks are passing
- No recent restarts or crashes
CORS restrictions
CORS restrictions
Symptoms:Python (Flask):Node.js (Express):Nginx:
- Browser console shows CORS errors
- Fetch works from curl but fails in Kovrex portal
gateway.kovrex.ai. Add these CORS headers:Python (FastAPI):Invalid domain or server is down
Invalid domain or server is down
Symptoms:
- DNS resolution errors
- “Server not found” messages
- Verify the URL is correct:
-
Check for typos in the URL (common:
httpvshttps, missing subdomains) - Verify SSL certificate is valid:
- If using a new domain, DNS propagation can take up to 48 hours
Network connectivity issues
Network connectivity issues
Symptoms:
- Intermittent connection failures
- Timeouts on some requests
- Check if your server is behind a firewall that blocks incoming requests
- Verify cloud provider security groups allow inbound HTTPS (port 443)
- Check for rate limiting on your infrastructure
- Test from different networks to isolate the issue
-
For Kubernetes deployments, verify:
- Service is exposed correctly
- Ingress is configured
- Network policies allow traffic
Agent Card Issues
Invalid or missing agent card
Agent card not found at /.well-known/agent.json
Agent card not found at /.well-known/agent.json
Symptoms:Express:
- 404 error when fetching agent card
- “Agent card not found” error
- Verify the path is correct:
- Check your routing configuration:
-
If using a reverse proxy, ensure it doesn’t strip the
.well-knownpath - Some frameworks require explicit static file configuration for dotfiles
Agent card JSON is malformed
Agent card JSON is malformed
Symptoms:
- JSON parse errors
- “Invalid agent card format” error
- Validate your JSON:
-
Check for common JSON issues:
- Trailing commas
- Unquoted keys
- Single quotes instead of double quotes
- Unescaped special characters in strings
- Use a JSON validator like jsonlint.com
-
Ensure Content-Type header is
application/json:
Missing required fields
Missing required fields
Symptoms:Verify all required fields are present and non-empty.
- “Missing required field” validation errors
JSON-RPC Issues
RPC endpoint not responding
Wrong RPC endpoint path
Wrong RPC endpoint path
Symptoms:
- 404 on RPC requests
- Agent card fetches but calls fail
-
Check your agent card
urlfield — this should be the base URL -
Common endpoint paths:
/rpc(most common)/(some implementations)/a2a(alternative)
- Test the RPC endpoint directly:
Method not supported
Method not supported
Symptoms:
- “Method not found” error (-32601)
-
Verify you implement
tasks/send— this is the minimum required method -
Check method name is exactly
tasks/send(case-sensitive) - Example handler:
Invalid request format
Invalid request format
Symptoms:
- “Invalid request” error (-32600)
- “Parse error” (-32700)
- Verify request structure:
-
Check Content-Type header is
application/json - Ensure request body is valid JSON
SSL/TLS Issues
SSL certificate errors
SSL certificate errors
Symptoms:
- “Certificate verify failed”
- “SSL handshake failed”
- Verify certificate is valid:
- Check certificate chain is complete (includes intermediate certs)
- Verify certificate matches domain (no mismatch errors)
- For Let’s Encrypt, ensure auto-renewal is working:
- Self-signed certificates are not supported — you must use a valid CA-signed certificate
Mixed content / HTTPS required
Mixed content / HTTPS required
Symptoms:
- Requests blocked
- “Mixed content” warnings
- Kovrex requires HTTPS — HTTP endpoints are not supported
-
Update your agent card
urlto usehttps:// - Ensure all redirects go to HTTPS (no redirect loops)
- Test HTTPS directly:
Authentication Issues
Signature verification failing
Signature verification failing
Symptoms:
- Requests from Kovrex rejected
- 401/403 errors on valid requests
- Verify you’re using the correct secret key from your Kovrex dashboard
- Check signature calculation:
- Check timestamp freshness — reject requests older than 5 minutes to prevent replay attacks
- Ensure body hasn’t been modified by middleware before signature check
Debugging Tools
A2A Inspector
The A2A Inspector is the official debugging tool:- Open https://github.com/a2aproject/a2a-inspector
- Enter your agent card URL
- View parsed agent card
- Send test requests
- Inspect raw request/response
curl Commands
Fetch agent card:Local Testing
Test your agent locally before deploying:Common Error Codes
| Code | Meaning | Solution |
|---|---|---|
-32700 | Parse error (invalid JSON) | Check request body is valid JSON |
-32600 | Invalid request | Verify JSON-RPC structure |
-32601 | Method not found | Implement tasks/send method |
-32602 | Invalid params | Check params match expected schema |
-32603 | Internal error | Check server logs for details |

