Skip to content

Commit 6756ba5

Browse files
devm33hubwriter
andauthored
Add JetBrains diagnostics to Copilot troubleshooting (#45208)
Co-authored-by: hubwriter <hubwriter@github.com>
1 parent 65fb5ac commit 6756ba5

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

content/copilot/troubleshooting-github-copilot/viewing-logs-for-github-copilot-in-your-environment.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,28 @@ If you find the log file doesn't contain enough information to resolve an issue,
6464
1. Keep using your IDE until you encounter the issue again, then collect the log file as described in "[Collecting log files](#collecting-log-files)."
6565
1. When you have the information you need, disable debug mode by removing `#com.github.copilot:trace` from the "Custom Debug Log Configuration" window.
6666

67+
## Viewing network connectivity diagnostics logs
68+
69+
If you encounter problems connecting to {% data variables.product.prodname_copilot%} due to network restrictions, firewalls, or your proxy setup, use the following troubleshooting steps.
70+
71+
1. In the menu bar, click **Tools**, select **{% data variables.product.prodname_copilot%}**, and click **Log Diagnostics**.
72+
1. The `idea.log` file should open in the JetBrains IDE with the diagnostics output. Alternatively, you can open the `idea.log` file in your preferred editor.
73+
1. Check the section on **Reachability** to determine if {% data variables.product.prodname_copilot%} can access the necessary services.
74+
75+
## Troubleshooting certificate-related errors
76+
77+
{% note %}
78+
79+
**Note:** If your error is related to certificates, it helps to check these logs for the `Custom Certificates:` line. If this line says `disabled`, you are not using {% data variables.product.prodname_copilot_for_business %}, so custom certificates are not supported. For more information, see "[AUTOTITLE](/copilot/overview-of-github-copilot/about-github-copilot-for-business)."
80+
81+
{% endnote %}
82+
83+
If you're using a custom certificate, ensure the certificate is installed correctly in the operating system, see "[AUTOTITLE](/copilot/troubleshooting-github-copilot/troubleshooting-network-errors-for-github-copilot)". Then use the following troubleshooting steps.
84+
85+
1. In the menu bar, click **Tools**, select **{% data variables.product.prodname_copilot%}**, and click **Log CA Certificates**.
86+
1. The `idea.log` file should open in the JetBrains IDE with the trusted CA certificates logged in PEM format. You may need to refresh the `idea.log` file to view all of the output. Alternatively, you can open the `idea.log` file in your preferred editor.
87+
1. Check to see if the expected custom certificate is included in the certificate list output.
88+
6789
{% endjetbrains %}
6890

6991
{% visualstudio %}

0 commit comments

Comments
 (0)