Skip to content

Console warning on startup: Could not encrypt access token Error: No token: not attempting encryption #26589

@richvdh

Description

@richvdh

Steps to reproduce

  1. Open console
  2. Reload element
  3. Observe warning:
 Could not encrypt access token Error: No token: not attempting encryption
    persistTokenInStorage tokens.ts:131
    persistRefreshTokenInStorage tokens.ts:195
    persistCredentials Lifecycle.ts:899
    doSetLoggedIn Lifecycle.ts:863
    restoreFromLocalStorage Lifecycle.ts:623
    loadSession Lifecycle.ts:204
    loadSession MatrixChat.tsx:544

Outcome

What did you expect?

Less warnings

What happened instead?

warnings

Operating system

No response

Browser information

No response

URL for webapp

No response

Application version

No response

Homeserver

No response

Will you send logs?

Yes

Metadata

Metadata

Assignees

No one assigned

    Labels

    O-UncommonMost users are unlikely to come across this or unexpected workflowS-MinorImpairs non-critical functionality or suitable workarounds existT-Defect

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions