View Issue Details

IDProjectCategoryView StatusLast Update
000950510000-007: ProfilesSpecpublic2024-04-02 15:23
ReporterJim Luth Assigned ToKarl Deiretsbacher  
PrioritynormalSeverityminorReproducibilityN/A
Status closedResolutionfixed 
Product Version1.05.04 RC1 
Summary0009505: [Part 4] endpointUrl in createSession document unclear
Description

https://reference.opcfoundation.org/v104/Core/docs/Part4/5.6.2/
The documentation for the endpointUrl string states:

The network address that the Client used to access the Session Endpoint.
The HostName portion of the URL should be one of the HostNames for the application that are specified in the Server’s ApplicationInstanceCertificate (see 7.2). The Server shall raise an >AuditUrlMismatchEventType event if the URL does not match the Server’s HostNames. AuditUrlMismatchEventType event type is defined in OPC 10000-5.
The Server uses this information for diagnostics and to determine the set of EndpointDescriptions to return in the response.

Whereas the doc is clear about the necessity to raise a AuditUrlMismatchEventType, the doc is unclear on whether it is mandatory or not to specify a endpoint that strictly matches one of the exposed endpoint of the server.

Server can be addressed by hostname, fqdn , alias hostname and directly with IP address ...

For instance:

  • Prosys Demo Server will reject the connection if the endpointUrl provided in the createSessionRequest doesn't exactly match the endpointUrl of one of the exposed endpoint of the server with a ServiceFault BadServiceUnsupported.

  • UAAutomation CPPServer will accept the connection of the endpointUrl is opc.tcp://localhost:48010 our opc.tcp://192.122.122.14:48010 (with the server Ip address) or opc.tcp://HOSTNAME:48010 even though only opc.tcp://HOSTNAME:48010 appears in the endpoint descriptions.

Which behavior is correct ?

Also I am not sure that any CTT test verifies this aspect yet ...

If we decide that createSessionRequest must expose a known endpointUrl to the server. then we may have to provide the algorithm by which a client can reliably connect to the server if it only knows it IP address..:

  • open a connection using on one of the possible hostnaame/ipaddress , create a secureChannel
  • get the endpoints
  • close connection
  • find the exact end point matching the level of security required
    • open a new connection with the exact opc.tcp endpoint, create channel
  • create session with this exact endpoint URL
    • activate session , etc ...
TagsNo tags attached.
Commit Version
Fix Due Date

Relationships

related to 0009496 closedJeff Harding 10000-005: Information Model [Part 4] endpointUrl in createSession document unclear 

Activities

Jeff Harding

2024-03-26 16:37

developer   ~0021037

Added note that AuditUrlMismatchEventType has been deprecated.

Jim Luth

2024-03-26 16:37

administrator   ~0021038

Agreed to changes edited in Web Meeting.

Jim Luth

2024-03-26 16:39

administrator   ~0021039

Remove AuditUrlMismatchEventType from "Auditing Connections" CU

Karl Deiretsbacher

2024-03-28 11:27

developer   ~0021069

Changed as suggested. See https://profiles.opcfoundation.org/conformanceunit/5213.

Jim Luth

2024-04-02 15:23

administrator   ~0021080

Agreed to changes in Profile DB in web meeting.

Issue History

Date Modified Username Field Change
2024-03-26 16:37 Jim Luth New Issue
2024-03-26 16:37 Jim Luth Status new => assigned
2024-03-26 16:37 Jim Luth Assigned To => Karl Deiretsbacher
2024-03-26 16:37 Jim Luth Issue generated from: 0009496
2024-03-26 16:37 Jim Luth Note Added: 0021037
2024-03-26 16:37 Jim Luth Note Added: 0021038
2024-03-26 16:37 Jim Luth Relationship added related to 0009496
2024-03-26 16:38 Jim Luth Project 10000-005: Information Model => 10000-007: Profiles
2024-03-26 16:39 Jim Luth Note Added: 0021039
2024-03-28 11:27 Karl Deiretsbacher Status assigned => resolved
2024-03-28 11:27 Karl Deiretsbacher Resolution open => fixed
2024-03-28 11:27 Karl Deiretsbacher Note Added: 0021069
2024-04-02 15:23 Jim Luth Status resolved => closed
2024-04-02 15:23 Jim Luth Note Added: 0021080