Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
jasonatunr
Contributor III
Contributor III

tFileFetch Ignores tSetProxy

I have a job with a tFileFetch component to upload files in the job. Our traffic has to go through a proxy, but the proxy used is dependent on the context we are running.

 

For Example: production context = use proxy sample.com; development context = use <none>

 

Due to this need I cannot use the proxy settings on the tFileFetch component and instead executing a tSetProxy first then going to tFileFetch after the tSetProxy completes. The tFileFetch component does not pick up the proxy settings and instead tries to connect directly without any proxy settings. However, if I set tSetProxy to socks it does attempt to connect to that proxy, but our proxy server is not socks so the authentication message fails.

Labels (2)
12 Replies
jasonatunr
Contributor III
Contributor III
Author

Thanks. I have written several routines in Talend to do things Talend cannot do. (ie. Pagination Parser, hierarchical sorting, more useful samba calls, etc.) so I am no stranger to routines.

 

However, I decided to use the tRest component to do the file upload and literally just got it working and it actually obeys the JVM proxy settings so it solves my problem. Going to give that a continued test throughout the day and see what results I can get.

Jesperrekuh
Specialist
Specialist

Kudos for you, this is one of the things which is frustrating for me (I think many others), by design it could never have worked but you loose precious time on figuring out how things work and are set back to zero.

There should be a curl like component... maybe one day I'll build "The One" web component.
jasonatunr
Contributor III
Contributor III
Author

Just to update. I could not make using the tRest component work, so I'm stuck using the built in proxy setting on the component. Using this is a procedural nightmare on our jobs because we develop in a different proxy space than our production environment so we have to make sure we change setting before and after we do development.

 

Our goal is to completely use the context variables to easily move between development and prod, but in this case we cannot because it is a checkbox on the component that needs to be ticked on or off.

 

So this never got solved and still persists as a problem. If someone out there figured out how to upload files via tRest I would be very interested.