-
Notifications
You must be signed in to change notification settings - Fork 102
Open
Description
What happened?
Error: An internal server error occurred: HTTP Error 503: Network communication error fetching agent card from https://planner-agent-550681616.us-central1.run.app/.well-known/agent-card.json: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self-signed certificate in certificate chain (_ssl.c:1032)
Relevant log output
[BACKEND] Traceback (most recent call last):
[BACKEND] File "D:\Agent\code\a2a-inspector\.venv\Lib\site-packages\httpx\_transports\default.py", line 101, in map_httpcore_exceptions
[BACKEND] yield
[BACKEND] File "D:\Agent\code\a2a-inspector\.venv\Lib\site-packages\httpx\_transports\default.py", line 394, in handle_async_request
[BACKEND] resp = await self._pool.handle_async_request(req)
[BACKEND] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[BACKEND] File "D:\Agent\code\a2a-inspector\.venv\Lib\site-packages\httpcore\_async\connection_pool.py", line 256, in handle_async_request
[BACKEND] raise exc from None
[BACKEND] File "D:\Agent\code\a2a-inspector\.venv\Lib\site-packages\httpcore\_async\connection_pool.py", line 236, in handle_async_request
[BACKEND] response = await connection.handle_async_request(
[BACKEND] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[BACKEND] pool_request.request
[BACKEND] ^^^^^^^^^^^^^^^^^^^^
[BACKEND] )
[BACKEND] ^
[BACKEND] File "D:\Agent\code\a2a-inspector\.venv\Lib\site-packages\httpcore\_async\http_proxy.py", line 316, in handle_async_request
[BACKEND] stream = await stream.start_tls(**kwargs)
[BACKEND] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[BACKEND] File "D:\Agent\code\a2a-inspector\.venv\Lib\site-packages\httpcore\_async\http11.py", line 376, in start_tls
[BACKEND] return await self._stream.start_tls(ssl_context, server_hostname, timeout)
[BACKEND] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[BACKEND] File "D:\Agent\code\a2a-inspector\.venv\Lib\site-packages\httpcore\_backends\anyio.py", line 67, in start_tls
[BACKEND] with map_exceptions(exc_map):
[BACKEND] ~~~~~~~~~~~~~~^^^^^^^^^
[BACKEND] File "C:\Program Files\Python313\Lib\contextlib.py", line 162, in __exit__
[BACKEND] self.gen.throw(value)
[BACKEND] ~~~~~~~~~~~~~~^^^^^^^
[BACKEND] File "D:\Agent\code\a2a-inspector\.venv\Lib\site-packages\httpcore\_exceptions.py", line 14, in map_exceptions
[BACKEND] raise to_exc(exc) from exc
[BACKEND] httpcore.ConnectError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self-signed certificate in certificate chain (_ssl.c:1032)
[BACKEND]
[BACKEND] The above exception was the direct cause of the following exception:
[BACKEND]
[BACKEND] Traceback (most recent call last):
[BACKEND] File "D:\Agent\code\a2a-inspector\.venv\Lib\site-packages\a2a\client\card_resolver.py", line 77, in get_agent_card
[BACKEND] response = await self.httpx_client.get(
[BACKEND] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[BACKEND] ...<2 lines>...
[BACKEND] )
[BACKEND] ^
[BACKEND] File "D:\Agent\code\a2a-inspector\.venv\Lib\site-packages\httpx\_client.py", line 1768, in get
[BACKEND] return await self.request(
[BACKEND] ^^^^^^^^^^^^^^^^^^^
[BACKEND] ...<9 lines>...
[BACKEND] )
[BACKEND] ^
[BACKEND] File "D:\Agent\code\a2a-inspector\.venv\Lib\site-packages\httpx\_client.py", line 1540, in request
[BACKEND] return await self.send(request, auth=auth, follow_redirects=follow_redirects)
[BACKEND] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[BACKEND] File "D:\Agent\code\a2a-inspector\.venv\Lib\site-packages\httpx\_client.py", line 1629, in send
[BACKEND] response = await self._send_handling_auth(
[BACKEND] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[BACKEND] ...<4 lines>...
[BACKEND] )
[BACKEND] ^
[BACKEND] File "D:\Agent\code\a2a-inspector\.venv\Lib\site-packages\httpx\_client.py", line 1657, in _send_handling_auth
[BACKEND] response = await self._send_handling_redirects(
[BACKEND] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[BACKEND] ...<3 lines>...
[BACKEND] )
[BACKEND] ^
[BACKEND] File "D:\Agent\code\a2a-inspector\.venv\Lib\site-packages\httpx\_client.py", line 1694, in _send_handling_redirects
[BACKEND] response = await self._send_single_request(request)
[BACKEND] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[BACKEND] File "D:\Agent\code\a2a-inspector\.venv\Lib\site-packages\httpx\_client.py", line 1730, in _send_single_request
[BACKEND] response = await transport.handle_async_request(request)
[BACKEND] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[BACKEND] File "D:\Agent\code\a2a-inspector\.venv\Lib\site-packages\httpx\_transports\default.py", line 393, in handle_async_request
[BACKEND] with map_httpcore_exceptions():
[BACKEND] ~~~~~~~~~~~~~~~~~~~~~~~^^
[BACKEND] File "C:\Program Files\Python313\Lib\contextlib.py", line 162, in __exit__
[BACKEND] self.gen.throw(value)
[BACKEND] ~~~~~~~~~~~~~~^^^^^^^
[BACKEND] File "D:\Agent\code\a2a-inspector\.venv\Lib\site-packages\httpx\_transports\default.py", line 118, in map_httpcore_exceptions
[BACKEND] raise mapped_exc(message) from exc
[BACKEND] httpx.ConnectError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self-signed certificate in certificate chain (_ssl.c:1032)
[BACKEND]
[BACKEND] The above exception was the direct cause of the following exception:
[BACKEND]
[BACKEND] Traceback (most recent call last):
[BACKEND] File "D:\Agent\code\a2a-inspector\backend\app.py", line 200, in get_agent_card
[BACKEND] card = await card_resolver.get_agent_card()
[BACKEND] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[BACKEND] File "D:\Agent\code\a2a-inspector\.venv\Lib\site-packages\a2a\client\card_resolver.py", line 99, in get_agent_card
[BACKEND] raise A2AClientHTTPError(
[BACKEND] ...<2 lines>...
[BACKEND] ) from e
[BACKEND] a2a.client.errors.A2AClientHTTPError: HTTP Error 503: Network communication error fetching agent card from https://sample-a2a-agent-908687846511.us-central1.run.app/.well-known/agent-card.json: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self-signed certificate in certificate chain (_ssl.c:1032)
[BACKEND] INFO: 127.0.0.1:36367 - "POST /agent-card HTTP/1.1" 500 Internal Server Error
Code of Conduct
- I agree to follow this project's Code of Conduct
Metadata
Metadata
Assignees
Labels
No labels