Giter Site home page Giter Site logo

Comments (2)

SamLau95 avatar SamLau95 commented on September 4, 2024

Thanks for bringing this up! We're aware of this issue; it happens when we check for a cached kernel that Binder has shut down for inactivity. We should just catch this error in the JS instead of letting it display a scary looking console message.

from nbinteract.

SamLau95 avatar SamLau95 commented on September 4, 2024

Just took another look and we're catching the errors properly AFAIK but these errors are still showing up. On further investigation, it looks like these errors are automatically logged in the console even when we catch them in the JS: https://bugs.chromium.org/p/chromium/issues/detail?id=124534

It doesn't seem like we can get around this on our endβ€”we have to make a request to Binder to check whether a kernel is still running but that URL returns a 404 if the server was already shut down.

@choldgraf - If there's a Binder API endpoint that returns the status of kernel given its ID we would be able to avoid making requests to nonexistent URLs. I put this as a low priority for me since everything is working as expected aside from some scary-looking console messages on startup.

from nbinteract.

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.