When gateway is connected to the client and we close the client, it prints errors:
failed to read JSON message: failed to get reader: failed to read frame header: EOF
failed to write JSON message: failed to marshal JSON: failed to write msg: failed to write frame: failed to flush: write tcp 192.168.0.83:41174->88.99.248.50:8878: write: broken pipe
... and keeps running.
When the client is restarted, the gateway does not reconnect.
The expected behavior would be to automatically reconnect. Or at least exit when the connection gets terminated, so the user knows that it needs to be restarted.
When gateway is connected to the client and we close the client, it prints errors:
... and keeps running.
When the client is restarted, the gateway does not reconnect.
The expected behavior would be to automatically reconnect. Or at least exit when the connection gets terminated, so the user knows that it needs to be restarted.