Skip to content

probelms with DT and chromaticity calculations on ACCML #43

Open

Description

@marlibgin2

my attempt at running
apptainer run oras://registry.hzdr.de/digital-twins-for-accelerators/containers/pyat-softioc-digital-twin:default-v0-5-1-bessy.2711893

which results with a lot of errors.
I have tried the SOLEIL apptainer and it responded well,so one can finally open the ATK gui.

2026-02-02T17:22:52.043147829 ERR pvxs.tcp.io Client [::ffff:127.0.0.1]:58312 Protocol decode fault. Force disconnect.
2026-02-02T17:22:52.044646990 ERR pvxs.tcp.io connection to Client [::ffff:127.0.0.1]:58336 closed with socket error 104 : Connection reset by peer
0000 : 00000114 FFFFFFFF
2026-02-02T17:22:52.045431375 ERR pvxs.tcp.io Client [::ffff:127.0.0.1]:58352 Protocol decode fault. Force disconnect.
2026-02-02T17:22:52.047177072 ERR pvxs.tcp.io connection to Client [::ffff:127.0.0.1]:58366 closed with socket error 104 : Connection reset by peer
executor.join(1)
File "/twin/python/venv/lib/python3.12/site-packages/pymongo/periodic_executor.py", line 211, in join
self._thread.join(timeout)
File "/usr/lib/python3.12/threading.py", line 1151, in join
self._wait_for_tstate_lock(timeout=max(timeout, 0))
File "/usr/lib/python3.12/threading.py", line 1167, in _wait_for_tstate_lock
if lock.acquire(block, timeout):
0000 : 00000114 FFFFFFFF
2026-02-02T17:22:52.048451840 ERR pvxs.tcp.io Client [::ffff:127.0.0.1]:58380 Protocol decode fault. Force disconnect.
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
KeyboardInterrupt:
2026-02-02T17:22:52.050737317 ERR pvxs.tcp.io connection to Client [::ffff:127.0.0.1]:58400 closed with socket error 104 : Connection reset by peer
2026-02-02T17:22:52.052018973 ERR pvxs.tcp.io connection to Client [::ffff:127.0.0.1]:58414 closed with socket error 104 : Connection reset by peer
2026-02-02T17:22:52.052937974 ERR pvxs.tcp.io connection to Client [::ffff:127.0.0.1]:58428 closed with socket error 104 : Connection reset by peer
2026-02-02T17:22:52.053977638 ERR pvxs.tcp.io connection to Client [::ffff:127.0.0.1]:58434 closed with socket error 104 : Connection reset by peer
0000 : 00000114 FFFFFFFF
2026-02-02T17:22:52.055511582 ERR pvxs.tcp.io Client [::ffff:127.0.0.1]:58438 Protocol decode fault. Force disconnect.

Another thing is that I would like to run bessy2-chroma.py, but I have some errors. Any hint welcome

(pyat_conda) [marapo@accdev-0 BESSY2_example]$ python bessy2-chroma.py
02 Feb% 2026, 17:47:44 | WARNING | PyAML OA control system binding (0.1.1) initialized with name 'live' and prefix='a3744:'
Traceback (most recent call last):
File "/home/marapo/.conda/envs/pyat_conda/lib/python3.11/site-packages/ophyd_async/epics/core/_signal.py", line 52, in
from ._aioca import CaSignalBackend
File "/home/marapo/.conda/envs/pyat_conda/lib/python3.11/site-packages/ophyd_async/epics/core/_aioca.py", line 11, in
from aioca import (
ModuleNotFoundError: No module named 'aioca'

Activity

  1. PierreSchnizer commented on Feb 3, 2026

    @PierreSchnizer
    Member

    I think you need to install the module aioca

    python3 -m pip install aioca

  2. PierreSchnizer commented on Feb 3, 2026

    @PierreSchnizer
    Member

    Background:

    • EPICS provides 2 transport layers

      • channel access (its first version, focused on exchanging scalars and vectors of scalar)
      • pv access focused on exchanging data types
    • There different python packages providing implementation of the protocol

      • p4p which is MIchael Davidsaver's wrapper of his pvxs library
      • aioca which is the asynchronous access library provided by Diamond Light Source

    TL:DR: please install aioca and p4p. Please check the installation ends up in the environment used

  3. marlibgin2 commented on Feb 3, 2026

    @marlibgin2
    Author
  4. PierreSchnizer commented on Feb 3, 2026

    @PierreSchnizer
    Member

    please could you show me the full back trace?

  5. PierreSchnizer commented on Feb 3, 2026

    @PierreSchnizer
    Member

    No there should be no need to restart the digital twin

  6. marlibgin2 commented on Feb 3, 2026

    @marlibgin2
    Author

    Hi Pierre, backtrace of the errors.

    /gpfs/offline1/staff/common/marapo/pyAML_WORKSHOP_2026/accml/src
    [marapo@accdev-0 src]$ apptainer run oras://registry.hzdr.de/digital-twins-for-accelerators/containers/pyat-softioc-digital-twin:default-v0-5-1-bessy.2711893
    INFO: Downloading oras image
    254.9MiB / 254.9MiB [======================================================================================] 100 % 3.4 MiB/s 0s
    Environment variable MONGODB_URL is not defined, using default: mongodb://localhost:27017/bessyii
    2026-02-03 12:16:27,629 - WARNING - Environment variable MONGODB_URL is not defined, using default: mongodb://localhost:27017/bessyii
    WARNING:dt4acc:Environment variable MONGODB_URL is not defined, using default: mongodb://localhost:27017/bessyii
    matplotlib is unavailable => plotting is disabled.
    To enable plotting functions, run "pip install matplotlib".
    Environment variable MONGODB_URL is not defined, using default: mongodb://localhost:27017/bessyii
    /twin/python/venv/lib/python3.12/site-packages/pydantic/_internal/_config.py:383: UserWarning: Valid config keys have changed in V2:

    • 'allow_population_by_field_name' has been renamed to 'validate_by_name'
    • 'schema_extra' has been renamed to 'json_schema_extra'
      warnings.warn(message, UserWarning)
      2026-02-03 12:16:32,045 - INFO - Starting Twiss calculation (get_optics)
      INFO:dt4acc:Starting Twiss calculation (get_optics)
      2026-02-03 12:16:32,323 - INFO - Starting orbit calculation (find_orbit)
      INFO:dt4acc:Starting orbit calculation (find_orbit)
      2026-02-03 12:16:32,359 - WARNING - AcceleratorManager initialized successfully.
      WARNING:dt4acc:AcceleratorManager initialized successfully.
      Python 3.12.3 (main, Jan 8 2026, 11:30:50) [GCC 13.3.0] on linux
      Type "help", "copyright", "credits" or "license" for more information.
      (InteractiveConsole)

    2026-02-03 12:16:33,528 - WARNING - All pvs set up
    WARNING:dt4acc:All pvs set up
    INFO: PVXS QSRV2 is loaded, permitted, and ENABLED.
    Starting iocInit
    ############################################################################

    EPICS 7.0.10.1-DEV

    Rev. 7.0.10.99.0.0

    Rev. Date 7.0.10.99.0.0

    ############################################################################
    iocRun: All initialization complete
    2026-02-03 12:16:34,380 - WARNING - VS3P2T5R:set_current updating setpoint val=0.001
    WARNING:dt4acc:VS3P2T5R:set_current updating setpoint val=0.001
    2026-02-03 12:16:34,385 - WARNING - VS3P2T5R:set_current updating setpoint val=0.0
    WARNING:dt4acc:VS3P2T5R:set_current updating setpoint val=0.0
    2026-02-03 12:16:34,389 - WARNING - Heartbeat loop initial start or it was terminated unexpectedly. Restarting...
    WARNING:dt4acc:Heartbeat loop initial start or it was terminated unexpectedly. Restarting...
    2026-02-03 12:16:34,389 - INFO - Heart beat loop executing at 2026-02-03 12:16:34.389183
    INFO:dt4acc:Heart beat loop executing at 2026-02-03 12:16:34.389183
    2026-02-03 12:16:34,489 - INFO - Starting orbit calculation (find_orbit)
    INFO:dt4acc:Starting orbit calculation (find_orbit)
    2026-02-03 12:16:34,535 - WARNING - CalculationResultView Orbit pushing view orbit result is none ? False
    WARNING:dt4acc:CalculationResultView Orbit pushing view orbit result is none ? False
    2026-02-03 12:16:34,536 - INFO - Starting Twiss calculation (get_optics)
    INFO:dt4acc:Starting Twiss calculation (get_optics)
    2026-02-03 12:16:34,784 - INFO - Orbit pushed view
    INFO:dt4acc:Orbit pushed view
    2026-02-03T12:16:34.814804300 ERR pvxs.tcp.io connection to Client [::ffff:127.0.0.1]:45902 closed with socket error 104 : Connection reset by peer
    2026-02-03T12:16:34.816328446 ERR pvxs.tcp.io connection to Client [::ffff:127.0.0.1]:45906 closed with socket error 104 : Connection reset by peer
    2026-02-03T12:16:34.818705949 ERR pvxs.tcp.io connection to Client [::ffff:127.0.0.1]:45932 closed with socket error 104 : Connection reset by peer
    2026-02-03T12:16:34.819661860 ERR pvxs.tcp.io connection to Client [::ffff:127.0.0.1]:45946 closed with socket error 104 : Connection reset by peer
    2026-02-03T12:16:34.821740350 ERR pvxs.tcp.io connection to Client [::ffff:127.0.0.1]:45974 closed with socket error 104 : Connection reset by peer
    0000 : 00000114 FFFFFFFF
    2026-02-03T12:16:34.822741239 ERR pvxs.tcp.io Client [::ffff:127.0.0.1]:45980 Protocol decode fault. Force disconnect.
    2026-02-03T12:16:34.829697601 ERR pvxs.tcp.io connection to Client [::ffff:127.0.0.1]:45998 closed with socket error 104 : Connection reset by peer
    2026-02-03T12:16:34.830771384 ERR pvxs.tcp.io connection to Client [::ffff:127.0.0.1]:46012 closed with socket error 104 : Connection reset by peer
    2026-02-03T12:16:34.832360437 ERR pvxs.tcp.io connection to Client [::ffff:127.0.0.1]:46026 closed with socket error 104 : Connection reset by peer
    2026-02-03T12:16:34.833327719 ERR pvxs.tcp.io connection to Client [::ffff:127.0.0.1]:46034 closed with socket error 104 : Connection reset by peer
    2026-02-03T12:16:34.834951442 ERR pvxs.tcp.io connection to Client [::ffff:127.0.0.1]:46064 closed with socket error 104 : Connection reset by peer
    2026-02-03T12:16:34.835723788 ERR pvxs.tcp.io connection to Client [::ffff:127.0.0.1]:46066 closed with socket error 104 : Connection reset by peer
    2026-02-03T12:16:34.837110109 ERR pvxs.tcp.io connection to Client [::ffff:127.0.0.1]:46096 closed with socket error 104 : Connection reset by peer
    0000 : 00000114 FFFFFFFF
    2026-02-03T12:16:34.837981971 ERR pvxs.tcp.io Client [::ffff:127.0.0.1]:46102 Protocol decode fault. Force disconnect.
    0000 : 00000114 FFFFFFFF
    2026-02-03T12:16:34.840276484 ERR pvxs.tcp.io Client [::ffff:127.0.0.1]:46122 Protocol decode fault. Force disconnect.
    0000 : 00000114 FFFFFFFF
    2026-02-03T12:16:34.840363608 ERR pvxs.tcp.io Client [::ffff:127.0.0.1]:46124 Protocol decode fault. Force disconnect.
    2026-02-03T12:16:34.842184230 ERR pvxs.tcp.io connection to Client [::ffff:127.0.0.1]:46148 closed with socket error 104 : Connection reset by peer
    2026-02-03T12:16:34.843253387 ERR pvxs.tcp.io connection to Client [::ffff:127.0.0.1]:46160 closed with socket error 104 : Connection reset by peer
    2026-02-03T12:16:34.843769932 ERR pvxs.tcp.io connection to Client [::ffff:127.0.0.1]:46170 closed with socket error 104 : Connection reset by peer
    2026-02-03T12:16:34.845227535 ERR pvxs.tcp.io connection to Client [::ffff:127.0.0.1]:46178 closed with socket error 104 : Connection reset by peer
    2026-02-03T12:16:34.845989485 ERR pvxs.tcp.io connection to Client [::ffff:127.0.0.1]:46190 closed with socket error 104 : Connection reset by peer
    0000 : 00000114 FFFFFFFF
    2026-02-03T12:16:34.847472848 ERR pvxs.tcp.io Client [::ffff:127.0.0.1]:46202 Protocol decode fault. Force disconnect.
    2026-02-03T12:16:34.848620484 ERR pvxs.tcp.io connection to Client [::ffff:127.0.0.1]:46216 closed with socket error 104 : Connection reset by peer
    2026-02-03T12:16:34.850203106 ERR pvxs.tcp.io connection to Client [::ffff:127.0.0.1]:46236 closed with socket error 104 : Connection reset by peer
    0000 : 00000114 FFFFFFFF
    2026-02-03T12:16:34.851842324 ERR pvxs.tcp.io Client [::ffff:127.0.0.1]:46246 Protocol decode fault. Force disconnect.
    2026-02-03 12:16:34,853 - WARNING - Pushed bpm / orbit data
    WARNING:dt4acc:Pushed bpm / orbit data
    2026-02-03T12:16:34.859369250 ERR pvxs.tcp.io connection to Client [::ffff:127.0.0.1]:46270 closed with socket error 104 : Connection reset by peer
    2026-02-03T12:16:34.860399282 ERR pvxs.tcp.io connection to Client [::ffff:127.0.0.1]:46284 closed with socket error 104 : Connection reset by peer
    2026-02-03T12:16:34.862197176 ERR pvxs.tcp.io connection to Client [::ffff:127.0.0.1]:46288 closed with socket error 104 : Connection reset by peer
    0000 : 00000114 FFFFFFFF
    2026-02-03T12:16:34.863134893 ERR pvxs.tcp.io Client [::ffff:127.0.0.1]:46304 Protocol decode fault. Force disconnect.
    2026-02-03T12:16:34.864477345 ERR pvxs.tcp.io connection to Client [::ffff:127.0.0.1]:46318 closed with socket error 104 : Connection reset by peer
    2026-02-03T12:16:34.865444096 ERR pvxs.tcp.io connection to Client [::ffff:127.0.0.1]:46322 closed with socket error 104 : Connection reset by peer
    2026-02-03T12:16:34.884242642 ERR pvxs.tcp.io connection to Client [::ffff:127.0.0.1]:46336 closed with socket error 104 : Connection reset by peer
    0000 : 00000114 FFFFFFFF
    2026-02-03T12:16:34.885031868 ERR pvxs.tcp.io Client [::ffff:127.0.0.1]:46344 Protocol decode fault. Force disconnect.
    2026-02-03T12:16:34.887938264 ERR pvxs.tcp.io connection to Client [::ffff:127.0.0.1]:46368 closed with socket error 104 : Connection reset by peer
    2026-02-03T12:16:34.890767793 ERR pvxs.tcp.io connection to Client [::ffff:127.0.0.1]:46384 closed with socket error 104 : Connection reset by peer

    KeyboardInterrupt

    2026-02-03T12:16:34.898821484 ERR pvxs.tcp.io connection to Client [::ffff:127.0.0.1]:46400 closed with socket error 104 : Connection reset by peer
    2026-02-03T12:16:34.900106801 ERR pvxs.tcp.io connection to Client [::ffff:127.0.0.1]:46416 closed with socket error 104 : Connection reset by peer
    0000 : 00000114 FFFFFFFF
    2026-02-03T12:16:34.903341387 ERR pvxs.tcp.io Client [::ffff:127.0.0.1]:46434 Protocol decode fault. Force disconnect.
    0000 : 00000114 FFFFFFFF
    2026-02-03T12:16:34.903408560 ERR pvxs.tcp.io Client [::ffff:127.0.0.1]:46448 Protocol decode fault. Force disconnect.
    0000 : 00000114 FFFFFFFF
    2026-02-03T12:16:34.939464135 ERR pvxs.tcp.io Client [::ffff:127.0.0.1]:46462 Protocol decode fault. Force disconnect.
    0000 : 00000114 FFFFFFFF
    2026-02-03T12:16:34.939490402 ERR pvxs.tcp.io Client [::ffff:127.0.0.1]:46472 Protocol decode fault. Force disconnect.
    0000 : 00000114 FFFFFFFF
    2026-02-03T12:16:34.946272353 ERR pvxs.tcp.io Client [::ffff:127.0.0.1]:46480 Protocol decode fault. Force disconnect.
    0000 : 00000114 FFFFFFFF
    2026-02-03T12:16:34.946293797 ERR pvxs.tcp.io Client [::ffff:127.0.0.1]:46494 Protocol decode fault. Force disconnect.
    2026-02-03T12:16:34.950558957 ERR pvxs.tcp.io connection to Client [::ffff:127.0.0.1]:46510 closed with socket error 104 : Connection reset by peer
    0000 : 00000114 FFFFFFFF
    2026-02-03T12:16:34.952380397 ERR pvxs.tcp.io Client [::ffff:127.0.0.1]:46516 Protocol decode fault. Force disconnect.
    2026-02-03T12:16:34.956286508 ERR pvxs.tcp.io connection to Client [::ffff:127.0.0.1]:46536 closed with socket error 104 : Connection reset by peer
    2026-02-03 12:16:34,957 - INFO - Twiss pushed view
    INFO:dt4acc:Twiss pushed view
    0000 : 00000114 FFFFFFFF
    2026-02-03T12:16:34.957917344 ERR pvxs.tcp.io Client [::ffff:127.0.0.1]:46542 Protocol decode fault. Force disconnect.
    2026-02-03T12:16:34.960601329 ERR pvxs.tcp.io connection to Client [::ffff:127.0.0.1]:46560 closed with socket error 104 : Connection reset by peer
    2026-02-03T12:16:34.962962710 ERR pvxs.tcp.io connection to Client [::ffff:127.0.0.1]:46564 closed with socket error 104 : Connection reset by peer
    2026-02-03T12:16:34.964851391 ERR pvxs.tcp.io connection to Client [::ffff:127.0.0.1]:46566 closed with socket error 104 : Connection reset by peer
    2026-02-03T12:16:34.968576232 ERR pvxs.tcp.io connection to Client [::ffff:127.0.0.1]:46572 closed with socket error 104 : Connection reset by peer
    2026-02-03T12:16:34.970431077 ERR pvxs.tcp.io connection to Client [::ffff:127.0.0.1]:46584 closed with socket error 104 : Connection reset by peer
    2026-02-03T12:16:34.972592848 ERR pvxs.tcp.io connection to Client [::ffff:127.0.0.1]:46600 closed with socket error 104 : Connection reset by peer
    2026-02-03T12:16:34.973859884 ERR pvxs.tcp.io connection to Client [::ffff:127.0.0.1]:46604 closed with socket error 104 : Connection reset by peer
    2026-02-03T12:16:34.976235041 ERR pvxs.tcp.io connection to Client [::ffff:127.0.0.1]:46620 closed with socket error 104 : Connection reset by peer
    2026-02-03T12:16:34.977504929 ERR pvxs.tcp.io connection to Client [::ffff:127.0.0.1]:46636 closed with socket error 104 : Connection reset by peer
    2026-02-03T12:16:34.979393565 ERR pvxs.tcp.io connection to Client [::ffff:127.0.0.1]:46646 closed with socket error 104 : Connection reset by peer
    0000 : 00000114 FFFFFFFF
    2026-02-03T12:16:34.980980940 ERR pvxs.tcp.io Client [::ffff:127.0.0.1]:46656 Protocol decode fault. Force disconnect.
    2026-02-03T12:16:34.983630476 ERR pvxs.tcp.io connection to Client [::ffff:127.0.0.1]:46666 closed with socket error 104 : Connection reset by peer
    2026-02-03T12:16:34.984851414 ERR pvxs.tcp.io connection to Client [::ffff:127.0.0.1]:46668 closed with socket error 104 : Connection reset by peer
    0000 : 00000114 FFFFFFFF
    2026-02-03T12:16:34.986469650 ERR pvxs.tcp.io Client [::ffff:127.0.0.1]:46696 Protocol decode fault. Force disconnect.
    2026-02-03T12:16:34.987531167 ERR pvxs.tcp.io connection to Client [::ffff:127.0.0.1]:46704 closed with socket error 104 : Connection reset by peer
    0000 : 00000114 FFFFFFFF
    2026-02-03T12:16:34.989478931 ERR pvxs.tcp.io Client [::ffff:127.0.0.1]:46708 Protocol decode fault. Force disconnect.
    2026-02-03T12:16:34.990417655 ERR pvxs.tcp.io connection to Client [::ffff:127.0.0.1]:46720 closed with socket error 104 : Connection reset by peer
    2026-02-03T12:16:34.992052174 ERR pvxs.tcp.io connection to Client [::ffff:127.0.0.1]:46740 closed with socket error 104 : Connection reset by peer
    0000 : 00000114 FFFFFFFF
    2026-02-03T12:16:34.992995631 ERR pvxs.tcp.io Client [::ffff:127.0.0.1]:46742 Protocol decode fault. Force disconnect.
    2026-02-03T12:16:34.995028616 ERR pvxs.tcp.io connection to Client [::ffff:127.0.0.1]:46762 closed with socket error 104 : Connection reset by peer
    2026-02-03T12:16:34.995866463 ERR pvxs.tcp.io connection to Client [::ffff:127.0.0.1]:46766 closed with socket error 104 : Connection reset by peer
    2026-02-03T12:16:34.997352388 ERR pvxs.tcp.io connection to Client [::ffff:127.0.0.1]:46786 closed with socket error 104 : Connection reset by peer
    2026-02-03T12:16:34.999357269 ERR pvxs.tcp.io connection to Client [::ffff:127.0.0.1]:46792 closed with socket error 104 : Connection reset by peer
    2026-02-03T12:16:35.001945001 ERR pvxs.tcp.io connection to Client [::ffff:127.0.0.1]:46810 closed with socket error 104 : Connection reset by peer
    2026-02-03T12:16:35.003307004 ERR pvxs.tcp.io connection to Client [::ffff:127.0.0.1]:46812 closed with socket error 104 : Connection reset by peer
    2026-02-03T12:16:35.005736785 ERR pvxs.tcp.io connection to Client [::ffff:127.0.0.1]:46834 closed with socket error 104 : Connection reset by peer
    0000 : 00000114 FFFFFFFF
    2026-02-03T12:16:35.007402130 ERR pvxs.tcp.io Client [::ffff:127.0.0.1]:46844 Protocol decode fault. Force disconnect.
    2026-02-03T12:16:35.010115137 ERR pvxs.tcp.io connection to Client [::ffff:127.0.0.1]:46862 closed with socket error 104 : Connection reset by peer
    2026-02-03T12:16:35.011333939 ERR pvxs.tcp.io connection to Client [::ffff:127.0.0.1]:46878 closed with socket error 104 : Connection reset by peer
    2026-02-03T12:16:35.013365511 ERR pvxs.tcp.io connection to Client [::ffff:127.0.0.1]:46894 closed with socket error 104 : Connection reset by peer
    0000 : 00000114 FFFFFFFF
    2026-02-03T12:16:35.014382422 ERR pvxs.tcp.io Client [::ffff:127.0.0.1]:46904 Protocol decode fault. Force disconnect.
    0000 : 00000114 FFFFFFFF
    2026-02-03T12:16:35.016886801 ERR pvxs.tcp.io Client [::ffff:127.0.0.1]:46930 Protocol decode fault. Force disconnect.
    0000 : 00000114 FFFFFFFF
    2026-02-03T12:16:35.017643083 ERR pvxs.tcp.io Client [::ffff:127.0.0.1]:46946 Protocol decode fault. Force disconnect.
    0000 : 00000114 FFFFFFFF
    2026-02-03T12:16:35.019729115 ERR pvxs.tcp.io Client [::ffff:127.0.0.1]:46962 Protocol decode fault. Force disconnect.
    0000 : 00000114 FFFFFFFF
    2026-02-03T12:16:35.020697175 ERR pvxs.tcp.io Client [::ffff:127.0.0.1]:46970 Protocol decode fault. Force disconnect.
    0000 : 00000114 FFFFFFFF
    2026-02-03T12:16:35.022175027 ERR pvxs.tcp.io Client [::ffff:127.0.0.1]:46986 Protocol decode fault. Force disconnect.
    0000 : 00000114 FFFFFFFF
    2026-02-03T12:16:35.023049984 ERR pvxs.tcp.io Client [::ffff:127.0.0.1]:46994 Protocol decode fault. Force disconnect.
    0000 : 00000114 FFFFFFFF
    2026-02-03T12:16:35.024676247 ERR pvxs.tcp.io Client [::ffff:127.0.0.1]:47020 Protocol decode fault. Force disconnect.
    2026-02-03T12:16:35.025808561 ERR pvxs.tcp.io connection to Client [::ffff:127.0.0.1]:47022 closed with socket error 104 : Connection reset by peer
    2026-02-03T12:16:35.027967679 ERR pvxs.tcp.io connection to Client [::ffff:127.0.0.1]:47052 closed with socket error 104 : Connection reset by peer
    0000 : 00000114 FFFFFFFF
    2026-02-03T12:16:35.029234468 ERR pvxs.tcp.io Client [::ffff:127.0.0.1]:47060 Protocol decode fault. Force disconnect.
    2026-02-03T12:16:35.030449567 ERR pvxs.tcp.io connection to Client [::ffff:127.0.0.1]:47078 closed with socket error 104 : Connection reset by peer
    0000 : 00000114 FFFFFFFF
    2026-02-03T12:16:35.031685274 ERR pvxs.tcp.io Client [::ffff:127.0.0.1]:47090 Protocol decode fault. Force disconnect.
    2026-02-03T12:16:35.033442366 ERR pvxs.tcp.io connection to Client [::ffff:127.0.0.1]:47104 closed with socket error 104 : Connection reset by peer
    2026-02-03T12:16:35.034726145 ERR pvxs.tcp.io connection to Client [::ffff:127.0.0.1]:47120 closed with socket error 104 : Connection reset by peer
    0000 : 00000114 FFFFFFFF
    2026-02-03T12:16:35.036525048 ERR pvxs.tcp.io Client [::ffff:127.0.0.1]:47140 Protocol decode fault. Force disconnect.
    0000 : 00000114 FFFFFFFF
    2026-02-03T12:16:35.037517494 ERR pvxs.tcp.io Client [::ffff:127.0.0.1]:47144 Protocol decode fault. Force disconnect.
    0000 : 00000114 FFFFFFFF
    2026-02-03T12:16:35.040600426 ERR pvxs.tcp.io Client [::ffff:127.0.0.1]:47174 Protocol decode fault. Force disconnect.
    2026-02-03T12:16:35.042464676 ERR pvxs.tcp.io connection to Client [::ffff:127.0.0.1]:47180 closed with socket error 104 : Connection reset by peer
    0000 : 00000114 FFFFFFFF
    2026-02-03T12:16:35.044649197 ERR pvxs.tcp.io Client [::ffff:127.0.0.1]:47200 Protocol decode fault. Force disconnect.
    0000 : 00000114 FFFFFFFF
    2026-02-03T12:16:35.046331035 ERR pvxs.tcp.io Client [::ffff:127.0.0.1]:47206 Protocol decode fault. Force disconnect.
    2026-02-03T12:16:35.053530054 ERR pvxs.tcp.io connection to Client [::ffff:127.0.0.1]:47224 closed with socket error 104 : Connection reset by peer
    0000 : 00000114 FFFFFFFF
    2026-02-03T12:16:35.054572023 ERR pvxs.tcp.io Client [::ffff:127.0.0.1]:47238 Protocol decode fault. Force disconnect.
    2026-02-03T12:16:35.057332909 ERR pvxs.tcp.io connection to Client [::ffff:127.0.0.1]:47262 closed with socket error 104 : Connection reset by peer
    2026-02-03T12:16:35.058267012 ERR pvxs.tcp.io connection to Client [::ffff:127.0.0.1]:47264 closed with socket error 104 : Connection reset by peer
    2026-02-03T12:16:35.060110646 ERR pvxs.tcp.io connection to Client [::ffff:127.0.0.1]:47282 closed with socket error 104 : Connection reset by peer
    2026-02-03T12:16:35.061490514 ERR pvxs.tcp.io connection to Client [::ffff:127.0.0.1]:47290 closed with socket error 104 : Connection reset by peer
    0000 : 00000114 FFFFFFFF
    2026-02-03T12:16:35.063402550 ERR pvxs.tcp.io Client [::ffff:127.0.0.1]:47296 Protocol decode fault. Force disconnect.
    0000 : 00000114 FFFFFFFF
    2026-02-03T12:16:35.064758976 ERR pvxs.tcp.io Client [::ffff:127.0.0.1]:47298 Protocol decode fault. Force disconnect.
    0000 : 00000114 FFFFFFFF
    2026-02-03T12:16:35.066925089 ERR pvxs.tcp.io Client [::ffff:127.0.0.1]:47310 Protocol decode fault. Force disconnect.
    2026-02-03T12:16:35.068042493 ERR pvxs.tcp.io connection to Client [::ffff:127.0.0.1]:47326 closed with socket error 104 : Connection reset by peer
    2026-02-03T12:16:35.069953550 ERR pvxs.tcp.io connection to Client [::ffff:127.0.0.1]:47352 closed with socket error 104 : Connection reset by peer
    0000 : 00000114 FFFFFFFF
    2026-02-03T12:16:35.070845768 ERR pvxs.tcp.io Client [::ffff:127.0.0.1]:47354 Protocol decode fault. Force disconnect.
    0000 : 00000114 FFFFFFFF
    2026-02-03T12:16:35.072604172 ERR pvxs.tcp.io Client [::ffff:127.0.0.1]:47382 Protocol decode fault. Force disconnect.
    0000 : 00000114 FFFFFFFF
    2026-02-03T12:16:35.073401727 ERR pvxs.tcp.io Client [::ffff:127.0.0.1]:47398 Protocol decode fault. Force disconnect.
    2026-02-03T12:16:35.076125612 ERR pvxs.tcp.io connection to Client [::ffff:127.0.0.1]:47426 closed with socket error 104 : Connection reset by peer
    2026-02-03T12:16:35.077863097 ERR pvxs.tcp.io connection to Client [::ffff:127.0.0.1]:47434 closed with socket error 104 : Connection reset by peer
    2026-02-03T12:16:35.079602369 ERR pvxs.tcp.io connection to Client [::ffff:127.0.0.1]:47458 closed with socket error 104 : Connection reset by peer
    2026-02-03T12:16:35.080632425 ERR pvxs.tcp.io connection to Client [::ffff:127.0.0.1]:47460 closed with socket error 104 : Connection reset by peer
    2026-02-03T12:16:35.085542210 ERR pvxs.tcp.io connection to Client [::ffff:127.0.0.1]:47480 closed with socket error 104 : Connection reset by peer
    2026-02-03T12:16:35.086709877 ERR pvxs.tcp.io connection to Client [::ffff:127.0.0.1]:47496 closed with socket error 104 : Connection reset by peer
    2026-02-03T12:16:35.093949049 ERR pvxs.tcp.io connection to Client [::ffff:127.0.0.1]:47500 closed with socket error 104 : Connection reset by peer
    2026-02-03T12:16:35.095578551 ERR pvxs.tcp.io connection to Client [::ffff:127.0.0.1]:47502 closed with socket error 104 : Connection reset by peer
    2026-02-03T12:16:35.096739406 ERR pvxs.tcp.io connection to Client [::ffff:127.0.0.1]:47512 closed with socket error 104 : Connection reset by peer
    0000 : 00000114 FFFFFFFF
    2026-02-03T12:16:35.098415229 ERR pvxs.tcp.io Client [::ffff:127.0.0.1]:47540 Protocol decode fault. Force disconnect.
    0000 : 00000114 FFFFFFFF
    2026-02-03T12:16:35.099352700 ERR pvxs.tcp.io Client [::ffff:127.0.0.1]:47542 Protocol decode fault. Force disconnect.
    2026-02-03T12:16:35.101145367 ERR pvxs.tcp.io connection to Client [::ffff:127.0.0.1]:47568 closed with socket error 104 : Connection reset by peer
    2026-02-03T12:16:35.102016623 ERR pvxs.tcp.io connection to Client [::ffff:127.0.0.1]:47584 closed with socket error 104 : Connection reset by peer
    2026-02-03T12:16:35.102736822 ERR pvxs.tcp.io connection to Client [::ffff:127.0.0.1]:47590 closed with socket error 104 : Connection reset by peer
    2026-02-03T12:16:35.103563323 ERR pvxs.tcp.io connection to Client [::ffff:127.0.0.1]:47606 closed with socket error 104 : Connection reset by peer
    2026-02-03T12:16:35.104475195 ERR pvxs.tcp.io connection to Client [::ffff:127.0.0.1]:47620 closed with socket error 104 : Connection reset by peer
    2026-02-03T12:16:35.105143176 ERR pvxs.tcp.io connection to Client [::ffff:127.0.0.1]:47634 closed with socket error 104 : Connection reset by peer
    2026-02-03T12:16:35.105976218 ERR pvxs.tcp.io connection to Client [::ffff:127.0.0.1]:47636 closed with socket error 104 : Connection reset by peer
    2026-02-03T12:16:35.106814735 ERR pvxs.tcp.io connection to Client [::ffff:127.0.0.1]:47642 closed with socket error 104 : Connection reset by peer
    2026-02-03T12:16:35.107740474 ERR pvxs.tcp.io connection to Client [::ffff:127.0.0.1]:47650 closed with socket error 104 : Connection reset by peer
    2026-02-03T12:16:35.108675391 ERR pvxs.tcp.io connection to Client [::ffff:127.0.0.1]:47664 closed with socket error 104 : Connection reset by peer
    0000 : 00000114 FFFFFFFF
    2026-02-03T12:16:35.114834689 ERR pvxs.tcp.io Client [::ffff:127.0.0.1]:47678 Protocol decode fault. Force disconnect.
    2026-02-03T12:16:35.115620608 ERR pvxs.tcp.io connection to Client [::ffff:127.0.0.1]:47682 closed with socket error 104 : Connection reset by peer
    0000 : 00000114 FFFFFFFF
    2026-02-03T12:16:35.116494820 ERR pvxs.tcp.io Client [::ffff:127.0.0.1]:47690 Protocol decode fault. Force disconnect.
    0000 : 00000114 FFFFFFFF
    2026-02-03T12:16:35.117737973 ERR pvxs.tcp.io Client [::ffff:127.0.0.1]:47704 Protocol decode fault. Force disconnect.
    0000 : 00000114 FFFFFFFF
    2026-02-03T12:16:35.120014327 ERR pvxs.tcp.io Client [::ffff:127.0.0.1]:47732 Protocol decode fault. Force disconnect.
    2026-02-03T12:16:35.121130867 ERR pvxs.tcp.io connection to Client [::ffff:127.0.0.1]:47744 closed with socket error 104 : Connection reset by peer
    2026-02-03T12:16:35.121794208 ERR pvxs.tcp.io connection to Client [::ffff:127.0.0.1]:47754 closed with socket error 104 : Connection reset by peer
    2026-02-03T12:16:35.122737681 ERR pvxs.tcp.io connection to Client [::ffff:127.0.0.1]:47770 closed with socket error 104 : Connection reset by peer
    2026-02-03T12:16:35.123632538 ERR pvxs.tcp.io connection to Client [::ffff:127.0.0.1]:47786 closed with socket error 104 : Connection reset by peer
    2026-02-03T12:16:35.125341206 ERR pvxs.tcp.io connection to Client [::ffff:127.0.0.1]:47812 closed with socket error 104 : Connection reset by peer
    2026-02-03T12:16:35.126366130 ERR pvxs.tcp.io connection to Client [::ffff:127.0.0.1]:47820 closed with socket error 104 : Connection reset by peer
    2026-02-03T12:16:35.127086962 ERR pvxs.tcp.io connection to Client [::ffff:127.0.0.1]:47832 closed with socket error 104 : Connection reset by peer
    2026-02-03T12:16:35.127917774 ERR pvxs.tcp.io connection to Client [::ffff:127.0.0.1]:47836 closed with socket error 104 : Connection reset by peer
    2026-02-03T12:16:35.128742782 ERR pvxs.tcp.io connection to Client [::ffff:127.0.0.1]:47850 closed with socket error 104 : Connection reset by peer
    2026-02-03T12:16:35.130171547 ERR pvxs.tcp.io connection to Client [::ffff:127.0.0.1]:47866 closed with socket error 104 : Connection reset by peer
    0000 : 00000114 FFFFFFFF
    2026-02-03T12:16:35.130945816 ERR pvxs.tcp.io Client [::ffff:127.0.0.1]:47868 Protocol decode fault. Force disconnect.
    0000 : 00000114 FFFFFFFF
    2026-02-03T12:16:35.132430935 ERR pvxs.tcp.io Client [::ffff:127.0.0.1]:47876 Protocol decode fault. Force disconnect.
    0000 : 00000114 FFFFFFFF
    2026-02-03T12:16:35.133257267 ERR pvxs.tcp.io Client [::ffff:127.0.0.1]:47878 Protocol decode fault. Force disconnect.
    2026-02-03T12:16:35.134725653 ERR pvxs.tcp.io connection to Client [::ffff:127.0.0.1]:47900 closed with socket error 104 : Connection reset by peer
    2026-02-03T12:16:35.135537838 ERR pvxs.tcp.io connection to Client [::ffff:127.0.0.1]:47904 closed with socket error 104 : Connection reset by peer
    0000 : 00000114 FFFFFFFF
    2026-02-03T12:16:35.137810902 ERR pvxs.tcp.io Client [::ffff:127.0.0.1]:47922 Protocol decode fault. Force disconnect.
    2026-02-03T12:16:35.139361791 ERR pvxs.tcp.io connection to Client [::ffff:127.0.0.1]:47928 closed with socket error 104 : Connection reset by peer
    2026-02-03T12:16:35.147873603 ERR pvxs.tcp.io connection to Client [::ffff:127.0.0.1]:47948 closed with socket error 104 : Connection reset by peer
    2026-02-03T12:16:35.148960355 ERR pvxs.tcp.io connection to Client [::ffff:127.0.0.1]:47950 closed with socket error 104 : Connection reset by peer
    2026-02-03T12:16:35.149851777 ERR pvxs.tcp.io connection to Client [::ffff:127.0.0.1]:47960 closed with socket error 104 : Connection reset by peer
    2026-02-03T12:16:35.151080795 ERR pvxs.tcp.io connection to Client [::ffff:127.0.0.1]:47970 closed with socket error 104 : Connection reset by peer
    2026-02-03T12:16:35.152659721 ERR pvxs.tcp.io connection to Client [::ffff:127.0.0.1]:47978 closed with socket error 104 : Connection reset by peer
    2026-02-03T12:16:35.153466778 ERR pvxs.tcp.io connection to Client [::ffff:127.0.0.1]:47984 closed with socket error 104 : Connection reset by peer
    2026-02-03T12:16:35.154484209 ERR pvxs.tcp.io connection to Client [::ffff:127.0.0.1]:47986 closed with socket error 104 : Connection reset by peer
    0000 : 00000114 FFFFFFFF
    2026-02-03T12:16:35.155970350 ERR pvxs.tcp.io Client [::ffff:127.0.0.1]:47988 Protocol decode fault. Force disconnect.
    2026-02-03T12:16:35.158194651 ERR pvxs.tcp.io connection to Client [::ffff:127.0.0.1]:48010 closed with socket error 104 : Connection reset by peer
    2026-02-03T12:16:35.159113407 ERR pvxs.tcp.io connection to Client [::ffff:127.0.0.1]:48026 closed with socket error 104 : Connection reset by peer
    2026-02-03T12:16:35.160201162 ERR pvxs.tcp.io connection to Client [::ffff:127.0.0.1]:48032 closed with socket error 104 : Connection reset by peer
    2026-02-03T12:16:35.161285345 ERR pvxs.tcp.io connection to Client [::ffff:127.0.0.1]:48044 closed with socket error 104 : Connection reset by peer
    2026-02-03T12:16:35.163032857 ERR pvxs.tcp.io connection to Client [::ffff:127.0.0.1]:48060 closed with socket error 104 : Connection reset by peer
    2026-02-03T12:16:35.165178677 ERR pvxs.tcp.io connection to Client [::ffff:127.0.0.1]:48088 closed with socket error 104 : Connection reset by peer
    2026-02-03T12:16:35.166311026 ERR pvxs.tcp.io connection to Client [::ffff:127.0.0.1]:48102 closed with socket error 104 : Connection reset by peer
    0000 : 00000114 FFFFFFFF
    2026-02-03T12:16:35.169011902 ERR pvxs.tcp.io Client [::ffff:127.0.0.1]:48110 Protocol decode fault. Force disconnect.
    2026-02-03T12:16:35.170957079 ERR pvxs.tcp.io connection to Client [::ffff:127.0.0.1]:48112 closed with socket error 104 : Connection reset by peer
    2026-02-03T12:16:35.181788986 ERR pvxs.tcp.io connection to Client [::ffff:127.0.0.1]:48136 closed with socket error 104 : Connection reset by peer
    2026-02-03T12:16:35.182888345 ERR pvxs.tcp.io connection to Client [::ffff:127.0.0.1]:48150 closed with socket error 104 : Connection reset by peer
    2026-02-03T12:16:35.183890421 ERR pvxs.tcp.io connection to Client [::ffff:127.0.0.1]:48158 closed with socket error 104 : Connection reset by peer
    2026-02-03T12:16:35.185277034 ERR pvxs.tcp.io connection to Client [::ffff:127.0.0.1]:48174 closed with socket error 104 : Connection reset by peer
    0000 : 00000114 FFFFFFFF
    2026-02-03T12:16:35.189178005 ERR pvxs.tcp.io Client [::ffff:127.0.0.1]:48182 Protocol decode fault. Force disconnect.
    0000 : 00000114 FFFFFFFF
    2026-02-03T12:16:35.191499615 ERR pvxs.tcp.io Client [::ffff:127.0.0.1]:48198 Protocol decode fault. Force disconnect.
    2026-02-03T12:16:35.192526895 ERR pvxs.tcp.io connection to Client [::ffff:127.0.0.1]:48214 closed with socket error 104 : Connection reset by peer
    2026-02-03T12:16:35.194106490 ERR pvxs.tcp.io connection to Client [::ffff:127.0.0.1]:48222 closed with socket error 104 : Connection reset by peer

  7. PierreSchnizer commented on Feb 3, 2026

    @PierreSchnizer
    Member

    I see that the bessyii twin is running. I assume that you started in a separate shell

  8. PierreSchnizer commented on Feb 3, 2026

    @PierreSchnizer
    Member

    Hi Pierre, I have done the following
    I work in my Linux conda environment name pyat_conda
    Python 3.11
    python3 -m pip install aioca
    python3 -m pip install p4p

    then I do
    (pyat_conda) @.*** BESSY2_example]$ python bessy2-chroma.py
    03 Feb% 2026, 10:19:30 | WARNING | PyAML OA control system binding (0.1.1) initialized with name 'live' and prefix='marapo:'
    Moment compaction factor: 0.0007079019672909957
    Traceback (most recent call last):
    File "/home/marapo/.conda/envs/pyat_conda/lib/python3.11/asyncio/tasks.py", line 500, in wait_for
    return fut.result()
    ^^^^^^^^^^^^
    ...

    Do I have to restart the apptainer with the DT?
    …

    Now I get to it slowely ...
    I reckon that there is some name mismatch of an involved process variable.

    Normally what I do:

    • from epics tools (e.g. available in a container at registry.hzdr.de/digital-twins-for-accelerators/epics-tools:latest)
      I would use

       pvxlist localhost 
    • There you can then see all the (EPICS) process variables that the twin provides.

    • Now one needs to understand which request is made. I come to that in a second

  9. marlibgin2 commented on Feb 3, 2026

    @marlibgin2
    Author

    Well yesterday I have launched to apptainers from different shells, following the instuctions given in the workshop website

    1. apptainer run oras://registry.hzdr.de/digital-twins-for-accelerators/containers/pyat-softioc-digital-twin:default-v0-5-1-bessy.2711893
    2. apptainer run oras://registry.hzdr.de/digital-twins-for-accelerators/epics-tools:latest

    How can you check that the bessyii twin is running? Which one of the two cases you refer to? For me case (1) never worked properly, producing an avalanche of error messages.

  10. marlibgin2 commented on Feb 3, 2026

    @marlibgin2
    Author
  11. PierreSchnizer commented on Feb 3, 2026

    @PierreSchnizer
    Member

    I'd assume you have a firewall running on your machine which stops any EPICS communication

    I had the same problem on my machine.
    Thus IT support disabled the firewall on my machine

  12. marlibgin2 commented on Feb 3, 2026

    @marlibgin2
    Author
  13. PierreSchnizer commented on Feb 3, 2026

    @PierreSchnizer
    Member

    Do you have nc, ncat or netcat installed ? If not, it is contained in the epics tools container.
    This would allow verifying if that is the case.

    Then one could start a server on 5064 TCP and see if one can connect to it:

    In EPICS, the standard/default ports are:

    • Channel Access (CA)

      • 5064 — TCP/UDP (client–IOC communication)
      • 5065 — UDP (CA Repeater)
    • PVAccess (PVA) (EPICS V4 / V7)

      • 5075 — TCP/UDP (by default)
  14. marlibgin2 commented on Feb 3, 2026

    @marlibgin2
    Author
  15. marlibgin2 commented on Feb 3, 2026

    @marlibgin2
    Author
  16. PierreSchnizer commented on Feb 3, 2026

    @PierreSchnizer
    Member

    You will need 2 terminals (or shells)

    In the first one start a server:

     nc  -v  -p 5065 -l

    In the second one send something as client:

    echo -e "Hello World\d" | nc -v localhost:5065
  17. marlibgin2 commented on Feb 3, 2026

    @marlibgin2
    Author
  18. TeresiaOlsson commented on Feb 3, 2026

    @TeresiaOlsson

    It could be ...
    ifconfig shows me the white0 host, I am actually connecting via vpn to it.
    Maybe that machine is "walled off" and I cannot communicate with EPICS.
    My problem I do not use a personal Linux Laptop so I do not think I can ask IT to disable the firewall of our
    machine (accelerator development group server).
    Marco
    …

    This is interesting because we don't see the same issue on our Athena cluster. But maybe our setup is different or the way we connect to it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions