Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
DiliTimor
Contributor III
Contributor III

tFileFetch https url work on windows, fail on linux (ubuntu)

Dear Fellows,

I face weird problem building job with tFileFetch.

It is work good to retrieved from HTTP url (Linux & windows) and did download file (JSON), but it is failed when I try to retrieved from HTTPS url (on Linux server)

Note:

  1. TOS is on windows 10
  2. It is worked fine on windows PC
  3. I run this job on server with Ubuntu 22.
  4. site: https://peta-maritim.bmkg.go.id/public_api/overview/gelombang.json

I appreciate any suggestion to solve this problem

Labels (3)
4 Replies
Anonymous
Not applicable

Hello,

What's error are you getting when using tFileFetch https url on linux? No any error message?

Best regards

Sabrina

 

DiliTimor
Contributor III
Contributor III
Author

There is no error message. The indicator are:

  1. Execute job from linux terminal, cursor did not back to prompt. CTRL C will bring it back to prompt.
  2. The downloaded file did not exist.

It did work if you change the url to http site.

Anonymous
Not applicable

Hello @DiliTimor

Perhaps is there any missing double-quotes between your url itself when execute your command on Linux?

Best regards

Sabrina

DiliTimor
Contributor III
Contributor III
Author

Dear Sabrina

As you see at my attached screenshoot, I am sure there is no missing double-quotes.

To trace where it when wrong, I was build simple php script to perform download from that https site and run it on server. the result is:

PHP Warning: file_get_contents(https://peta-maritim.bmkg.go.id/public_api/perairan/H.07_Samudera%20Hindia%20selatan%20Jawa%20Tengah.json): Failed to open stream: operation failed

 

Note:

Those php script and talend job were running well on windows.