[resolved] tHttpRequest connection refused error

One Star

[resolved] tHttpRequest connection refused error

Hi Guys ,
Can Anyone help me? I am a beginner in talend and I am trying to use tHttpRequest and tried some tutorials http://www.talendbyexample.com/talend-thttprequest-component.html  but I always get Connection refused error. I also check the reponse and it is always null. Is their any configuration needed to be set up aside from setting up the URI. I also set up the proxy configuration for the network. Thanks in Advance 
Regards,
John
Community Manager

Re: [resolved] tHttpRequest connection refused error

Hi John 
Are you able to access the URL through browser? Do you need proxy to access internet in your network? Please upload a screenshot of component settings.
----------------------------------------------------------
Talend | Data Agility for Modern Business
One Star

Re: [resolved] tHttpRequest connection refused error

Hi Shong, 
Good Day!
Thanks for the quick response. Yes I can access the given url through browser and I also need to set the proxy to access data. Please see the screenshots for reference thank you

Regards,
John
Community Manager

Re: [resolved] tHttpRequest connection refused error

Hi 
I tested this example and it works. If your network requires proxy to access internet, you should use a tSetProxy to configure the proxy information. eg:
tSetProxy
   |
onsubjobok
   |
tHttpRequest--main--tlogRow
----------------------------------------------------------
Talend | Data Agility for Modern Business
One Star

Re: [resolved] tHttpRequest connection refused error

Hi Shong, 
Good Day !
Thank you for the help. It seems that I should configure the set up protocol to be the same as the protocol used in the url. 
Regards 
John