Common issues with Plugins
This page gathers the common configuration issues met when using the Promyze plugins.
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:
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_URLenvironment variable, or go in the Administration -> Configuration menu to check the Promyze available, and check if it's correct or not.
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.
If you get an error containing the following message:
Promyze - Can't reach Promyze server :javax.ws.rs.ProcessingException: javax.net.ssl.SSLHandshakeException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: 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).
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.
In IntelliJ, Help -> Find Action -> Choose Boot Runtime for the IDE.
Note the name of the Java version that is displayed.
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!