Skip to content

Expired JWT in Python Proxy #3611

@ddimaria

Description

@ddimaria

Describe the bug

A team member recently changed the JWT timeout to 5 minutes, which exposed an issue with Python request proxies. We got the JWT when opening the code editor. When the editor was open for more than 5 minutes, the API call would fail.

Expected behavior

Making an API call after the editor is open for 5 minutes doesn't fail. JavaScript should be fine.

Reproduction

Steps to reproduce the behavior:

  1. Create a Python code cell
  2. Make an API request, should be fine (keep code editor open
  3. Wait 10 minutes (or at least 5)
  4. Make the API request again

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    Status

    No status

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions