search cancel

Receiving Connection Time Out when trying to run REST Step

book

Article ID: 4327

calendar_today

Updated On:

Products

CA Application Test CA Continuous Application Insight (PathFinder)

Issue/Introduction

Receiving error below when executing REST Step

============================================================================

| HTTP

============================================================================

| Message:     java.net.ConnectException: Connection timed out: connect

----------------------------------------------------------------------------

| Trapped Exception: Connection timed out: connect

| Trapped Message:   java.net.ConnectException: Connection timed out: connect

----------------------------------------------------------------------------

STACK TRACE

java.net.ConnectException: Connection timed out: connect

Cause

The Customer was using a proxy on the web browser.  This timeout was caused by DevTest not being able to reach the URL without the proxy information defined.

Environment

WindowsDevTest 10.x

Resolution

Define the following in the local.properties

## ==============================================
## HTTP Proxy Server
## ==============================================
#lisa.http.webProxy.host=<machine name or ip>
##list of excluded machine names or ip addresses delimited by pipes, * wildcard accepted <machine name or ip>[|<machine name or ip>]*
lisa.http.webProxy.nonProxyHosts=127.0.0.1
#lisa.http.webProxy.port=

## ==============================================
## HTTPS Proxy Server
## ==============================================
#lisa.http.webProxy.ssl.host=<machine name or ip>
##list of excluded machine names or ip addresses delimited by pipes, * wildcard accepted <machine name or ip>[|<machine name or ip>]*
lisa.http.webProxy.ssl.nonProxyHosts=127.0.0.1
#lisa.http.webProxy.ssl.port=

Additional Information

https://techdocs.broadcom.com/us/en/ca-enterprise-software/devops/devtest-solutions/10-6/installing/installing-devtest-workstation/using-an-http-s-proxy-server-devtest-workstation.html