Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
This repository was archived by the owner on Nov 15, 2023. It is now read-only.

Telemetry --name value with a period causes substrate to error with InvalidListenMultiaddress #6497

@brandon-at-wrk

Description

@brandon-at-wrk

Behavior

If I specify then telemetry --name flag with any value including a period, such as .notadomain, the value prevents the substrate server from starting. Skimming the source didn't indicate to me if this is intentional.

Expectation

I could specify any value containing a period, including a domain name, as the --name flag.
or
I would receive a less ambiguous error indicating that the telemetry name for a node cannot contain a period and any other restrictions.

Replication

substrate binary

docker run parity/substrate:latest --name="test.com"
# ....other logs
# Error: InvalidListenMultiaddress

Also affects polkadot

docker run parity/polkadot:latest --name="test.com"
# Error: InvalidListenMultiaddress

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