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
!STACK 0
com.kms.katalon.plugin.models.ReloadPluginsException: Unexpected error occurs during executing reload plugins
at com.kms.katalon.plugin.service.PluginService.reloadPlugins(PluginService.java:210)
at com.kms.katalon.composer.handlers.ReloadPluginsHandler$2.run(ReloadPluginsHandler.java:89)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Caused by: com.kms.katalon.plugin.models.KStoreClientException: Unexpected error occurs during executing get latest plugins
at com.kms.katalon.plugin.service.KStoreRestClient.getLatestPlugins(KStoreRestClient.java:78)
at com.kms.katalon.plugin.service.PluginService.fetchLatestPlugins(PluginService.java:223)
at com.kms.katalon.plugin.service.PluginService.reloadPlugins(PluginService.java:87)
… 2 more
Caused by: org.apache.http.conn.HttpHostConnectException: Connect to :0 [localhost/127.0.0.1] failed: Connection refused: connect
at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:151)
at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:353)
at org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:388)
at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:236)
at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:184)
at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:88)
at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110)
at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:184)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:107)
at com.kms.katalon.plugin.service.KStoreRestClient.executeGetRequest(KStoreRestClient.java:256)
at com.kms.katalon.plugin.service.KStoreRestClient.getLatestPlugins(KStoreRestClient.java:58)
… 4 more
Caused by: java.net.ConnectException: Connection refused: connect
at java.net.DualStackPlainSocketImpl.connect0(Native Method)
at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:79)
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
at java.net.Socket.connect(Socket.java:589)
at org.apache.http.conn.socket.PlainConnectionSocketFactory.connectSocket(PlainConnectionSocketFactory.java:74)
at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:134)
… 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).