JupyterLab, prodigy and extension: mixed content issue

Hi,

I try to setup prodigy on a GCP AI platform Notebook (JupyterLab) running together with the JupyterLab extension for prodigy.

Installation is done, prodigy is working.

Prodigy uses protocol http.

JupyterLab uses protocol https and blocks mixed content, so the extension is blocked, too.

Do you have an idea, who this problem can be resolved?

Thanks and Regards,
Sándor

Hi! One option would be to serve Prodigy via HTTPS – for example, by putting a reverse proxy in front of it:

You could also edit the app.py included with Prodigy and add your certificate:

Hi,

thanks for your reply!

At the end we found this solution/workaround (without the extension):

  • define port forwarding with the compute engine, docker image with JupyterLab (port 6006)

  • configure prodigy to use this port

  • start tunneling from my pc (cloud compute --project ppp ssh --zone europe-westx "optimised-container-xxx" --internal-ip -- -L 6006:localhost:6006)

  • open browser with http://localhost:6006

1 Like