Monday
Hi there,
I'm doing the training lesson On-Prem Agent Installation > Extensions, but I'm not able to have the custom connector to reach out to the on-prem agent.
I'm getting the error "Connection failed: 301 Moved Permanently" (see image):
The source code on the image is the following:
{
title: 'On-Prem security',
secure_tunnel: true,
connection: {
fields: [{ name: 'profile', hint: 'On-prem security connection profile' }],
authorization: { type: 'none'},
apply: ->() {
headers('X-Workato-Connector': 'enforce')
}
},
test: ->(connection) {
post("http://localhost/lib_ext/#{connection['profile']}/computeDigest", { payload: 'test' })
},
actions: {
sha256_digest: {
title: 'Create SHA-256 digest',
description: 'Create <span class="provider">SHA-256</span> digest',
input_fields: -> { [{ name: 'payload' }] },
output_fields: -> { [{name: 'signature' }] },
execute: ->(connection, input) {
post("http://localhost/lib_ext/#{connection['profile']}/computeDigest", input)
}
}
}
}
The agent of DEMO Database On-prem group is installed and running:
And the extension is put on the lib_ext folder of the agent:
My specs:
Running on Windows 10 Business, Version 22H2, OS build 19045.5608, Experience Windows Feature Experience Pack 1000.19061.1000.0
I'm not using VPN nor any proxy.
My questions are:
Thanks in advance for your help.
Best regards.