I only encountered this issue on Mac M1 so far. It indeed happens intermittently with probability about 50%.
For some reason sometimes the local network interface resolves to one that doesn't have any hardware address assigned.
I don't know why exactly it's happening, but I suspect it might be related to ZScaler somehow.
Anyway, the workaround that I put in place simply tries to find an suitable network interface (non-virtual, non-lookback, site-local if possible, with MAC assigned). If that doesn't work, the 00:00:00:00:00:00 is returned as a fallback.
fixes #634
I only encountered this issue on Mac M1 so far. It indeed happens intermittently with probability about 50%. For some reason sometimes the local network interface resolves to one that doesn't have any hardware address assigned. I don't know why exactly it's happening, but I suspect it might be related to ZScaler somehow. Anyway, the workaround that I put in place simply tries to find an suitable network interface (non-virtual, non-lookback, site-local if possible, with MAC assigned). If that doesn't work, the
00:00:00:00:00:00
is returned as a fallback.