Repository navigation
Closed
Labels
bugSomething isn't working
Description
Describe the bug
I tried to run the GitHub agent demo with AuthBridge and I got an error with the MCP server:
alan@Alans-MacBook-Pro-3 silhouette-card-maker % kubectl logs deployment/git-issue-agent -n team1 -c git-issue-agent --tail=50
WARNING: Deprecated agent card endpoint '/.well-known/agent.json' accessed. Please use '/.well-known/agent-card.json' instead. This endpoint will be removed in a future version.
INFO: 10.244.0.50:49154 - "GET /.well-known/agent.json HTTP/1.1" 200 OK
WARNING: Deprecated agent card endpoint '/.well-known/agent.json' accessed. Please use '/.well-known/agent-card.json' instead. This endpoint will be removed in a future version.
INFO: 10.244.0.50:43446 - "GET /.well-known/agent.json HTTP/1.1" 200 OK
WARNING: Deprecated agent card endpoint '/.well-known/agent.json' accessed. Please use '/.well-known/agent-card.json' instead. This endpoint will be removed in a future version.
INFO: 10.244.0.50:44096 - "GET /.well-known/agent.json HTTP/1.1" 200 OK
INFO: HTTP Request: GET http://keycloak-service.keycloak.svc:8080/realms/demo/protocol/openid-connect/certs "HTTP/1.1 200 OK"
INFO: Connecting to MCP server at http://github-tool-service:9090/mcp
INFO: HTTP Request: POST http://github-tool-service:9090/mcp "HTTP/1.1 500 Internal Server Error"
Exception in thread Thread-2 (_run_loop):
+ Exception Group Traceback (most recent call last):
| File "/usr/local/lib/python3.12/threading.py", line 1075, in _bootstrap_inner
| self.run()
| File "/usr/local/lib/python3.12/threading.py", line 1012, in run
| self._target(*self._args, **self._kwargs)
| File "/app/.venv/lib/python3.12/site-packages/mcpadapt/core.py", line 237, in _run_loop
| self.loop.run_until_complete(self.task)
| File "/usr/local/lib/python3.12/asyncio/base_events.py", line 691, in run_until_complete
| return future.result()
| ^^^^^^^^^^^^^^^
| File "/app/.venv/lib/python3.12/site-packages/mcpadapt/core.py", line 226, in setup
| await stack.enter_async_context(
| File "/usr/local/lib/python3.12/contextlib.py", line 659, in enter_async_context
| result = await _enter(cm)
| ^^^^^^^^^^^^^^^^
| File "/usr/local/lib/python3.12/contextlib.py", line 210, in __aenter__
| return await anext(self.gen)
| ^^^^^^^^^^^^^^^^^^^^^
| File "/app/.venv/lib/python3.12/site-packages/mcpadapt/core.py", line 122, in mcptools
| async with client as (read, write, *_):
| ^^^^^^
| File "/usr/local/lib/python3.12/contextlib.py", line 231, in __aexit__
| await self.gen.athrow(value)
| File "/app/.venv/lib/python3.12/site-packages/mcp/client/streamable_http.py", line 478, in streamablehttp_client
| async with anyio.create_task_group() as tg:
| ^^^^^^^^^^^^^^^^^^^^^^^^^
| File "/app/.venv/lib/python3.12/site-packages/anyio/_backends/_asyncio.py", line 772, in __aexit__
| raise BaseExceptionGroup(
| ExceptionGroup: unhandled errors in a TaskGroup (1 sub-exception)
+-+---------------- 1 ----------------
| Traceback (most recent call last):
| File "/app/.venv/lib/python3.12/site-packages/mcp/client/streamable_http.py", line 409, in handle_request_async
| await self._handle_post_request(ctx)
| File "/app/.venv/lib/python3.12/site-packages/mcp/client/streamable_http.py", line 278, in _handle_post_request
| response.raise_for_status()
| File "/app/.venv/lib/python3.12/site-packages/httpx/_models.py", line 829, in raise_for_status
| raise HTTPStatusError(message, request=request, response=self)
| httpx.HTTPStatusError: Server error '500 Internal Server Error' for url 'http://github-tool-service:9090/mcp'
For more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/500
+------------------------------------
I got this error while trying to do step 9b which is get credentials and a token.
Steps To Reproduce
Follow the steps in the tutorial.
Expected Behavior
I expect to see the token as the tutorial suggests:
Admin token length: 1543
Internal ID: 8577145b-cb77-4bbc-abde-1f5eb7643344
Client ID: spiffe://localtest.me/ns/team1/sa/git-issue-agent
Secret length: 32
Token length: 1165
Additional Context
No response
Metadata
Metadata
Assignees
Labels
bugSomething isn't working
Activity
huang195 commentedon Apr 14, 2026
Going to close this one, since this is rather old and Mariusz has been modifying this agent. Reopen if the problem still persists.
Feat: Per-policy default_effect in the OPA Rego generator
Test: Make uc1_onboard harness policy-agnostic (#149)
Fix: Wire AIAC_DEFAULT_EFFECT env on-ramp between PCE param (#146) an…
Fix: Restore /health route and thread default_effect through eventbus…
Fix: Restore /health route and thread default_effect through eventbus…
Feat: Per-policy default_effect in the OPA Rego generator
Test: Make uc1_onboard harness policy-agnostic (#149)
Fix: Wire AIAC_DEFAULT_EFFECT env on-ramp between PCE param (#146) an…
Fix: Restore /health route and thread default_effect through eventbus…