Git Product home page Git Product logo

Comments (4)

leungi avatar leungi commented on September 21, 2024

Same issue.

Running jupyter container stand-alone is not working either.

PS P:\> docker run jupyter
Set username to: jovyan
usermod: no changes
Executing the command: jupyter lab --LabApp.token='' --LabApp.ip='0.0.0.0' --LabApp.allow_origin='same'
[I 21:17:46.519 LabApp] Writing notebook server cookie secret to /home/jovyan/.local/share/jupyter/runtime/notebook_cookie_secret
[W 21:17:46.700 LabApp] All authentication is disabled.  Anyone who can connect to this server will be able to run code.
[I 21:17:46.709 LabApp] JupyterLab extension loaded from /opt/conda/lib/python3.7/site-packages/jupyterlab
[I 21:17:46.709 LabApp] JupyterLab application directory is /opt/conda/share/jupyter/lab
[I 21:17:46.711 LabApp] Serving notebooks from local directory: /home/jovyan
[I 21:17:46.711 LabApp] The Jupyter Notebook is running at:
[I 21:17:46.711 LabApp] http://dcbdccf63bfb:8888/
[I 21:17:46.711 LabApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).

Trying localhost:8888 or using the listed http://dcbdccf63bfb:8888/ above doesn't load jupyter.

from datascience-portal.

rkingdc avatar rkingdc commented on September 21, 2024

Sorry about the slow response here! I never got a notification about this. I haven't looked at this in a while, but I remember seeing this issue too. I was able to track down and understand the issue, but not the fix. If you open up developer tools and wand watch the requests that get made when you launch the jupyter app, you can see that the first request is to a jupyter endpoint than then issues a HTTP 300 redirect. The URL to redirect to isn't constructed correctly, since jupyter is expecting a relative URL.

I think that a fix could be implemented in the nginx config file to make sure that the redirect writes the URL correctly, but I was never able to figure out what that fix is. If you know any nginx wizards, I'd guess they could fix this fairly easily.

from datascience-portal.

leungi avatar leungi commented on September 21, 2024

Thanks for looking into @rkingdc; with reference to #2, it seems we both have issues with running Jupyter in shinyproxy.

I'll let you decide if you want to close this 😊

from datascience-portal.

zhiboz avatar zhiboz commented on September 21, 2024

any update on this? I'm hitting 404 error when trying to launch jupyterlab as well.

from datascience-portal.

Related Issues (2)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.