Skip to content

Multiple cookie errors on startup #1343

@JasonWeill

Description

@JasonWeill

Description

When JupyterLab-Git is enabled, on startup, it tries to fetch a significant number of .png files, each named after a GitHub user, from github.com. Each request fails because of three cookie requests, for _gh_sess, _octo, and logged_in, all with the same text: "Cookie “[name]” has been rejected because it is in a cross-site context and its “SameSite” is “Lax” or “Strict”." This produces errors in the browser console.

In the screenshot below, the GitHub usernames are redacted out of privacy concerns.

image

Reproduce

  1. Enable JupyterLab-Git.
  2. Start JupyterLab.

Expected behavior

No errors in console.

Context

Found while investigating jupyterlab/jupyterlab#16667.

  • Python package version: 0.50.1
  • Extension version: 0.50.1
  • Git version: 2.39.3 (Apple Git-146)
  • Operating System and its version: macOS "Sonoma" 14.6.1 (23G93)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions