Troubleshooting for the JetBrains plugin

Get detailed Logs

Debug Logs

Follow these steps to set logging to debug access logs:

Each JetBrains IDE provides easy access to the logs.

To obtain plugin logs, navigate to Help > Show Log in Finder (Mac) or Show Log in Explorer (Windows).

You can change the log level to debug using the IDE:

Press Shift Shift quickly and select the tab Actions . Then search for debug . Alternatively, select the debug log settings in the menu (not available in Jetbrains Rider).

  • Snyk Code enables normal debug logging (only until plugin version 2.6.0)

  • Snyk CodeRequestLogging enables a detailed protocol of the HTTP requests when communicating with the Snyk Code API (only until plugin version 2.6.0)

  • Snyk Language Server enables debug logging of the language server in the background

Trusted root certificates issues

Refer to JetBrains documentation on how IDE resolves custom certificates and how to import them if the plugin experiences any network failures due to incorrect configuration.

Snyk Code checkboxes disabled in IntelliJ

Sometimes, the checkboxes for Snyk Code in the JetBrains IntelliJ plugin are disabled. Some possible reasons follow:

  • Project not configured for Snyk Code: If the Project is not configured for Snyk Code, the checkboxes will be disabled. To fix this, configure the Project for Snyk Code by following the instructions

  • Network or proxy settings: If the network or proxy settings are not configured correctly, the checkboxes may be disabled. Check to see if there is an MITM proxy with certificate substitution. Also, verify whether connections to the endpoint API and deeproxy can be established using other tools, for example, the CLI or cURL.

  • Incorrect endpoint address: If the endpoint address in the Snyk Code plugin configuration is incorrect, the checkboxes will be disabled. To fix this, check that the endpoint address is correct by following the instructions. Rstart IntelliJ afterwards.

  • Project not configured for Snyk Code: If the Project is not configured for Snyk Code, the checkboxes will be disabled. To fix this, configure the Project for Snyk Code by following the instructions. Restart IntelliJ afterwards.

  • Have a look at the Jetbrains logs: For additional information, see Locating IDE log files.

Last updated

More information

Snyk privacy policy

© 2023 Snyk Limited | All product and company names and logos are trademarks of their respective owners.