Question

FMEServerJobSubmitter fails when triggered from FME Server.

  • 27 June 2022
  • 1 reply
  • 26 views

Badge

We have 2 workbenches which we call 'outer' and 'inner' for our processes. The 'outer' workbench gets parameters and then passes them to the 'inner' workbench for processing. If we are running this in fme workbench, we use a workspace runner to trigger the second process. If we are running this in FME Server, we use an FMEJobSubmitter to trigger the second process (which is also published on FME Server). There is a user parameter to distinguish if it is running on desktop or server and a filter to direct the data to the correct transformer.

 

Running from FME desktop runs the processes successfully with the workspace runner. We are also successful running the 'outer' from desktop and triggering the 'inner' using the FME Server Job Submitter.

 

When we run the 'outer' on FME Server, we get a very vague error from FME Server:

 

2022-06-23 10:43:09| 1.0| 0.0|WARN |FMEServerJobSubmitter (ServerFactory): FME Server error: `Error communicating with FME Server. FME Server may not be running. Please visit http://www.safe.com/support'

2022-06-23 10:43:09| 1.0| 0.0|WARN |FMEServerJobSubmitter (ServerFactory): https://FME SERVER URL - Failed to submit request to run workspace 'SS_TruncateAndLoad - Inner.fmw' in repository 'Data_Inflow'

2022-06-23 10:43:09| 1.0| 0.0|WARN |FMEServerJobSubmitter (ServerFactory): Reason - credentials for user are invalid

 

We are reading from MSSQL Server database and writing to enterprise GDBs using SDE connection files. I have double checked the connection files are valid. I'm not sure which 'credentials' the error is referring to - is this FME Server? SQL Server? Data repository?

 

We were successful just 1 time running this process fully on FME Server and then the next time we ran it, we received the errors above and haven't been able to fix it. Any help is much appreciated!


1 reply

Userlevel 4

If you are using a web connection, make sure that it is published to FME Server and that it has been shared with the user triggering the workspace.

The error message about credentials seem to reference the those used by the FMEServerJobSubmitter, either embedded or in the associated web connection.

Reply