Code Monkey home page Code Monkey logo

Comments (7)

lambdaTotoro avatar lambdaTotoro commented on August 10, 2024 1

Very good, glad we could resolve it. I'll close the issue, hopefully we'll have a new PyPi release soon.

from nativeauthenticator.

lambdaTotoro avatar lambdaTotoro commented on August 10, 2024

What version of NativeAuthenticator are you using? Current master or PyPi?

from nativeauthenticator.

dr-br avatar dr-br commented on August 10, 2024

Wow, that was a quick reaction.
It is mentioned in the Dockerfile above, which version/distribution the docker image uses: I don't know.
It is the "official" jupyterhub/jupyterhub image.

from nativeauthenticator.

lambdaTotoro avatar lambdaTotoro commented on August 10, 2024

Ah, from your setup, it looks like you're using PyPi version. We've recently fixed a bug that presents like this (see #114 and #115), but there hasn't been a new PyPi release since then.

For a temporary workaround, you could try to install the current master branch instead of the package version.

from nativeauthenticator.

dr-br avatar dr-br commented on August 10, 2024

You mean like so: pip install git+https://github.com/jupyterhub/nativeauthenticator?

Problem solved!

Using master does the trick.
Additionally, the benchmark ab -c100 -n936 http://0.0.0.0:8000/hub/login does not take ~30 seconds, but 1 second.

from nativeauthenticator.

lambdaTotoro avatar lambdaTotoro commented on August 10, 2024

That should do, or otherwise like in the Quickstart Docs (this is how I do it), so like this:

git clone https://github.com/jupyterhub/nativeauthenticator.git
cd nativeauthenticator
pip install -e .

Could you test if either of those resolve your problem?

from nativeauthenticator.

dr-br avatar dr-br commented on August 10, 2024

For other users, here my Dockerfile:

ARG JUPYTERHUB_VERSION=latest
FROM jupyterhub/jupyterhub:${JUPYTERHUB_VERSION}
RUN apt-get update && apt-get install -yq --no-install-recommends git
RUN pip install --no-cache dockerspawner
RUN pip install git+https://github.com/jupyterhub/nativeauthenticator

Thanks @lambdaTotoro for the immediate reply!

from nativeauthenticator.

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.