Skip to content

Improve the error message when using the latest tokio-console with the old console-subscriber #597

@0xPoe

Description

@0xPoe

In 7c1f9f2, we introduced a new API. And use it in the latest tokio-console.

But if users use the latest tokio-console to connect an old server. It will lead to a connection issue.

For now, it will try to reconnect the server again and again. Maybe we should consider handling this kind of error and suggest to users that they should upgrade their console-subscriber.

The error is: error connecting: Status { code: Unimplemented, metadata: MetadataMap { headers: {"date": "Wed, 06 Nov 2024 01:56:10 GMT", "content-type": "application/grpc", "content-length": "0"} }, source: None }

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions