File transfer fails with timeout error

Avatar

Avatar

anupk2111

Avatar

anupk2111

anupk2111

03-03-2020

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

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

wodnicki

MVP

Avatar

wodnicki

MVP

wodnicki
MVP

03-03-2020

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

Answers (3)

Answers (3)

Avatar

Avatar

anupk2111

Avatar

anupk2111

anupk2111

04-03-2020

Thanks @craigthonis  @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

 

Avatar

Avatar

craigthonis

Employee

Avatar

craigthonis

Employee

craigthonis
Employee

03-03-2020

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

Avatar

ovot

Avatar

ovot

ovot

03-03-2020

@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)