Common issues with Plugins
This page gathers the common configuration issues met when using the Promyze plugins.

Whitelist Promyze DNS/IP

If you use the Promyze Cloud version, some security settings may block the network connection between your IDE and the Promyze API.
If that happens, contact the security admin in your organization and ask for whitelisting Promyze with the following information:
A Records
If you need more information, reach us directly.

[Self-hosted] The plugin can't communicate with Promyze

This error usually happens when the URL of Promyze, which is part of the API Key, doesn't match the actual Promyze url.
You should check either the PROMYZE_URL environment variable, or go in the Administration -> Configuration menu to check the Promyze available, and check if it's correct or not.
Once you've fixed it, you should generate a new API key and update it in your IDE and Web browser

A message "An error occurred" prompts from the Web browser plugin

The Promyze plugin for web browsers works only on Pull/Merge Request reviews page for Gitlab, Github, Bitbucket, and Azure DevOps.
It's not intended to work for other pages or other platforms.

JetBrains/Eclipse: Certificate Issue

If you get an error containing the following message:
Promyze - Can't reach Promyze server PKIX path building failed: unable to find valid certification path to requested target
That means you probably need to import the Promyze certificate into your JVM (the one running your IDE).

Download the Promyze certificate

This operation is the same for Promyze Cloud or On-Premise and can be achieved through your Web browser:
After this step, you'll get a .cer file.

Detect the JVM running IntelliJ

In IntelliJ, Help -> Find Action -> Choose Boot Runtime for the IDE.
Note the name of the Java version that is displayed.

Import your certificate into your JVM

Open a Powershell terminal, and go to your Java installation directory, in the "bin" directory. For instance:
cd "C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2020.2\jbr\bin"
Then, this is the command to import the certificate, replace "promyze.cer" with the full path of the previously exported certificate, and the full path of the "cacerts" file.
keytool -importcert -alias promyze -file promyze.cer -keystore ..\lib\security\cacerts
You'll likely be prompted with a password. By default, the keystore password is changeit.
Once the certificate has been added, you can now reboot your IDE, and that should solve the issue!
If the problem is still not solved, reach us directly.