Katalon crash when loosing proxy

Hello,
since I work at home these days, Katalon studio 7.2.6 is crashing sometimes without interacting with it.
KS just close down without any popup, and session is not saved.
It seem linked to when my proxy is no more available (and it is the case when I work remotely after disconnecting my VPN)

This morning, when recovering my yesterday session, KS closed 5 minutes after windows session opening.
Here is log of this morning :

!SESSION 2020-03-16 18:01:37.943 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.8.0_181
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=fr_FR
Command-line arguments: -os win32 -ws win32 -arch x86_64 -data @noDefault

This is a continuation of log file C:\tools\Katalon_Studio7\config.metadata.bak_0.log
Created Time: 2020-03-17 08:44:49.777

!ENTRY org.eclipse.e4.ui.workbench 4 0 2020-03-17 08:44:49.780
!MESSAGE
!STACK 0
com.kms.katalon.integration.analytics.exceptions.AnalyticsApiExeception: java.net.UnknownHostException: myproxy.mycompany.fr
at com.kms.katalon.integration.analytics.exceptions.AnalyticsApiExeception.wrap(AnalyticsApiExeception.java:23)
at com.kms.katalon.integration.analytics.providers.AnalyticsApiProvider.requestToken(AnalyticsApiProvider.java:128)
at com.kms.katalon.integration.analytics.providers.TestOpsFeatureActivatorImpl.connect(TestOpsFeatureActivatorImpl.java:41)
at com.kms.katalon.application.utils.ActivationInfoCollector.releaseLicense(ActivationInfoCollector.java:714)
at com.kms.katalon.core.application.ApplicationWorkbenchWindowAdvisor.postWindowClose(ApplicationWorkbenchWindowAdvisor.java:84)
at org.eclipse.ui.internal.WorkbenchWindow.fireWindowClosed(WorkbenchWindow.java:1685)
at org.eclipse.ui.internal.WorkbenchWindow.hardClose(WorkbenchWindow.java:1991)
at org.eclipse.ui.internal.WorkbenchWindow.busyClose(WorkbenchWindow.java:1598)
at org.eclipse.ui.internal.WorkbenchWindow.access$16(WorkbenchWindow.java:1540)
at org.eclipse.ui.internal.WorkbenchWindow$11.run(WorkbenchWindow.java:1626)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
at org.eclipse.ui.internal.WorkbenchWindow.close(WorkbenchWindow.java:1623)
at org.eclipse.ui.internal.Workbench$14.run(Workbench.java:1194)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.ui.internal.Workbench.busyClose(Workbench.java:1176)
at org.eclipse.ui.internal.Workbench.access$22(Workbench.java:1118)
at org.eclipse.ui.internal.Workbench$19.run(Workbench.java:1459)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
at org.eclipse.ui.internal.Workbench.close(Workbench.java:1456)
at org.eclipse.ui.internal.Workbench.close(Workbench.java:1429)
at com.kms.katalon.core.application.ApplicationStaupHandler.lambda$5(ApplicationStaupHandler.java:96)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:182)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4211)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3827)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$4.run(PartRenderingEngine.java:1121)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1022)
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:150)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:693)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:610)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:148)
at com.kms.katalon.core.application.Application.internalRunGUI(Application.java:173)
at com.kms.katalon.core.application.Application.runGUI(Application.java:163)
at com.kms.katalon.core.application.Application.start(Application.java:82)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:388)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:243)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:673)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:610)
at org.eclipse.equinox.launcher.Main.run(Main.java:1519)
Caused by: java.net.UnknownHostException: myproxy.mycompany.fr
at java.net.InetAddress.getAllByName0(InetAddress.java:1280)
at java.net.InetAddress.getAllByName(InetAddress.java:1192)
at java.net.InetAddress.getAllByName(InetAddress.java:1126)
at org.apache.http.impl.conn.SystemDefaultDnsResolver.resolve(SystemDefaultDnsResolver.java:45)
at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:111)
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 org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:55)
at com.kms.katalon.integration.analytics.providers.AnalyticsApiProvider.executeRequest(AnalyticsApiProvider.java:504)
at com.kms.katalon.integration.analytics.providers.AnalyticsApiProvider.executeRequest(AnalyticsApiProvider.java:533)
at com.kms.katalon.integration.analytics.providers.AnalyticsApiProvider.requestToken(AnalyticsApiProvider.java:126)
… 46 more

!ENTRY org.eclipse.core.resources 2 10035 2020-03-17 08:44:50.653
!MESSAGE The workspace will exit with unsaved changes in this session.

What is http://myproxy.mycompany.fr ? Does it really exists? Or did you edit the stacktrace print out manually for security reason?

ーーーーー

How do you configure Proxy for Katalon Studio? Could you take a screenshot of Proxy config and share to us?

Hi kazurayam,
you are right, http://myproxy.mycompany.fr does not exists, I manually edited stacktrace for security reason.

Here is my current configuration :
image

For information, I put “.*” at the beginning of exclusion adress because it was indicated in this post : Katalon Studio Preferences

I wonder if this unexpected closing would not be linked to another behavior of Katalon which close it after displaying popup “This session has been terminated” : This session has been terminated due to?

Do you have a Proxy at your home? Really? I can’t believe it.

no I does not have a proxy at home, but there are 2 cases :
-when I connect to my company vpn, my company proxy is available
-when my vpn is disconnected, my company proxy become unavailable

I think you need to change the Proxy setting of Katalon Studio according to the cases.

when I connect to my company vpn, my company proxy is available

then, you should configure the Proxy setting of your Katalon Studio to have “Manual Proxy configuration”

when my vpn is disconnected, my company proxy become unavailable

then, you should configure the Proxy setting of your Katalon Studio to have “NO Proxy”

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.