Expand my Community achievements bar.

SOLVED

File transfer fails with timeout error

Avatar

Level 2

Hi,

I am having this issue with File transfer Activity, where it fails every other day with a timeout error. 

 

anupk2111_0-1583232525815.png

What is strange is it does not run for long before I get the timeout error. 

The SFTP external account used for this is the one that we use for other FTPs as well and this error happens a couple of times every week ( and not every time) for this daily technical import workflow.

 

Any idea what the error could be caused by?

 

Thanks,

Anup

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi,

 

Log timestamps show a timeout of 30s there.

I don't believe this is configurable, so perhaps better to instead use a js activity with execCommand('curl --connect-timeout') or similar.

 

Thanks,

-Jon

View solution in original post

4 Replies

Avatar

Level 2

@anupk2111 Which version of curl do you have on your server? There might be a bug when having slow connections that severs the connection (https://github.com/curl/curl/issues/3927)

Avatar

Correct answer by
Community Advisor

Hi,

 

Log timestamps show a timeout of 30s there.

I don't believe this is configurable, so perhaps better to instead use a js activity with execCommand('curl --connect-timeout') or similar.

 

Thanks,

-Jon

Avatar

Employee Advisor

Hi Anupk,

 

I might also suggest increasing the logging to get some more details around the failure.  Also if this is happening regularly at the same time, you could set up a pcap/wireshark to analyze the network connection from Campaign to your SFTP.

 

Regards,

Craig

Avatar

Level 2

Thanks @Craig_Thonis  @Jonathon_wodnicki  @ovot 

 

I was not 100% sure how to use the curl to change the timeout issue.

 

However, we used an alternative approach by creating a technical workflow that checks for the error message, log date and status of the failing workflows and signals to restart the failed workflow again.

 

 

Thanks,

Anup