Original title: ‘Failed to communicate with agent at http://127.0.0.1:5001 Tried multiple endpoint variations.’, type=)
I have written a sample script using python-a2a package and hitting the following error. I am not sure if the issue is with the specific version of the package. A2ACalcClient initialized for URL: http://10.188.106.132:5001/a2a Sending calculation request: add(a=5, b=3) Unexpected response type from A2A agent: error Full response content: ErrorContent(message=‘Failed to communicate with agent at http://10.188.106.132:5001/a2a/a2a. Tried multiple endpoint variations.’, type=<ContentType.ERROR: ’error’>)
A2ACalcClient initialized for URL: http://10.188.106.132:5001/ Sending calculation request: add(a=5, b=3) Unexpected response type from A2A agent: error Full response content: ErrorContent(message=‘Failed to communicate with agent at http://10.188.106.132:5001/tasks/send. Tried multiple endpoint variations.’, type=<ContentType.ERROR: ’error’>)
Server code: import math from python_a2a import ( A2AServer, Message, TextContent, FunctionCallContent, FunctionResponseContent, Function