Giter Club home page Giter Club logo

Comments (5)

hainm avatar hainm commented on June 28, 2024

and the page refreshing took about 5-10 seconds.

from binder.

andrewosh avatar andrewosh commented on June 28, 2024

Thanks for opening up an issue for this one @hainm. The problem here is that we're checking if the notebook container is running by seeing if Kubernetes has assigned its pod an IP. This is a fairly fast check (5-10s), but on occasion it assigns the IP before the container has fully launched, leading to the error. We can also check if the pod is in the "Ready" state, which is guaranteed to be correct, but takes considerably longer.

An intermediate fix for this problem is to add javascript to the "Proxy target error" page, so that it automatically refreshes. That should be very quick to add, so we should have a fix in soon.

from binder.

rgbkrk avatar rgbkrk commented on June 28, 2024

An intermediate fix for this problem is to add javascript to the "Proxy target error" page, so that it automatically refreshes. That should be very quick to add, so we should have a fix in soon.

I've been wishing for something better to override in this for the config proxy as well. 👍

from binder.

minrk avatar minrk commented on June 28, 2024

I just added support for custom error pages in CHP, so you can specify what it does instead of the "Proxy target missing" message. If you guys want to give that a try, I'll cut a release if it seems like it's working.

from binder.

andrewosh avatar andrewosh commented on June 28, 2024

The proxy server has been updated to use the the custom error pages @minrk added to the CHP, so this issue should be resolved in d2a949b (the 503 error page should auto-refresh).

from binder.

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.