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 | 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 |
<== Date ==> | <== Thread ==> |
---|
Subject: | Re: OPCUA SSL problem |
From: | Ralph Lange via Tech-talk <tech-talk at aps.anl.gov> |
To: | EPICS Tech Talk <tech-talk at aps.anl.gov> |
Date: | Tue, 8 Oct 2024 09:59:11 +0200 |
Hi Ralph,
I have some fairly good news. I built the IOC with the binary distribution and it connects to the server. I cannot read data though, because the IOC ignores security setup and the server is configured in a way that it requires encryption. But I hope that using the full UA SDK will work.
So it seems that the problem is some incompatibility of open62541 client and the server used. I have dumped also working communication of open62541 and B&R OPCUA server and noticed differences in OpenSecureChannelResponse of the two servers. The problematic server does not send Nonce field in the response, but I don’t understand the OPCUA protocol well enough to be able to tell how much of a problem it its.
Best regards,
Karel
From: Tech-talk <tech-talk-bounces at aps.anl.gov> On Behalf Of Ralph Lange via Tech-talk
Sent: Monday, October 7, 2024 12:02 PM
To: EPICS Tech Talk <tech-talk at aps.anl.gov>
Subject: Re: OPCUA SSL problem
On Mon, 7 Oct 2024 at 11:04, Majer Karel via Tech-talk <tech-talk at aps.anl.gov> wrote:
I built the device support with UASdk, but the IOC crashes on startup with Segmentation fault:
#!../../bin/linux-x86_64/opcua
[...]
OPC UA Client Device Support 0.10.0-dev (-); using Unified Automation C++ Client SDK v1.8.4-632
iocRun: All initialization complete
OPC UA: Autoconnecting sessions
[...]
Segmentation fault (core dumped)
That fits exactly the other reports I have received. "Compiles but crashes."
I could download only evaluation version 1.8.4 of UASdk and noticed that the device support should work up to version 1.7. Is there anything I can try to get this running?
Try the UASDK-based binary distribution tar from GitHub that matches your version of Base (exact match required) and distribution.
Good luck!
~Ralph