Skip to content

TC400 agent crash when disconnected #987

@BrianJKoopman

Description

@BrianJKoopman

During a network outage this occurs in the agent:

1772556455110   2026-03-03T16:47:35+0000 Error in collecting data: gauge response too short to be valid
1772556458109   2026-03-03T16:47:38+0000 Error in collecting data: gauge response too short to be valid
1772556461112   2026-03-03T16:47:41+0000 Error in collecting data: gauge response too short to be valid
1772556464116   2026-03-03T16:47:44+0000 Error in collecting data: gauge response too short to be valid
1772556466504   2026-03-03T16:47:46+0000 acq:1 CRASH: [Failure instance: Traceback: <class 'serial.serialutil.SerialException'>: read failed: [Errno 113] No route to host
1772556466504   /opt/venv/lib/python3.10/site-packages/twisted/python/threadpool.py:269:inContext
1772556466504   /opt/venv/lib/python3.10/site-packages/twisted/python/threadpool.py:285:<lambda>
1772556466504   /opt/venv/lib/python3.10/site-packages/twisted/python/context.py:117:callWithContext
1772556466504   /opt/venv/lib/python3.10/site-packages/twisted/python/context.py:82:callWithContext
1772556466504   /opt/venv/lib/python3.10/site-packages/ocs/ocs_agent.py:984:_running_wrapper
1772556466504   /opt/venv/lib/python3.10/site-packages/socs/agents/pfeiffer_tc400/agent.py:131:acq
1772556466504   /opt/venv/lib/python3.10/site-packages/socs/agents/pfeiffer_tc400/drivers.py:64:get_turbo_drive_voltage
1772556466504   /opt/venv/lib/python3.10/site-packages/pfeiffer_vacuum_protocol/pfeiffer_vacuum_protocol.py:38:_read_gauge_response
1772556466504   /opt/venv/lib/python3.10/site-packages/serial/urlhandler/protocol_socket.py:178:read
1772556466504   ]
1772556466504   2026-03-03T16:47:46+0000 acq:1 Status is now "done".

socs version: v0.5.8

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions