Question

Amazon S3 downloader does not work while first run and succeed only while the second run


Badge

I'm working with FMEServer.

I developed a small workbench that connects to s3, reads the content of some folder and downloads it into FME resource folder. The problem with downloading occurs only while first running. I get the following error:

FAILURE

java.lang.Exception: COM.safe.fmewebservices.FMEWebServiceException: COM.safe.fmeserver.api.FMEServerException: QSInvalidRequest

When I repeat a job, right after that, the job is done successfully.

In both cases, engines are turned on.

My workflow is as follows:

Any idea of solving this problem?


5 replies

Userlevel 4
Badge +25

You say "engines", so that implies there's more than one. Did these jobs run on different engines and if so, could there be a difference between them?

Badge

I'm not aware of the engines state. I use the default set that FME allocates to me. I turn them on with FME GUI Engines & Licences section. S3 downloader is the only workbench that fails with the first run. Others do well.

Badge

HI @przegee,

Which versions of FME are your using (Desktop & Server). In general, I would recommend using the S3Connector instead of the legacy transformers if possible:

 

https://hub.safe.com/publishers/safe/packages/s3connector
Badge

I use FME Server 2018.1.2.0 and FME Desktop 2018.1.2.0.

 

It looks like s3conector is not recommended anymore in my version.

 

https://knowledge.safe.com/questions/72013/s3-connector-what-happened.html

Have you tested it in the 2019 version?

Badge

I use FME Server 2018.1.2.0 and FME Desktop 2018.1.2.0.

 

It looks like s3conector is not recommended anymore in my version.

 

https://knowledge.safe.com/questions/72013/s3-connector-what-happened.html

Have you tested it in the 2019 version?

Yes, it is released in 2019.0 and the recommended transformer to interact with S3

Reply