Push2Run does not re-establish websocket when network interface changes
Posted: Sat Feb 09, 2019 6:28 am
Hi. I Use Push2Run on a laptop. When the laptop is docked, it is using ethernet. When it's not docked, it is using wifi.
When Push2Run starts, it seems to "lock" onto one interface, so when I dock the laptop, Push2Run notices the wifi interface is down, but never attempts to re-establish its websocket on the now active ethernet. This makes Push2Run unusable unless I restart it while docked.
One positive is that when I undock, the wifi interface comes back up, and Push2Run successfully re-establishes the websocket on its own.
It would be nice if Push2Run attempts to re-establish its websocket at periodically so that a change in the network interface does not prevent it from working.
Here's a sample log:
I dock the laptop.
I undock the laptop.
When Push2Run starts, it seems to "lock" onto one interface, so when I dock the laptop, Push2Run notices the wifi interface is down, but never attempts to re-establish its websocket on the now active ethernet. This makes Push2Run unusable unless I restart it while docked.
One positive is that when I undock, the wifi interface comes back up, and Push2Run successfully re-establishes the websocket on its own.
It would be nice if Push2Run attempts to re-establish its websocket at periodically so that a change in the network interface does not prevent it from working.
Here's a sample log:
I dock the laptop.
2019-02-08 16:46:50.078 - Network status is down
2019-02-08 16:46:50.433 - Websocket error
2019-02-08 16:46:50.434 - Unable to read data from the transport connection: An established connection was aborted by the software in your host machine.
2019-02-08 16:46:50.434 - Websocket closed
I undock the laptop.
2019-02-09 03:58:25.314 - Network status is up
2019-02-09 03:58:25.556 - Attempting to reconnect to Pushbullet
2019-02-09 03:58:26.374 - Connection with Pushbullet established
2019-02-09 03:58:26.491 - Connection with Pushbullet established