nut-upsd container eventually goes stale and doesn't restart - Tripp Lite UPS

Created by: nicxvan

4495.562591	Poll UPS [ups@localhost] failed - Data stale
4500.563466	Poll UPS [ups@localhost] failed - Data stale
4505.564242	Poll UPS [ups@localhost] failed - Data stale
4510.565056	Poll UPS [ups@localhost] failed - Data stale

Current docker compose setup

  nutups:
    container_name: nut_ups
    restart: always
#    build:
#      context: ./containers/nutupsd
    image: instantlinux/nut_upsd:latest
    environment:
      - vendorid=09ae
      - desc="Tripp Lite SMART1500LCD"
    network_mode: host
    ports:
      - 3493:3493
    devices:
      - /dev/usb/hiddev0:/dev/usb/hiddev0
    privileged: true
    secrets:
      - nut-upsd-password
secrets:
  nut-upsd-password:
    file: ./nutpass

Restarting the container manually allows the values to be read again.