VPN connection failure

In my case, and in probably a few other cases scattered in this forum as I have seen, it turns out that test runs over VPN connections fail because of the forced license activation check on every single test run, which fails because Katalon’s auth server doesn’t allow these requests via VPN connections.

Please enable VPN connections, I don’t even know why you turned them off.
For reference, I’m using NordVPN.

1 Like

Hi @chp,

Thank you very much for reporting this issue on our forum. Could you also include a screenshot/error log in your topic so that we can see what you are dealing with? Thanks.

I am also going to tag @xuan.tran from our Katalon Studio team so that she can take a look at this issue.

1 Like

Have you tried proxy settings yet? Configure Proxy Preferences in Katalon Studio | Katalon Docs.

Hi em, could you follow up with Xuan Tran or someone from our Katalon Studio team for this inquiry? Thanks em

Here’s the log viewer output over a NordVPN connection: Katalon Failed Connection Over VPN - Pastebin.com

Here’s the log viewer output without a VPN:

Elapsed time: 1.545s

Test Cases/TC01_REST_Verify Email from list of Comments

Here’s the log using the CLI runtime over a NordVPN connection:

The number of valid offline licenses: 0
Online activation for console mode failed.

Tue Oct 24 11:51:13 CEST 2023
Cannot send request, retry to send.

No proxy found.
Retrying in 1 seconds...

Tue Oct 24 11:51:15 CEST 2023
Cannot send request, retry to send.

No proxy found.
Retrying in 2 seconds...

Tue Oct 24 11:51:17 CEST 2023
Cannot send request, retry to send.

No proxy found.
Retrying in 4 seconds...

and here is the console log for CLI runtime without VPN:

The number of valid offline licenses: 0
Start activating online...
Katalon TestOps: Unexpected response, URL: https://admin.katalon.com/oauth/token, Status: 400, Response: {"error":"invalid_grant","error_description":"Authentication failed."}
TestCloud: Unexpected response, URL: https://api.katalon.com/v1/auth/login, Status: 401, Response: {"errors":[]}
Failed to activate with Katalon Runtime Engine license. Authentication failed. {"error":"invalid_grant","error_description":"Authentication failed."}
Failed to activate with TestCloud license. {"errors":[]}
All launchers terminated

All launched Katalon instances were using the trial license and sample API project. Why the trial? Because we are looking for a TA tool for the next project and Katalon is a close candidate.
I know that the CLI runtime does not work using a trial license, however you can see in the CLI logs, that Katalon fails to establish a connection via VPN, so it doesn’t even get to the part where you would receive a 400 response.

What is the solution to the problem? Your auth server needs to be configured to accept VPN connections.
Do the provided logs help with that? Not really.
Have you tried a proxy? That is not the issue here and I don’t have a proxy to use.
So who can fix this? The team responsible for Katalon’s network.

Hope this helps :slight_smile:


Thank you so much for your sharing. I will ask my team about this case and update you asap. In the meanwhile, which version have you been using? Thank you!

I tried it with both 8.6.8 and 9.0.0 beta versions.

What I meant is this screen/dialog here:

Please choose the Proxy → Authentication
I don’t know if your VPN is using dedicated or dynamic IP or what but you need to enter that IP into the Address field
If it has the port in the VPN then enter into the field Port
The server type maybe HTTPS/ HTTP

This setting will allow the connection between your pc and Katalon server can go through each other