Skip to main content
Using a Simple API Endpoint instead? Most connection issues are the same — check the CORS and SSL sections below.

Connection Issues

Unable to connect to the server

Symptoms:
  • Fetch returns “Unable to connect”
  • Connection timeout errors
Solutions:
  1. Verify your server is running:
You should see a 200 OK response.
  1. Check your server logs for startup errors
  2. Verify the port is correct:
  1. For cloud deployments, verify:
    • Container/instance is running
    • Health checks are passing
    • No recent restarts or crashes
Symptoms:
  • Browser console shows CORS errors
  • Fetch works from curl but fails in Kovrex portal
Solutions:Your server must allow requests from gateway.kovrex.ai. Add these CORS headers:Python (FastAPI):
Python (Flask):
Node.js (Express):
Nginx:
Symptoms:
  • DNS resolution errors
  • “Server not found” messages
Solutions:
  1. Verify the URL is correct:
  1. Check for typos in the URL (common: http vs https, missing subdomains)
  2. Verify SSL certificate is valid:
  1. If using a new domain, DNS propagation can take up to 48 hours
Symptoms:
  • Intermittent connection failures
  • Timeouts on some requests
Solutions:
  1. Check if your server is behind a firewall that blocks incoming requests
  2. Verify cloud provider security groups allow inbound HTTPS (port 443)
  3. Check for rate limiting on your infrastructure
  4. Test from different networks to isolate the issue
  5. For Kubernetes deployments, verify:
    • Service is exposed correctly
    • Ingress is configured
    • Network policies allow traffic

Agent Card Issues

Invalid or missing agent card

Symptoms:
  • 404 error when fetching agent card
  • “Agent card not found” error
Solutions:
  1. Verify the path is correct:
  1. Check your routing configuration:
FastAPI:
Express:
  1. If using a reverse proxy, ensure it doesn’t strip the .well-known path
  2. Some frameworks require explicit static file configuration for dotfiles
Symptoms:
  • JSON parse errors
  • “Invalid agent card format” error
Solutions:
  1. Validate your JSON:
  1. Check for common JSON issues:
    • Trailing commas
    • Unquoted keys
    • Single quotes instead of double quotes
    • Unescaped special characters in strings
  2. Use a JSON validator like jsonlint.com
  3. Ensure Content-Type header is application/json:
Symptoms:
  • “Missing required field” validation errors
Solutions:Required fields in agent card:
Verify all required fields are present and non-empty.

JSON-RPC Issues

RPC endpoint not responding

Symptoms:
  • 404 on RPC requests
  • Agent card fetches but calls fail
Solutions:
  1. Check your agent card url field — this should be the base URL
  2. Common endpoint paths:
    • /rpc (most common)
    • / (some implementations)
    • /a2a (alternative)
  3. Test the RPC endpoint directly:
Symptoms:
  • “Method not found” error (-32601)
Solutions:
  1. Verify you implement tasks/send — this is the minimum required method
  2. Check method name is exactly tasks/send (case-sensitive)
  3. Example handler:
Symptoms:
  • “Invalid request” error (-32600)
  • “Parse error” (-32700)
Solutions:
  1. Verify request structure:
  1. Check Content-Type header is application/json
  2. Ensure request body is valid JSON

SSL/TLS Issues

Symptoms:
  • “Certificate verify failed”
  • “SSL handshake failed”
Solutions:
  1. Verify certificate is valid:
  1. Check certificate chain is complete (includes intermediate certs)
  2. Verify certificate matches domain (no mismatch errors)
  3. For Let’s Encrypt, ensure auto-renewal is working:
  1. Self-signed certificates are not supported — you must use a valid CA-signed certificate
Symptoms:
  • Requests blocked
  • “Mixed content” warnings
Solutions:
  1. Kovrex requires HTTPS — HTTP endpoints are not supported
  2. Update your agent card url to use https://
  3. Ensure all redirects go to HTTPS (no redirect loops)
  4. Test HTTPS directly:

Authentication Issues

Symptoms:
  • Requests from Kovrex rejected
  • 401/403 errors on valid requests
Solutions:
  1. Verify you’re using the correct secret key from your Kovrex dashboard
  2. Check signature calculation:
  1. Check timestamp freshness — reject requests older than 5 minutes to prevent replay attacks
  2. Ensure body hasn’t been modified by middleware before signature check

Debugging Tools

A2A Inspector

The A2A Inspector is the official debugging tool:
  1. Open https://github.com/a2aproject/a2a-inspector
  2. Enter your agent card URL
  3. View parsed agent card
  4. Send test requests
  5. Inspect raw request/response

curl Commands

Fetch agent card:
Test RPC endpoint:
Check headers:
Verbose output:

Local Testing

Test your agent locally before deploying:

Common Error Codes


Still Stuck?

Contact Support

Email us with your agent card URL and error details

Community Discord

Get help from the Kovrex community

A2A Protocol Docs

Official A2A protocol documentation

Simple API Option

Skip A2A complexity — let us handle it