# HTTP 403 Error on v14 install

**URL:** <https://www.rubin.community/t/http-403-error-on-v14-install/2359>\
**Category:** Support\
**Tags:** stack-install\
**Created:** [November 2, 2017, 2:32pm UTC](https://www.rubin.community/t/http-403-error-on-v14-install/2359 "2017-11-02T14:32:31Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![mhollima](https://avatars.discourse-cdn.com/v4/letter/m/a587f6/32.png) [@mhollima](https://www.rubin.community/u/mhollima)\
**Post date:** [November 2, 2017, 2:32pm UTC](https://www.rubin.community/t/http-403-error-on-v14-install/2359/1 "2017-11-02T14:32:31Z")

</div>

I’m trying to install the v14 pipelines on a Jupyterhub server here in Edinburgh, but I’m getting an HTTP 403 error on the following URL: [http://conda.lsst.codes/stack/0.14.0/linux-64/](http://conda.lsst.codes/stack/0.14.0/linux-64/)

I’m following the install instructions here: [https://pipelines.lsst.io/install/newinstall.html](https://pipelines.lsst.io/install/newinstall.html)

I also tried the install using conda (which is more ideal for my setup as I’d like the pipelines to end up in the same Python environment as the rest of the Jupyter/Jupyterhub setup), but the instructions are gone: [https://pipelines.lsst.io/install/conda.html](https://pipelines.lsst.io/install/conda.html) and it also results in the same 403 error as the [newinstall.sh](http://newinstall.sh) method. Is conda still supported as an installation method? And if so, when will it be available for v14?

---

<div class="post-metadata">

**Author:** ![josh](https://sea2.discourse-cdn.com/flex002/user_avatar/www.rubin.community/josh/32/72_2.png) [@josh](https://www.rubin.community/u/josh)\
**Post date:** [November 2, 2017, 5:34pm UTC](https://www.rubin.community/t/http-403-error-on-v14-install/2359/2 "2017-11-02T17:34:13Z")

</div>

May I ask where that URL came from? It is not present in our `14.0` documentation and is not used by `newinstall`.

Conda packaging of LSST DM software was dropped after the `13.0` release as it wasn’t part of the developer workflow. This meant that changes in EUPS dependencies and new products would often result in the conda package build breaking. The conda package build was also attempting to replace EUPS packaged software with the official conda equivalent. This was also causing breakage as occasionally the official conda package was built (or rebuilt by upstream) differently than the EUPS equivalent or in some cases, was outright broken. At the time, the official conda packages were produced on centos 5 and some of our software needed patching to build on this platform, as it isn’t officially supported and not CI’d. The result was it took over a month of labor to produce the `13.0` conda package build. The conclusion was that conda packaging wasn’t sustainable unless it became the primary developer build mechanism. Our architecture team decided not to make that change.

We are producing EUPS tarball binary builds on a weekly (and unofficially, daily) basis. We also publish docker images from the EUPS tarballs into the `docker.io` registry weekly (and daily):

[https://hub.docker.com/r/lsstsqre/centos/tags/](https://hub.docker.com/r/lsstsqre/centos/tags/)

The `14.0` release image is

`docker.io/lsstsqre/centos:7-stack-lsst_distrib-v14_0`

Eg.

`docker run -ti docker.io/lsstsqre/centos:7-stack-lsst_distrib-v14_0`

These images are the base for our own jupyterlab images.

---

<div class="post-metadata">

**Author:** ![adam](https://sea2.discourse-cdn.com/flex002/user_avatar/www.rubin.community/adam/32/868_2.png) [@adam](https://www.rubin.community/u/adam)\
**Post date:** [November 2, 2017, 7:28pm UTC](https://www.rubin.community/t/http-403-error-on-v14-install/2359/3 "2017-11-02T19:28:24Z")

</div>

You may find [https://github.com/lsst-sqre/jupyterlabdemo](https://github.com/lsst-sqre/jupyterlabdemo) of interest. If you want to install the LSST Stack on a JupyterHub Kubernetes environment, it’ll be quite helpful.

---

<div class="post-metadata">

**Author:** ![mhollima](https://avatars.discourse-cdn.com/v4/letter/m/a587f6/32.png) [@mhollima](https://www.rubin.community/u/mhollima)\
**Post date:** [November 3, 2017, 9:19am UTC](https://www.rubin.community/t/http-403-error-on-v14-install/2359/4 "2017-11-03T09:19:51Z")

</div>

I’m not sure where that URL is coming from. I assumed it’s in the script, but it doesn’t appear to be there. Here’s my exact terminal output as I follow the instructions:

root@lsstuk3:/opt/lsst\_2# curl -OL [https://raw.githubusercontent.com/lsst/lsst/14.0/scripts/newinstall.sh](https://raw.githubusercontent.com/lsst/lsst/14.0/scripts/newinstall.sh)  
% Total % Received % Xferd Average Speed Time Time Time Current  
Dload Upload Total Spent Left Speed  
100 28093 100 28093 0 0 189k 0 --:–:-- --:–:-- --:–:-- 190k  
root@lsstuk3:/opt/lsst\_2# bash [newinstall.sh](http://newinstall.sh) -ct

# LSST Software Stack Builder

curl: (23) Failed writing body (757 != 2759)  
!!! This script differs from the official version on the distribution  
server. If this is not intentional, get the current version from here:  
[https://raw.githubusercontent.com/lsst/lsst/master/scripts/newinstall.sh](https://raw.githubusercontent.com/lsst/lsst/master/scripts/newinstall.sh)  
Detected git version 2.11.0. OK.

In addition to Python 2 (\>=2.7) or 3 (\>=3.5), some LSST  
packages depend on recent versions of numpy, matplotlib, and scipy. If you  
do not have all of these, the installation may fail. Using the Miniconda  
Python distribution will ensure all these are set up.

Would you like us to install the Miniconda Python distribution (if  
unsure, say yes)?yes  
######################################################################## 100.0%  
Fetching package metadata …

CondaHTTPError: HTTP 403 Forbidden  
for url [http://conda.lsst.codes/stack/0.14.0/linux-64/repodata.json](http://conda.lsst.codes/stack/0.14.0/linux-64/repodata.json)

The channel you requested is not available on the remote server.

You will need to adjust your conda configuration to proceed.  
Use `conda config --show` to view your configuration’s current state.  
Further configuration help can be found at [http://conda.pydata.org/docs/config.html](http://conda.pydata.org/docs/config.html).

---

<div class="post-metadata">

**Author:** ![mhollima](https://avatars.discourse-cdn.com/v4/letter/m/a587f6/32.png) [@mhollima](https://www.rubin.community/u/mhollima)\
**Post date:** [November 3, 2017, 9:22am UTC](https://www.rubin.community/t/http-403-error-on-v14-install/2359/5 "2017-11-03T09:22:01Z")

</div>

I’ve seen the Kubernetes/Jupyterlab demo stuff, thanks. It doesn’t apply to my case though as we’re not running Kubernetes or Open Stack. I’m just trying to get a working Jupyterhub installation on a bare metal machine that has the lsst stack loaded into the notebooks by default.

---

<div class="post-metadata">

**Author:** ![ktl](https://sea2.discourse-cdn.com/flex002/user_avatar/www.rubin.community/ktl/32/1373_2.png) [@ktl](https://www.rubin.community/u/ktl)\
**Post date:** [November 5, 2017, 3:19am UTC](https://www.rubin.community/t/http-403-error-on-v14-install/2359/6 "2017-11-05T03:19:09Z")

</div>

Can you please run the suggested `conda config --show`? I suspect that you have an outdated conda channel in your configuration that is being searched while installing normal conda packages. Removing that may fix things.

---

<div class="post-metadata">

**Author:** ![mhollima](https://avatars.discourse-cdn.com/v4/letter/m/a587f6/32.png) [@mhollima](https://www.rubin.community/u/mhollima)\
**Post date:** [November 7, 2017, 10:24am UTC](https://www.rubin.community/t/http-403-error-on-v14-install/2359/7 "2017-11-07T10:24:16Z")

</div>

root@lsstuk3:~# conda config --show  
add\_anaconda\_token: True  
add\_pip\_as\_python\_dependency: True  
allow\_non\_channel\_urls: True  
allow\_softlinks: False  
always\_copy: False  
always\_softlink: False  
always\_yes: False  
anaconda\_upload: None  
auto\_update\_conda: True  
changeps1: True  
channel\_alias: [https://conda.anaconda.org](https://conda.anaconda.org)  
channel\_priority: True  
channels:

- http//conda.lsst.codes/stack/0.14.0
- defaults  
client\_ssl\_cert: None  
client\_ssl\_cert\_key: None  
clobber: False  
create\_default\_packages: []  
custom\_channels:  
pkgs/main: https//repo.continuum.io/  
pkgs/free: https//repo.continuum.io/  
pkgs/r: https//repo.continuum.io/  
pkgs/pro: https//repo.continuum.io/  
custom\_multichannels:  
defaults: [“https//repo.continuum.io/pkgs/main”, “https//repo.continuum.io/pkgs/free”, “https//repo.continuum.io/pkgs/r”, “https//repo.continuum.io/pkgs/pro”]  
local: []  
default\_channels:
- https//repo.continuum.io/pkgs/main
- https//repo.continuum.io/pkgs/free
- https//repo.continuum.io/pkgs/r
- https//repo.continuum.io/pkgs/pro  
disallow: []  
envs\_dirs:
- /opt/lsst\_stack/python/miniconda3-4.3.21/envs
- /root/.conda/envs  
force: False  
json: False  
local\_repodata\_ttl: 1  
migrated\_channel\_aliases: []  
non\_admin\_enabled: True  
offline: False  
path\_conflict: clobber  
pinned\_packages: []  
pkgs\_dirs:
- /opt/lsst\_stack/python/miniconda3-4.3.21/pkgs
- /root/.conda/pkgs  
proxy\_servers: {}  
quiet: False  
remote\_connect\_timeout\_secs: 9.15  
remote\_max\_retries: 3  
remote\_read\_timeout\_secs: 60.0  
rollback\_enabled: True  
shortcuts: True  
show\_channel\_urls: None  
ssl\_verify: True  
track\_features: []  
use\_pip: True  
verbosity: 0

---

<div class="post-metadata">

**Author:** ![mhollima](https://avatars.discourse-cdn.com/v4/letter/m/a587f6/32.png) [@mhollima](https://www.rubin.community/u/mhollima)\
**Post date:** [November 7, 2017, 10:25am UTC](https://www.rubin.community/t/http-403-error-on-v14-install/2359/8 "2017-11-07T10:25:16Z")

</div>

(I had to remove the ‘:’ from some of the URLs to post that as the content was getting blocked. But all the URLs are complete in the original output)

---

<div class="post-metadata">

**Author:** ![timj](https://sea2.discourse-cdn.com/flex002/user_avatar/www.rubin.community/timj/32/10_2.png) [@timj](https://www.rubin.community/u/timj)\
**Post date:** [November 7, 2017, 5:30pm UTC](https://www.rubin.community/t/http-403-error-on-v14-install/2359/9 "2017-11-07T17:30:31Z")

</div>

> [@mhollima](#):
>
> I had to remove the ‘:’ from some of the URLs to post that as the content was getting blocked.

I think if you used code mode for the post it would have been fine. That’s three backticks at the start and at the end.

> [@mhollima](#):
>
> http//conda.lsst.codes/stack/0.14.0

You do not want that channel to be active.
