CIROH-UA / awi-ciroh-image

CIROH JupyterHub image repository
https://ciroh.awi.2i2c.cloud/
BSD 3-Clause "New" or "Revised" License
2 stars 6 forks source link

HydroShare "OpenWith" capability fails due to authentication bug #50

Closed Castronova closed 8 months ago

Castronova commented 8 months ago

Context

When resources are launched from HydroShare into JupyterHub environments, a library called hydroshare/nbfetch is used to transfer the data. A regression was introduced (we believe from the hsclient library) that causes the data transfer process to fail for both public and private resouces.

Proposal

Install a bug fix for the authentication error in the 2i2c JupyterHub image.

Updates and actions

Re-install the hydroshare/nbfetch server extension from the hspuller-auth branch in the JupyterHub image. This can be done with the following command in the Dockerfile:

RUN pip install -U --no-cache-dir --upgrade-strategy only-if-needed \
    git+https://github.com/hydroshare/nbfetch.git@hspuller-auth \
 && jupyter server extension enable --py nbfetch --sys-prefix
arpita0911patel commented 8 months ago

Fix is deployed in staging env and looks good.

arpita0911patel commented 8 months ago

This is deployed on production env.