EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  2025  <2026 Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  2025  <2026
<== Date ==> <== Thread ==>

Subject: Re: OPC UA Device Support - Limit in the number of PVs
From: Ralph Lange via Tech-talk <tech-talk at aps.anl.gov>
To: EPICS Tech Talk <tech-talk at aps.anl.gov>
Date: Wed, 18 Mar 2026 14:29:07 +0100
What is your server?

That looks like a limitation on the server side, either on the total number of items per session or per subscription (I know a few servers doing that) or on the number of items per OPC UA service call (e.g., Siemens S7 has a limit of 1000) or on the number of registered items (I know a few servers doing that).
Getting BadConnectionClosed means that your server probably closed the connection after it found you were going over its limits. Brutal but not unheard of. (It's a simple way to avoid DoS-type attacks.)

If the item is not connected, any processing that leads to a conversion of a value to an unknown OPC UA type will fail - these are follow-up errors.

If you think the error message should be improved, please open an issue in the GitHub project.

Cheers,
~Ralph


Replies:
Re: OPC UA Device Support - Limit in the number of PVs eusebio_naif AL-SOLIMAN FUENTES via Tech-talk
References:
OPC UA Device Support - Limit in the number of PVs eusebio_naif AL-SOLIMAN FUENTES via Tech-talk

Navigate by Date:
Prev: RE: Migrating an Archiver Appliance to a new machine Sky Brewer via Tech-talk
Next: Handling epicsParseDouble Errors from SNMP PVs Returning Empty or Unexpected Values Varuna Crishan Meddage via Tech-talk
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  2025  <2026
Navigate by Thread:
Prev: OPC UA Device Support - Limit in the number of PVs eusebio_naif AL-SOLIMAN FUENTES via Tech-talk
Next: Re: OPC UA Device Support - Limit in the number of PVs eusebio_naif AL-SOLIMAN FUENTES via Tech-talk
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  2025  <2026
ANJ, 20 Mar 2026 · Home · News · About · Talk · Base · Modules · Extensions ·
· Distributions · Download · Documents · Links · Licensing ·