🐞Common issues with Plugins

This page gathers the common configuration issues met when using the Packmind plugins.

Whitelist Packmind DNS/IP

If you use the Packmind Cloud version, some security settings may block the network connection between your IDE and the Packmind API.

If that happens, contact the security admin in your organization and ask for whitelisting Packmind with the following information:

A Records

@ 10800 IN A 185.42.117.108
@ 10800 IN A 185.42.117.109
@ 10800 IN A 46.252.181.103
@ 10800 IN A 46.252.181.104
@ 10800 IN A 91.208.207.214
@ 10800 IN A 91.208.207.215
@ 10800 IN A 91.208.207.216
@ 10800 IN A 91.208.207.217
@ 10800 IN A 91.208.207.218

CNAME

* 10800 IN CNAME domain.par.clever-cloud.com.

If you need more information, reach us directly.

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

This error usually happens when the URL of Packmind, which is part of the API Key, doesn't match the actual Packmind url.

You should check either the PROMYZE_URL environment variable, or go in the Administration -> Configuration menu to check the Packmind 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 Packmind 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:

Packmind - Can't reach Packmind 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 Packmind certificate into your JVM (the one running your IDE).

Download the Packmind certificate

This operation is the same for Packmind 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 "packmind.cer" with the full path of the previously exported certificate, and the full path of the "cacerts" file.

keytool -importcert -alias packmind -file packmind.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.

Last updated