MicroStrategy / mstrio-py

Python integration for MicroStrategy
Apache License 2.0
90 stars 60 forks source link

Microstrategy widget is not loading when base-url is given #71

Closed saratparameswar closed 3 years ago

saratparameswar commented 3 years ago

Hello Team, I created a docker image using the Dockerfile in the following repository - link to repository I can see the jupyter widget when I am launching the instance using the following docker command.

docker run -it --rm -p 8888:8888 venv_image_1 jupyter-lab --ip=0.0.0.0 --port=8888

whenever I defines a base url, static files are not loading and widget is broken. See the command which causing the issue.

docker run -it --rm -p 8888:8888 venv_image_1 jupyter-lab --ServerApp.base_url=/test-sarath --NotebookApp.base_url=/test-sarath-nbk --ip=0.0.0.0 --port=8888

I assume, The base URL is causing the issue - The same issue happens when we try to launch a binderhub instance - because binderhub appends base-url. Please see the issue link which is already raised few days back Issue-link

Please help.

console-log-1

saratparameswar commented 3 years ago

Hi @apiotrowskiMicroStrategy @scottrigney Sorry to bother you. Could you please have a look.. Please correct me if I missed anything.

urszulajaczewska commented 3 years ago

Hi @saratparameswar, frontend in docker is not supported but mstrio-py backend should work fine.