Code Monkey home page Code Monkey logo

Comments (2)

ivan-khvostishkov avatar ivan-khvostishkov commented on May 24, 2024

Hi, @airlangga-gunawan-faculty , you've made a very good observation, which is already partially addressed in the README with a small remark about Dask:

note, that Dask web app may not work properly through Jupyter Proxy, so VNC is the recommended alternative

I believe that the cause of this issue is the Code Server web app that that wasn't designed to work through the Jupyter Proxy, same as the Dask web app. Its configuration expect that your webserver is always serving files from the root path /. Some web apps that I've seen have this path configurable in their settings and it's best to consult developers of each app and ask them to make it configurable, if it's not possible yet.

I've also seen some attempts by @giuseppeporcelli and other colleagues to make it configurable for the code server in https://github.com/aws-samples/amazon-sagemaker-codeserver , but I'm not sure if it's stable enough (it's the code sample, too, that you should test by yourself).

If neither of above recommendations work, I recommend to switch to WebVNC or run a standalone local VS Code application and connect to the kernel gateway through SSH and remote development capability.

Alternatively, you may also want to connect to the KernelGateway app directly from your local machine, bypassing the need in JupyterServer app, this is how the code server will be available from your browser through port forwarding at http://localhost:3000/

from sagemaker-ssh-helper.

airlangga-gunawan-faculty avatar airlangga-gunawan-faculty commented on May 24, 2024

Hi Ivan, thanks for the reply.

I've managed to get code-server to run on the KernelGateway app now - turns out I was trying to get coder to work and not code-server.

However, I'm still struggling to get Dagster to run on the KernelGateway environment, but I now believe this to be an issue with Dagster and dagster-webserver more than it is a problem with Sagemaker and the ssh helper.

Thanks!

from sagemaker-ssh-helper.

Related Issues (20)

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.