# Installing binaries behind zscaler

**URL:** https://discourse.julialang.org/t/installing-binaries-behind-zscaler/21198
**Category:** General Usage
**Created:** [February 26, 2019, 2:39am UTC](https://discourse.julialang.org/t/installing-binaries-behind-zscaler/21198 "2019-02-26T02:39:02Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![xiaodai](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/xiaodai/32/15937_2.png) [@xiaodai](https://discourse.julialang.org/u/xiaodai)
#### Post date: [February 26, 2019, 2:39am UTC](https://discourse.julialang.org/t/installing-binaries-behind-zscaler/21198/1 "2019-02-26T02:39:02Z")

</div>

When trying install package Julia tries to download packages. e.g when installing DataFrames.jl

it tries this

But it fails with

> (v1.0) pkg\> build CodecZlib  
> Building CodecZlib → `C:\Users\L098905\.julia\packages\CodecZlib\DAjXH\deps\bu ild.log`  
> ┌ Error: Error building `CodecZlib`:  
> │ [Info: Downloading [https://github.com/bicycle1885/ZlibBuilder/releases/downlo](https://github.com/bicycle1885/ZlibBuilder/releases/downlo)  
> ad/v1.0.3/Zlib.v1.2.11.x86\_64-w64-mingw32.tar.gz to C:\Users\L098905.julia\pack  
> ages\CodecZlib\DAjXH\deps\usr\downloads\Zlib.v1.2.11.x86\_64-w64-mingw32.tar.gz…  
> .  
> │ ERROR: LoadError: Could not download [https://github.com/bicycle1885/ZlibBuilde](https://github.com/bicycle1885/ZlibBuilde)  
> r/releases/download/v1.0.3/Zlib.v1.2.11.x86\_64-w64-mingw32.tar.gz to C:\Users\L0  
> 98905.julia\packages\CodecZlib\DAjXH\deps\usr\downloads\Zlib.v1.2.11.x86\_64-w64  
> -mingw32.tar.gz:  
> │ ErrorException(“”)  
> │ Stacktrace:  
> │ [1] error(::String) at .\error.jl:33  
> │ [2] #download#93(::Bool, ::Function, ::String, ::String) at C:\Users\L098905  
> .julia\packages\BinaryProvider\4F5Hq\src\PlatformEngines.jl:498  
> │ [3] #download at .\none:0 [inlined]  
> │ [4] #download\_verify#94(::Bool, ::Bool, ::Bool, ::Function, ::String, ::Strin  
> g, ::String) at C:\Users\L098905.julia\packages\BinaryProvider\4F5Hq\src\Platfo  
> rmEngines.jl:567  
> │ [5] #download\_verify at .\none:0 [inlined]  
> │ [6] #install#133(::Prefix, ::String, ::Bool, ::Bool, ::Bool, ::Function, ::St  
> ring, ::String) at C:\Users\L098905.julia\packages\BinaryProvider\4F5Hq\src\Pre  
> fix.jl:314  
> │ [7] (::getfield(BinaryProvider, Symbol(“#kw##install”)))(::NamedTuple{(:prefi  
> x, :force, :verbose),Tuple{Prefix,Bool,Bool}}, ::typeof(install), ::String, ::St  
> ring) at .\none:0  
> │ [8] top-level scope at C:\Users\L098905.julia\packages\CodecZlib\DAjXH\deps  
> build.jl:89  
> │ [9] include at .\boot.jl:317 [inlined]  
> │ [10] include\_relative(::Module, ::String) at .\loading.jl:1044  
> │ [11] include(::Module, ::String) at .\sysimg.jl:29  
> │ [12] include(::String) at .\client.jl:392  
> │ [13] top-level scope at none:0  
> │ in expression starting at C:\Users\L098905.julia\packages\CodecZlib\DAjXH\dep  
> s\build.jl:78  
> │ Exception calling “DownloadFile” with “2” argument(s): “The remote server  
> │ returned an error: (403) Forbidden.”  
> │ At line:5 char:1  
> │ + $webclient.DownloadFile("[Releases · bicycle1885/ZlibBuilder · GitHub](https://github.com/bicycle1885/ZlibBuilder/releases)  
> /  
> │ dow …  
> │ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  
> ~  
> │ ~~~  
> │ + CategoryInfo : NotSpecified: (🙂 , MethodInvocationException  
> │ + FullyQualifiedErrorId : WebException  
> │  
> └ @ Pkg.Operations C:\cygwin\home\Administrator\buildbot\worker\package\_win64\bu  
> ild\usr\share\julia\stdlib\v1.0\Pkg\src\Operations.jl:1097

but when I try to download the files from Chrome this message shows and after a couple of sconds I can download

> The file you attempted to download is being analyzed for your protection. It is not blocked. The analysis can take up to 10 minutes, depending on the size and type of the file.
> 
> If safe, your file downloads automatically.
> 
> If unsafe, the file will be blocked.  
> You tried to download:
> 
> [https://github-production-release-asset-2e65be.s3.amazonaws.com/126450947/1261a800-daf6-11…](https://github-production-release-asset-2e65be.s3.amazonaws.com/126450947/1261a800-daf6-11e8-88b5-bd8154a961f0?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20190226%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20190226T023359Z&X-Amz-Expires=300&X-Amz-Signature=cb5ff12efda8d2fa7bf3fd3d5e6c997d650e5bd7a0d8ccc0f3e342abff5c5631&X-Amz-SignedHeaders=host&actor_id=4497189&response-content-disposition=attachment%3B%20filename%3DZlib.v1.2.11.x86_64-w64-mingw32.tar.gz&response-content-type=application%2Foctet-stream)

> Your organization has selected Zscaler to protect you from internet threats.

Does anyone have any idea how to get around this?

---

<div class="post-metadata">

### Author: ![nilshg](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/nilshg/32/2283_2.png) [@nilshg](https://discourse.julialang.org/u/nilshg)
#### Post date: [February 26, 2019, 1:05pm UTC](https://discourse.julialang.org/t/installing-binaries-behind-zscaler/21198/2 "2019-02-26T13:05:02Z")

</div>

So when I’ve faced issues like this I’ve generally downloaded the file in question into the deps folder of the package myself and ran the build script, which I suppose is the lowest tech solution possible but gets the job done.

I also believe I’ve seen solutions around modifying the time the build script waits for the file to be available but haven’t tried this myself.

---

<div class="post-metadata">

### Author: ![johnh](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/johnh/32/3615_2.png) [@johnh](https://discourse.julialang.org/u/johnh)
#### Post date: [February 26, 2019, 2:11pm UTC](https://discourse.julialang.org/t/installing-binaries-behind-zscaler/21198/3 "2019-02-26T14:11:03Z")

</div>

Hi. We have a zscaler proxy where I work. I just configure my http proxy like this

git config --global http.proxy [http://NN.NN.NN.NN:80](http://NN.NN.NN.NN:80)

git config --global https.proxy [https://NN.NN.NN.NN:443](https://NN.NN.NN.NN:443)

On windows 10 with the edge browser I can download this file  
[https://github.com/bicycle1885/ZlibBuilder/releases/download/v1.0.3/Zlib.v1.2.11.i686-w64-mingw32.tar.gz](https://github.com/bicycle1885/ZlibBuilder/releases/download/v1.0.3/Zlib.v1.2.11.i686-w64-mingw32.tar.gz)

Sorry that I cannot help you - there is probably an option in zscaler which does this security scan

---

<div class="post-metadata">

### Author: ![xiaodai](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/xiaodai/32/15937_2.png) [@xiaodai](https://discourse.julialang.org/u/xiaodai)
#### Post date: [February 27, 2019, 5:00am UTC](https://discourse.julialang.org/t/installing-binaries-behind-zscaler/21198/4 "2019-02-27T05:00:44Z")

</div>

Ok. Where is the deps folder?

---

<div class="post-metadata">

### Author: ![nilshg](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/nilshg/32/2283_2.png) [@nilshg](https://discourse.julialang.org/u/nilshg)
#### Post date: [February 27, 2019, 1:10pm UTC](https://discourse.julialang.org/t/installing-binaries-behind-zscaler/21198/5 "2019-02-27T13:10:37Z")

</div>

Sorry I spoke to soon and on the phone so didn’t check properly - I meant the downloads folder the location of which is in your stack trace, it should be

`C:\Users\L0 98905.julia\packages\CodecZlib\DAjXH\deps\usr\downloads\Zlib.v1.2.11.x86_64-w64`

If you just put the file there and build the package it should work
