I added a js library to one of our workflows. The implementation is timing out, even though outside of retool the same setup works. Any thoughts?
console.log('file content', {fileName:value.name, value:value.base64Data, client: ssh2SftpClient})
// Send off to server via SFTP
// Code below timesout
const Client = ssh2SftpClient;
const sftp = new Client();
console.log('client', sftp.connect)
sftp.connect({
host: 'us-east-1.sftpcloud.io',
port: '22',
username: '59bd149ccd7a47d38c01a2bdee56d30f',
password: '5zFqlGHJXFMMoWJZWpvzyIOYCGJRkuRo'
}).then(() => {
console.log('dirs', sftp.list('/test'))
return sftp.list('/test');
}).then(data => {
console.log('the data info', data);
}).catch(err => {
console.log('error', err);
});
return value