Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

TREST Client Local Project Connection

Hi 

I am using a TREST Client object to test a rest service in my local machine and it's timing out always.

The same URL is working fine in my browser.

http://maps.googleapis.com/maps/api/geocode/xml?address=Los+Angeles&sensor=false

 

In TREST Client URL i use is 

"http://maps.googleapis.com"

Relative Path "/maps/api/geocode/xml?address=Los+Angeles&sensor=false"

 

Any suggestion towards the same , would be great. 

 

************

Error Message :

 

Exception in component tRESTClient_1
javax.ws.rs.ProcessingException: java.net.ConnectException: ConnectException invoking http://maps.googleapis.com/maps/api/geocode/json%3Faddress=Los+Angeles&sensor=false: Connection timed out: connect
at org.apache.cxf.jaxrs.client.AbstractClient.checkClientException(AbstractClient.java:582)
at org.apache.cxf.jaxrs.client.AbstractClient.preProcessResult(AbstractClient.java:564)
at org.apache.cxf.jaxrs.client.WebClient.doResponse(WebClient.java:1144)
at org.apache.cxf.jaxrs.client.WebClient.doChainedInvocation(WebClient.java:1094)
at org.apache.cxf.jaxrs.client.WebClient.doInvoke(WebClient.java:894)

Labels (8)
1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

Hmmmm, it works when I try it through Studio. I can only think you have some sort of proxy configured for your browser

View solution in original post

3 Replies
Anonymous
Not applicable
Author

Just place the whole path in your URL. Don't worry about splitting it up and using the relative path option.

Anonymous
Not applicable
Author

Thanks for you response. I had tried taking the full url too. It is still the same.
Anonymous
Not applicable
Author

Hmmmm, it works when I try it through Studio. I can only think you have some sort of proxy configured for your browser