Data360 Analyze

 View Only
  • 1.  custom FTP code. - python

    Posted 03-05-2021 13:00

    Hi Team, 

    We are facing issues running custom ftp node in new Azure environment. on Azure we successfully mapped new network connection. but we are getting below mentioned error while running ftp node. 

    Mentioned ftp node was designed specially for ATT and it is working properly on lavastorm on prem service. please refer to errors attached. is this something related to variables from python which are not available on Data3Sixty3.6.8

     

     

    Attached files

    csv_upload_testxx_bckp - 6 Mar 2021.lna.lna
    node-logs-2021-03-05-19-58-56.988-0.zip

     



  • 2.  RE: custom FTP code. - python

    Employee
    Posted 03-05-2021 13:30

    I see two errors in the logs:

    Connection reset by peer

    TypeError: 'NoneType' object is not callable

    The first error is an FTP connection issue and the second is from Python. The Python version is still 2.7, so upgrading to 3.6.8 wouldn't have changed Python. I can duplicate the Python error whenever I force my connection with the FTP node to break - that's just the fallout of the connection issue.

    It looks like you're making an FTP connection to a mainframe, so I imported your LNA, pointed to my mainframe environment within the property files and I was able to upload a file successfully. Similar to above, if I use invalid connection details, I get a connection error followed by the same Python NoneType error. 

    I recommend looking into the "Connection reset by peer" issue - something outside of Analyze is blocking the connection to the FTP endpoint.