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

Announcements
Join us in NYC Sept 4th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Ricone
Contributor
Contributor

Proxy timeout in TFileFetch, working with Tsystem wget

Hello !

 

I encounter an issue with a TFilefetch component on TIS 6.4.1 :

I have to download a file from internet, https procotol, through my company proxy

 

When i try with a Wget in a TSystem component it works perfectly :

0683p000009M3DG.png

 

But with a Tfilefetch (i tried with https and http) :

0683p000009M3DL.png

 

I get following error : 

 

Exception in component tFileFetch_2 (Main_Seradata)

org.apache.commons.httpclient.ConnectTimeoutException: The host did not accept the connection within timeout of 10000 ms

 

I don't understand why i can't set a password/user in TSetProxy https mode, so i tried with http but same issue.

I also tried to set my proxy setting with a TJava :

 

0683p000009M34Q.png

I tried both https and http.

I also tried to set the proxy information in the advanced setting tab of my TFetchFile, but i got :

 

Exception in component tFileFetch_2 (Main_Seradata)

java.lang.Exception: Method failed: HTTP/1.1 407 Proxy Authentication Required

Can someone explain me why my tFileFetch ends with a timeout whereas my Tsystem Wget is working ?

Why the TSetProxy doesn't allow a username nor password ?

I'am missing something with proxy configuration ? Is there another configuration to do ?

 

Thanks a lot in advance. 

Labels (3)
2 Replies
Anonymous
Not applicable

Hello,

Are you sure the tSetProxy is in action before your tFileFetch is working?

You can use the proxy settings on the tFileFetch component.

Please try to checkout "Enable proxy server" in Advanced settings of tfilefetch component which is available for the http, https and ftp protocols.

Best regards

Sabrina

Ricone
Contributor
Contributor
Author

Hello Sabrina,

 

Thanks for your answer.

tSetProxy and tFileFetch are linked with a "OnComponentOk" component, so i guess, how can i be sure ? Currently i have a time-out with this solution.

 

I also tried to set the proxy information directly in Advanced setting tab of the tFileFetch (Enable proxy server). But it ends with a 407 error : Proxy authentification required

 

The weird thing is that it works perfectly in a tSystem calling a wget with exactly the same proxy information (host, port, username and password).