Skip to content

gl-client unrecoverable after network change #521

@JssDWt

Description

@JssDWt

Whenever there's a network change, like switching from wifi to mobile data, gl-client is unable to reconnect to greenlight using the same grpc channel. This means an app using gl-client would have to be killed and restarted to recover.

Related Breez SDK issue here breez/breez-sdk-greenlight#1090

Unfortunately it seems that tonic's Channel doesn't handle reconnection at all: hyperium/tonic#1254
Meaning reconnection logic should be implemented manually in every client package.

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