Rally Software

 View Only
  • 1.  Rally

    Posted Jun 24, 2020 11:36 AM
    Hello,
            I am try to export all attachments by using https://github.com/RallyTools/Rally-Export-Attachments
     but getting below error message. Can someone help me fix this error.

    C:/Ruby193/lib/ruby/gems/1.9.1/gems/rally_api-0.9.2/lib/rally_api/rally_json_connection.rb:111:in `rescue in send_request': RallyAPI: - rescued exception - SSL_connect returned=1 errno=0 state=SSLv2/v3 read server hello A: tlsv1 alert protocol version on request to https://rally1.rallydev.com/slm/webservice/1.43/workspace.js with params {:pagesize=>200, :start=>1, :query=>nil, :fetch=>"Name", :workspace=>"https://rally1.rallydev.com/slm/webservice/1.43/workspace/44098257853d.js", :projectScopeUp=>false, :projectScopeDown=>false, :order=>nil} (StandardError)
    from C:/Ruby193/lib/ruby/gems/1.9.1/gems/rally_api-0.9.2/lib/rally_api/rally_json_connection.rb:105:in `send_request'
    from C:/Ruby193/lib/ruby/gems/1.9.1/gems/rally_api-0.9.2/lib/rally_api/rally_json_connection.rb:67:in `get_all_json_results'
    from C:/Ruby193/lib/ruby/gems/1.9.1/gems/rally_api-0.9.2/lib/rally_api/rally_rest_json.rb:238:in `find'
    from export-workspace-attachments.rb:140:in `get_workspace'
    from export-workspace-attachments.rb:234:in `<main>'

    Thanks in Advance!


  • 2.  RE: Rally
    Best Answer

    Broadcom Employee
    Posted Jun 24, 2020 11:50 AM
    Hi.

    I believe the problem is that use of TLS 1.x in this code. Please see our notice of deprecation of support for TLS 1.0 and 1.1.

    Specifically, it says:
    "In order to continue using these connectors, you will need to install the latest version of the connector plus Ruby 2.2.6. We will post the latest version of these connectors with installation instructions as they are ready, but please keep in mind that the previous versions of the connectors will no longer be able to access Agile Central once we deprecate TLS 1.0 and 1.1."

    It seems this code is running Ruby 1.9.3 and therefore isn't using TLS 1.2 by default. Here is a doc I'm finding on how to enable Ruby 1.9.x to TLS 1.2. Perhaps you can follow this doc to update your Ruby to support TLS 1.2.  There is more online material on this, but from what I am finding, this doc is probably the safest way for you to proceed without having to work with Ruby 2.2.6, which may not necessarily support the Export Attachment app you're trying to get to work.

    Let us know if that helped.

    Thanks,
    Sagi