github / github/CopilotForXcode

Error 504 when using Copilot for Business

Ouverte
#241 7 commentaires 4 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
Swift
Étoiles
6.3k
Forks
2k
Merge moyen
2 min
PR mergées (30 j)
2

Description

**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](https://github.com/user-attachments/assets/b6943bac-8ae7-4c15-a13a-1d66c375de13)

![Image](https://github.com/user-attachments/assets/1807fb13-990b-4c93-84aa-5ff17b28a663)

**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
```

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.