Skip to content

Error 504 when using Copilot for Business #241

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
elihwyma opened this issue Mar 28, 2025 · 7 comments
Open

Error 504 when using Copilot for Business #241

elihwyma opened this issue Mar 28, 2025 · 7 comments

Comments

@elihwyma
Copy link

Describe the bug

During long programming sessions I will occasionally get the error that I have reached my Monthly Completion Limit. Pressing on the extension in the Menu Bar shows additional information: CLS Error, Last Response was a 504 Error. Pressing the view on GitHub button just redirects to github.com/copilot

Versions

  • Copilot for Xcode: 0.32.0
  • Xcode: 16.2
  • macOS: 15.3.2

Screenshots

Image

Image

Logs

[2025-03-28T13:42:02.190Z] [info] [GitHubCopilot] [5058] window/logMessage: {
  "message" : "[fetchCompletions] request.response: [https:\/\/proxy.business.githubcopilot.com\/v1\/engines\/copilot-codex\/completions] took 10013.983042001724 ms",
  "type" : 3
}
[2025-03-28T13:42:02.190Z] [info] [GitHubCopilot] [5058] statusNotification: {
  "busy" : true,
  "kind" : "Warning",
  "status" : "InProgress",
  "message" : "Last response was a 504 error"
}
[2025-03-28T13:42:02.190Z] [info] [GitHubCopilot] [5058] window/logMessage: {
  "message" : "[fetchCompletions] Unhandled status from server: 504 request timeout\n",
  "type" : 1
}
[2025-03-28T13:42:02.191Z] [info] [GitHubCopilot] [5058] statusNotification: {
  "busy" : false,
  "kind" : "Warning",
  "status" : "Warning",
  "message" : "Last response was a 504 error"
}
[2025-03-28T13:42:02.196Z] [error] [GitHubCopilot] [5058] Failed to send request textDocument/inlineCompletion. Error: Language server error: Server error: -32603 unhandled status from server: 504 request timeout
 nil
[2025-03-28T13:42:02.196Z] [info] [GitHubCopilot] [5058] Try getting suggestions again: Language server error: Server error: -32603 unhandled status from server: 504 request timeout
 nil
@jamesyorke
Copy link

Same

@LightHouse2013
Copy link

I have the same latest version, bad experience

@ktiays
Copy link

ktiays commented Apr 8, 2025

I also encountered the error repeatedly, and could only recover by completely restarting the plugin.

@ipodishima
Copy link

Same here. Really annoying. And the worst thing is this happens really quickly

@kelvinharron
Copy link

I have encountered this a few times in the last two weeks. The workaround is to use Visual Studio Code instead which is not ideal.

@testforstephen
Copy link

This error is not related to the completion limit reached. The completion limit reached is popped up by mistake. It seems related to the completion request timeout with the new completion model.

@Tolomas
Copy link

Tolomas commented Apr 9, 2025

I have some Developers that experience this issue to, but for some wired reason it works when they work from home via VPN.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

9 participants