<div dir="ltr">Thanks Michael, all seems well with the world again.<div><br></div><div>Cheers,</div><div><br></div><div>David</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On 3 February 2016 at 12:49, Michael Snoyman <span dir="ltr"><<a href="mailto:michael@snoyman.com" target="_blank">michael@snoyman.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Sorry about that, I brought it up in issue #150[1] and had thought that cabal-install was no longer a limiting factor on forcing SSL connections. I've just added a workaround that disables the redirect for tarballs, so that it should still work with cabal-install, while granting most users the security guarantees of using SSL. I believe this will be a sufficient workaround, but I'd appreciate if you could test and confirm that this fixes the problem for you.<div><br></div><div>[1] <a href="https://github.com/fpco/stackage-server/issues/150" target="_blank">https://github.com/fpco/stackage-server/issues/150</a></div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Feb 3, 2016 at 2:13 PM, David Turner <span dir="ltr"><<a href="mailto:dct25-561bs@mythic-beasts.com" target="_blank">dct25-561bs@mythic-beasts.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi,<div><br></div><div>Overnight there seems to have been a change to stackage where it's now issuing redirects from http to https URLs:</div><div><br></div><div><div><font face="monospace, monospace">~$ cabal update</font></div><div><font face="monospace, monospace">Downloading the latest package list from stackage-lts-2.22</font></div><div><font face="monospace, monospace">Warning: http error: Unable to handle redirect, unsupported scheme:</font></div><div><font face="monospace, monospace"><a href="https://www.stackage.org/snapshot/lts-2.22/00-index.tar.gz" target="_blank">https://www.stackage.org/snapshot/lts-2.22/00-index.tar.gz</a></font></div><div><font face="monospace, monospace">cabal: Failed to download</font></div><div><font face="monospace, monospace"><a href="http://www.stackage.org/snapshot/lts-2.22/00-index.tar.gz" target="_blank">http://www.stackage.org/snapshot/lts-2.22/00-index.tar.gz</a> : ErrorMisc "Error</font></div><div><font face="monospace, monospace">HTTP code: 301"</font></div></div><div><br></div><div><br></div><div>My cabal doesn't seem to like https and I think it's a recentish version:</div><div><br></div><div><div><font face="monospace, monospace">$ cabal --version</font></div><div><font face="monospace, monospace">cabal-install version 1.22.0.0</font></div><div><font face="monospace, monospace">using version 1.22.0.0 of the Cabal library</font></div></div><div><br></div><div>I'm probably using a bit of an old workflow (and I know that LTS-2 is pretty old too) but is there any simple way of getting this working again?</div><div><br></div><div>Cheers,</div></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>