@brunovgr I added a trace point in the server code when the request is coming from the client.
Look at line 1560 here https://github.com/node-opcua/node-opcua/blob/master/packages/node-opcua-server/source/opcua_server.ts
Using contrib node-red-contrib-opcua, I actually added a trace point to the generated .js code in .node-red\node_modules\node-opcua-server\dist\opcua-server.js
My test endpoint is: opc.tcp://LAPTOP-J7AHFDQH:53880
Trace when UA Expert connects to my server:
{
"requestHeader": {
"authenticationToken": "ns=0;b=c6474ce444911d34fad3b32a6a6d8147",
"timestamp": "2020-11-19T18:30:10.251Z",
"requestHandle": 1001426,
"returnDiagnostics": 0,
"timeoutHint": 10000
},
"clientDescription": {
"applicationUri": "urn:LAPTOP-J7AHFDQH:UnifiedAutomation:UaExpert",
"productUri": "urn:UnifiedAutomation:UaExpert",
"applicationName": {
"text": "Unified Automation UaExpert"
},
"applicationType": "Client",
"discoveryUrls": []
},
"endpointUrl": "opc.tcp://LAPTOP-J7AHFDQH:53880",
"sessionName": "urn:LAPTOP-J7AHFDQH:UnifiedAutomation:UaExpert",
"clientNonce": "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=",
"requestedSessionTimeout": 1200000,
"maxResponseMessageSize": 67108864
}
Trace when Factory I/O connects to my server:
{
“requestHeader”: {
“authenticationToken”: “ns=0;i=0”,
“timestamp”: “2020-11-19T18:30:12.118Z”,
“requestHandle”: 1,
“returnDiagnostics”: 0,
“timeoutHint”: 0
},
“clientDescription”: {
“applicationUri”: “urn:LAPTOP-J7AHFDQH:Factory IO”,
“productUri”: “urn:company:product”,
“applicationName”: {
“text”: “Factory IO”
},
“applicationType”: “Client”,
“discoveryUrls”:
},
“serverUri”: “urn:NodeOPCUA-Server-default”,
“endpointUrl”: “opc.tcp://laptop-j7ahfdqh:53880/”,
“sessionName”: “OPC UA Driver”,
“clientNonce”: “WtJbuD6CdvlNxVaxCvAAcmPdCrKWjS8Uays4J67uD7w=”,
“requestedSessionTimeout”: 60000,
“maxResponseMessageSize”: 10485760
}
If you want to do a WebEx, or call me, please send a mail to mommeja@fr.ibm.com