Skip to main content
anupk2111
Level 2
Mar 3, 2020 10:53 AM UTC
Solved

File transfer fails with timeout error

Hi,

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

 

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

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Jonathon_wodnicki
Jonathon_wodnickiAccepted solution
Community Advisor
Mar 3, 2020 2:19 PM UTC

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

4 replies

Level 2
Mar 3, 2020 2:04 PM UTC

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

Translate
Jonathon_wodnicki
Community Advisor
Jonathon_wodnickiCommunity AdvisorAccepted solution
Community Advisor
Mar 3, 2020 2:19 PM UTC

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

Translate
Craig_Thonis
Adobe Employee
Adobe Employee
Mar 3, 2020 2:34 PM UTC

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

Translate
anupk2111
anupk2111Author
Level 2
Mar 4, 2020 2:27 PM UTC

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

 

Translate