Skip to main content
Question

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

  • May 9, 2019
  • 5 replies
  • 37 views

Forum|alt.badge.img

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?

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

5 replies

redgeographics
Celebrity
Forum|alt.badge.img+62

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?


Forum|alt.badge.img
  • Author
  • May 9, 2019

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.


Forum|alt.badge.img

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

Forum|alt.badge.img
  • Author
  • May 10, 2019

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?


Forum|alt.badge.img

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