I'm trying to run the 'FME Server Workflow Management' workspaces and running into a couple of issues running 'chain_job.fmw' depending on how I reference the server itself in the Web Connections settings.
1. Web Connection configured as same domain I publish against (eg http://site.company.com)
- running chain_job from desktop and calling the three published workspaces runs fine.
- running the published chain jobs errors with a web pages content
- <title>Notification: DNS Failure</title>
- <h1>This Page Cannot Be Displayed</h1>
- The host name resolution (DNS lookup) for this host name( site.company.com ) has failed. The Internet address may be misspelled or obsolete,the host ( site.company.com ) may be temporarily unavailable,or the DNS server may be unresponsive.
- Date: Tue, 20 Feb 2018 16:22:11 AEDT<br />Username: <br />Source IP: 99.99.99.99(this was the machines IP)<br />URL: POST http://site.company.com.com/fmerest/transformations/commands/transact/chaining/load_data.fmw<br />Category: <br />Reason: UNKNOWN<br />Notification: DNS_FAIL
- The machines appears to see itself ok and can reach the server interface when I'm logged into it remotely (as myself)
2 .Web Connection configured as FME Servers IP address
- running chain_job from desktop and calling the three published workspaces runs fine.
- running the published chain jobs errors with
- INFORM|FMEServerJobSubmitter_1(ServerFactory): http://99.99.99.99 - Running workspace 'load_data.fmw' in repository 'chaining'...
- WARN |FMEServerJobSubmitter_1(ServerFactory): http://99.99.99.99 - Failed to submit request to run workspace 'load_data.fmw' in repository 'chaining'
- WARN |FMEServerJobSubmitter_1(ServerFactory): Reason - user 'sjhtest' is not authorized to perform this action
I'm not sure what I'm missing here, in issue one is there somewhere I should be ensuring the dns works? I've tried adding it to the hosts file, which seemed unnecessary as I could see if when logged in.
In issue two could the authentication be failing because it's not on the expected domain? although I accessed the token generation using the IP path and it didn't have any issues.
Thanks for any help!