Skip to content

Infinite loop of keys/query #2252

Open
Open
@grawity

Description

@grawity

Describe the bug

Today I opened Cinny at https://app.cinny.in, after having tried it briefly like a year ago and then having not used it for a very long time. It remained at the "Heating up" spinner for probably half an hour. Checking using the Firefox DevTools, I saw that it was repeatedly making POST queries to _matrix/client/v3/keys/query, getting a 401 error "Invalid access token passed", and immediately retrying the exact same query again and again.

Image

(I tried clearing "Local Storage" via DevTools, then logging in again (which resulted in a "Failed to load. the account in the store doesn't match the account in the constructor: expected @grawity:matrix.org:DIPBHQNGTU, got @grawity:matrix.org:VJBTFUVZRX", then I realized I also had to clear "Indexed DB", and then I was able to properly log in again.)

Reproduction

No response

Expected behavior

The program should recognize a 401 error and probably log out the user, allowing them to log in from scratch (or at least not get stuck in an infinite loop).

Platform and versions

Firefox 135.0 on Arch Linux, using app.cinny.in

Additional context

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions