HTCL-02007 Unable to execute HTTP request

We try to implement ServiceTask with http-connector through REST.

  1. I used example

  2. Url from the example opens in Browser succesfully

  3. But executing ‘mvn clean install’ gives: (58.5 KB)

Could you help to resolve the issue ?


seems there is a connection timeout:

Caused by: Connect to [] failed: Connection timed out

I just tested at on my machine and it works as expected. Do you have any proxies configured? Can you access other urls from java? For example change the URL to something different like and check if there is still a timeout or the script tasks fails as the response is different.

You can get more log output from the http connector with the following command line:

mvn clean install -Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.SimpleLog -Dorg.apache.commons.logging.simplelog.showdatetime=true


Hi, Sebastian.

Reason of the issue: was closed external port.

Thank you.

I am facing the same issue. i have tried with but its not working. its running fine on browser. need your suggestion


@antoniuktv What port was closed, having same problem after some recent hacking attempts and we had to lock down server more.

Hi @Ashley

Please don’t necro-bump threads. This is 5 years old and is unlikely to still be relevant.
You’ve also already created a new topic for this question so there’s no need to cross-post.
I’ll lock this topic.

For people looking to discuss this topic further (and also hear about why I think having two topics about the same thing active is a bad idea) go along to this topic: