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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

trest api POST issues

Hi Team,

 

I am getting the following error, when i try to use trest api - post.

 

First, i let you people know - i couldn't open the URL in web browser.

 

What's the step i need to take ? Is it the API doesn't have the Public access or some firewall issues. How can i sort it out ?

 

Error : 

******

 

Starting job test_api_new at 16:11 26/06/2019.

[statistics] connecting to socket on port 3511
[statistics] connected
Exception in component tREST_1 (test_api_new)
com.sun.jersey.api.client.ClientHandlerException: java.net.ConnectException: Connection timed out: connect
at com.sun.jersey.client.urlconnection.URLConnectionClientHandler.handle(URLConnectionClientHandler.java:131)
at com.sun.jersey.api.client.Client.handle(Client.java:616)at com.sun.jersey.api.client.WebResource.handle(WebResource.java:559)at com.sun



To see the whole post, download it here
Labels (5)
1 Reply
David_Beaty
Specialist
Specialist

Hi,

I think if you cant connect to the API via a web browser, that's the most likely problem. Also, I'd consider using tRESTClient rather tREST.