Katalon TestOps: Unexpected response, URL: https://analytics.katalon.com/oauth/token, Status: 400, "Invalid credentials."

  • Katalon Studio Version: 8.2.0
  • OS Version: Docker
  • Browser Version: Google Chrome 96.0.4664.110

Steps to Reproduce:

  1. just run Katalon Docker

From this morning we are facing an issue that block us from our task. When running Katalon Docker image, we get an error when Katalon try to authenticate our license. See the error log below

INFO: Your environment is compatible with the Katalon Runtime Engine FLOATING license.
Activating...
Start activating offline...
Search for valid offline licenses in folder: /root/.katalon/license
The number of valid offline licenses: 0
Start activating online...
API key or machine ID is blank.
Katalon TestOps: Unexpected response, URL: https://analytics.katalon.com/oauth/token, Status: 400, Response: {"error":"invalid_grant","error_description":"Invalid credentials."}
com.kms.katalon.integration.analytics.exceptions.AnalyticsApiExeception: {"error":"invalid_grant","error_description":"Invalid credentials."}
	at com.kms.katalon.integration.analytics.providers.AnalyticsApiProvider.executeRequest(AnalyticsApiProvider.java:673)
	at com.kms.katalon.integration.analytics.providers.AnalyticsApiProvider.executeRequest(AnalyticsApiProvider.java:683)
	at com.kms.katalon.integration.analytics.providers.AnalyticsApiProvider.requestToken(AnalyticsApiProvider.java:154)
	at com.kms.katalon.integration.analytics.providers.AnalyticsApiProvider.getUser(AnalyticsApiProvider.java:810)
	at com.kms.katalon.integration.analytics.providers.TestOpsFeatureActivatorImpl.getCurrentUserEmail(TestOpsFeatureActivatorImpl.java:154)
	at com.kms.katalon.execution.console.ConsoleMain.launch(ConsoleMain.java:445)
	at com.kms.katalon.console.application.ConsoleApplicationStarter.start(ConsoleApplicationStarter.java:37)
	at com.kms.katalon.application.Application.runConsole(Application.java:125)
	at com.kms.katalon.application.Application.start(Application.java:88)
	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:203)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:137)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:107)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:401)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:255)
	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:657)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:594)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1447)
	at org.eclipse.equinox.launcher.Main.main(Main.java:1420)

All launchers terminated
+ ret_code=2

Last night run was fine. But this morning when doing local testing we met this error.
From the error we tried to ping the URL: https://analytics.katalon.com/oauth/token and got the following error page, see screenshot below:

Screenshots:

I searched in the forum and looks like the issue already happened, see post Katalon TestOps: Unexpected response, URL: https://analytics.katalon.com/oauth/token, Status: 400, Response

Maybe it’s the same error.

Expected behavior:
Having the normal behavior back.

Let me know if you need further information.
Thanks

I retested it today and it’s working again. I did no change from my side. It’s magic!

1 Like