Uploaded image for project: 'YADE - Yet Another Data Exchange Tool'
  1. YADE - Yet Another Data Exchange Tool
  2. YADE-307

Parameter ftps_client_security does not work consistently across versions

    XMLWordPrintable

Details

    • Fix
    • Status: Released (View Workflow)
    • Minor
    • Resolution: Fixed
    • 1.10
    • 1.10
    • None
    • None

    Description

      Current Situation

      • JADE copy operation hangs for JADE version 1.10-SNAPSHOT due to default value explicit for the parameter target_ftps_client_security .
      • Same profile work as expected for JADE version 1.9.1-SNAPSHOT
      • if value for the parameter sets to implicit e.g. target_ftps_client_security=implicit then JADE version 1.10-SNAPSHOT works okay but JADE version 1.9.1-SNAPSHOT throws error javax.net.ssl.SSLException - Unrecognized SSL message, plaintext connection?

      Status Matrix

      ftps_client_security JADE 1.9.1-SNAPSHOT JADE 1.10-SNAPSHOT
      explicit OK HANGS
      implicit ERROR OK

      Desired behavior

      • The parameter ftps_client_security=implicit/explicit should have consistent configuration effect throughout JADE versions.

      Profile

      [homer.sos_ftps]
      file_spec               = TRX100.CSV
      operation               = copy
      source_dir              = C:\sandbox\source
      source_protocol         = local
      target_dir              = /home/test/data/to_homer
      target_host             = homer.sos
      target_protocol         = ftps
      target_port             = 21
      target_user             = test
      target_password         = 12345
      target_ftps_client_security = implicit
      ;;target_ftps_client_security = explicit
      

      Session Log JADE version 1.10-SNAPSHOT

      
      C:\Program Files\sos-berlin.com\jade>
      C:\Program Files\sos-berlin.com\jade>
      C:\Program Files\sos-berlin.com\jade>jade_client.1.10-SNAPSHOT\bin\jade.cmd -settings=jade_settings_ftps.ini -profile=homer.sos_ftps
      
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      +                       START  : JADE.CMD                         +
      +                       -----------------                         +
      + DATE     : 03.06.2015 13:43:53,06
      + HOSTNAME : MP
      + USER     : MP
      + CALL     : C:\Program Files\sos-berlin.com\jade\jade_client.1.10-SNAPSHOT\bin\jade.cmd -settings=jade_settings_ftps.ini -profile=homer.sos_ftps
      +                                                                 +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      
      main INFO  13:43:56,114   (SOSDataExchangeEngineMain.java:73) ::Execute SOSDataExchange - Main routine started ...
      main INFO  13:43:56,137   (SOSDataExchangeEngine.java:532) ::showBanner
      ************************************************************************
      *                                                                      *
      *                JADE - JobScheduler Advanced Data Exchange            *
      *                ---www.sos-berlin.com---------------------            *
      *                                                                      *
      ************************************************************************
        Version                 = 1.10-SNAPSHOT (2015-06-01 21:20, revision 802641871142b6e620765f5f9010dd8d0816761a) Copyright 2003-2015 SOS GmbH Berlin
        Date                    = 2015-06-03 13:43:56
        SettingsFile            = jade_settings_ftps.ini
        Profile                 = homer.sos_ftps
        Operation               = copy
        Transactional           = false
      
        +------------Source------------
        | Protocol              = local
        | Host                  = MP
        | Directory             = C:\sandbox\source/
        | FileSpec              = TRX100.CSV
        | ErrorWhenNoFilesFound = true
        | Recursive             = false
        | Remove                = false
      
        +------------Target------------
        | Protocol              = ftps
        | Host                  = homer.sos
        | User                  = test
        | AuthMethod            = publickey
        | Password              = ***
        | Directory             = /home/test/data/to_homer/
        | OverwriteFiles        = true
      
      
      main INFO  13:43:56,200   (SOSVfsFtpS.java:47) ::Client use explicit client security
      Batchvorgang abbrechen (J/N)?
      Batchvorgang abbrechen (J/N)?
      Batchvorgang abbrechen (J/N)? J
      
      C:\Program Files\sos-berlin.com\jade>
      

      Session Log JADE version 1.9.1-SNAPSHOT

      
      C:\Program Files\sos-berlin.com\jade>
      C:\Program Files\sos-berlin.com\jade>
      C:\Program Files\sos-berlin.com\jade>
      C:\Program Files\sos-berlin.com\jade>jade_client.1.9.1-SNAPSHOT\bin\jade.cmd -settings=jade_settings_ftps.ini -profile=homer.sos_ftps -target_ftps_client_security=implicit
      
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      +                       START  : JADE.CMD                         +
      +                       -----------------                         +
      + DATE     : 03.06.2015 13:51:13,89
      + HOSTNAME : MP
      + USER     : MP
      + CALL     : C:\Program Files\sos-berlin.com\jade\jade_client.1.9.1-SNAPSHOT\bin\jade.cmd -settings=jade_settings_ftps.ini -profile=homer.sos_ftps -target_ftps_client_security=implicit
      +                                                                 +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      
      main INFO  13:51:17,404   (SOSDataExchangeEngineMain.java:73) ::Execute SOSDataExchange - Main routine started ...
      main INFO  13:51:17,427   (SOSDataExchangeEngine.java:532) ::showBanner
      ************************************************************************
      *                                                                      *
      *                JADE - JobScheduler Advanced Data Exchange            *
      *                ---www.sos-berlin.com---------------------            *
      *                                                                      *
      ************************************************************************
        Version                 = 1.9.1-SNAPSHOT (2015-06-02 00:55, revision b12dcd6c61d7db850bda9c6753a267808912660d) Copyright 2003-2015 SOS GmbH Berlin
        Date                    = 2015-06-03 13:51:17
        SettingsFile            = jade_settings_ftps.ini
        Profile                 = homer.sos_ftps
        Operation               = copy
        Transactional           = false
      
        +------------Source------------
        | Protocol              = local
        | Host                  = MP
        | Directory             = C:\sandbox\source/
        | FileSpec              = TRX100.CSV
        | ErrorWhenNoFilesFound = true
        | Recursive             = false
        | Remove                = false
      
        +------------Target------------
        | Protocol              = ftps
        | Host                  = homer.sos
        | User                  = test
        | AuthMethod            = publickey
        | Password              = ***
        | Directory             = /home/test/data/to_homer/
        | OverwriteFiles        = true
      
      
      main INFO  13:51:17,495   (SOSVfsFtpS.java:47) ::Client use implicit client security
      main ERROR 13:51:18,082   (SOSVfsFtpS.java:129) ::connect (@homer.sos:21) connect returns an exception
      com.sos.JSHelper.Exceptions.JobSchedulerException: (@homer.sos:21) javax.net.ssl.SSLException - Unrecognized SSL message, plaintext connection?
              at com.sos.VirtualFileSystem.FTP.SOSVfsFtpBaseClass.connect(SOSVfsFtpBaseClass.java:367)
              at com.sos.VirtualFileSystem.FTPS.SOSVfsFtpS.connect(SOSVfsFtpS.java:111)
              at com.sos.VirtualFileSystem.FTP.SOSVfsFtpBaseClass.Connect(SOSVfsFtpBaseClass.java:456)
              at com.sos.VirtualFileSystem.DataElements.SOSVfsConnectionFactory.getVfsHandler(SOSVfsConnectionFactory.java:104)
              at com.sos.VirtualFileSystem.DataElements.SOSVfsConnectionFactory.createConnectionPool(SOSVfsConnectionFactory.java:61)
              at com.sos.VirtualFileSystem.DataElements.SOSVfsConnectionFactory.<init>(SOSVfsConnectionFactory.java:32)
              at com.sos.DataExchange.SOSDataExchangeEngine.transfer(SOSDataExchangeEngine.java:1141)
              at com.sos.DataExchange.SOSDataExchangeEngine.Execute(SOSDataExchangeEngine.java:358)
              at com.sos.DataExchange.SOSDataExchangeEngineMain.Execute(SOSDataExchangeEngineMain.java:75)
              at com.sos.DataExchange.SOSDataExchangeEngineMain.main(SOSDataExchangeEngineMain.java:30)
      main INFO  13:51:18,109   (SOSDataExchangeEngine.java:391) ::showResult
      *************************************************************************
       execution status     = failure. Errors reported.
       successful transfers = 0
       skipped transfers    = 0
       failed transfers     = 0
       last error           = (@homer.sos:21) javax.net.ssl.SSLException - Unrecognized SSL message, plaintext connection? (Unrecognized SSL message, plaintext connection?)
      Connection is not open
      
      *************************************************************************
      
      main ERROR 13:51:18,112   (SOSDataExchangeEngineMain.java:81) ::Execute Execute: Error occurred ...: Connection is not open, exit-code 99 raised
      
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      +                        END   : JADE.CMD                         +
      +                        ----------------                         +
      + DATE     : 03.06.2015 13:51:18,24
      + HOSTNAME : MP
      + USER     : MP
      + CALL     : C:\Program Files\sos-berlin.com\jade\jade_client.1.9.1-SNAPSHOT\bin\jade.cmd -settings=jade_settings_ftps.ini -profile=homer.sos_ftps -target_ftps_client_security=implicit
      + EXIT     : 99
      +                                                                 +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      
      
      C:\Program Files\sos-berlin.com\jade>
      

      Attachments

        Issue Links

          Activity

            People

              re Robert Ehrlich
              mp Mahendra Patidar
              Mahendra Patidar Mahendra Patidar
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: