Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • S support requests
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 8
    • Issues 8
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • jupyterhub-paris-saclay
  • support requests
  • Issues
  • #26
Closed
Open
Issue created Sep 21, 2021 by Nicolas Thiéry@nicolas.thiery1Owner

OAuth cookie expiring, causing "Forbidden" errors upon saving files

Symptoms:

  • In the notebook: saving failed, showing a "Forbidden" error
  • In the logs:
[I 2021-09-21 09:28:50.206 SingleUserNotebookApp log:189] 200 GET /jupyter/user/xxx@yyy/api/contents/M1%20ISMH?type=directory&_=1632215401
727 (xxx@yyy@127.0.0.1) 2.69ms
[W 2021-09-21 10:26:16.081 SingleUserNotebookApp auth:314] No Hub user identified for request
[W 2021-09-21 10:26:16.082 SingleUserNotebookApp auth:552] Token stored in cookie may have expired
[W 2021-09-21 10:26:16.082 SingleUserNotebookApp zmqhandlers:275] Couldn't authenticate WebSocket connection

This may be related to the OAuth cookie improvement in JupyterHub 1.4. So upgrading from our current 1.3 to 1.4 as soon as it is released might fix the problem.

Potential mitigation: avoid long sessions? Explicitly doing a Control-Panel -> Stop my server, say during lunch breaks?

cc: @marcol480, @marchal

Assignee
Assign to
Time tracking