jupyterlab-s3-browser
jupyterlab-s3-browser copied to clipboard
S3 browser empty UI widget after installation
Describe the bug Running the elyra/elyra:3.14.3 image on docker and having installed the jupyterlab-s3-browser using the guide in the readme-file I get an empty widget.
- Install container on docker:
docker run -p 8888:8888 elyra/elyra:3.14.3 - Open elyra on localhost
http://127.0.0.1:8888/lab - Open a terminal in the elyra interface.
- Install browser plugin with
pip install jupyterlab-s3-browser - enable browser plugin with
jupyter serverextension enable --py jupyterlab_s3_browser - Reload page
I get an empty widget instead of the bucket config UI i expected.

In the container i can see the following lines:
[W 2023-03-14 14:31:39.683 ServerApp] 404 GET /api/me?1678804299678 (192.168.255.1) 2.07ms referer=http://127.0.0.1:8888/lab
[W 2023-03-14 14:31:40.833 ServerApp] 404 GET /jupyterlab_s3_browser/auth?1678804300830 (192.168.255.1) 1.54ms referer=http://127.0.0.1:8888/lab
[W 2023-03-14 14:31:40.877 ServerApp] 404 GET /jupyterlab_s3_browser/files?1678804300848 (192.168.255.1) 7.58ms referer=http://127.0.0.1:8888/lab
Expected behavior A UI letting me put in credentials for bucket storage.
**Desktop **
- OS: Windows 10
- Browser chrome / edge
- Version of
jupyterlab-s3-browserextension: 0.10.0
Has there been a breaking change version regarding the elyra/jupyter api?
After some research it looks like one of the jupyterlab-s3-browser dependencies has a breaking change.
Cryptography has removed the method OpenSSL_add_all_algorithms in the 39.0.0 version.
https://cryptography.io/en/latest/changelog/#v39-0-0
I fixed this by installing cryptography 38.0.4 with
RUN pip install cryptography==38.0.4
RUN pip install jupyterlab-s3-browser
RUN jupyter serverextension enable --py jupyterlab_s3_browser
OR, probably prefered solution
RUN pip install pyopenssl --upgrade
RUN pip install jupyterlab-s3-browser
RUN jupyter serverextension enable --py jupyterlab_s3_browser
Hope that helps.
/P
@paah-scb Tried your suggestion (jupyterLab Version 3.0.16). Still no result. Continues to show empty widget.
@KrishnaPG ,
Try to install this version of the exntension
jupyterlab-s3-browser==0.11.1
and in case the problem still persists, add this version of boto3 -> boto3==1.17.106
Seeing this same issue when trying to use the jupyterlab-s3-browser (v0.12.0) extension in JupyterLab (v4.0.3)
- Installed JupyterHub in Kubernetes using the Zero to JupyterHub Helm charts
helm install hub jupyterhub/jupyterhub -f config.yaml - Opened JupyterLab on localhost
http://localhost/user/edgardo%20antuna/lab - Opened Terminal in JupyterLab interface
- Install browser plugin with
pip install jupyterlab-s3-browser - Enable browser plugin with
jupyter serverextension enable --py jupyterlab_s3_browser - Reload page
I am also getting an empty widget instead of the expected widget contents
When inspecting the network console I am also seeing the 404 HTTP Errors
I tried the suggestions in this thread, like downgrading the cryptography==38.0.4 and jupyterlab-s3-browser==0.11.1 versions, but no luck. Getting the same result.
pip install cryptography==38.0.4
pip install jupyterlab-s3-browser
jupyter serverextension enable --py jupyterlab_s3_browser
pip install jupyterlab-s3-browser==0.11.1
jupyter serverextension enable --py jupyterlab_s3_browser
Expected behavior The "Object Storage Browser" shows the expected contents shown in the README file.
Environment
- Tested both in AWS EKS and local desktop Minikube Kubernetes
- OS: Red Hat Enterprise Linux
- JupyterLab Version 4.0.3
- Browser Chrome version 118.0.5993.71 (Official Build) (64-bit)
- Version of jupyterlab-s3-browser extension: 0.12.0 & 0.11.1
Is this issue due to an incompatibility between the latest jupyterlab-s3-browser extension (v0.12.0) and JupyterLab (v4.0.3)?