Skip to main content

I prepared simple script with HTML report. 

 

Script is checking all txt files in input directory, compare values with parameters and prepared html report with href to each file or folder.

 

I have access problem i think in FME Server Streaming Service.

Hrefs to files are not working with FME Server. HMTL file generated from this script is working outside the FME Server Streaming results.

 

Can you help me?

Hi @marekszczepan​ ,

 

I had a look at the workspace you provided and the href's seem to come in okay from the data streaming service. Were all the hrefs not working? Potentially could it be a browser issue or a security restriction?


Strange thing, because when i generate HTML from FME.fmw script everything is ok - hrefs are working. Only problem is on FME Server, so maybe you're right that it's a problem with streaming service. But i don't have idea what can be wrong

 

I checked also browser, on all is the same problem with FME Server


Strange thing, because when i generate HTML from FME.fmw script everything is ok - hrefs are working. Only problem is on FME Server, so maybe you're right that it's a problem with streaming service. But i don't have idea what can be wrong

 

I checked also browser, on all is the same problem with FME Server

Maybe as a test, you could use a different service like the datadownload or the jobsubmitter, which places the HTML file in the FME Server Resources and see if when you open it does the file look as you expected. Maybe we can do a comparison of the HTML files between services to see if there is a difference in the file. Anything we can do to refine down the error would be helpful.


Thank you for your time in advance.

 

So i made some tests and i have results.

 

First, i'll show you my hardware structure:

I have installed FME Server on independent machine.

On second server are places data.

Users are running FME Server Script from local machine, connecting to FME server

2022-12-15_07h36_33 

I made test and run this script directly on FME Server computer (first one) with Streaming service. The result is that hrefs are not working ,but i also used ctrl+i and copy html code into file. Page opened from this saved manually file working correctly - opening hrefs (with the same browser opera or another)

It's a bit strange (ouput_fme_server.zip with html in attachment).

 

If i used download or submit service everything is working correctly with the same or another web browser, as from manually copied html code. So it has to be problem with fme streaming and maybe some access/privileges?


Thank you for your time in advance.

 

So i made some tests and i have results.

 

First, i'll show you my hardware structure:

I have installed FME Server on independent machine.

On second server are places data.

Users are running FME Server Script from local machine, connecting to FME server

2022-12-15_07h36_33 

I made test and run this script directly on FME Server computer (first one) with Streaming service. The result is that hrefs are not working ,but i also used ctrl+i and copy html code into file. Page opened from this saved manually file working correctly - opening hrefs (with the same browser opera or another)

It's a bit strange (ouput_fme_server.zip with html in attachment).

 

If i used download or submit service everything is working correctly with the same or another web browser, as from manually copied html code. So it has to be problem with fme streaming and maybe some access/privileges?

Hi @marekszczepan​ ,

 

I apologize for missing this, but I see the behavior now. I've made a ticket for this issue, and if I find a workaround or have more information I will let you know.

 


Hi @marekszczepan​ ,

 

I apologize for missing this, but I see the behavior now. I've made a ticket for this issue, and if I find a workaround or have more information I will let you know.

 

Thank you so much

I'll be waiting for information about this issue


Hi @marekszczepan​ ,

 

I apologize for missing this, but I see the behavior now. I've made a ticket for this issue, and if I find a workaround or have more information I will let you know.

 

Hi @marekszczepan​ ,

 

After a bit more research it looks like this is just the inherent functionality of a Web Server. Web Servers cannot move from an HTTP protocol to a File protocol for security reasons. This is why our static HTML pages work, but not anything hosted on FME Server.


Hi @marekszczepan​ ,

 

I apologize for missing this, but I see the behavior now. I've made a ticket for this issue, and if I find a workaround or have more information I will let you know.

 

Thanks for the clarification and taking the time to resolve this issue


Reply