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

Announcements
Discover how organizations are unlocking new revenue streams: Watch here
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Unwinding Error while calling trestclient

hello ,

I am getting the below error when i try to call an API service.

statistics] connected
[WARN ]: org.apache.cxf.phase.PhaseInterceptorChain - Interceptor for {http://reqres.in/api/users/2}tRESTClient has thrown exception, unwinding now
org.apache.cxf.interceptor.Fault: Could not send Message.
at org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(MessageSenderInterceptor.java:67)
at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308)
at org.apache.cxf.jaxrs.client.AbstractClient.doRunInterceptorChain(AbstractClient.java:710)
at org.apache.cxf.jaxrs.client.WebClient.doChainedInvocation(WebClient.java:1050)
at org.apache.cxf.jaxrs.client.WebClient.doInvoke(WebClient.java:897)at org.apache.cxf.jaxrs.client.WebClient.doInvoke(WebClient.java:866)at org.apache.cxf.jaxrs.client.WebClient.invoke(WebCl



To see the whole post, download it here
Labels (3)
5 Replies
nfz11
Creator III
Creator III

This is the key line:

java.net.UnknownHostException: UnknownHostException invoking http://reqres.in/api/users/2

Can you get to the reqres.in host from your network?

gildas15
Contributor
Contributor

Good evening

Please I would like to know if there is any solution concerning this issue because I am facing a similar problem in Talend studio

 

Thanks for your respond

gildas15
Contributor
Contributor

I am able to acess the host from potsman. I can test my API sucessfully in postman

 

Thanks for your respond

Xiaodi_Shi
Employee
Employee

Hello @gildas15 

Please post your full error message with tREST API Client and also from the job side, enable "Log messages" from tRESTClient's "Advanced settings".

Best regards

Sabrina

 

gildas15
Contributor
Contributor

Hello,

Kindly find bellow as attached file the full error message