<div dir="ltr">Actually, sorry, you are right. I've chosen the "1.0.4.2" tag and there stack has lts-5.0 which has tls 1.3.4. Nice catch!</div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, May 2, 2016 at 9:11 AM, Vincent Hanquez <span dir="ltr"><<a href="mailto:tab@snarc.org" target="_blank">tab@snarc.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF" text="#000000"><span class="">
    <p><br>
    </p>
    <br>
    <div>On 01/05/2016 13:31, Kostiantyn
      Rybnikov wrote:<br>
    </div>
    </span><blockquote type="cite">
      <div dir="ltr"><span class="">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>
        </span><span class=""><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 href="http://hackage.haskell.org" target="_blank">hackage.haskell.org</a>"
            443<br>
          </div>
        </div>
      </span></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.<span class="HOEnZb"><font color="#888888"><br>
    <br>
    -- <br>
    Vincent<br>
  </font></span></div>

</blockquote></div><br></div>