Skip to content

No error promise returned from the connection or attempts to reload. #1501

@danrossi

Description

@danrossi

There seems to be an issue with the connection reload. When failing to connect to a relay that is down, there is no error promise returned or attempts to reconnect. It just hangs. I require an error signal to be able to fallback to other sources.

Anything past thing line is not run. Including within the catch to reload. A reload signal is needed also to determine how many times to try before failing. The connection status is not updated either.

https://github.com/moq-dev/moq/blob/main/js/net/src/connection/reload.ts#L111

https://jsfiddle.net/danrossi303/df7j4hmt/20/

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions