none
"FTP" raised an error message. Details "The connection to the remote FTP server "###.###.###" was lost.

    Question

  •   I am running into a strange issue and hoping someone might have a little insight. I currently have one FTP Receive Port setup with multiple receive locations, most of which are pointing to different folders on the same FTP Server. When a new file is placed in the receive locations they are picked up and dropped on a processing folder on my biztalk server. This has been working flawlessly for about 6 months. For the last 5-6 days, once a day, at a random time I get the two errors below. After these start, the same error occurs for all my receive locations using the same Receive Port using the FTP Adapter. All files in this process are 1 mb or less and transfer almost instantly. I end up having to restart the Host Instance to get the receive locations to start working again. Any ideas on this issue would be greatly appreciated.
      
      Just to include as much detail as possible I included a FTP Log snippet starting with a last good FTP followed by a few of the errors.


    Event Type: Warning
    Event Source: BizTalk Server 2006
    Event Category: BizTalk Server 2006 
    Event ID: 5740
    Description:
    The adapter "FTP" raised an error message. Details "The connection to the remote FTP server "###.###.###" was lost. ".
    Event Type: Error

    Event Source: BizTalk Server 2006
    Event Category: BizTalk Server 2006 
    Event ID: 5719
    Description:
    There was a failure executing the receive pipeline: "Microsoft.BizTalk.DefaultPipelines.PassThruReceive, Microsoft.BizTalk.DefaultPipelines, Version=3.0.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" Source: "Pipeline " Receive Port: "FTP Pickup" URI: "ftp://###.###.###:21/###/###/###/###/###/*.txt" Reason: The connection to the remote FTP server "###.###.###" was lost. 



    < 220 Microsoft FTP Service
    > User ##MyBiztalkUser##
    < 331 Password required for biztalk.
    > PASS xxxx
    < 230 User ##MyBiztalkUser## logged in.
    > PWD
    < 257 "/" is current directory.
    > SYST
    < 215 Windows_NT
    > PWD
    < 257 "/" is current directory.
    > CWD admin/ftpusers/###/Incoming/1075
    < 250 CWD command successful.
    > PWD
    < 257 "/admin/ftpusers/###/Incoming/1075" is current directory.
    > TYPE A
    < 200 Type set to A.
    > PORT 10,96,34,145,140,245
    < 200 PORT command successful.
    > LIST *.txt
    < 150 Opening ASCII mode data connection for /bin/ls.
    < 12-12-08  11:41AM                 1967 ##MyFTPFile###_200812121100.txt
    < 226 Transfer complete.
    > TYPE I
    < 200 Type set to I.
    > PORT 10,96,34,145,141,18
    < 200 PORT command successful.
    > RETR ##MyFTPFile###_200812121100.txt
    < 150 Opening BINARY mode data connection for ##MyFTPFile###_200812121100.txt(1967 bytes).
    < 226 Transfer complete.
    > DELE ##MyFTPFile###_200812121100.txt
    < 250 DELE command successful.
    > QUIT
    < 221  
    < 220 Microsoft FTP Service
    > User ##MyBiztalkUser##
    < 331 Password required for biztalk.
    > PASS xxxx
    < 230 User ##MyBiztalkUser## logged in.
    > PWD
    < 257 "/" is current directory.
    > SYST
    < 215 Windows_NT
    > PWD
    < 257 "/" is current directory.
    > CWD admin/ftpusers/###/Incoming/1075
    < 250 CWD command successful.
    > PWD
    < 257 "/admin/ftpusers/###/Incoming/1075" is current directory.
    > TYPE A
    < 200 Type set to A.
    > PORT 10,96,34,145,141,140
    < 200 PORT command successful.
    > LIST *.txt
    < 150 Opening ASCII mode data connection for /bin/ls.
    < 226 Transfer complete.
    > QUIT
    < 221  
    < 220 Microsoft FTP Service
    > User ##MyBiztalkUser##
    < 331 Password required for biztalk.
    > PASS xxxx
    < 230 User ##MyBiztalkUser## logged in.
    > PWD
    < 257 "/" is current directory.
    > SYST
    < 215 Windows_NT
    > PWD
    < 257 "/" is current directory.
    > CWD admin/ftpusers/###/Incoming/1075
    < 250 CWD command successful.
    > PWD
    < 257 "/admin/ftpusers/###/Incoming/1075" is current directory.
    > TYPE A
    < 200 Type set to A.
    > PORT 10,96,34,145,141,239
    < 200 PORT command successful.
    > LIST *.txt
    < 150 Opening ASCII mode data connection for /bin/ls.
    < 226 Transfer complete.
    > QUIT
    < 221  
    < 220 Microsoft FTP Service
    > User ##MyBiztalkUser##
    < 331 Password required for biztalk.
    > PASS xxxx
    < 230 User ##MyBiztalkUser## logged in.
    > PWD
    < 257 "/" is current directory.
    > SYST
    < 215 Windows_NT
    > PWD
    < 257 "/" is current directory.
    > CWD admin/ftpusers/###/Incoming/1075
    < 250 CWD command successful.
    > PWD
    < 257 "/admin/ftpusers/###/Incoming/1075" is current directory.
    > TYPE A
    < 200 Type set to A.
    > PORT 10,96,34,145,142,92
    < 200 PORT command successful.
    > LIST *.txt
    < 150 Opening ASCII mode data connection for /bin/ls.
    < 12-12-08  12:37PM                 3613 ##MyFTPFile###_200812121200.txt
    < 226 Transfer complete.
    < 220 Microsoft FTP Service
    > User ##MyBiztalkUser##
    < 331 Password required for biztalk.
    > PASS xxxx
    < 230 User ##MyBiztalkUser## logged in.
    > PWD
    < 257 "/" is current directory.
    > SYST
    < 215 Windows_NT
    > PWD
    < 257 "/" is current directory.
    > CWD admin/ftpusers/###/Incoming/1075
    < 250 CWD command successful.
    > PWD
    < 257 "/admin/ftpusers/###/Incoming/1075" is current directory.
    > TYPE A
    < 200 Type set to A.
    > PORT 10,96,34,145,143,30
    < 200 PORT command successful.
    > LIST *.txt
    < 150 Opening ASCII mode data connection for /bin/ls.
    < 12-12-08  12:37PM                 3613 ##MyFTPFile###_200812121200.txt
    < 226 Transfer complete.
    < 220 Microsoft FTP Service


    Chris
    Monday, December 15, 2008 7:39 PM

Answers

  • Sorry for my slow response but I was out for the holidays etc. etc. I did finally figure this one out and it had nothing to do with a malfunction with the FTP Adapter or FTP Server itself. We have had our Biztalk server running for about 6 months and the database server that the biztalk databases are on never had the sql agent enabled or the biztalk jobs configured. The issues were the result of performance problems due to the biztalk databases not being maintained.

    Thank you for trying to help me solve the problem, it is appreciated!

    Chris
    • Marked as answer by Chris Wigley Thursday, January 08, 2009 1:18 PM
    Thursday, January 08, 2009 1:17 PM

All replies

  • 1. Check the application and system logs for any other errors at about the same time.  But you've probably already done that.

    2. I had a server that was randomly dropping packets on a file receive, the answer was to update the firmware and the problem went away.
     
    3. If there are multiple ethernet cards in the box, perhaps the problem is specific to one of them (as a developer, when in doubt, blame the hardware!).

    4. Consider stress testing the server under high load to see if the problem can be reproduced.  If so, look at what's getting pegged (memory or CPU or disk) to try and narrow it down.  Once you narrow it down to a subsystem sometimes you end up finding a bad disk sector or something else specific.



    The Dude Abides
    Tuesday, December 16, 2008 2:44 PM
  • Sorry for my slow response but I was out for the holidays etc. etc. I did finally figure this one out and it had nothing to do with a malfunction with the FTP Adapter or FTP Server itself. We have had our Biztalk server running for about 6 months and the database server that the biztalk databases are on never had the sql agent enabled or the biztalk jobs configured. The issues were the result of performance problems due to the biztalk databases not being maintained.

    Thank you for trying to help me solve the problem, it is appreciated!

    Chris
    • Marked as answer by Chris Wigley Thursday, January 08, 2009 1:18 PM
    Thursday, January 08, 2009 1:17 PM