Plugin Store behind firewall

I’m getting error Messages when I try to use the functionality of the Plugin Store within Katalon 6.1.5. I can reach the Plugin Store by browser and have an active plugin in my Profile. When I use the Reload Plugins function I get the error: Error reloading plugins. I get also Connection Errors using Manage Plugins and Manage API Kyes.

For online activation of Katalon I have to use no Proxy Settings. In Katalon Preferences I tried all Proxy Options but still have the same Problem with the Connection. I get the Feeling I’m not able to pass the Firewall for the Installation via Plugin Store.

Is there a way to get a download link to the Basic Report plugin in order to install it?

@kellera50, Can you share the log? You can find it under Help > Error Log

log.txt (290.2 KB)
Hi Hui, thanks for asking. I have attached the log. Looks that I get a http-407 when I try to connect the plugin store via Katalon.
Caused by: com.kms.katalon.plugin.models.KStoreClientException: Invalid Request. Status Code: 407. Message: Proxy Authentication Required

Hi @kellera50,
Have you configured the proxy settings with the authentication info required? You can find these settings under Preferences > Proxy, choose Manual Proxy Configuration as Proxy Option and provide the proxy server type, address, port, username and password as required.

Hallo Hui,
unfortunately I have no username and password for the proxy. This worked later on with Eclipse, when I used only the proxy host and the port. The system uses an automatic configuration via proxy.pac file.
When I select the system proxy in Katalon I get the following error:

!ENTRY com.kms.katalon 4 0 2019-06-11 10:06:46.618
!MESSAGE Error reloading plugins
com.kms.katalon.plugin.models.ReloadPluginsException: Unexpected error occurs during executing reload plugins
at com.kms.katalon.plugin.service.PluginService.reloadPlugins(
at com.kms.katalon.composer.handlers.ReloadPluginsHandler$
Caused by: com.kms.katalon.plugin.models.KStoreClientException: Unexpected error occurs during executing get latest plugins
at com.kms.katalon.plugin.service.KStoreRestClient.getLatestPlugins(
at com.kms.katalon.plugin.service.PluginService.fetchLatestPlugins(
at com.kms.katalon.plugin.service.PluginService.reloadPlugins(
… 2 more
Caused by: org.apache.http.conn.HttpHostConnectException: Connect to :0 [localhost/] failed: Connection refused: connect
at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(
at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(
at org.apache.http.impl.execchain.MainClientExec.establishRoute(
at org.apache.http.impl.execchain.MainClientExec.execute(
at org.apache.http.impl.execchain.ProtocolExec.execute(
at org.apache.http.impl.execchain.RetryExec.execute(
at org.apache.http.impl.execchain.RedirectExec.execute(
at org.apache.http.impl.client.InternalHttpClient.doExecute(
at org.apache.http.impl.client.CloseableHttpClient.execute(
at org.apache.http.impl.client.CloseableHttpClient.execute(
at com.kms.katalon.plugin.service.KStoreRestClient.executeGetRequest(
at com.kms.katalon.plugin.service.KStoreRestClient.getLatestPlugins(
… 4 more
Caused by: Connection refused: connect
at Method)
at org.apache.http.conn.socket.PlainConnectionSocketFactory.connectSocket(
at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(
… 15 more

I finally managed to solve the issue.
I had to import the certificate for the proxy into the JRE of Katalon.

Required steps:

  • export the proxy certificate from browser to a local directory
  • import the certificate into the keystore of the jre

keytool -import -trustcacerts -keystore \Path\To\Katalon_Studio_Windows_64-6.1.5\jre\lib\security\cacerts -storepass changeit -alias MyProxy -import -file \Path\To\MyProxy.cer

1 Like

Thanks @kellera50 this fixed my issue as well. I was unable to access plugins and receiving lots of errors, including ‘SunCertPathBuilderException’. Once cert imported everything worked ok (I also have an entry in my proxy settings for http address and port).