You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As long as there's a network connection during startup, you will get output like this:
...
Set up a broadcast beacon to w.x.y.z:5670
When you disable your network connection, you will get the following output:
Network seems gone, exiting zbeacon
(in addition, if the network was not available during startup, there's an exception in prepare_udp)
The corresponding actor exits and sends shim_pipe.signal() (i.e. a single part message), but PyreNode ignores this. In particular, this happens here:
def recv_beacon(self):
# Get IP address and beacon of peer
try:
ipaddress, frame = self.beacon_socket.recv_multipart()
except ValueError:
return
I don't see a way to work around this while still using the Pyre class, and I'm not sure about the proper fix. Is a node without a beacon useful, or is that a reason for shutting the Node down?
The text was updated successfully, but these errors were encountered:
To illustrate, run this:
As long as there's a network connection during startup, you will get output like this:
When you disable your network connection, you will get the following output:
(in addition, if the network was not available during startup, there's an exception in
prepare_udp
)The corresponding actor exits and sends
shim_pipe.signal()
(i.e. a single part message), but PyreNode ignores this. In particular, this happens here:I don't see a way to work around this while still using the Pyre class, and I'm not sure about the proper fix. Is a node without a beacon useful, or is that a reason for shutting the Node down?
The text was updated successfully, but these errors were encountered: