View Issue Details

IDProjectCategoryView StatusLast Update
0010441CTT UA Test Case2 - CTT Binarypublic2025-07-17 16:02
ReporterPaul Hunkar Assigned ToSebastian Allmendinger  
PrioritynormalSeveritymajorReproducibilityalways
Status assignedResolutionopen 
Summary0010441: RequestedLifetime not sent correctly in secure channel opening
Description

Problem Summary: The OPC UA client does not send the RequestedLifetime parameter correctly in secure channel opening requests, causing communication failures when the server returns a RevisedLifetime of 0.

Impact: OPC UA communication is entirely blocked, and secure connections cannot be established.

Action Required: Fix the client implementation to correctly send RequestedLifetime and handle scenarios where the server responds with unexpected values or 0 (default value sent).

Steps To Reproduce
  • Configure an OPC UA client to open a secure channel with an OPC server.
  • Change the RequestedLifetime to 300000
  • Ensure the client sends a secure channel opening request with the RequestedLifetime parameter.
  • To inspect the requests, you can use packet analysis software such as Wireshark.
  • Observe the server's response.
  • Check the default RequestedLifetime sent is 0 and the returned can be 0 (depends on server)
  • Check if the RevisedLifetime returned is 0 and if the client throws the error BadInvalidArgument.
TagsNo tags attached.
Files Affected

Relationships

related to 0010047 resolvedSebastian Allmendinger CTT UA Scripts RequestedLifetime not sent correctly in secure channel opening 
related to 0010442 closedMatthias Damm 10000-004: Services RequestedLifetime not sent correctly in secure channel opening 

Activities

Paul Hunkar

2025-07-17 16:01

administrator   ~0023136

the initial change is that the the CTT should request something like 10 sec for the default.
this issue should be cloned to test cases - we need to generate test cases for cases where server return a 0 (if a 0 is provided) - in general test cases around this issue
this issue should also be clone to part 4 and ask for a clarification on - is it ok for a server to return a 0?

Issue History

Date Modified Username Field Change
2025-07-17 16:01 Paul Hunkar New Issue
2025-07-17 16:01 Paul Hunkar Status new => assigned
2025-07-17 16:01 Paul Hunkar Assigned To => Sebastian Allmendinger
2025-07-17 16:01 Paul Hunkar Issue generated from: 0010047
2025-07-17 16:01 Paul Hunkar Note Added: 0023136
2025-07-17 16:01 Paul Hunkar Relationship added related to 0010047
2025-07-17 16:01 Paul Hunkar Project Compliance Test Tool (CTT) Unified Architecture => CTT UA Test Case
2025-07-17 16:02 Paul Hunkar Issue cloned: 0010442
2025-07-17 16:02 Paul Hunkar Relationship added related to 0010442