# Cannot connect to Katalon TestOps server issue running KRE from command line

**URL:** <https://forum.katalon.com/t/cannot-connect-to-katalon-testops-server-issue-running-kre-from-command-line/39158>\
**Category:** Test management\
**Tags:** runtime-engine, katalon-studio\
**Created:** [January 28, 2020, 3:05pm UTC](https://forum.katalon.com/t/cannot-connect-to-katalon-testops-server-issue-running-kre-from-command-line/39158 "2020-01-28T15:05:50Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![rchomicki](https://avatars.discourse-cdn.com/v4/letter/r/47e85d/32.png) [@rchomicki](https://forum.katalon.com/u/rchomicki)\
**Post date:** [January 28, 2020, 3:05pm UTC](https://forum.katalon.com/t/cannot-connect-to-katalon-testops-server-issue-running-kre-from-command-line/39158/1 "2020-01-28T15:05:50Z")

</div>

Hello there, as I mentioned in the title.  
I need to test everything before I can get permission for buying the KRE. I’ve created new account to get the trial licence and as it is described I should get that as far as I understood.

Then I’m trying to run the tests suite from command line with the admin rights, I have -apiKey defined and I also defined the proxy settings (everything works fine under Katalon Studio 6.3.3) but after running the command I get the “Cannot connect to Katalon TestOps server”.

Does anyone can help me with that?

Thanks,

Remi

---

<div class="post-metadata">

**Author:** ![ThanhTo](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/thanhto/32/697_2.png) [@ThanhTo](https://forum.katalon.com/u/ThanhTo)\
**Post date:** [January 28, 2020, 3:46pm UTC](https://forum.katalon.com/t/cannot-connect-to-katalon-testops-server-issue-running-kre-from-command-line/39158/2 "2020-01-28T15:46:39Z")

</div>

Hi there,

Please provide the full console log. Also,

> [@rchomicki](#):
>
> proxy settings

You mean you included the proxy arguments in the command line right ? KSE and RE are two separate products so they don’t share the same proxy settings. Please refer to the doc: [https://docs.katalon.com/katalon-studio/docs/console-mode-execution.html#proxy-options](https://docs.katalon.com/katalon-studio/docs/console-mode-execution.html#proxy-options)

Also, just to be sure, you should type the proxy arguments by hand, as copying and pasting from text editors may carry invisible and illegal characters which may cause the proxy configuration to not be accepted.

---

<div class="post-metadata">

**Author:** ![rchomicki](https://avatars.discourse-cdn.com/v4/letter/r/47e85d/32.png) [@rchomicki](https://forum.katalon.com/u/rchomicki)\
**Post date:** [January 29, 2020, 11:17am UTC](https://forum.katalon.com/t/cannot-connect-to-katalon-testops-server-issue-running-kre-from-command-line/39158/3 "2020-01-29T11:17:13Z")

</div>

Ok, one more thing.  
I ran this locally, where I am not hidden by the proxy and it is working perfect.

Are you sure that you pass the proxy settings during the connection to [analythics.katalon.com](http://analythics.katalon.com) and [store.katalon.com](http://store.katalon.com)?

I was fighting with this proxy some time ago passing the second factor oauth and I found that not every request running from the KS IDE extends the proxy settings passed in the app.

Thanks,

Remi

---

<div class="post-metadata">

**Author:** ![rchomicki](https://avatars.discourse-cdn.com/v4/letter/r/47e85d/32.png) [@rchomicki](https://forum.katalon.com/u/rchomicki)\
**Post date:** [January 29, 2020, 11:17am UTC](https://forum.katalon.com/t/cannot-connect-to-katalon-testops-server-issue-running-kre-from-command-line/39158/4 "2020-01-29T11:17:33Z")

</div>

Hi, thanks for reply.

Command I use below:  
`katalonc -noSplash -runMode=console -projectPath="C:\LocalData\GIT\AuthService\katalon_authentication_service\AuthenticationService.prj" -retry=0 -testSuitePath="Test Suites/authentication_ddt_test" -executionProfile="default" -browserType="Web Service" -apiKey=" ************" -g_grantType="**********" -g_username=" **********" -g_password="*************" -g_uiUsername= ************@gmail.com -g_uiPassword=******** -summaryReport -reportFolder="C:\LocalData\Report" --config -proxy.option=MANUAL_CONFIG -proxy.server.type=HTTP -proxy.server.adress=" *****.****.***.com" -proxy.server.port="8080"`

And console log print:

 ![image](https://europe1.discourse-cdn.com/katalon/original/2X/1/12b45da616d191294ad7aa7cafd54d91320dfd30.png)

That’s it.

Can you help?

Remi

---

<div class="post-metadata">

**Author:** ![ThanhTo](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/thanhto/32/697_2.png) [@ThanhTo](https://forum.katalon.com/u/ThanhTo)\
**Post date:** [January 29, 2020, 1:14pm UTC](https://forum.katalon.com/t/cannot-connect-to-katalon-testops-server-issue-running-kre-from-command-line/39158/5 "2020-01-29T13:14:01Z")

</div>

Hi @rchomicki

Try to send a request and provide the response (curl) through the proxy with these information:

> [@rchomicki](#):
>
> proxy.server.type=HTTP -proxy.server.adress=“\*\*\*\*\*.\*_ **.** _.com” -proxy.server.port=“8080”

to [https://analytics.katalon.com/](https://analytics.katalon.com/) to confirm that the request passes through the proxy. I’d suggest involving the IT department for the proxy set up and ask if the [https://analytics.katalon.com/](https://analytics.katalon.com/) and the store page are whitelisted.

---

<div class="post-metadata">

**Author:** ![rchomicki](https://avatars.discourse-cdn.com/v4/letter/r/47e85d/32.png) [@rchomicki](https://forum.katalon.com/u/rchomicki)\
**Post date:** [January 29, 2020, 3:03pm UTC](https://forum.katalon.com/t/cannot-connect-to-katalon-testops-server-issue-running-kre-from-command-line/39158/6 "2020-01-29T15:03:36Z")

</div>

Hi curl request and the response below:

Could you be a little bit more specific how the curl request you want should look like?

 ![image](https://europe1.discourse-cdn.com/katalon/original/2X/2/292ded85399c43f932598c81f3523d77039bf90e.png)

---

<div class="post-metadata">

**Author:** ![rchomicki](https://avatars.discourse-cdn.com/v4/letter/r/47e85d/32.png) [@rchomicki](https://forum.katalon.com/u/rchomicki)\
**Post date:** [January 30, 2020, 11:08am UTC](https://forum.katalon.com/t/cannot-connect-to-katalon-testops-server-issue-running-kre-from-command-line/39158/7 "2020-01-30T11:08:10Z")

</div>

Case closed there was a typo in address, was adress on the bamboo execution.
