doc/editor_extensions/jetbrains_ide/jetbrains_troubleshooting.md
If the steps on this page don't solve your problem, check the list of open issues in the JetBrains plugin's project. If an issue matches your problem, update the issue. If no issues match your problem, create a new issue and provide the required information for Support.
To troubleshoot GitLab Duo errors in your IDE:
For additional support:
To enable debug logs in JetBrains:
com.gitlab.pluginIf you experience certificate errors or other connection errors, and use an HTTP proxy to connect to your GitLab instance, you must configure the Language Server to use a proxy for the GitLab Language Server.
You can also enable proxy authentication.
To enable GitLab Language Server debug logs:
debug.The debug logs are available in the idea.log log file. To view this file, either:
/Users/<user>/Library/Logs/JetBrains/IntelliJIdea<build_version>, replacing
<user> and <build_version> with the appropriate values.If your machine connects to your GitLab instance through a proxy, you might encounter SSL certificate errors in JetBrains. GitLab Duo attempts to detect certificates in your system store; however, Language Server cannot do this. If you see errors from the Language Server about certificates, try enabling the option to pass a Certificate Authority (CA) certificate:
To do this:
.pem file with CA certificates.If GitLab Duo still fails to connect, you might need to ignore certificate errors. You might see errors in the GitLab Language Server logs after enabling debug mode:
2024-10-31T10:32:54:165 [error]: fetch: request to https://gitlab.com/api/v4/personal_access_tokens/self failed with:
request to https://gitlab.com/api/v4/personal_access_tokens/self failed, reason: unable to get local issuer certificate
FetchError: request to https://gitlab.com/api/v4/personal_access_tokens/self failed, reason: unable to get local issuer certificate
By design, this setting represents a security risk: these errors alert you to potential security breaches. You should enable this setting only if you are absolutely certain the proxy causes the problem.
Prerequisites:
To do this:
If you encounter problems during the Verify setup phase of GitLab authentication, confirm you are running a supported version of PyCharm:
PyCharm Community or PyCharm Professional.If you experience issues with GitLab Duo Chat related to JCEF (Java Chromium Embedded Framework), you can try these steps:
Registry.ide.browser.jcef.sandbox.enable.Choose Boot Java Runtime for the IDE.Before contacting Support, make sure the latest GitLab Duo plugin is installed. All releases are available in the JetBrains Marketplace, on the Versions tab.
Gather this information from affected users, and provide it in your bug report:
GitLab: Export Diagnostics Bundle quick action. Available with GitLab Duo plugin 3.27.0 or later.GitLab: Diagnostics from the quick actions menu and copy the Markdown output