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
#!/bin/bash# Default portsDEFAULT_INBOUND_PORT="51823"DEFAULT_OUTBOUND_PORT="51822"# Parse input argumentsINBOUND_PORT=${1:-$DEFAULT_INBOUND_PORT} # First argument: Inbound port, defaults to 51823OUTBOUND_PORT=${2:-$DEFAULT_OUTBOUND_PORT} # Second argument: Outbound port, defaults to 51822# Start socat forwardingecho"Starting socat to forward inbound port $INBOUND_PORT to outbound port $OUTBOUND_PORT"socatTCP-LISTEN:$INBOUND_PORT,reuseaddr,forkTCP:127.0.0.1:$OUTBOUND_PORT
inbound port is the one that dealers (client and monitor) connect to and outbound is the one that is bind by router.
The following was tested:
[x] Lose connection
All was able to recover. Nevertheless this impacted monitor too and thus the events to the GUI were not sent, while all the job dispatchers events were resent when re-enabling connection again.
We should stress test zmq with "faulty" network before zmq is provide to stable version. The testing should include the following scenarios:
Or combinations of the above ideally.
@EJahren suggested a nice library that could be exploited https://vaurien.readthedocs.io/en/1.8/This library only supports python 2.7There are other alternatives:
The text was updated successfully, but these errors were encountered: