# openBLAS download with PowerShell failing, with no output

**URL:** <https://travis-ci.community/t/openblas-download-with-powershell-failing-with-no-output/6867>\
**Category:** Windows\
**Tags:** build-env\
**Created:** [January 15, 2020, 1:02pm UTC](https://travis-ci.community/t/openblas-download-with-powershell-failing-with-no-output/6867 "2020-01-15T13:02:12Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![native-api](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/native-api/32/430_2.png) [@native-api](https://travis-ci.community/u/native-api)\
**Post date:** [January 16, 2020, 10:12pm UTC](https://travis-ci.community/t/openblas-download-with-powershell-failing-with-no-output/6867/5 "2020-01-16T22:12:34Z")

</div>

Now, the lack of output is (yet another) manifestation of

> [@Stderr output is shown after the build log rather than inline](https://travis-ci.community/t/stderr-output-is-shown-after-the-build-log-rather-than-inline/5124):
>
> Reported in [Python: os.system("git clone") does not shows any output from command](https://travis-ci.community/t/python-os-system-git-clone-does-not-shows-any-output-from-command/5117). Related: [Stderr tty appears later in log / visual studio build tools + vswhere](https://travis-ci.community/t/stderr-tty-appears-later-in-log-visual-studio-build-tools-vswhere/1594). [Test shows](https://travis-ci.org/native-api/test_travis/builds/586325976) that stdout output is correctly displayed inline, but any stderr output is displayed at the end of the log, after the “Your build exited with…” message: $ which python; python --version python -c 'if True: import subprocess subprocess.check\_call("echo bla-bla-bla", shell=True) subprocess.check\_call("echo bla-b…

* * *

The error message from `DownloadFile` (and then from `Expand-Archive` etc) [can be seen further below in the log](https://travis-ci.com/ICB-DCM/AMICI/jobs/275568973#L452) (I found it searching the [raw log](https://api.travis-ci.com/v3/job/275568973/log.txt) for “`DownloadFile`” after checking locally what an error message from `WebClient.DownloadFile` looks like):

> Exception calling “DownloadFile” with “2” argument(s): “The request was aborted: Could not create SSL/TLS secure channel.”

* * *

Looking up this error message shows that it’s usually solved by [explicitly specifying TLS version(s) for .NET to use](https://stackoverflow.com/questions/36625364/error-connecting-to-ssl-server-using-c-sharp-and-net-4-5).

Alternatively, you can use a more user-friendly web client to download the file like `curl`, `wget` ([which are preinstalled](https://travis-ci.community/t/linking-against-ncurses-no-package-from-chocolately-yet/1030/4)) or Python’s functionality.

---

_[View the full topic](https://travis-ci.community/t/openblas-download-with-powershell-failing-with-no-output/6867)._
