You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i evaluate the sample server code, and don't know if it's my fault using it.
If i start the Sample Code , GetEndpoint Returns list of endpoints where ApplicationDescription is filled correct from server.conf
But if I monitor the connection with Wireshark, i noticed that in CreateSessionResponse the Endpoints contains a different ApplicationDescription where
ApplicationUri: [OpcUa Null String]
Is this i known Issue, or what I'am doing wrong ?
GetEndpointsResponse - this seems correct:
OpcUa Binary Protocol
OpcUa Service : Encodeable Object
GetEndpointsResponse
ResponseHeader: ResponseHeader
Endpoints: Array of EndpointDescription
ArraySize: 12
[0]: EndpointDescription
EndpointUrl: opc.tcp://192.168.1.113:4855/
Server: ApplicationDescription
ApplicationUri: urn:192.168.1.113
ProductUri: urn:OPC UA Sample Server Testkit
ApplicationName: LocalizedText
EncodingMask: 0x02, has text
Text: OPC UA Sample Server
ApplicationType: Server (0x00000000)
GatewayServerUri: [OpcUa Null String]
DiscoveryProfileUri: [OpcUa Null String]
DiscoveryUrls: Array of String
ServerCertificate: 308204e5308203cda003020102021100b03455d5966a05f045d3401f0d7a9953300d0609…
MessageSecurityMode: Sign (0x00000002)
SecurityPolicyUri: http://opcfoundation.org/UA/SecurityPolicy#Aes128_Sha256_RsaOaep
UserIdentityTokens: Array of UserTokenPolicy
TransportProfileUri: http://opcfoundation.org/UA-Profile/Transport/uatcp-uasc-uabinary
SecurityLevel: 2
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
hi,
i evaluate the sample server code, and don't know if it's my fault using it.
If i start the Sample Code , GetEndpoint Returns list of endpoints where ApplicationDescription is filled correct from server.conf
But if I monitor the connection with Wireshark, i noticed that in CreateSessionResponse the Endpoints contains a different ApplicationDescription where
ApplicationUri: [OpcUa Null String]
Is this i known Issue, or what I'am doing wrong ?
GetEndpointsResponse - this seems correct:
OpcUa Binary Protocol
OpcUa Service : Encodeable Object
GetEndpointsResponse
ResponseHeader: ResponseHeader
Endpoints: Array of EndpointDescription
ArraySize: 12
[0]: EndpointDescription
EndpointUrl: opc.tcp://192.168.1.113:4855/
Server: ApplicationDescription
ApplicationUri: urn:192.168.1.113
ProductUri: urn:OPC UA Sample Server Testkit
ApplicationName: LocalizedText
EncodingMask: 0x02, has text
Text: OPC UA Sample Server
ApplicationType: Server (0x00000000)
GatewayServerUri: [OpcUa Null String]
DiscoveryProfileUri: [OpcUa Null String]
DiscoveryUrls: Array of String
ServerCertificate: 308204e5308203cda003020102021100b03455d5966a05f045d3401f0d7a9953300d0609…
MessageSecurityMode: Sign (0x00000002)
SecurityPolicyUri: http://opcfoundation.org/UA/SecurityPolicy#Aes128_Sha256_RsaOaep
UserIdentityTokens: Array of UserTokenPolicy
TransportProfileUri: http://opcfoundation.org/UA-Profile/Transport/uatcp-uasc-uabinary
SecurityLevel: 2
CreateSessionResponse:
OpcUa Binary Protocol
CreateSessionResponse
ServerEndpoints: Array of EndpointDescription
ArraySize: 11
[0]: EndpointDescription
[1]: EndpointDescription
EndpointUrl: opc.tcp://192.168.1.113:4855/
Server: ApplicationDescription
ApplicationUri: [OpcUa Null String]
ProductUri: [OpcUa Null String]
ApplicationName: LocalizedText
EncodingMask: 0x00
ApplicationType: Server (0x00000000)
GatewayServerUri: [OpcUa Null String]
DiscoveryProfileUri: [OpcUa Null String]
DiscoveryUrls: Array of String
ServerCertificate: [OpcUa Null ByteString]
MessageSecurityMode: SignAndEncrypt (0x00000003)
SecurityPolicyUri: http://opcfoundation.org/UA/SecurityPolicy#Aes128_Sha256_RsaOaep
UserIdentityTokens: Array of UserTokenPolicy
TransportProfileUri: http://opcfoundation.org/UA-Profile/Transport/uatcp-uasc-uabinary
SecurityLevel: 12
Has anyone any Hint for me ?
This has the effect, that a opcua-client reports BadCertificateApplicationURI mismatch error ... because "" !=
Using version = "0.11.0"
UPDATE:
Short after write I found new_endpoint_description with all_fields:false will set
application_uri
product_uri
application_name
To Null..
Perhaps it would be better, to only set server_certificate to NULL how the Opcua-Spec says.... ?
Beta Was this translation helpful? Give feedback.
All reactions