Hi, I am trying to run a series of transformations using the FME Rest API. Sometimes it works just fine, however, sometimes I get the message "Authentication failed: Failed to bind to Active Directory". (401). I created a token valid for 10 days and used a HTTPCaller to POST to the URL "http://ourserver:8080/fmerest/v2/notifications/topics/LDR_Trigger/message/raw?token=123456&detail;=low". Sometimes it looks like if I login to the FMEServer UI, it remembers the token and the result is as I expect. Has anyone any experience using FME Server REST service on Active Directory?
Failed to bind to Active Directory
Best answer by mark2atsafe
Hi @helmoet
This does appear to be a known issue, where the authentication fails after a period of non-usage.
One workaround - or at least a test to see if this really is the issue - is to set up a small job that runs every five minutes and polls the AD. Something like Creator > FMEServerJobSubmitter > Workspace in the Samples repository. Then FME will never be idle and the authentication problem won't occur.
That's for sure not a great solution, but I see this is scheduled to be fixed in FME2017.
If you carry out that test, and it shows that this idling is the problem, I suggest you contact our support team and give them the reference PR#71210. Then they will have your details and will be able to let you know when this is fixed - or any other workarounds they might have.
Apologies for any inconvenience this is causing,
Mark
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.