Re: Terraform download fails

"Bastian Eicher" <[email protected]> Thu, 16 Mar 2017 18:51:00 +0100
Newsgroups gmane.comp.file-systems.zero-install.devel
Message-ID <[email protected]>
Hi Philip,

 

thanks for reporting this problem. It turns out that the .NET Framework does
not use TLS 1.2 by default while HashiCorp’s servers only support TLS 1.2.
You can see the same behavior if you for example run this in PowerShell:

Invoke-WebRequest -Uri
https://releases.hashicorp.com/terraform/0.8.8/terraform_0.8.8_windows_amd64
.zi

P

 

Fortunately this relatively easy to fix in code. I’ll have this resolved in
the next Zero Install for Windows release, which hopefully should be soon.

 

Regards

Bastian

 

From: [email protected]
[mailto:[email protected]] 
Sent: Dienstag, 14. März 2017 19:53
To: [email protected]
Subject: [Zero-install-devel] Terraform download fails

 

Bastian,

I can’t add
https://releases.hashicorp.com/terraform/0.8.8/terraform_0.8.8_windows_amd64
.zip

 

To the following feed with Zero Install publishing tools.

For some reason the download fails, even though I can download the file.

 

Is this a bug or is there something wrong with Hashicorp’s server?

 

Also is there a way to create a menu item to open a command prompt with a
program in the path?

My attempt only runs the exe and closes right away.

Thanks,

 

Phil

 

<?xml version="1.0" encoding="utf-8"?>

<?xml-stylesheet type="text/xsl" href="feed.xsl"?>

<interface xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://zero-install.sourceforge.net/2004/injector/interf
ace http://0install.de/schema/injector/interface/interface.xsd
http://0install.de/schema/desktop-integration/capabilities
http://0install.de/schema/desktop-integration/capabilities/capabilities.xsd"
xmlns="http://zero-install.sourceforge.net/2004/injector/interface">

  <name>Terraform</name>

  <summary xml:lang="en">Infrastructure as code</summary>

  <description xml:lang="en">Terraform provides a common configuration to
launch infrastructure — from physical and virtual servers to email and DNS
providers. Once launched, Terraform safely and efficiently changes
infrastructure as the configuration is evolved.

 

Simple file based configuration gives you a single view of your entire
infrastructure.</description>

  <icon href="https://www.terraform.io/assets/images/favicon-fcd08c40.png"
type="image/png" />

  <category>Development</category>

  <homepage>https://www.terraform.io/
<https://www.terraform.io/%3c/homepage> </homepage>

  <needs-terminal />

   <implementation arch="Windows-x86_64" version="0.8.2" license="MPL
(Mozilla Public License)"
id="sha1new=39c57e6dfe7bfa9adac1ea9bac1650757dfbba63">

    <command name="run" path="terraform.exe" />

    <manifest-digest sha1new="39c57e6dfe7bfa9adac1ea9bac1650757dfbba63"
sha256="f8f95383b0e694b1605d5b7e0150e62ad20fc5b7dd66171a63305ecd129140a8"
sha256new="7D4VHA5Q42KLCYC5LN7ACUHGFLJA7RNX3VTBOGTDGBPM2EURICUA" />

    <archive
href="https://releases.hashicorp.com/terraform/0.8.2/terraform_0.8.2_windows
_amd64.zip" size="20675476" type="application/zip" />

  </implementation>

  <implementation arch="Windows-i386" version="0.8.2" license="MPL (Mozilla
Public License)" id="sha1new=4edf2601b3b71070de2d5de1090e99a59ca89182">

    <command name="run" path="terraform.exe" />

    <manifest-digest sha1new="4edf2601b3b71070de2d5de1090e99a59ca89182"
sha256="d9a798003e2c2f891b35d9fec62e04da9b8238009875870d5287b6a1ceb2511c"
sha256new="3GTZQAB6FQXYSGZV3H7MMLQE3KNYEOAATB2YODKSQ63KDTVSKEOA" />

    <archive
href="https://releases.hashicorp.com/terraform/0.8.2/terraform_0.8.2_windows
_386.zip" size="18729377" type="application/zip" />

  </implementation>

  <implementation arch="Windows-x86_64" version="0.7.0" license="MPL
(Mozilla Public License)"
id="sha1new=83eeccae0aa8b6672884f2b4b7d8ae064ea41b95">

    <command name="run" path="terraform.exe" />

    <manifest-digest sha1new="83eeccae0aa8b6672884f2b4b7d8ae064ea41b95"
sha256="ed044ac64c4ac527dd1a5e23db8380d70d0bbe962dd01f1e08c3d1753c5c0197"
sha256new="5UCEVRSMJLCSPXI2LYR5XA4A24GQXPUWFXIB6HQIYPIXKPC4AGLQ" />

    <archive
href="https://releases.hashicorp.com/terraform/0.7.0/terraform_0.7.0_windows
_amd64.zip" size="19230839" type="application/zip" />

  </implementation>

  <implementation arch="Windows-i386" version="0.7.0" license="MPL (Mozilla
Public License)" id="sha1new=e1edf1bef171687ff523c169b0d3a686f18513cd">

    <command name="run" path="terraform.exe" />

    <manifest-digest sha1new="e1edf1bef171687ff523c169b0d3a686f18513cd"
sha256="eaaae5bb37ab23efdc8b12a82a7293e4212be3f70c5de352c659ba7011db63cd"
sha256new="5KVOLOZXVMR67XELCKUCU4UT4QQSXY7XBRO6GUWGLG5HAEO3MPGQ" />

    <archive
href="https://releases.hashicorp.com/terraform/0.7.0/terraform_0.7.0_windows
_386.zip" size="17271263" type="application/zip" />

  </implementation>

  <entry-point command="run" binary-name="terraform">

    <needs-terminal />

  </entry-point>

  <capabilities
xmlns="http://0install.de/schema/desktop-integration/capabilities">

    <context-menu id="terraform" target="directories">

      <verb name="terraform" command="run" args="--cd=&quot;%1&quot;">

        <description xml:lang="en">Terraform Command Prompt
Here</description>

      </verb>

    </context-menu>

  </capabilities>

</interface>

<!-- Base64 Signature

iF4EABECAAYFAlhuusoACgkQhHiGJv6FcjmxKQD8C9YUH6tG7kYGEo5kLvXAK6fdNog514Uz3ybx
qhvNULkA/iy7Vs4DfpFDzQLn7x9cNipajABliKDzqClvckrghZgT

 

-->

Philip Miess
Sr. Software Test Engineer

Phone: (585) 327-6195

 <mailto:[email protected]> [email protected]

50 Broad Street

Rochester, NY 14694

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot

_______________________________________________
Zero-install-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/zero-install-devel