diff --git a/README.md b/README.md index 95291ad..5bcbe35 100644 --- a/README.md +++ b/README.md @@ -84,3 +84,16 @@ localhost:8080/api/stats/SYMBOL ![client screen shot](doc/clientss.png) ![web screen shot](doc/webss.png) ![lit screen shot](doc/litss.png) + +# Common issues + +## Error: `route ip+net: no such network interface` + +This error is most likely caused because `got_settings` is configured by default as `multicast_intf=lo0`. + +The lo0 interface is a loopback interface on Unix-based systems, but it might not be named lo0 on all systems. On Linux, it's usually named lo. On macOS and some BSD systems, it might be named lo0. + +Ensure that the lo0 interface exists on your system. You can list network interfaces using: + +- Linux/macOS: `ifconfig` or `ip a` +- Windows: `ipconfig /all` diff --git a/internal/exchange/marketdata.go b/internal/exchange/marketdata.go index ac748d2..c8cc265 100644 --- a/internal/exchange/marketdata.go +++ b/internal/exchange/marketdata.go @@ -257,7 +257,7 @@ func startMarketData() { } _intf, err := net.InterfaceByName(intf) if err != nil { - panic("unable to read multicast interface") + panic(err) } fmt.Println("publishing marketdata at", saddr)