Add clear error message when siad cannot bind to a port.
Created by: tbenz9
Feature Request
Add a clear error message if the gateway fails to start because of address already in use
. This would require a small amount of error parsing in the gateway module, and an additional message to the user if that particular error is found.
For example:
I think bind address already in use; are you running another instance of siad?
would be clear enough.
Background information:
tbenz9: I've seen a lot of GitHub issues and support requests come through lately with the "bind: address already in use" error. How hard would it be to add a check into Sia that fails gracefully with a clear error message if a siad process is already running? Nemo: In theory that shouldn't be too difficult. Just need to check for that specific error and then print a more helpful error instead of just forwarding it to the user