Git Product home page Git Product logo

Comments (3)

danlester avatar danlester commented on September 24, 2024 1

From memory I think maybe_future will turn non-asyncio futures (e.g. concurrent.futures.Future) into an asyncio future.

Actually the problem isn't as complicated as it sounds - it's really just down to the limitations of the way authentication is built into Tornado, and this is a workaround by the Jupyter team. But it just feels a shame to rewrite some of the Tornado auth just in order to avoid these logs... But I think it will come out as a side effect of other features in the future anyway.

from jhsingle-native-proxy.

danlester avatar danlester commented on September 24, 2024

Thanks for the report, but actually this is expected behavior!

It is due to a necessary workaround in some of the core JupyterHub code here.

I have some plans to make this redundant though, and in the meantime, I will document it to avoid worrying users.

However, of course this error message should just show up in the logs but not impede the Dashboard. Please could I ask, in your case is there ultimately a problem with the dashboard? (Or did you just notice the error in the logs and it caused concern even though there were no apparent side effects?)

from jhsingle-native-proxy.

fcollonval avatar fcollonval commented on September 24, 2024

Thanks for the reply @danlester

However, of course this error message should just show up in the logs but not impede the Dashboard. Please could I ask, in your case is there ultimately a problem with the dashboard? (Or did you just notice the error in the logs and it caused concern even though there were no apparent side effects?)

Indeed there was at the end no problem to display the dashboard. I saw it looking at the logs.

I remember seeing maybe_future in some jupyter packages. But I don't know if it is appropriate here - and I'm unsure it is compatible with asyncio.

from jhsingle-native-proxy.

Related Issues (18)

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.