CopilotForXcode icon indicating copy to clipboard operation
CopilotForXcode copied to clipboard

Encounter "Sorry, an error occurred while generating a response." frequently

Open owenzhao opened this issue 3 months ago • 8 comments

Describe the bug

Versions

  • Copilot for Xcode: 0.43.0
  • Xcode: 26.0 beta 7 (17A5305k)
  • macOS: 26.0 Beta (25A5351b)

Steps to reproduce

  1. Use agent mode
  2. Normally use.
  3. Encounter this issue very frequently, I had to continue many times for one prompt.

Screenshots

Logs

Additional context

owenzhao avatar Sep 07 '25 00:09 owenzhao

Same here. With different models. Switching models sometimes seems to help for a short while, but then the issue happens again.

vernonstinebaker avatar Sep 07 '25 05:09 vernonstinebaker

@owenzhao and @vernonstinebaker Would you mind sharing the logs at /Users/<name>/Library/Logs/GitHubCopilot/github-copilot-for-xcode.log?

testforstephen avatar Sep 08 '25 01:09 testforstephen

uploaded log in response to #487

vernonstinebaker avatar Sep 08 '25 02:09 vernonstinebaker

the same issue has been occurring very frequently recently, and it has already seriously affected usage.

zb1006801184 avatar Sep 09 '25 11:09 zb1006801184

Do you configure any MCP servers in Xcode copilot? We have some internal users mentioning that this only occurred with MCP server context 7 enabled. Disable MCP works fine.

testforstephen avatar Sep 18 '25 02:09 testforstephen

I have context7, but it is not used during the issue. I will disable it and see.

owenzhao avatar Sep 18 '25 02:09 owenzhao

I haven’t installed any MPC servers in Xcode.

vernonstinebaker avatar Sep 18 '25 06:09 vernonstinebaker