Skip to content

python/google-adk the sample is not working on agents playground #243

@TarunReddy-msft

Description

@TarunReddy-msft

Description

  • Attempted to run the Google ADK Python sample agent and test it using Agent Playground.

  • The agent loads correctly in the Playground interface and accepts user input.

  • However, after sending a message, the agent does not return any response.

  • The chat UI works as expected:

    • Input box accepts messages
    • Messages appear in the conversation
  • But the agent never generates or displays a reply.

  • This appears to be related to the runtime execution of the Python sample agent, rather than the Agent Playground interface itself.


Expected Behavior

  • After sending a message in Agent Playground (e.g., "Hi"), the agent should process the input and return a response.

Actual Behavior

  • The message is accepted in the Playground interface.
  • No response is generated or displayed from the agent.

Environment

  • Runtime: Python
  • OS: Windows 11
  • Interface: Agent Playground

Steps to Reproduce

  • Clone the Google ADK repository.
  • Navigate to the Python sample agent.
  • Create and activate a Python virtual environment.
  • Install the required dependencies.
  • Start the agent locally.
  • Open Agent Playground.
  • Select the Python sample agent.
  • Send a message such as "Hi".

Logs / Error Output

wait-on(37540) Timed out waiting for: https://localhost:3978/api/messages; exiting with error

Telemetry: agents-playground-server/error
Error: Timed out waiting for: https://localhost:3978/api/messages

Events recording disabled.
Telemetry: agents-playground-server/eventsRecording {"enabled":"false"}

Telemetry: agents-playground-server/getConfig
{
  "locale": "en-IN",
  "localTimezone": "Asia/Calcutta",
  "channelId": "emulator",
  "debugConfig": {
    "eventsRecordingEnabled": false
  }
}

Telemetry: agents-playground-server/error
Error: write EPROTO E4940000:error:0A0000C6:SSL routines:tls_get_more_records:packet length too long

InternalServiceError: write EPROTO E4940000:error:0A0000C6:SSL routines:tls_get_more_records:packet length too long:openssl\ssl\record\methods\tls_common.c:661:

    at exports.UserBotError (C:\Users\v-ttetali\AppData\Roaming\npm\node_modules\@microsoft\teams-app-test-tool\dist\index.js)
    at ConversationUpdateUserBotAccessor.handleAxiosError
    at ConversationUpdateUserBotAccessor.sendActivity
    at process.processTicksAndRejections (node:internal/process/task_queues:104:5)
    at async ConversationUpdateUserBotAccessor.sendInstallationMemberAddedActivity

Code: UserBotError

Result

  • The message is submitted successfully in Agent Playground.
  • The agent does not return any response.

Additional Context

  • If needed, I can provide console logs or additional configuration details to help diagnose the issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions