-
Notifications
You must be signed in to change notification settings - Fork 93
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] - jhub-apps entering loop of failed requests #2861
Comments
@aktech do you have any idea about what might be going on here? |
This is due to the latest release of PyJWT being incompatible with older version, which broke the authentication and hence infinite login loop. See: nebari-dev/jhub-apps#510 (comment) It was fixed last week here: nebari-dev/jhub-apps#532 I'll create new release for jhub-apps now, to tackle this in nebari, this would also require a new release of docker images. |
Thanks @marcelovilla @aktech! |
The new release is out now (had to iron out some UI bugs): https://pypi.org/project/jhub-apps/2024.11.1/ |
The above PR is merged and can be used by referencing the image tags to As for the previous release, I think the best course of action is to just re-tag the |
I just moved the |
This can be closed now. |
As @aktech mentioned, this was addressed in nebari-dev/jhub-apps#532. We included a new version of jhub-apps in the latest Nebari release (i.e., 2024.12.1), so this is not an issue anymore. |
Describe the bug
@marcelovilla found an issue with the latest release (
2024.11.1
). When users visit/hub
, they get stuck in a loop of failed requests:Peek.22-11-2024.20-32.mov
Examining the browser’s console logs reveals that all requests to
services/japps/user
andservices/japps/spawner-profiles
are returning401 Unauthenticated
errors.After a quick debugging, the error seems to originate from the current docker images, relabeling and pushing new Docker images from the previous release should resolve the issue for that version. -- It’s possible that the
build-and-push
action targeted the wrong branch during the build process.We observed the same behavior on both GCP and AWS deployments using the
2024.11.1
images. I was also able to reproduce the issue on a local deployment frommain
, which means that the problem isn’t limited to this release and might be related to the update ofjhub-apps
to2024.10.1
.Required actions:
2024.9.1
docker image as2024.11.1
(this might be a manual process)Expected behavior
user should be able to access the /hub pages successfully when using jhub-appsUser
OS and architecture in which you are running Nebari
Linux
How to Reproduce the problem?
Deploy nebari on local using
2024.11.1
ormain
, since this is likely a problem with the images, just using the current image in any recent release of nebari might also trigger the problem.Command output
No response
Versions and dependencies used.
No response
Compute environment
None
Integrations
No response
Anything else?
After checking the git history for the Docker images and the Nebari source code, the only significant change was upgrading
jupyterlab
from version4.2.5
to4.2.6
.To see the differences between the image versions, I used diffoci with this command:
diffoci diff quay.io/nebari/nebari-jupyterhub:2024.9.1 quay.io/nebari/nebari-jupyterhub:2024.11.1 --platform=linux/amd64 > report.diff
The same diff reported the same version of
jhub-apps
in both images, so I am not entirely sure how the deployment ended up in such state.Also, the actual build logs for both images corroborate the above:
2024.11.1
2024.9.1
The text was updated successfully, but these errors were encountered: