DataPower

 View Only
  • 1.  SFTP Poller endless loop on long filename

    Posted Thu November 03, 2022 09:37 AM
    Edited by Portia Melita Fri November 04, 2022 09:09 AM
    Hi,

    I'm seeing some strange behaviour at my customer with the SFTP Poller. We are running a MPGW with an SFTP Poller that polls a directory on an AIX machine. 

    The filename is 199 characters, and DP FSH then adds a 66 character long string while renaming the file (including machine name, domain name, FSH name, identifier).

    This bypasses the 255 character filename limit in AIX, and the operation is not permitted, however this does not seem to cause any error in datapower; instead it fails in the next stage when trying to pick up the renamed file (which does not exist).

    We have configured the poller to move any errors to an /errors subdirectory, but this condition does not seem to be met by this failure, and thus the file is once again processed by the poller, failing in the same manner.

    Including a debug log below from the FSH which I believe should be read down->up, but the last two entries seems to be in the wrong order.

    Is my analysis of the issue correct? Has anyone else seen this behaviour and is there a solution to it?

    Best Regards,

    Pwr






    11:10:25 AM

    file-poller

    debug

    443802562

    0x80e00301

    source-sftp-poller (FSH_SFTP_POLLER_DEFAULT): Renaming file 'sftp://hostname.com/path/199charfilename.dp-machine.0000000.dp-domain.FSH_SFTP_POLLER_DEFAULT.1665565825'

    11:10:25 AM

    file-poller

    error

    443802562

    0x80e000cc

    source-sftp-poller (FSH_SFTP_POLLER_DEFAULT): Open failed for URL 'sftp://hostname.com/path/' file '199charfilename'

    11:10:25 AM

    file-poller

    debug

    443802562

    0x80e002ff

    source-sftp-poller (FSH_SFTP_POLLER_DEFAULT): Opening file 'sftp://hostname.com/path/199charfilename'

    11:10:25 AM

    file-poller

    debug

    154191

    0x80e002fd

    source-sftp-poller (FSH_SFTP_POLLER_DEFAULT): Input file found 'sftp://hostname.com/path/199charfilename'

    11:10:25 AM

    file-poller

    debug

    154191

    0x80e002fc

    source-sftp-poller (FSH_SFTP_POLLER_DEFAULT): Poll sequence started for URL 'sftp://hostname.com/path/'



    ------------------------------
    Gustav Friberg
    ------------------------------


  • 2.  RE: SFTP Poller endless loop on long filename

    User Group Leader
    Posted Thu November 10, 2022 01:46 PM

    Hello Gustav, 

    Our team suggest to file a support case to the support team as they might be able to figure this out for you and provide you with the best way to move forward. 

    Best, 



    ------------------------------
    Gabriel Marte Blanco
    Austin TX
    ------------------------------



  • 3.  RE: SFTP Poller endless loop on long filename

    Posted Wed November 16, 2022 04:49 AM
    Thank you Gabriel - do you think you could provide me with a link to where this is done?

    Best Regards,

    Gustav

    ------------------------------
    Gustav Friberg
    ------------------------------