CTT Error connecting channel: BadInvalidArgument (0x80ab0000)|OPC Certification and Interoperability Testing|Forum|OPC Foundation

Avatar
Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
Lost password?
sp_Feed sp_PrintTopic sp_TopicIcon
CTT Error connecting channel: BadInvalidArgument (0x80ab0000)
Avatar
Ben Schnapp
New Member
Members
Forum Posts: 1
Member Since:
05/13/2024
sp_UserOfflineSmall Offline
1
05/16/2024 - 13:14
sp_Permalink sp_Print

I am new to OPC UA and I apologize if the solution is obvious. I am trying to use the CTT for pre-certification testing, but am having problems getting the tool to connect to any servers. I am using a very simple python server as a starting point before I try to test more complicated systems. The code for the server I am using is here: https://github.com/FreeOpcUa/o.....example.py. I have verified that the server is running, and I am able to connect to the server with a python client, and with UAExpert client. I have disabled all firewalls and everything is running locally. 

I am following the Quick Start guide on the CTT help page. I've set the Server URL and UserAuthenticationPolicy in the CTT project settings. When I try to connect to the server by pressing the "Open Browser" button on the CTT project settings page, I get the error "Error connecting channel: BadInvalidArgument (0x80ab0000)". I also get the same error when I try to run any tests (OpenSecureChannel(MessageSecurityMode: None ...) Result = BadInvalidArgument (0x80ab0000)). 

From my server logs I am able to see that the CTT attempts to connect and 4 messages are sent between the server and CTT. There is a Hello Message, Acknowledge Message, OpenSecureChannelRequest and OpenSecureChannelResponse, none of which seem to have any errors associated with them.  

I appreciate any help, thanks

Avatar
Alexander Allmendinger
Germany
Moderator
Members

Moderators

Moderators-Specifications

Moderators-Companion

Moderators-Implementation

Moderators-Certification

Moderators-ProductsServices
Forum Posts: 67
Member Since:
07/11/2017
sp_UserOfflineSmall Offline
2
05/19/2024 - 11:03
sp_Permalink sp_Print

Hi Ben,

we are already discussing this topic via E-Mail but just for potential readers I wanted to share some details here as well.

It currently looks like the problem is related to the Lifetime of the SecureChannel which is set to 0 in the server. The assumption is, that if the server returns a valid lifetime, the communication will be established.

Regards,
Alexander Allmendinger

Forum Timezone: America/Phoenix
Most Users Ever Online: 510
Currently Online:
Guest(s) 32
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Forum Stats:
Groups: 2
Forums: 10
Topics: 1381
Posts: 4680