Skip to content

Missing broadcast rooms should not crash Raiden #6212

Closed
@ulope

Description

@ulope

Problem Definition

Raiden needs several Matrix broadcast rooms (discovery, pfs, ms) to work.
These are being created server-side which means that a misconfigured server or one just joining the federation may not have these (yet).

Currently this leads to a crash with a RaidenUnrecoverableError

In cases where the user explicitly selected a matrix server (via config file or cli option) this is fine.

However when Raiden is autoselecting a server it's problematic since the user may not easily get out of this situation if the misconfigured server is consistently the 'fastest' during server selection.

Possible solutions

Unfortunately in the current architecture sever selection is performed at initialization time while login and broadcast room joining is done at start. This means it's not straightforward so re-select another server.

Some testing would need to be done how and if this can be solved straight forward.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions