Skip to content
This repository was archived by the owner on Dec 20, 2024. It is now read-only.
This repository was archived by the owner on Dec 20, 2024. It is now read-only.

When only loopback is found, provide a clear error message. #1428

@eatwithforks

Description

@eatwithforks

Why you need it?

on my node, the container shows only the loopback address

bash-4.4# ifconfig
lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

so when i start up the supernode server, i get an error message:

Error: peer IP: : {"Code":2,"Msg":"invalid value"}

It would have saved a lot of debugging time if the error message said "Unable to autodetect advertiser ip, please set it via --advertise-ip

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugThis is bug report for project

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions