adk-python icon indicating copy to clipboard operation
adk-python copied to clipboard

stop base_authenticated_tool log spam

Open halfpasttense opened this issue 1 year ago • 3 comments

This happens simply when using an MCPToolset with no authentication settings.

INFO: 127.0.0.1:59467 - "GET /debug/trace/c3fcad2f-8e80-4b75-af8a-01cf5d7d0452 HTTP/1.1" 200 OK 2025-09-05 17:25:27 WARNING: [tools/base_authenticated_tool.py:init] auth_config or auth_config.auth_scheme is missing. Will skip authentication.Using FunctionTool instead if authentication is not required. 2025-09-05 17:25:27 WARNING: [tools/base_authenticated_tool.py:init] auth_config or auth_config.auth_scheme is missing. Will skip authentication.Using FunctionTool instead if authentication is not required. 2025-09-05 17:25:27 WARNING: [tools/base_authenticated_tool.py:init] auth_config or auth_config.auth_scheme is missing. Will skip authentication.Using FunctionTool instead if authentication is not required. 2025-09-05 17:25:27 WARNING: [tools/base_authenticated_tool.py:init] auth_config or auth_config.auth_scheme is missing. Will skip authentication.Using FunctionTool instead if authentication is not required. 2025-09-05 17:25:27 WARNING: [tools/base_authenticated_tool.py:init] auth_config or auth_config.auth_scheme is missing. Will skip authentication.Using FunctionTool instead if authentication is not required. 2025-09-05 17:25:27 WARNING: [tools/base_authenticated_tool.py:init] auth_config or auth_config.auth_scheme is missing. Will skip authentication.Using FunctionTool instead if authentication is not required. 2025-09-05 17:25:27 WARNING: [tools/base_authenticated_tool.py:init] auth_config or auth_config.auth_scheme is missing. Will skip authentication.Using FunctionTool instead if authentication is not required. 2025-09-05 17:25:27 WARNING: [tools/base_authenticated_tool.py:init] auth_config or auth_config.auth_scheme is missing. Will skip authentication.Using FunctionTool instead if authentication is not required. 2025-09-05 17:25:27 WARNING: [tools/base_authenticated_tool.py:init] auth_config or auth_config.auth_scheme is missing. Will skip authentication.Using FunctionTool instead if authentication is not required. INFO: 127.0.0.1:60636 - "GET /apps/xff_agent/users/user/sessions/372459fe-8694-4783-b141-0d403b37003f/events/c3fcad2f-8e80-4b75-af8a-01cf5d7d0452/graph HTTP/1.1" 200 OK build graph 2025-09-05 17:25:27 WARNING: [tools/base_authenticated_tool.py:init] auth_config or auth_config.auth_scheme is missing. Will skip authentication.Using FunctionTool instead if authentication is not required. 2025-09-05 17:25:27 WARNING: [tools/base_authenticated_tool.py:init] auth_config or auth_config.auth_scheme is missing. Will skip authentication.Using FunctionTool instead if authentication is not required. 2025-09-05 17:25:27 WARNING: [tools/base_authenticated_tool.py:init] auth_config or auth_config.auth_scheme is missing. Will skip authentication.Using FunctionTool instead if authentication is not required. 2025-09-05 17:25:27 WARNING: [tools/base_authenticated_tool.py:init] auth_config or auth_config.auth_scheme is missing. Will skip authentication.Using FunctionTool instead if authentication is not required. 2025-09-05 17:25:27 WARNING: [tools/base_authenticated_tool.py:init] auth_config or auth_config.auth_scheme is missing. Will skip authentication.Using FunctionTool instead if authentication is not required. 2025-09-05 17:25:27 WARNING: [tools/base_authenticated_tool.py:init] auth_config or auth_config.auth_scheme is missing. Will skip authentication.Using FunctionTool instead if authentication is not required. 2025-09-05 17:25:27 WARNING: [tools/base_authenticated_tool.py:init] auth_config or auth_config.auth_scheme is missing. Will skip authentication.Using FunctionTool instead if authentication is not required. 2025-09-05 17:25:27 WARNING: [tools/base_authenticated_tool.py:init] auth_config or auth_config.auth_scheme is missing. Will skip authentication.Using FunctionTool instead if authentication is not required. 2025-09-05 17:25:27 WARNING: [tools/base_authenticated_tool.py:init] auth_config or auth_config.auth_scheme is missing. Will skip authentication.Using FunctionTool instead if authentication is not required. 2025-09-05 17:25:27 WARNING: [tools/base_authenticated_tool.py:init] auth_config or auth_config.auth_scheme is missing. Will skip authentication.Using FunctionTool instead if authentication is not required. 2025-09-05 17:25:27 WARNING: [tools/base_authenticated_tool.py:init] auth_config or auth_config.auth_scheme is missing. Will skip authentication.Using FunctionTool instead if authentication is not required. 2025-09-05 17:25:27 WARNING: [tools/base_authenticated_tool.py:init] auth_config or auth_config.auth_scheme is missing. Will skip authentication.Using FunctionTool instead if authentication is not required. 2025-09-05 17:25:27 WARNING: [tools/base_authenticated_tool.py:init] auth_config or auth_config.auth_scheme is missing. Will skip authentication.Using FunctionTool instead if authentication is not required. 2025-09-05 17:25:27 WARNING: [tools/base_authenticated_tool.py:init] auth_config or auth_config.auth_scheme is missing. Will skip authentication.Using FunctionTool instead if authentication is not required. 2025-09-05 17:25:27 WARNING: [tools/base_authenticated_tool.py:init] auth_config or auth_config.auth_scheme is missing. Will skip authentication.Using FunctionTool instead if authentication is not required. 2025-09-05 17:25:27 WARNING: [tools/base_authenticated_tool.py:init] auth_config or auth_config.auth_scheme is missing. Will skip authentication.Using FunctionTool instead if authentication is not required. 2025-09-05 17:25:27 WARNING: [tools/base_authenticated_tool.py:init] auth_config or auth_config.auth_scheme is missing. Will skip authentication.Using FunctionTool instead if authentication is not required. 2025-09-05 17:25:27 WARNING: [tools/base_authenticated_tool.py:init] auth_config or auth_config.auth_scheme is missing. Will skip authentication.Using FunctionTool instead if authentication is not required. 2025-09-05 17:25:27 WARNING: [tools/base_authenticated_tool.py:init] auth_config or auth_config.auth_scheme is missing. Will skip authentication.Using FunctionTool instead if authentication is not required. 2025-09-05 17:25:27 WARNING: [tools/base_authenticated_tool.py:init] auth_config or auth_config.auth_scheme is missing. Will skip authentication.Using FunctionTool instead if authentication is not required. 2025-09-05 17:25:27 WARNING: [tools/base_authenticated_tool.py:init] auth_config or auth_config.auth_scheme is missing. Will skip authentication.Using FunctionTool instead if authentication is not required. 2025-09-05 17:25:27 WARNING: [tools/base_authenticated_tool.py:init] auth_config or auth_config.auth_scheme is missing. Will skip authentication.Using FunctionTool instead if authentication is not required. 2025-09-05 17:25:27 WARNING: [tools/base_authenticated_tool.py:init] auth_config or auth_config.auth_scheme is missing. Will skip authentication.Using FunctionTool instead if authentication is not required. 2025-09-05 17:25:27 WARNING: [tools/base_authenticated_tool.py:init] auth_config or auth_config.auth_scheme is missing. Will skip authentication.Using FunctionTool instead if authentication is not required. 2025-09-05 17:25:27 WARNING: [tools/base_authenticated_tool.py:init] auth_config or auth_config.auth_scheme is missing. Will skip authentication.Using FunctionTool instead if authentication is not required. 2025-09-05 17:25:27 WARNING: [tools/base_authenticated_tool.py:init] auth_config or auth_config.auth_scheme is missing. Will skip authentication.Using FunctionTool instead if authentication is not required. 2025-09-05 17:25:27 WARNING: [tools/base_authenticated_tool.py:init] auth_config or auth_config.auth_scheme is missing. Will skip authentication.Using FunctionTool instead if authentication is not required. 2025-09-05 17:25:27 WARNING: [tools/base_authenticated_tool.py:init] auth_config or auth_config.auth_scheme is missing. Will skip authentication.Using FunctionTool instead if authentication is not required. 2025-09-05 17:25:27 WARNING: [tools/base_authenticated_tool.py:init] auth_config or auth_config.auth_scheme is missing. Will skip authentication.Using FunctionTool instead if authentication is not required. 2025-09-05 17:25:27 WARNING: [tools/base_authenticated_tool.py:init] auth_config or auth_config.auth_scheme is missing. Will skip authentication.Using FunctionTool instead if authentication is not required. 2025-09-05 17:25:27 WARNING: [tools/base_authenticated_tool.py:init] auth_config or auth_config.auth_scheme is missing. Will skip authentication.Using FunctionTool instead if authentication is not required. 2025-09-05 17:25:27 WARNING: [tools/base_authenticated_tool.py:init] auth_config or auth_config.auth_scheme is missing. Will skip authentication.Using FunctionTool instead if authentication is not required. 2025-09-05 17:25:27 WARNING: [tools/base_authenticated_tool.py:init] auth_config or auth_config.auth_scheme is missing. Will skip authentication.Using FunctionTool instead if authentication is not required. 2025-09-05 17:25:27 WARNING: [tools/base_authenticated_tool.py:init] auth_config or auth_config.auth_scheme is missing. Will skip authentication.Using FunctionTool instead if authentication is not required. 2025-09-05 17:25:27 WARNING: [tools/base_authenticated_tool.py:init] auth_config or auth_config.auth_scheme is missing. Will skip authentication.Using FunctionTool instead if authentication is not required. 2025-09-05 17:25:27 WARNING: [tools/base_authenticated_tool.py:init] auth_config or auth_config.auth_scheme is missing. Will skip authentication.Using FunctionTool instead if authentication is not required. INFO: 127.0.0.1:60636 - "GET /apps/xff_agent/users/user/sessions/372459fe-8694-4783-b141-0d403b37003f/events/c3fcad2f-8e80-4b75-af8a-01cf5d7d0452/graph HTTP/1.1" 200 OK build graph 2025-09-05 17:25:27 WARNING: [tools/base_authenticated_tool.py:init] auth_config or auth_config.auth_scheme is missing. Will skip authentication.Using FunctionTool instead if authentication is not required. 2025-09-05 17:25:27 WARNING: [tools/base_authenticated_tool.py:init] auth_config or auth_config.auth_scheme is missing. Will skip authentication.Using FunctionTool instead if authentication is not required. 2025-09-05 17:25:27 WARNING: [tools/base_authenticated_tool.py:init] auth_config or auth_config.auth_scheme is missing. Will skip authentication.Using FunctionTool instead if authentication is not required. 2025-09-05 17:25:27 WARNING: [tools/base_authenticated_tool.py:init] auth_config or auth_config.auth_scheme is missing. Will skip authentication.Using FunctionTool instead if authentication is not required. 2025-09-05 17:25:27 WARNING: [tools/base_authenticated_tool.py:init] auth_config or auth_config.auth_scheme is missing. Will skip authentication.Using FunctionTool instead if authentication is not required. 2025-09-05 17:25:27 WARNING: [tools/base_authenticated_tool.py:init] auth_config or auth_config.auth_scheme is missing. Will skip authentication.Using FunctionTool instead if authentication is not required. 2025-09-05 17:25:27 WARNING: [tools/base_authenticated_tool.py:init] auth_config or auth_config.auth_scheme is missing. Will skip authentication.Using FunctionTool instead if authentication is not required. 2025-09-05 17:25:27 WARNING: [tools/base_authenticated_tool.py:init] auth_config or auth_config.auth_scheme is missing. Will skip authentication.Using FunctionTool instead if authentication is not required. 2025-09-05 17:25:27 WARNING: [tools/base_authenticated_tool.py:init] auth_config or auth_config.auth_scheme is missing. Will skip authentication.Using FunctionTool instead if authentication is not required. 2025-09-05 17:25:27 WARNING: [tools/base_authenticated_tool.py:init] auth_config or auth_config.auth_scheme is missing. Will skip authentication.Using FunctionTool instead if authentication is not required. 2025-09-05 17:25:27 WARNING: [tools/base_authenticated_tool.py:init] auth_config or auth_config.auth_scheme is missing. Will skip authentication.Using FunctionTool instead if authentication is not required. 2025-09-05 17:25:27 WARNING: [tools/base_authenticated_tool.py:init] auth_config or auth_config.auth_scheme is missing. Will skip authentication.Using FunctionTool instead if authentication is not required. 2025-09-05 17:25:27 WARNING: [tools/base_authenticated_tool.py:init] auth_config or auth_config.auth_scheme is missing. Will skip authentication.Using FunctionTool instead if authentication is not required. 2025-09-05 17:25:27 WARNING: [tools/base_authenticated_tool.py:init] auth_config or auth_config.auth_scheme is missing. Will skip authentication.Using FunctionTool instead if authentication is not required. 2025-09-05 17:25:27 WARNING: [tools/base_authenticated_tool.py:init] auth_config or auth_config.auth_scheme is missing. Will skip authentication.Using FunctionTool instead if authentication is not required. 2025-09-05 17:25:27 WARNING: [tools/base_authenticated_tool.py:init] auth_config or auth_config.auth_scheme is missing. Will skip authentication.Using FunctionTool instead if authentication is not required. 2025-09-05 17:25:27 WARNING: [tools/base_authenticated_tool.py:init] auth_config or auth_config.auth_scheme is missing. Will skip authentication.Using FunctionTool instead if authentication is not required. 2025-09-05 17:25:27 WARNING: [tools/base_authenticated_tool.py:init] auth_config or auth_config.auth_scheme is missing. Will skip authentication.Using FunctionTool instead if authentication is not required. 2025-09-05 17:25:27 WARNING: [tools/base_authenticated_tool.py:init] auth_config or auth_config.auth_scheme is missing. Will skip authentication.Using FunctionTool instead if authentication is not required. 2025-09-05 17:25:27 WARNING: [tools/base_authenticated_tool.py:init] auth_config or auth_config.auth_scheme is missing. Will skip authentication.Using FunctionTool instead if authentication is not required. 2025-09-05 17:25:27 WARNING: [tools/base_authenticated_tool.py:init] auth_config or auth_config.auth_scheme is missing. Will skip authentication.Using FunctionTool instead if authentication is not required. 2025-09-05 17:25:27 WARNING: [tools/base_authenticated_tool.py:init] auth_config or auth_config.auth_scheme is missing. Will skip authentication.Using FunctionTool instead if authentication is not required. 2025-09-05 17:25:27 WARNING: [tools/base_authenticated_tool.py:init] auth_config or auth_config.auth_scheme is missing. Will skip authentication.Using FunctionTool instead if authentication is not required. 2025-09-05 17:25:27 WARNING: [tools/base_authenticated_tool.py:init] auth_config or auth_config.auth_scheme is missing. Will skip authentication.Using FunctionTool instead if authentication is not required. 2025-09-05 17:25:27 WARNING: [tools/base_authenticated_tool.py:init] auth_config or auth_config.auth_scheme is missing. Will skip authentication.Using FunctionTool instead if authentication is not required. 2025-09-05 17:25:27 WARNING: [tools/base_authenticated_tool.py:init] auth_config or auth_config.auth_scheme is missing. Will skip authentication.Using FunctionTool instead if authentication is not required. 2025-09-05 17:25:27 WARNING: [tools/base_authenticated_tool.py:init] auth_config or auth_config.auth_scheme is missing. Will skip authentication.Using FunctionTool instead if authentication is not required. 2025-09-05 17:25:28 WARNING: [tools/base_authenticated_tool.py:init] auth_config or auth_config.auth_scheme is missing. Will skip authentication.Using FunctionTool instead if authentication is not required. 2025-09-05 17:25:28 WARNING: [tools/base_authenticated_tool.py:init] auth_config or auth_config.auth_scheme is missing. Will skip authentication.Using FunctionTool instead if authentication is not required. 2025-09-05 17:25:28 WARNING: [tools/base_authenticated_tool.py:init] auth_config or auth_config.auth_scheme is missing. Will skip authentication.Using FunctionTool instead if authentication is not required. 2025-09-05 17:25:28 WARNING: [tools/base_authenticated_tool.py:init] auth_config or auth_config.auth_scheme is missing. Will skip authentication.Using FunctionTool instead if authentication is not required. 2025-09-05 17:25:28 WARNING: [tools/base_authenticated_tool.py:init] auth_config or auth_config.auth_scheme is missing. Will skip authentication.Using FunctionTool instead if authentication is not required. 2025-09-05 17:25:28 WARNING: [tools/base_authenticated_tool.py:init] auth_config or auth_config.auth_scheme is missing. Will skip authentication.Using FunctionTool instead if authentication is not required. 2025-09-05 17:25:28 WARNING: [tools/base_authenticated_tool.py:init] auth_config or auth_config.auth_scheme is missing. Will skip authentication.Using FunctionTool instead if authentication is not required. 2025-09-05 17:25:28 WARNING: [tools/base_authenticated_tool.py:init] auth_config or auth_config.auth_scheme is missing. Will skip authentication.Using FunctionTool instead if authentication is not required. 2025-09-05 17:25:28 WARNING: [tools/base_authenticated_tool.py:init] auth_config or auth_config.auth_scheme is missing. Will skip authentication.Using FunctionTool instead if authentication is not required.

halfpasttense avatar Sep 05 '25 21:09 halfpasttense

Would be interested as well in how to disable them. When the MCPs are deployed as sidecar containers, they don't need authentication setup, so it is not an issue.

svelezdevilla avatar Sep 09 '25 16:09 svelezdevilla

The log is spammed every time agents call the tools. When you deploy adk as a cloud application, it logs so many warnings that are false-positives.

It should be allowed to have McpTools w/o authentication.

flansen avatar Oct 31 '25 11:10 flansen

Fixed in https://github.com/google/adk-python/commit/11571c37ab948d43cbaa3a1d82522256dfe4d467. Closing.

hangfei avatar Nov 05 '25 01:11 hangfei