Error

  • 06 Jun

    SFTP Connection errors 10054 (0x2746)

    Q: SFTP Connection errors 10054 (0x2746). Is there something we can look at in regards to this error?  What causes it and if we can resolve? We’ve encountered a situation twice now where a vast amount of rules appear to stop processing to 1 particular server.  The rules in web remote all turn green and stay green as if they are currently being triggered, but there is no output on the runtime log and no transfers take place. To resolve the issue we’ve restarted the Limagito server, and rule processing occurs normally again. Are we able to provide you with some logs that might help shed light on what’s occurred?

    We have 173 rules, and of the failures they seem to be with this 1 SFTP server, destination and source rules. Is there a preference in which one we use? We scan the rules every 70 seconds.

    • With our SFTP Source Code Vendor 1 (SB) the error message looks like:

    6/3/2022 9:12:57 AM SFTP Connected Error

    6/3/2022 9:12:57 AM Connect attempt 1 Exception: Connection lost due to error 10054

    6/3/2022 9:12:57 AM Connecting SFTP Server..

    6/3/2022 9:12:57 AM Cyclus [SFTPGET]

    6/3/2022 9:12:57 AM Start Source Thread

    • With our SFTP Source Code Vendor 2 (CK) the error message looks like:

    SFTP Connection Errors

    A: With 70 seconds scan time we would certainly enable the ‘Stay connected’ option (Common Tab of SFTP setup). We guess this SFTP server is no longer accepting new connections (after x time). Please also check the ‘Hint’ in the feedback when using our SFTP Source Code Vendor 2 (CK). If you trigger the rules often then some SFTP servers will find this (connects/disconnects) suspicious and will no longer allow new connections for a certain time.

    • SFTP Setup (Source or Destination), enable ‘Stay Connected’.

    SFTP Stay Connected option

    #SFTP #Filetransfer #Filemanagement

    If you need any info about this ‘ SFTP Connection errors’ question, please let us know.

    Best regards,

    Limagito Team

  • 25 May

    Treatment Error in PGP Decryption

    Q: Treatment Error in PGP Decryption. I am writing a rule to decipher pgp files. Sometimes, I may have some error (ie. bad pgp key). In this case, I have the following error:

    Limagito File Mover Treatment Error

    I would like in this case to move the file in an other directory (ie. FILE IN ERROR). Is it possible ?

    A: Yes this is possible. We’ll use our Rule Events ‘On Error’ option. This event is triggered when an error occurs, in this case with the decryption in the Destination. We added some screenshots to get you started.

    • Please open the ‘Rule Events’ setup:

    Limagito File Mover Rule Events

    • Enable ‘On Error’ and add and enable the following ‘Pascal Script’ (be sure ‘On Error’ is selected). Don’t forget to adjust the ctErrorPath const.
    Const
      ctErrorPath = 'C:\Temp\'; // path must end with /
    Begin
      psExitCode:= 1;
      // ... add your code here
      psMoveFile(psFilePath + psFileName, ctErrorPath + psFileName);
    End.

    Limagito File Mover Rule Events Pascal Script

    Feedback customer:

    In the meanwhile, I had found another solution using command on the event After Move Error. But I switched back to your solution.

     

    #Filetransfer #Filemanagement

    If you need any info about this ‘Treatment Error in PGP Decryption’ question, please let us know.

    Best regards,

    Limagito Team

1 2 3 4 8