<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <p><br>
    </p>
    <br>
    <div class="moz-cite-prefix">On 01/05/2016 13:31, Kostiantyn
      Rybnikov wrote:<br>
    </div>
    <blockquote
cite="mid:CAAbahfTNYBno7c2L4QByA_CwoVxzP+fnieAjpN7Ah=i45vPcVg@mail.gmail.com"
      type="cite">
      <div dir="ltr">Hi!
        <div><br>
        </div>
        <div>Wanted to upload the 0.8.1 version of hedis, did what I
          usually did, but getting an error. Running "stack -v upload ."
          seems to show some tls-related details.</div>
        <br>
        <div>
          <div>'ghc-options: -Wall -Werror' makes the package very easy
            to break with future GHC versions because new GHC versions
            often add new warnings. Use just 'ghc-options: -Wall'
            instead.</div>
          <div>'ghc-prof-options: -auto-all' is fine during development,
            but not recommended in a distributed package.
             @(stack_2rXRdr1j02iFXWAif5re4K:Stack.SDist
            src/Stack/SDist.hs:285:9)</div>
          <div>Uploading hedis-0.8.1.tar.gz... TlsExceptionHostPort
            (HandshakeFailed (Error_Packet_unexpected "Alert
            [(AlertLevel_Fatal,BadRecordMac)]" " expected: change
            cipher")) "<a moz-do-not-send="true"
              href="http://hackage.haskell.org">hackage.haskell.org</a>"
            443<br>
          </div>
        </div>
      </div>
    </blockquote>
    <br>
    Hi Kostiantyn,<br>
    <br>
    Do you know which version of tls are you using ?<br>
    tls < 1.3.5 that uses ECC have a serialisation bug that shows up
    like this every now and then.<br>
    <br>
    -- <br>
    Vincent<br>
  </body>
</html>