Skip to content

App Lens diagnostics fails with internal error (500) when diagnosing app issues #620

@Menghua1

Description

@Menghua1

Description:
When using the prompts Please help me diagnose issues with my app using app lens, Use app lens to check why my app is slow?, or What does app lens say is wrong with my service?, the tool fails to complete the diagnosis and instead returns an internal error. The specific error message is as follows:
Image
Image

Steps to Reproduce:

  1. Start mcp server in namespaces mode.
  2. Open GitHub Copilot in VS Code and switch to Agent mode.
  3. Click Refresh on the tools list, and select the Built-in, Extension: Github Copilot for Azure, MCP Server: Microsoft Docs and MCP Server: Azure MCP.
  4. Enter test prompts Please help me diagnose issues with my app using app lens

Environment:

  • OS: Windows.
  • Vscode Version: 1.104.2
  • GitHub Copilot Chat Version: 0.31.3
  • Large Language Model: GPT-4.1
  • Virtual Tool: Off
  • Azure MCP Server: 0.8.2

Expected Behavior:
The tool should successfully complete the diagnostic process and return the expected diagnostic results.

@joshfree for notification

Metadata

Metadata

Type

No type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions