<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html;
      charset=windows-1252">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>/share/apps/bin/lein</p>
    <p>I updated it to the latest version, then applied the fix, which
      is really just adding a -1 to the curl command on line 147<br>
    </p>
    <p>    -Josiah</p>
    <p><br>
    </p>
    <br>
    <div class="moz-cite-prefix">On 10/3/18 8:33 AM, Lee Spector wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:C606DA2E-CF9F-431A-8117-3B8CB873CBFE@hampshire.edu">
      <meta http-equiv="Content-Type" content="text/html;
        charset=windows-1252">
      <meta http-equiv="Content-Type" content="text/html;
        charset=windows-1252">
      <div class=""><br class="">
      </div>
      <div class="">Hmm, still getting same error, I think, below.</div>
      <div class=""><br class="">
      </div>
      <div class="">However, I now realize that I've been running my own
        lein script, in my ~/bin/</div>
      <div class=""><br class="">
      </div>
      <div class="">So presumably you updated something else, which may
        not even have had a problem!</div>
      <div class=""><br class="">
      </div>
      <div class="">However, disabling (renaming) my script, lein gives
        me a file not found error.</div>
      <div class=""><br class="">
      </div>
      <div class="">Where is the system-wide lein?</div>
      <div class=""><br class="">
      </div>
      <div class="">Thanks,</div>
      <div class=""><br class="">
      </div>
      <div class=""> -Lee</div>
      <div class=""><br class="">
      </div>
      <div class=""><br class="">
      </div>
      <div class=""><br class="">
      </div>
      <div class="">
        <div style="margin: 0px; font-size: 11px; line-height: normal;
          font-family: Menlo; color: rgb(77, 77, 76); background-color:
          rgb(255, 255, 255);" class=""><span
            style="font-variant-ligatures: no-common-ligatures" class="">[lspector@compute-1-1
            clojush-launcher]$ lein run
            clojush.problems.demos.simple-regression</span></div>
        <div style="margin: 0px; font-size: 11px; line-height: normal;
          font-family: Menlo; color: rgb(77, 77, 76); background-color:
          rgb(255, 255, 255);" class=""><span
            style="font-variant-ligatures: no-common-ligatures" class="">Could
            not transfer artifact com.lowagie:itext:pom:2.1.7 from/to
            central (<a href="https://repo1.maven.org/maven2/" class=""
              moz-do-not-send="true">https://repo1.maven.org/maven2/</a>):
            Received fatal alert: protocol_version</span></div>
        <div style="margin: 0px; font-size: 11px; line-height: normal;
          font-family: Menlo; color: rgb(77, 77, 76); background-color:
          rgb(255, 255, 255);" class=""><span
            style="font-variant-ligatures: no-common-ligatures" class="">Could
            not transfer artifact
            org.apache.xmlgraphics:batik-svggen:pom:1.8 from/to central
            (<a href="https://repo1.maven.org/maven2/" class=""
              moz-do-not-send="true">https://repo1.maven.org/maven2/</a>):
            Received fatal alert: protocol_version</span></div>
        <div style="margin: 0px; font-size: 11px; line-height: normal;
          font-family: Menlo; color: rgb(77, 77, 76); background-color:
          rgb(255, 255, 255);" class=""><span
            style="font-variant-ligatures: no-common-ligatures" class="">Could
            not transfer artifact
            org.apache.xmlgraphics:batik-dom:pom:1.8 from/to central (<a
              href="https://repo1.maven.org/maven2/" class=""
              moz-do-not-send="true">https://repo1.maven.org/maven2/</a>):
            Received fatal alert: protocol_version</span></div>
        <div style="margin: 0px; font-size: 11px; line-height: normal;
          font-family: Menlo; color: rgb(77, 77, 76); background-color:
          rgb(255, 255, 255);" class=""><span
            style="font-variant-ligatures: no-common-ligatures" class="">This
            could be due to a typo in :dependencies or network issues.</span></div>
        <div style="margin: 0px; font-size: 11px; line-height: normal;
          font-family: Menlo; color: rgb(77, 77, 76); background-color:
          rgb(255, 255, 255);" class=""><span
            style="font-variant-ligatures: no-common-ligatures" class="">If
            you are behind a proxy, try setting the 'http_proxy'
            environment variable.</span></div>
        <div style="margin: 0px; font-size: 11px; line-height: normal;
          font-family: Menlo; color: rgb(77, 77, 76); background-color:
          rgb(255, 255, 255);" class=""><span
            style="font-variant-ligatures: no-common-ligatures" class="">[lspector@compute-1-1
            clojush-launcher]$ lein upgrade</span></div>
        <div style="margin: 0px; font-size: 11px; line-height: normal;
          font-family: Menlo; color: rgb(77, 77, 76); background-color:
          rgb(255, 255, 255);" class=""><span
            style="font-variant-ligatures: no-common-ligatures" class="">The
            script at /home/lspector/bin/lein will be upgraded to the
            latest stable version.</span></div>
        <div style="margin: 0px; font-size: 11px; line-height: normal;
          font-family: Menlo; color: rgb(77, 77, 76); background-color:
          rgb(255, 255, 255);" class=""><span
            style="font-variant-ligatures: no-common-ligatures" class="">Do
            you want to continue [Y/n]? Y</span></div>
        <div style="margin: 0px; font-size: 11px; line-height: normal;
          font-family: Menlo; color: rgb(77, 77, 76); background-color:
          rgb(255, 255, 255); min-height: 13px;" class=""><span
            style="font-variant-ligatures: no-common-ligatures" class=""></span><br
            class="">
        </div>
        <div style="margin: 0px; font-size: 11px; line-height: normal;
          font-family: Menlo; color: rgb(77, 77, 76); background-color:
          rgb(255, 255, 255);" class=""><span
            style="font-variant-ligatures: no-common-ligatures" class="">Upgrading...</span></div>
        <div style="margin: 0px; font-size: 11px; line-height: normal;
          font-family: Menlo; color: rgb(77, 77, 76); background-color:
          rgb(255, 255, 255);" class=""><span
            style="font-variant-ligatures: no-common-ligatures" class=""> 
            % Total    % Received % Xferd  Average Speed   Time    Time
                Time  Current</span></div>
        <div style="margin: 0px; font-size: 11px; line-height: normal;
          font-family: Menlo; color: rgb(77, 77, 76); background-color:
          rgb(255, 255, 255);" class=""><span
            style="font-variant-ligatures: no-common-ligatures" class="">  
                                          Dload  Upload   Total   Spent 
              Left  Speed</span></div>
        <div style="margin: 0px; font-size: 11px; line-height: normal;
          font-family: Menlo; color: rgb(77, 77, 76); background-color:
          rgb(255, 255, 255);" class=""><span
            style="font-variant-ligatures: no-common-ligatures" class=""> 
            0     0    0     0    0     0      0      0 --:--:--
            --:--:-- --:--:--     0</span></div>
        <div style="margin: 0px; font-size: 11px; line-height: normal;
          font-family: Menlo; color: rgb(77, 77, 76); background-color:
          rgb(255, 255, 255);" class=""><span
            style="font-variant-ligatures: no-common-ligatures" class="">curl:
            (35) SSL connect error</span></div>
        <div style="margin: 0px; font-size: 11px; line-height: normal;
          font-family: Menlo; color: rgb(77, 77, 76); background-color:
          rgb(255, 255, 255);" class=""><span
            style="font-variant-ligatures: no-common-ligatures" class="">Failed
            to download <a
              href="https://github.com/technomancy/leiningen/raw/stable/bin/lein"
              class="" moz-do-not-send="true">https://github.com/technomancy/leiningen/raw/stable/bin/lein</a>
            (exit code )</span></div>
        <div style="margin: 0px; font-size: 11px; line-height: normal;
          font-family: Menlo; color: rgb(77, 77, 76); background-color:
          rgb(255, 255, 255);" class=""><span
            style="font-variant-ligatures: no-common-ligatures" class="">It's
            possible your HTTP client's certificate store does not have
            the</span></div>
        <div style="margin: 0px; font-size: 11px; line-height: normal;
          font-family: Menlo; color: rgb(77, 77, 76); background-color:
          rgb(255, 255, 255);" class=""><span
            style="font-variant-ligatures: no-common-ligatures" class="">correct
            certificate authority needed. This is often caused by an</span></div>
        <div style="margin: 0px; font-size: 11px; line-height: normal;
          font-family: Menlo; color: rgb(77, 77, 76); background-color:
          rgb(255, 255, 255);" class=""><span
            style="font-variant-ligatures: no-common-ligatures" class="">out-of-date
            version of libssl. It's also possible that you're behind a</span></div>
        <div style="margin: 0px; font-size: 11px; line-height: normal;
          font-family: Menlo; color: rgb(77, 77, 76); background-color:
          rgb(255, 255, 255);" class=""><span
            style="font-variant-ligatures: no-common-ligatures" class="">firewall
            and haven't set HTTP_PROXY and HTTPS_PROXY.</span></div>
      </div>
      <div style="margin: 0px; font-size: 11px; line-height: normal;
        font-family: Menlo; color: rgb(77, 77, 76); background-color:
        rgb(255, 255, 255);" class=""><span
          style="font-variant-ligatures: no-common-ligatures" class=""><br
            class="">
        </span></div>
      <br class="">
      <div>
        <blockquote type="cite" class="">
          <div class="">On Oct 3, 2018, at 8:10 AM, Wm. Josiah Erikson
            <<a href="mailto:wjerikson@hampshire.edu" class=""
              moz-do-not-send="true">wjerikson@hampshire.edu</a>>
            wrote:</div>
          <br class="Apple-interchange-newline">
          <div class="">
            <meta http-equiv="Content-Type" content="text/html;
              charset=windows-1252" class="">
            <div text="#000000" bgcolor="#FFFFFF" class="">
              <p class="">I think it should work now. I added -1 to the
                curl command line in the lein script to force TLS.</p>
              <p class="">Let me know if it doesn't.<br class="">
              </p>
              <p class="">    -Josiah</p>
              <p class=""><br class="">
              </p>
              <br class="">
              <div class="moz-cite-prefix">On 10/2/18 7:30 PM, Thomas
                Helmuth wrote:<br class="">
              </div>
              <blockquote type="cite"
cite="mid:CABgVVjd+cNuZnvieOqLS+E08CAgK6KHPXx6PU6_vYBV6avbpdw@mail.gmail.com"
                class="">
                <meta http-equiv="content-type" content="text/html;
                  charset=windows-1252" class="">
                <div dir="ltr" class="">
                  <div class="">I don't think I've ever seen the first
                    error before, but I've definitely seen the second, I
                    think on fly. I forget the solution. FWIW, both
                    errors mention HTTP_PROXY.</div>
                  <div class=""><br class="">
                  </div>
                  <div class="">Tom<br class="">
                  </div>
                </div>
                <br class="">
                <div class="gmail_quote">
                  <div dir="ltr" class="">On Tue, Oct 2, 2018 at 5:58 PM
                    Lee Spector <<a
                      href="mailto:lspector@hampshire.edu"
                      moz-do-not-send="true" class="">lspector@hampshire.edu</a>>
                    wrote:<br class="">
                  </div>
                  <blockquote class="gmail_quote" style="margin:0 0 0
                    .8ex;border-left:1px #ccc solid;padding-left:1ex"><br
                      class="">
                    Mostly for Josiah, but sending to the list in case
                    anyone else has insights.<br class="">
                    <br class="">
                    Trying to run Clojure (via leiningen) on Fly for the
                    first time in months, and getting errors.<br
                      class="">
                    <br class="">
                    This feels familiar, but I can't seem to find a past
                    thread in which it was raised/addressed.<br class="">
                    <br class="">
                    If I ssh to a node and cd into a Clojush directory
                    and try to run a demo I get:<br class="">
                    <br class="">
                    [lspector@compute-1-1 clojush-launcher]$ lein run
                    clojush.problems.demos.simple-regression<br class="">
                    Could not transfer artifact
                    com.lowagie:itext:pom:2.1.7 from/to central (<a
                      href="https://repo1.maven.org/maven2/"
                      rel="noreferrer" target="_blank"
                      moz-do-not-send="true" class="">https://repo1.maven.org/maven2/</a>):
                    Received fatal alert: protocol_version<br class="">
                    Could not transfer artifact
                    org.apache.xmlgraphics:batik-svggen:pom:1.8 from/to
                    central (<a href="https://repo1.maven.org/maven2/"
                      rel="noreferrer" target="_blank"
                      moz-do-not-send="true" class="">https://repo1.maven.org/maven2/</a>):
                    Received fatal alert: protocol_version<br class="">
                    Could not transfer artifact
                    org.apache.xmlgraphics:batik-dom:pom:1.8 from/to
                    central (<a href="https://repo1.maven.org/maven2/"
                      rel="noreferrer" target="_blank"
                      moz-do-not-send="true" class="">https://repo1.maven.org/maven2/</a>):
                    Received fatal alert: protocol_version<br class="">
                    This could be due to a typo in :dependencies or
                    network issues.<br class="">
                    If you are behind a proxy, try setting the
                    'http_proxy' environment variable.<br class="">
                    <br class="">
                    Thinking that maybe I needed to upgrade leiningen I
                    tried but got this:<br class="">
                    <br class="">
                    [lspector@compute-1-1 clojush-launcher]$ lein
                    upgrade<br class="">
                    The script at /home/lspector/bin/lein will be
                    upgraded to the latest stable version.<br class="">
                    Do you want to continue [Y/n]? Y<br class="">
                    <br class="">
                    Upgrading...<br class="">
                      % Total    % Received % Xferd  Average Speed 
                     Time    Time     Time  Current<br class="">
                                                     Dload  Upload 
                     Total   Spent    Left  Speed<br class="">
                      0     0    0     0    0     0      0      0
                    --:--:-- --:--:-- --:--:--     0<br class="">
                    curl: (35) SSL connect error<br class="">
                    Failed to download <a
                      href="https://github.com/technomancy/leiningen/raw/stable/bin/lein"
                      rel="noreferrer" target="_blank"
                      moz-do-not-send="true" class="">https://github.com/technomancy/leiningen/raw/stable/bin/lein</a>
                    (exit code )<br class="">
                    It's possible your HTTP client's certificate store
                    does not have the<br class="">
                    correct certificate authority needed. This is often
                    caused by an<br class="">
                    out-of-date version of libssl. It's also possible
                    that you're behind a<br class="">
                    firewall and haven't set HTTP_PROXY and HTTPS_PROXY.<br
                      class="">
                    <br class="">
                    Any thoughts or suggestions?<br class="">
                    <br class="">
                    Thanks,<br class="">
                    <br class="">
                     -Lee<br class="">
                    <br class="">
                    <br class="">
                    --<br class="">
                    Lee Spector, Professor of Computer Science<br
                      class="">
                    Director, Institute for Computational Intelligence<br
                      class="">
                    Hampshire College, Amherst, Massachusetts, 01002,
                    USA<br class="">
                    <a href="mailto:lspector@hampshire.edu"
                      target="_blank" moz-do-not-send="true" class="">lspector@hampshire.edu</a>,
                    <a href="http://hampshire.edu/lspector/"
                      rel="noreferrer" target="_blank"
                      moz-do-not-send="true" class="">http://hampshire.edu/lspector/</a>,
                    413-559-5352<br class="">
                    <br class="">
                    _______________________________________________<br
                      class="">
                    Clusterusers mailing list<br class="">
                    <a href="mailto:Clusterusers@lists.hampshire.edu"
                      target="_blank" moz-do-not-send="true" class="">Clusterusers@lists.hampshire.edu</a><br
                      class="">
                    <a
                      href="https://lists.hampshire.edu/mailman/listinfo/clusterusers"
                      rel="noreferrer" target="_blank"
                      moz-do-not-send="true" class="">https://lists.hampshire.edu/mailman/listinfo/clusterusers</a><br
                      class="">
                  </blockquote>
                </div>
                <br class="">
                <fieldset class="mimeAttachmentHeader"></fieldset>
                <br class="">
                <pre class="" wrap="">_______________________________________________
Clusterusers mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Clusterusers@lists.hampshire.edu" moz-do-not-send="true">Clusterusers@lists.hampshire.edu</a>
<a class="moz-txt-link-freetext" href="https://lists.hampshire.edu/mailman/listinfo/clusterusers" moz-do-not-send="true">https://lists.hampshire.edu/mailman/listinfo/clusterusers</a>
</pre>
              </blockquote>
              <br class="">
              <pre class="moz-signature" cols="72">-- 
-----
Wm. Josiah Erikson
Associate Director of IT for Infrastructure
Network Engineer
System Administrator, School of CS
Hampshire College
Amherst, MA 01002

pronouns: he/him/his</pre>
            </div>
            _______________________________________________<br class="">
            Clusterusers mailing list<br class="">
            <a href="mailto:Clusterusers@lists.hampshire.edu" class=""
              moz-do-not-send="true">Clusterusers@lists.hampshire.edu</a><br
              class="">
            <a
              href="https://lists.hampshire.edu/mailman/listinfo/clusterusers"
              class="" moz-do-not-send="true">https://lists.hampshire.edu/mailman/listinfo/clusterusers</a><br
              class="">
          </div>
        </blockquote>
      </div>
      <br class="">
      <div class="">
        <div style="color: rgb(0, 0, 0); letter-spacing: normal;
          orphans: auto; text-align: start; text-indent: 0px;
          text-transform: none; white-space: normal; widows: auto;
          word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap:
          break-word; -webkit-nbsp-mode: space; -webkit-line-break:
          after-white-space;" class="">
          <div style="color: rgb(0, 0, 0); letter-spacing: normal;
            orphans: auto; text-align: start; text-indent: 0px;
            text-transform: none; white-space: normal; widows: auto;
            word-spacing: 0px; -webkit-text-stroke-width: 0px;
            word-wrap: break-word; -webkit-nbsp-mode: space;
            -webkit-line-break: after-white-space;" class="">
            <div style="color: rgb(0, 0, 0); letter-spacing: normal;
              orphans: auto; text-align: start; text-indent: 0px;
              text-transform: none; white-space: normal; widows: auto;
              word-spacing: 0px; -webkit-text-stroke-width: 0px;
              word-wrap: break-word; -webkit-nbsp-mode: space;
              -webkit-line-break: after-white-space;" class="">
              <div style="color: rgb(0, 0, 0); letter-spacing: normal;
                orphans: auto; text-align: start; text-indent: 0px;
                text-transform: none; white-space: normal; widows: auto;
                word-spacing: 0px; -webkit-text-stroke-width: 0px;
                word-wrap: break-word; -webkit-nbsp-mode: space;
                -webkit-line-break: after-white-space;" class=""><span
                  class="Apple-style-span" style="border-collapse:
                  separate; font-variant-ligatures: normal;
                  font-variant-position: normal; font-variant-numeric:
                  normal; font-variant-alternates: normal;
                  font-variant-east-asian: normal; line-height: normal;
                  border-spacing: 0px;"><span class="Apple-style-span"
                    style="font-size: 12px;">
                    <div style="word-wrap: break-word;
                      -webkit-nbsp-mode: space; -webkit-line-break:
                      after-white-space;" class=""><span
                        class="Apple-style-span" style="border-collapse:
                        separate; color: rgb(0, 0, 0); font-family:
                        Helvetica; font-size: 12px; font-style: normal;
                        font-variant-ligatures: normal;
                        font-variant-position: normal;
                        font-variant-caps: normal; font-variant-numeric:
                        normal; font-variant-alternates: normal;
                        font-variant-east-asian: normal; font-weight:
                        normal; letter-spacing: normal; line-height:
                        normal; orphans: 2; text-indent: 0px;
                        text-transform: none; white-space: normal;
                        widows: 2; word-spacing: 0px; border-spacing:
                        0px; -webkit-text-decorations-in-effect: none;
                        -webkit-text-stroke-width: 0px;">
                        <div style="word-wrap: break-word;
                          -webkit-nbsp-mode: space; -webkit-line-break:
                          after-white-space;" class=""><span
                            class="Apple-style-span"
                            style="border-collapse: separate; color:
                            rgb(0, 0, 0); font-family: Helvetica;
                            font-size: 12px; font-style: normal;
                            font-variant-ligatures: normal;
                            font-variant-position: normal;
                            font-variant-caps: normal;
                            font-variant-numeric: normal;
                            font-variant-alternates: normal;
                            font-variant-east-asian: normal;
                            font-weight: normal; letter-spacing: normal;
                            line-height: normal; orphans: 2;
                            text-indent: 0px; text-transform: none;
                            white-space: normal; widows: 2;
                            word-spacing: 0px; border-spacing: 0px;
                            -webkit-text-decorations-in-effect: none;
                            -webkit-text-stroke-width: 0px;">
                            <div style="word-wrap: break-word;
                              -webkit-nbsp-mode: space;
                              -webkit-line-break: after-white-space;"
                              class=""><span class="Apple-style-span"
                                style="border-collapse: separate; color:
                                rgb(0, 0, 0); font-family: Helvetica;
                                font-size: 12px; font-style: normal;
                                font-variant-ligatures: normal;
                                font-variant-position: normal;
                                font-variant-caps: normal;
                                font-variant-numeric: normal;
                                font-variant-alternates: normal;
                                font-variant-east-asian: normal;
                                font-weight: normal; letter-spacing:
                                normal; line-height: normal; orphans: 2;
                                text-indent: 0px; text-transform: none;
                                white-space: normal; widows: 2;
                                word-spacing: 0px; border-spacing: 0px;
                                -webkit-text-decorations-in-effect:
                                none; -webkit-text-stroke-width: 0px;">
                                <div style="word-wrap: break-word;
                                  -webkit-nbsp-mode: space;
                                  -webkit-line-break:
                                  after-white-space;" class="">
                                  <div style="word-wrap: break-word;
                                    -webkit-nbsp-mode: space;
                                    -webkit-line-break:
                                    after-white-space;" class="">
                                    <div class="">
                                      <div apple-content-edited="true"
                                        style="orphans: auto; widows:
                                        auto;" class="">--</div>
                                      <div apple-content-edited="true"
                                        style="orphans: auto; widows:
                                        auto;" class="">Lee Spector,
                                        Professor of Computer Science</div>
                                      <div apple-content-edited="true"
                                        style="orphans: auto; widows:
                                        auto;" class="">Director,
                                        Institute for Computational
                                        Intelligence<br class="">
                                        Hampshire College, Amherst,
                                        Massachusetts, 01002, USA<br
                                          class="">
                                        <a
                                          href="mailto:lspector@hampshire.edu"
                                          class=""
                                          moz-do-not-send="true">lspector@hampshire.edu</a>,
                                        <a
                                          href="http://hampshire.edu/lspector/"
                                          class=""
                                          moz-do-not-send="true">http://hampshire.edu/lspector/</a>, 413-559-5352</div>
                                    </div>
                                  </div>
                                </div>
                              </span></div>
                          </span></div>
                      </span></div>
                  </span></span></div>
            </div>
          </div>
        </div>
      </div>
      <br class="">
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Clusterusers mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Clusterusers@lists.hampshire.edu">Clusterusers@lists.hampshire.edu</a>
<a class="moz-txt-link-freetext" href="https://lists.hampshire.edu/mailman/listinfo/clusterusers">https://lists.hampshire.edu/mailman/listinfo/clusterusers</a>
</pre>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
Wm. Josiah Erikson
Associate Director of IT, Infrastructure Group
Network Engineer
System Administrator, School of CS
Hampshire College
Amherst, MA 01002
(413) 559-6091
pronouns: he/him/his</pre>
  </body>
</html>