axelarnetwork / tofnd

A gRPC server wrapper for the https://github.com/axelarnetwork/tofn library.
Apache License 2.0
25 stars 10 forks source link

Clarify "Address already in use (os error 98)" error message #268

Closed ggutoski closed 3 months ago

ggutoski commented 2 years ago

Run tofnd on a system with tofnd already running:

$ tofnd
Please type your tofnd password:

Error: Address already in use (os error 98)

This error message is confusing. Address already in use does not appear in tofnd code base.

Talal's diagnosis is that the new tofnd process is trying to bind to a port that's already in use by the existing tofnd process. This error message is from the OS.

We should add some colour to OS error messages.

milapsheth commented 3 months ago

moved to jira