GitHub Copilot Integration FAQ
Q: Host app shows Server unavailable, please make sure you have installed Node
, or GitHub Copilot not working.
A: Please ensure that the Path to Node correctly points to a valid Node executable. Avoid using ~
in place of /Users/username
If you are using Node version v16
or anything lower, consider updating to a newer version of Node.
If you’re using nodenv
or other version manager that uses executable shimming, use the path that points to a specific version of Node, such as /Users/username/.nodenv/versions/19.8.1/bin/node
.
You can also try setting “run node with” to other options.
After making changes, be sure to restart both the host app and the helper app.
If none of the above is working for you, you can observe the logs posted by the language server using the Console.app.
- Set the filter to the
category:GitHubCopilot
to show only the logs from the language server. See if there is anything you can do. - Set the filter to
process:CopilotForXcodeExtensionService
to show only logs from the service app. - Set the filter to
process:Copilot for Xcode
to show only logs from the host app.
You can turn on verbose log and see if anything useful is printing on the console.
Q: Host app shows timeout
(or other errors) when signing in to GitHub Copilot.
A: The language server seems to be not working correctly. You can observe the logs posted by the language server using the Console.app. Set up the filter to the process:Copilot for Xcode
and subsystem:com.chimehq.JSONRPC
to show only the logs from the language server. See if there is anything you can do.
Usually it’s a network issue. You should:
- Check your network connection.
- Make sure you are not doing any thing in you
/etc/hosts
file about GitHub. - Check your proxy settings. The node process may not use the system proxy settings. You may need to set it up manually in the host app settings or turn on “Enhanced Mode” in your proxy app.
- Check your firewall settings.
- Check your DNS settings.
Q: I have signed in to my GitHub account, but the app doesn’t generate any suggestions.
A: Please make sure the GitHub Copilot status is OK
. If it’s not, it’s likely that your GitHub Copilot subscription is not valid.
If you are new to GitHub Copilot, it’s recommended to visit its official website to learn about its behavior.
Q: The GitHub Copilot status is Not Authorized
, or anything not OK
.
A: Please make sure your GitHub Copilot subscription is valid.
Q: The widget presents a LanguageServerError
that has no enough information about what the cause is.
A: The error is posted by the GitHub Copilot language server. Most of the time you can just ignore it. If the error persists, please try:
- Check you GitHub Copilot settings in the host app, make sure the status is OK.
- You can observe the logs posted by the language server using the Console.app. Set up the filter to the process
CopilotForXcodeExtensionService
. See if there is anything you can do.
Q: Can I use the GitHub Copilot Chat
You can setup a chat and embedding model of the GitHub Copilot format and use the models to chat with GitHub Copilot chat.
You can also use the “GitHub Copilot Language Server” provider in the chat settings.