If a device sends a Bye-message, the watchdog reacts according to logging ("must bark"), but no calls to the deviceRemoved-methods are noticed. On restart of the same device it remains unavailable, the newDeviceAvailable-methods are not triggered.
The handling of the bye seems to block within "handleDeviceLeftNetwork" in class DefaultMDPWSClientAdapter, when the devRef.getDevice() call happens. The DefaultDeviceReference might try to contact the device again ...
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Could you provide the debug output?
The handling of the bye seems to block within "handleDeviceLeftNetwork" in class DefaultMDPWSClientAdapter, when the devRef.getDevice() call happens. The DefaultDeviceReference might try to contact the device again ...