15:24, EEST
August 31, 2016
Hi,
I was testing with OPC-UA Java Client SDK version 2.2.2. I was able to connect and read successfully from the Kepware OPC Server. However, as we have a whole lot of different machines in our factories. I also wanted to test it against other OPC servers one of them being Sinumerik 840D SL. However,m when connecting to this server I get the following error.
“OPCClientUA thread start failed: Failed to create session channel to server: : opc.tcp://19X.16X.1XX.10X:XXXX [http://opcfoundation.org/UA/SecurityPolicy#None,None]”
There is no more information in the logs. I tried to enable debug logging from my application for the prosys package. But that does not help it seems as nothing on the debug level is logged apart from what is there in my own application.
Important is a fact that if I use other OPC client from a different vendor then it works.
I had followed some discussions regarding this error and also tried to set the parameter “ValidateDiscoveredEndpoints” to false. This didnot help either.
Any clues or help will be greatly appreciated.
9:30, EEST
August 31, 2016
Some more information from the logging
2016-09-01 08:23:07 DEBUG UaApplication:? – java.runtime.name=Java(TM) SE Runtime Environment
2016-09-01 08:23:07 DEBUG UaApplication:? – sun.boot.library.path=C:\Program Files (x86)\Java\jre1.8.0_101\bin
2016-09-01 08:23:07 DEBUG UaApplication:? – java.vm.version=25.101-b13
2016-09-01 08:23:07 DEBUG UaApplication:? – java.vm.vendor=Oracle Corporation
2016-09-01 08:23:07 DEBUG UaApplication:? – java.vendor.url=http://java.oracle.com/
2016-09-01 08:23:07 DEBUG UaApplication:? – path.separator=;
2016-09-01 08:23:07 DEBUG UaApplication:? – java.vm.name=Java HotSpot(TM) Client VM
2016-09-01 08:23:07 DEBUG UaApplication:? – file.encoding.pkg=sun.io
2016-09-01 08:23:07 DEBUG UaApplication:? – user.country=GB
2016-09-01 08:23:07 DEBUG UaApplication:? – user.script=
2016-09-01 08:23:07 DEBUG UaApplication:? – sun.java.launcher=SUN_STANDARD
2016-09-01 08:23:07 DEBUG UaApplication:? – sun.os.patch.level=Service Pack 1
2016-09-01 08:23:07 DEBUG UaApplication:? – java.vm.specification.name=Java Virtual Machine Specification
2016-09-01 08:23:07 DEBUG UaApplication:? – user.dir=C:\Temp\opcuasetup
2016-09-01 08:23:07 DEBUG UaApplication:? – java.runtime.version=1.8.0_101-b13
2016-09-01 08:23:07 DEBUG UaApplication:? – java.awt.graphicsenv=sun.awt.Win32GraphicsEnvironment
2016-09-01 08:23:07 DEBUG UaApplication:? – java.endorsed.dirs=C:\Program Files (x86)\Java\jre1.8.0_101\lib\endorsed
2016-09-01 08:23:07 DEBUG UaApplication:? – os.arch=x86
2016-09-01 08:23:07 DEBUG UaApplication:? – java.io.tmpdir=C:\Users\G976795\AppData\Local\Temp\
2016-09-01 08:23:07 DEBUG UaApplication:? – line.separator=
2016-09-01 08:23:07 DEBUG UaApplication:? – java.vm.specification.vendor=Oracle Corporation
2016-09-01 08:23:07 DEBUG UaApplication:? – user.variant=
2016-09-01 08:23:07 DEBUG UaApplication:? – os.name=Windows 7
2016-09-01 08:23:07 DEBUG UaApplication:? – sun.jnu.encoding=Cp1252
2016-09-01 08:23:07 DEBUG UaApplication:? – java.library.path=C:\ProgramData\Oracle\Java\javapath;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\CCM\;C:\ProgramData\Oracle\Java\javapath;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\IVI Foundation\VISA\WinNT\Bin\;C:\Program Files\IVI Foundation\VISA\Win64\Bin\;C:\Program Files (x86)\IVI Foundation\VISA\WinNT\Bin;C:\Program Files (x86)\IVI Foundation\IVI\bin;C:\Program Files\IVI Foundation\IVI\bin;.
2016-09-01 08:23:07 DEBUG UaApplication:? – java.specification.name=Java Platform API Specification
2016-09-01 08:23:07 DEBUG UaApplication:? – java.class.version=52.0
2016-09-01 08:23:07 DEBUG UaApplication:? – sun.management.compiler=HotSpot Client Compiler
2016-09-01 08:23:07 DEBUG UaApplication:? – os.version=6.1
2016-09-01 08:23:07 DEBUG UaApplication:? – user.home=C:\Users\G976795
2016-09-01 08:23:07 DEBUG UaApplication:? – user.timezone=Europe/Berlin
2016-09-01 08:23:07 DEBUG UaApplication:? – java.awt.printerjob=sun.awt.windows.WPrinterJob
2016-09-01 08:23:07 DEBUG UaApplication:? – file.encoding=Cp1252
2016-09-01 08:23:07 DEBUG UaApplication:? – java.specification.version=1.8
2016-09-01 08:23:07 DEBUG UaApplication:? – java.class.path=CMS-OPCUA.jar
2016-09-01 08:23:07 DEBUG UaApplication:? – user.name=g976795
2016-09-01 08:23:07 DEBUG UaApplication:? – java.vm.specification.version=1.8
2016-09-01 08:23:07 DEBUG UaApplication:? – sun.java.command=CMS-OPCUA.jar
2016-09-01 08:23:07 DEBUG UaApplication:? – java.home=C:\Program Files (x86)\Java\jre1.8.0_101
2016-09-01 08:23:07 DEBUG UaApplication:? – sun.arch.data.model=32
2016-09-01 08:23:07 DEBUG UaApplication:? – user.language=en
2016-09-01 08:23:07 DEBUG UaApplication:? – java.specification.vendor=Oracle Corporation
2016-09-01 08:23:07 DEBUG UaApplication:? – awt.toolkit=sun.awt.windows.WToolkit
2016-09-01 08:23:07 DEBUG UaApplication:? – java.vm.info=mixed mode, sharing
2016-09-01 08:23:07 DEBUG UaApplication:? – java.version=1.8.0_101
2016-09-01 08:23:07 DEBUG UaApplication:? – java.ext.dirs=C:\Program Files (x86)\Java\jre1.8.0_101\lib\ext;C:\WINDOWS\Sun\Java\lib\ext
2016-09-01 08:23:07 DEBUG UaApplication:? – sun.boot.class.path=C:\Program Files (x86)\Java\jre1.8.0_101\lib
esources.jar;C:\Program Files (x86)\Java\jre1.8.0_101\lib
t.jar;C:\Program Files (x86)\Java\jre1.8.0_101\lib\sunrsasign.jar;C:\Program Files (x86)\Java\jre1.8.0_101\lib\jsse.jar;C:\Program Files (x86)\Java\jre1.8.0_101\lib\jce.jar;C:\Program Files (x86)\Java\jre1.8.0_101\lib\charsets.jar;C:\Program Files (x86)\Java\jre1.8.0_101\lib\jfr.jar;C:\Program Files (x86)\Java\jre1.8.0_101\classes
2016-09-01 08:23:07 DEBUG UaApplication:? – java.vendor=Oracle Corporation
2016-09-01 08:23:07 DEBUG UaApplication:? – sun.stderr.encoding=cp850
2016-09-01 08:23:07 DEBUG UaApplication:? – file.separator=\
2016-09-01 08:23:07 DEBUG UaApplication:? – java.vendor.url.bug=http://bugreport.sun.com/bugreport/
2016-09-01 08:23:07 DEBUG UaApplication:? – sun.io.unicode.encoding=UnicodeLittle
2016-09-01 08:23:07 DEBUG UaApplication:? – sun.cpu.endian=little
2016-09-01 08:23:07 DEBUG UaApplication:? – sun.stdout.encoding=cp850
2016-09-01 08:23:07 DEBUG UaApplication:? – sun.desktop=windows
2016-09-01 08:23:07 DEBUG UaApplication:? – sun.cpu.isalist=pentium_pro+mmx pentium_pro pentium+mmx pentium i486 i386 i86
2016-09-01 08:23:07 DEBUG UaClient:? – connect
2016-09-01 08:23:07 DEBUG UaClient:? – discoverEndpoints: connectUri=opc.tcp://192.168.1.100:4840 protocols=[opc.tcp]
2016-09-01 08:23:07 DEBUG SecureChannelTcp:? – initialize: url=opc.tcp://192.168.1.100:4840
2016-09-01 08:23:07 DEBUG SecureChannelTcp:? – open
2016-09-01 08:23:07 INFO TcpConnection:? – /192.168.1.100:4840 Connecting
2016-09-01 08:23:07 DEBUG TcpConnection:? – /192.168.1.100:4840 Socket connected
2016-09-01 08:23:07 INFO TcpConnection:? – /192.168.1.100:4840 Connected
2016-09-01 08:23:07 DEBUG TcpConnection:? – Creating ReadThread
2016-09-01 08:23:07 DEBUG SecureChannelTcp:? – createSecureChannel: renew=false channel=org.opcfoundation.ua.transport.tcp.io.TcpConnection@38c6c7
2016-09-01 08:23:07 DEBUG SecureChannelTcp:? – createSecureChannel: requestId=1
2016-09-01 08:23:07 DEBUG CryptoUtil:? – CryptoUtil init
2016-09-01 08:23:07 DEBUG CryptoUtil:? – CryptoUtil init: random=java.security.SecureRandom@3d5eda
2016-09-01 08:23:07 DEBUG CryptoUtil:? – createNonce: bytes=0
2016-09-01 08:23:07 DEBUG SecureChannelTcp:? – tokenLifetime: 3600000
2016-09-01 08:23:07 DEBUG TcpConnection:? – sendRequest: socket=Socket[addr=/192.168.1.100,port=4840,localport=54966]
2016-09-01 08:23:07 DEBUG TcpConnection:? – sendRequest: 0 Sending Request rid:1
2016-09-01 08:23:07 DEBUG TcpConnection:? – sendRequest: token=null
2016-09-01 08:23:07 DEBUG TcpConnection:? – sendRequest: keySize=0
2016-09-01 08:23:07 DEBUG TcpConnection:? – SecureChannelId=0 SequenceNumber=1, RequestId=1
2016-09-01 08:23:07 DEBUG ChunkAsymmEncryptSigner:? – SecurityMode in asymm enc: 1
2016-09-01 08:23:07 DEBUG ChunkAsymmDecryptVerifier:? – SecurityPolicy in use: http://opcfoundation.org/UA/SecurityPolicy#None
2016-09-01 08:23:07 DEBUG ChunkAsymmDecryptVerifier:? – SecurityMode in use: None
2016-09-01 08:23:07 DEBUG TcpConnection:? – new token=SecurityToken(Id=1, secureChannelId=94460, creationTime=01-Sep-2016 08:23:07, lifetime=3600000)
2016-09-01 08:23:07 DEBUG SecureChannelTcp:? – 94460 Secure channel opened, SecureChannelId=94460, TokenId=1
2016-09-01 08:23:07 DEBUG SecureChannelTcp:? – RevisedLifetime: 3600000
2016-09-01 08:23:07 DEBUG SecureChannelTcp:? – serviceRequest: requests.size=1
2016-09-01 08:23:07 DEBUG TcpConnection:? – sendRequest: socket=Socket[addr=/192.168.1.100,port=4840,localport=54966]
2016-09-01 08:23:07 DEBUG TcpConnection:? – sendRequest: 94460 Sending Request rid:2
2016-09-01 08:23:07 DEBUG TcpConnection:? – pruneInvalidTokens: tokens(1)=[SecurityToken(Id=1, secureChannelId=94460, creationTime=01-Sep-2016 08:23:07, lifetime=3600000)]
2016-09-01 08:23:07 DEBUG TcpConnection:? – tokens=[SecurityToken(Id=1, secureChannelId=94460, creationTime=01-Sep-2016 08:23:07, lifetime=3600000)]
2016-09-01 08:23:07 DEBUG TcpConnection:? – getSecurityTokenToUse=SecurityToken(Id=1, secureChannelId=94460, creationTime=01-Sep-2016 08:23:07, lifetime=3600000)
2016-09-01 08:23:07 DEBUG TcpConnection:? – sendRequest: token=SecurityToken(Id=1, secureChannelId=94460, creationTime=01-Sep-2016 08:23:07, lifetime=3600000)
2016-09-01 08:23:07 DEBUG TcpConnection:? – sendRequest: keySize=0
2016-09-01 08:23:07 DEBUG SecureChannelTcp:? – serviceRequest: Message sent, requestId=2 secureChannelId=94460
2016-09-01 08:23:07 DEBUG TcpConnection:? – tokens(1)=[SecurityToken(Id=1, secureChannelId=94460, creationTime=01-Sep-2016 08:23:07, lifetime=3600000)]
2016-09-01 08:23:07 DEBUG TcpConnection:? – token=SecurityToken(Id=1, secureChannelId=94460, creationTime=01-Sep-2016 08:23:07, lifetime=3600000)
2016-09-01 08:23:07 DEBUG SecureChannelTcp:? – Response: GetEndpointsResponse
2016-09-01 08:23:07 DEBUG SecureChannelTcp:? – serviceRequest: requests.size=1
2016-09-01 08:23:07 DEBUG TcpConnection:? – sendRequest: socket=Socket[addr=/192.168.1.100,port=4840,localport=54966]
2016-09-01 08:23:07 DEBUG TcpConnection:? – sendRequest: 94460 Sending Request rid:3
2016-09-01 08:23:07 DEBUG TcpConnection:? – pruneInvalidTokens: tokens(1)=[SecurityToken(Id=1, secureChannelId=94460, creationTime=01-Sep-2016 08:23:07, lifetime=3600000)]
2016-09-01 08:23:07 DEBUG TcpConnection:? – tokens=[SecurityToken(Id=1, secureChannelId=94460, creationTime=01-Sep-2016 08:23:07, lifetime=3600000)]
2016-09-01 08:23:07 DEBUG TcpConnection:? – getSecurityTokenToUse=SecurityToken(Id=1, secureChannelId=94460, creationTime=01-Sep-2016 08:23:07, lifetime=3600000)
2016-09-01 08:23:07 DEBUG TcpConnection:? – sendRequest: token=SecurityToken(Id=1, secureChannelId=94460, creationTime=01-Sep-2016 08:23:07, lifetime=3600000)
2016-09-01 08:23:07 DEBUG TcpConnection:? – sendRequest: keySize=0
2016-09-01 08:23:07 DEBUG SecureChannelTcp:? – serviceRequest: Message sent, requestId=3 secureChannelId=94460
2016-09-01 08:23:07 INFO SecureChannelTcp:? – 94460 Closed
2016-09-01 08:23:07 INFO TcpConnection:? – /192.168.1.100:4840 Closed (graceful)
2016-09-01 08:23:07 INFO TcpConnection:? – /192.168.1.100:4840 Closed
2016-09-01 08:23:07 DEBUG SecureChannelTcp:? – requests.clear()
2016-09-01 08:23:07 DEBUG SecureChannelTcp:? – requests.clear()
2016-09-01 08:23:07 DEBUG UaClient:? – endpoints:[EndpointDescription: EndpointDescription
EndpointUrl=opc.tcp://192.168.1.100:4840
Server=ApplicationDescription
ApplicationUri=urn:192.168.1.100:miniweb
ProductUri=http://automation.siemens.com
ApplicationName=(en_us) Sinumerik OPC UA
ApplicationType=ApplicationType
name=Server
ordinal=0
GatewayServerUri=null
DiscoveryProfileUri=null
DiscoveryUrls=class java.lang.String[1]
[0]=opc.tcp://192.168.1.100:4840
ServerCertificate=[864] 0x3082035c308202c5a003020102020431ba2d3f300d06092a864886f70d010105050030818b310b30090603550406130244453110300e06035504081607426176617269613111300f0603550407160845726c616e67656e31133011060355040a160a5369656d656e732041473111300f060355040b1608496e6475737472793120301e06092a864886f70d01090116116f70637561407369656d656e732e636f6d310d300b060355040316046e637531301e170d3136303830393136313431365a170d3436303831303136313431365a30818b310b30090603550406130244453110300e06035504081607426176617269613111300f0603550407160845726c616e67656e31133011060355040a160a5369656d656e732041473111300f060355040b1608496e6475737472793120301e06092a864886f70d01090116116f70637561407369656d656e732e636f6d310d300b060355040316046e63753130819f300d06092a864886f70d010101050003818d0030818902818100ea8ba78a92c65e16e0a0ae0a02e15c6667825905684066248dc9dbea1ded31f6f56b98ba60e2d914bac9fae0a677dc3be4617aa953a63318a080ef63d6dcab3306900b60d764b5cd8e89f70d63efddd1e3720f15ffa68dd1a9469e2f5ceaf1daf94e68f5eae2893dd39af28615a1f9683d86a522380e022d12649cc2e56004ab0203010001a381ca3081c730280603551d23010100041e301c801492f26fb15c7b9da66911c577e8f0e5f12c6f2110820431ba2d3f30200603551d0e0101000416041492f26fb15c7b9da66911c577e8f0e5f12c6f2110300f0603551d130101ff040530030101ff300e0603551d0f0101ff0404030201f630200603551d250101ff0416301406082b0601050507030206082b0601050507030130360603551d11010100042c302a820d3139322e3136382e312e313030861975726e3a3139322e3136382e312e3130303a6d696e69776562300d06092a864886f70d0101050500038181001e1de3ddd99e877e1e4f6d5e57554f769dc03d300aac1b0b5e7d92cb758b2683fad76f0242e20a52998ea60608a7af566ca9597c29a8879c30fad79cd3d7232a5e9d926b44be838d65c57626276c25648777cda5b531f7e70d8985af88d58aaa73aded85b5c96d4d79802d3b27756aa3e15f38ca1130d04b75009d5d841f68ff
SecurityMode=MessageSecurityMode
name=None
ordinal=1
SecurityPolicyUri=http://opcfoundation.org/UA/SecurityPolicy#None
UserIdentityTokens=class org.opcfoundation.ua.core.UserTokenPolicy[2]
[0]=UserTokenPolicy
PolicyId=Anonymous
TokenType=UserTokenType
name=Anonymous
ordinal=0
IssuedTokenType=null
IssuerEndpointUrl=null
SecurityPolicyUri=http://opcfoundation.org/UA/SecurityPolicy#None
[1]=UserTokenPolicy
PolicyId=http://opcfoundation.org/UA/SecurityPolicy#Basic128Rsa15
TokenType=UserTokenType
name=UserName
ordinal=1
IssuedTokenType=null
IssuerEndpointUrl=null
SecurityPolicyUri=http://opcfoundation.org/UA/SecurityPolicy#Basic128Rsa15
TransportProfileUri=http://opcfoundation.org/UA-Profile/Transport/uatcp-uasc-uabinary
SecurityLevel=0
, EndpointDescription: EndpointDescription
EndpointUrl=opc.tcp://192.168.1.100:4840
Server=ApplicationDescription
ApplicationUri=urn:192.168.1.100:miniweb
ProductUri=http://automation.siemens.com
ApplicationName=(en_us) Sinumerik OPC UA
ApplicationType=ApplicationType
name=Server
ordinal=0
GatewayServerUri=null
DiscoveryProfileUri=null
DiscoveryUrls=class java.lang.String[1]
[0]=opc.tcp://192.168.1.100:4840
ServerCertificate=[864] 0x3082035c308202c5a003020102020431ba2d3f300d06092a864886f70d010105050030818b310b30090603550406130244453110300e06035504081607426176617269613111300f0603550407160845726c616e67656e31133011060355040a160a5369656d656e732041473111300f060355040b1608496e6475737472793120301e06092a864886f70d01090116116f70637561407369656d656e732e636f6d310d300b060355040316046e637531301e170d3136303830393136313431365a170d3436303831303136313431365a30818b310b30090603550406130244453110300e06035504081607426176617269613111300f0603550407160845726c616e67656e31133011060355040a160a5369656d656e732041473111300f060355040b1608496e6475737472793120301e06092a864886f70d01090116116f70637561407369656d656e732e636f6d310d300b060355040316046e63753130819f300d06092a864886f70d010101050003818d0030818902818100ea8ba78a92c65e16e0a0ae0a02e15c6667825905684066248dc9dbea1ded31f6f56b98ba60e2d914bac9fae0a677dc3be4617aa953a63318a080ef63d6dcab3306900b60d764b5cd8e89f70d63efddd1e3720f15ffa68dd1a9469e2f5ceaf1daf94e68f5eae2893dd39af28615a1f9683d86a522380e022d12649cc2e56004ab0203010001a381ca3081c730280603551d23010100041e301c801492f26fb15c7b9da66911c577e8f0e5f12c6f2110820431ba2d3f30200603551d0e0101000416041492f26fb15c7b9da66911c577e8f0e5f12c6f2110300f0603551d130101ff040530030101ff300e0603551d0f0101ff0404030201f630200603551d250101ff0416301406082b0601050507030206082b0601050507030130360603551d11010100042c302a820d3139322e3136382e312e313030861975726e3a3139322e3136382e312e3130303a6d696e69776562300d06092a864886f70d0101050500038181001e1de3ddd99e877e1e4f6d5e57554f769dc03d300aac1b0b5e7d92cb758b2683fad76f0242e20a52998ea60608a7af566ca9597c29a8879c30fad79cd3d7232a5e9d926b44be838d65c57626276c25648777cda5b531f7e70d8985af88d58aaa73aded85b5c96d4d79802d3b27756aa3e15f38ca1130d04b75009d5d841f68ff
SecurityMode=MessageSecurityMode
name=SignAndEncrypt
ordinal=3
SecurityPolicyUri=http://opcfoundation.org/UA/SecurityPolicy#Basic128Rsa15
UserIdentityTokens=class org.opcfoundation.ua.core.UserTokenPolicy[2]
[0]=UserTokenPolicy
PolicyId=Anonymous
TokenType=UserTokenType
name=Anonymous
ordinal=0
IssuedTokenType=null
IssuerEndpointUrl=null
SecurityPolicyUri=http://opcfoundation.org/UA/SecurityPolicy#None
[1]=UserTokenPolicy
PolicyId=http://opcfoundation.org/UA/SecurityPolicy#Basic128Rsa15
TokenType=UserTokenType
name=UserName
ordinal=1
IssuedTokenType=null
IssuerEndpointUrl=null
SecurityPolicyUri=http://opcfoundation.org/UA/SecurityPolicy#Basic128Rsa15
TransportProfileUri=http://opcfoundation.org/UA-Profile/Transport/uatcp-uasc-uabinary
SecurityLevel=0
, EndpointDescription: EndpointDescription
EndpointUrl=opc.tcp://192.168.1.100:4840
Server=ApplicationDescription
ApplicationUri=urn:192.168.1.100:miniweb
ProductUri=http://automation.siemens.com
ApplicationName=(en_us) Sinumerik OPC UA
ApplicationType=ApplicationType
name=Server
ordinal=0
GatewayServerUri=null
DiscoveryProfileUri=null
DiscoveryUrls=class java.lang.String[1]
[0]=opc.tcp://192.168.1.100:4840
ServerCertificate=[864] 0x3082035c308202c5a003020102020431ba2d3f300d06092a864886f70d010105050030818b310b30090603550406130244453110300e06035504081607426176617269613111300f0603550407160845726c616e67656e31133011060355040a160a5369656d656e732041473111300f060355040b1608496e6475737472793120301e06092a864886f70d01090116116f70637561407369656d656e732e636f6d310d300b060355040316046e637531301e170d3136303830393136313431365a170d3436303831303136313431365a30818b310b30090603550406130244453110300e06035504081607426176617269613111300f0603550407160845726c616e67656e31133011060355040a160a5369656d656e732041473111300f060355040b1608496e6475737472793120301e06092a864886f70d01090116116f70637561407369656d656e732e636f6d310d300b060355040316046e63753130819f300d06092a864886f70d010101050003818d0030818902818100ea8ba78a92c65e16e0a0ae0a02e15c6667825905684066248dc9dbea1ded31f6f56b98ba60e2d914bac9fae0a677dc3be4617aa953a63318a080ef63d6dcab3306900b60d764b5cd8e89f70d63efddd1e3720f15ffa68dd1a9469e2f5ceaf1daf94e68f5eae2893dd39af28615a1f9683d86a522380e022d12649cc2e56004ab0203010001a381ca3081c730280603551d23010100041e301c801492f26fb15c7b9da66911c577e8f0e5f12c6f2110820431ba2d3f30200603551d0e0101000416041492f26fb15c7b9da66911c577e8f0e5f12c6f2110300f0603551d130101ff040530030101ff300e0603551d0f0101ff0404030201f630200603551d250101ff0416301406082b0601050507030206082b0601050507030130360603551d11010100042c302a820d3139322e3136382e312e313030861975726e3a3139322e3136382e312e3130303a6d696e69776562300d06092a864886f70d0101050500038181001e1de3ddd99e877e1e4f6d5e57554f769dc03d300aac1b0b5e7d92cb758b2683fad76f0242e20a52998ea60608a7af566ca9597c29a8879c30fad79cd3d7232a5e9d926b44be838d65c57626276c25648777cda5b531f7e70d8985af88d58aaa73aded85b5c96d4d79802d3b27756aa3e15f38ca1130d04b75009d5d841f68ff
SecurityMode=MessageSecurityMode
name=SignAndEncrypt
ordinal=3
SecurityPolicyUri=http://opcfoundation.org/UA/SecurityPolicy#Basic256
UserIdentityTokens=class org.opcfoundation.ua.core.UserTokenPolicy[2]
[0]=UserTokenPolicy
PolicyId=Anonymous
TokenType=UserTokenType
name=Anonymous
ordinal=0
IssuedTokenType=null
IssuerEndpointUrl=null
SecurityPolicyUri=http://opcfoundation.org/UA/SecurityPolicy#None
[1]=UserTokenPolicy
PolicyId=http://opcfoundation.org/UA/SecurityPolicy#Basic128Rsa15
TokenType=UserTokenType
name=UserName
ordinal=1
IssuedTokenType=null
IssuerEndpointUrl=null
SecurityPolicyUri=http://opcfoundation.org/UA/SecurityPolicy#Basic128Rsa15
TransportProfileUri=http://opcfoundation.org/UA-Profile/Transport/uatcp-uasc-uabinary
SecurityLevel=0
]
2016-09-01 08:23:07 DEBUG UaClient:? – initEndpoint: endpoint=EndpointDescription: EndpointDescription
EndpointUrl=opc.tcp://192.168.1.100:4840
Server=ApplicationDescription
ApplicationUri=urn:192.168.1.100:miniweb
ProductUri=http://automation.siemens.com
ApplicationName=(en_us) Sinumerik OPC UA
ApplicationType=ApplicationType
name=Server
ordinal=0
GatewayServerUri=null
DiscoveryProfileUri=null
DiscoveryUrls=class java.lang.String[1]
[0]=opc.tcp://192.168.1.100:4840
ServerCertificate=[864] 0x3082035c308202c5a003020102020431ba2d3f300d06092a864886f70d010105050030818b310b30090603550406130244453110300e06035504081607426176617269613111300f0603550407160845726c616e67656e31133011060355040a160a5369656d656e732041473111300f060355040b1608496e6475737472793120301e06092a864886f70d01090116116f70637561407369656d656e732e636f6d310d300b060355040316046e637531301e170d3136303830393136313431365a170d3436303831303136313431365a30818b310b30090603550406130244453110300e06035504081607426176617269613111300f0603550407160845726c616e67656e31133011060355040a160a5369656d656e732041473111300f060355040b1608496e6475737472793120301e06092a864886f70d01090116116f70637561407369656d656e732e636f6d310d300b060355040316046e63753130819f300d06092a864886f70d010101050003818d0030818902818100ea8ba78a92c65e16e0a0ae0a02e15c6667825905684066248dc9dbea1ded31f6f56b98ba60e2d914bac9fae0a677dc3be4617aa953a63318a080ef63d6dcab3306900b60d764b5cd8e89f70d63efddd1e3720f15ffa68dd1a9469e2f5ceaf1daf94e68f5eae2893dd39af28615a1f9683d86a522380e022d12649cc2e56004ab0203010001a381ca3081c730280603551d23010100041e301c801492f26fb15c7b9da66911c577e8f0e5f12c6f2110820431ba2d3f30200603551d0e0101000416041492f26fb15c7b9da66911c577e8f0e5f12c6f2110300f0603551d130101ff040530030101ff300e0603551d0f0101ff0404030201f630200603551d250101ff0416301406082b0601050507030206082b0601050507030130360603551d11010100042c302a820d3139322e3136382e312e313030861975726e3a3139322e3136382e312e3130303a6d696e69776562300d06092a864886f70d0101050500038181001e1de3ddd99e877e1e4f6d5e57554f769dc03d300aac1b0b5e7d92cb758b2683fad76f0242e20a52998ea60608a7af566ca9597c29a8879c30fad79cd3d7232a5e9d926b44be838d65c57626276c25648777cda5b531f7e70d8985af88d58aaa73aded85b5c96d4d79802d3b27756aa3e15f38ca1130d04b75009d5d841f68ff
SecurityMode=MessageSecurityMode
name=None
ordinal=1
SecurityPolicyUri=http://opcfoundation.org/UA/SecurityPolicy#None
UserIdentityTokens=class org.opcfoundation.ua.core.UserTokenPolicy[2]
[0]=UserTokenPolicy
PolicyId=Anonymous
TokenType=UserTokenType
name=Anonymous
ordinal=0
IssuedTokenType=null
IssuerEndpointUrl=null
SecurityPolicyUri=http://opcfoundation.org/UA/SecurityPolicy#None
[1]=UserTokenPolicy
PolicyId=http://opcfoundation.org/UA/SecurityPolicy#Basic128Rsa15
TokenType=UserTokenType
name=UserName
ordinal=1
IssuedTokenType=null
IssuerEndpointUrl=null
SecurityPolicyUri=http://opcfoundation.org/UA/SecurityPolicy#Basic128Rsa15
TransportProfileUri=http://opcfoundation.org/UA-Profile/Transport/uatcp-uasc-uabinary
SecurityLevel=0
2016-09-01 08:23:07 DEBUG SecureChannelTcp:? – initialize: url=opc.tcp://192.168.1.100:4840
2016-09-01 08:23:07 DEBUG SecureChannelTcp:? – open
2016-09-01 08:23:07 INFO TcpConnection:? – /192.168.1.100:4840 Connecting
2016-09-01 08:23:07 DEBUG TcpConnection:? – /192.168.1.100:4840 Socket connected
2016-09-01 08:23:07 INFO TcpConnection:? – /192.168.1.100:4840 Connected
2016-09-01 08:23:07 DEBUG TcpConnection:? – Creating ReadThread
2016-09-01 08:23:07 DEBUG SecureChannelTcp:? – createSecureChannel: renew=false channel=org.opcfoundation.ua.transport.tcp.io.TcpConnection@14dfc60
2016-09-01 08:23:07 DEBUG SecureChannelTcp:? – createSecureChannel: requestId=1
2016-09-01 08:23:07 DEBUG CryptoUtil:? – createNonce: bytes=0
2016-09-01 08:23:07 DEBUG SecureChannelTcp:? – tokenLifetime: 3600000
2016-09-01 08:23:07 DEBUG TcpConnection:? – sendRequest: socket=Socket[addr=/192.168.1.100,port=4840,localport=54967]
2016-09-01 08:23:07 DEBUG TcpConnection:? – sendRequest: 0 Sending Request rid:1
2016-09-01 08:23:07 DEBUG TcpConnection:? – sendRequest: token=null
2016-09-01 08:23:07 DEBUG TcpConnection:? – sendRequest: keySize=0
2016-09-01 08:23:07 DEBUG TcpConnection:? – SecureChannelId=0 SequenceNumber=1, RequestId=1
2016-09-01 08:23:07 DEBUG ChunkAsymmEncryptSigner:? – SecurityMode in asymm enc: 1
2016-09-01 08:23:07 DEBUG ChunkAsymmDecryptVerifier:? – SecurityPolicy in use: http://opcfoundation.org/UA/SecurityPolicy#None
2016-09-01 08:23:07 DEBUG ChunkAsymmDecryptVerifier:? – SecurityMode in use: None
2016-09-01 08:23:07 DEBUG TcpConnection:? – new token=SecurityToken(Id=1, secureChannelId=94461, creationTime=01-Sep-2016 08:23:07, lifetime=3600000)
2016-09-01 08:23:07 DEBUG SecureChannelTcp:? – 94461 Secure channel opened, SecureChannelId=94461, TokenId=1
2016-09-01 08:23:07 DEBUG SecureChannelTcp:? – RevisedLifetime: 3600000
2016-09-01 08:23:07 DEBUG UaClient:? – createSessionChannel
2016-09-01 08:23:07 DEBUG CryptoUtil:? – createNonce: bytes=32
2016-09-01 08:23:07 DEBUG SecureChannelTcp:? – serviceRequest: requests.size=1
2016-09-01 08:23:07 DEBUG TcpConnection:? – sendRequest: socket=Socket[addr=/192.168.1.100,port=4840,localport=54967]
2016-09-01 08:23:07 DEBUG TcpConnection:? – sendRequest: 94461 Sending Request rid:2
2016-09-01 08:23:07 DEBUG TcpConnection:? – pruneInvalidTokens: tokens(1)=[SecurityToken(Id=1, secureChannelId=94461, creationTime=01-Sep-2016 08:23:07, lifetime=3600000)]
2016-09-01 08:23:07 DEBUG TcpConnection:? – tokens=[SecurityToken(Id=1, secureChannelId=94461, creationTime=01-Sep-2016 08:23:07, lifetime=3600000)]
2016-09-01 08:23:07 DEBUG TcpConnection:? – getSecurityTokenToUse=SecurityToken(Id=1, secureChannelId=94461, creationTime=01-Sep-2016 08:23:07, lifetime=3600000)
2016-09-01 08:23:07 DEBUG TcpConnection:? – sendRequest: token=SecurityToken(Id=1, secureChannelId=94461, creationTime=01-Sep-2016 08:23:07, lifetime=3600000)
2016-09-01 08:23:07 DEBUG TcpConnection:? – sendRequest: keySize=0
2016-09-01 08:23:07 DEBUG SecureChannelTcp:? – serviceRequest: Message sent, requestId=2 secureChannelId=94461
2016-09-01 08:23:07 DEBUG TcpConnection:? – tokens(1)=[SecurityToken(Id=1, secureChannelId=94461, creationTime=01-Sep-2016 08:23:07, lifetime=3600000)]
2016-09-01 08:23:07 DEBUG TcpConnection:? – token=SecurityToken(Id=1, secureChannelId=94461, creationTime=01-Sep-2016 08:23:07, lifetime=3600000)
2016-09-01 08:23:07 DEBUG SecureChannelTcp:? – Response: CreateSessionResponse
2016-09-01 08:23:07 DEBUG Client:? – MessageSecurityMode: None
2016-09-01 08:23:07 ERROR Client:? – Requested endpoint is not found on the server: Endpoint=EndpointDescription: EndpointDescription
EndpointUrl=opc.tcp://192.168.1.100:4840
Server=ApplicationDescription
ApplicationUri=urn:192.168.1.100:miniweb
ProductUri=http://automation.siemens.com
ApplicationName=(en_us) Sinumerik OPC UA
ApplicationType=ApplicationType
name=Server
ordinal=0
GatewayServerUri=null
DiscoveryProfileUri=null
DiscoveryUrls=class java.lang.String[1]
[0]=opc.tcp://192.168.1.100:4840
ServerCertificate=[864] 0x3082035c308202c5a003020102020431ba2d3f300d06092a864886f70d010105050030818b310b30090603550406130244453110300e06035504081607426176617269613111300f0603550407160845726c616e67656e31133011060355040a160a5369656d656e732041473111300f060355040b1608496e6475737472793120301e06092a864886f70d01090116116f70637561407369656d656e732e636f6d310d300b060355040316046e637531301e170d3136303830393136313431365a170d3436303831303136313431365a30818b310b30090603550406130244453110300e06035504081607426176617269613111300f0603550407160845726c616e67656e31133011060355040a160a5369656d656e732041473111300f060355040b1608496e6475737472793120301e06092a864886f70d01090116116f70637561407369656d656e732e636f6d310d300b060355040316046e63753130819f300d06092a864886f70d010101050003818d0030818902818100ea8ba78a92c65e16e0a0ae0a02e15c6667825905684066248dc9dbea1ded31f6f56b98ba60e2d914bac9fae0a677dc3be4617aa953a63318a080ef63d6dcab3306900b60d764b5cd8e89f70d63efddd1e3720f15ffa68dd1a9469e2f5ceaf1daf94e68f5eae2893dd39af28615a1f9683d86a522380e022d12649cc2e56004ab0203010001a381ca3081c730280603551d23010100041e301c801492f26fb15c7b9da66911c577e8f0e5f12c6f2110820431ba2d3f30200603551d0e0101000416041492f26fb15c7b9da66911c577e8f0e5f12c6f2110300f0603551d130101ff040530030101ff300e0603551d0f0101ff0404030201f630200603551d250101ff0416301406082b0601050507030206082b0601050507030130360603551d11010100042c302a820d3139322e3136382e312e313030861975726e3a3139322e3136382e312e3130303a6d696e69776562300d06092a864886f70d0101050500038181001e1de3ddd99e877e1e4f6d5e57554f769dc03d300aac1b0b5e7d92cb758b2683fad76f0242e20a52998ea60608a7af566ca9597c29a8879c30fad79cd3d7232a5e9d926b44be838d65c57626276c25648777cda5b531f7e70d8985af88d58aaa73aded85b5c96d4d79802d3b27756aa3e15f38ca1130d04b75009d5d841f68ff
SecurityMode=MessageSecurityMode
name=None
ordinal=1
SecurityPolicyUri=http://opcfoundation.org/UA/SecurityPolicy#None
UserIdentityTokens=class org.opcfoundation.ua.core.UserTokenPolicy[2]
[0]=UserTokenPolicy
PolicyId=Anonymous
TokenType=UserTokenType
name=Anonymous
ordinal=0
IssuedTokenType=null
IssuerEndpointUrl=null
SecurityPolicyUri=http://opcfoundation.org/UA/SecurityPolicy#None
[1]=UserTokenPolicy
PolicyId=http://opcfoundation.org/UA/SecurityPolicy#Basic128Rsa15
TokenType=UserTokenType
name=UserName
ordinal=1
IssuedTokenType=null
IssuerEndpointUrl=null
SecurityPolicyUri=http://opcfoundation.org/UA/SecurityPolicy#Basic128Rsa15
TransportProfileUri=http://opcfoundation.org/UA-Profile/Transport/uatcp-uasc-uabinary
SecurityLevel=0
2016-09-01 08:23:07 DEBUG Client:? – endpoints=[EndpointDescription: EndpointDescription
EndpointUrl=opc.tcp://192.168.1.100:4840
Server=ApplicationDescription
ApplicationUri=urn:192.168.1.100:miniweb
ProductUri=http://automation.siemens.com
ApplicationName=(en_us) Sinumerik OPC UA
ApplicationType=ApplicationType
name=Server
ordinal=0
GatewayServerUri=null
DiscoveryProfileUri=null
DiscoveryUrls=class java.lang.String[1]
[0]=opc.tcp://192.168.1.100:4840
ServerCertificate=[0] 0x
SecurityMode=MessageSecurityMode
name=None
ordinal=1
SecurityPolicyUri=http://opcfoundation.org/UA/SecurityPolicy#None
UserIdentityTokens=class org.opcfoundation.ua.core.UserTokenPolicy[2]
[0]=UserTokenPolicy
PolicyId=Anonymous
TokenType=UserTokenType
name=Anonymous
ordinal=0
IssuedTokenType=null
IssuerEndpointUrl=null
SecurityPolicyUri=http://opcfoundation.org/UA/SecurityPolicy#None
[1]=UserTokenPolicy
PolicyId=http://opcfoundation.org/UA/SecurityPolicy#Basic128Rsa15
TokenType=UserTokenType
name=UserName
ordinal=1
IssuedTokenType=null
IssuerEndpointUrl=null
SecurityPolicyUri=http://opcfoundation.org/UA/SecurityPolicy#Basic128Rsa15
TransportProfileUri=http://opcfoundation.org/UA-Profile/Transport/uatcp-uasc-uabinary
SecurityLevel=0
, EndpointDescription: EndpointDescription
EndpointUrl=opc.tcp://192.168.1.100:4840
Server=ApplicationDescription
ApplicationUri=urn:192.168.1.100:miniweb
ProductUri=http://automation.siemens.com
ApplicationName=(en_us) Sinumerik OPC UA
ApplicationType=ApplicationType
name=Server
ordinal=0
GatewayServerUri=null
DiscoveryProfileUri=null
DiscoveryUrls=class java.lang.String[1]
[0]=opc.tcp://192.168.1.100:4840
ServerCertificate=[0] 0x
SecurityMode=MessageSecurityMode
name=SignAndEncrypt
ordinal=3
SecurityPolicyUri=http://opcfoundation.org/UA/SecurityPolicy#Basic128Rsa15
UserIdentityTokens=class org.opcfoundation.ua.core.UserTokenPolicy[2]
[0]=UserTokenPolicy
PolicyId=Anonymous
TokenType=UserTokenType
name=Anonymous
ordinal=0
IssuedTokenType=null
IssuerEndpointUrl=null
SecurityPolicyUri=http://opcfoundation.org/UA/SecurityPolicy#None
[1]=UserTokenPolicy
PolicyId=http://opcfoundation.org/UA/SecurityPolicy#Basic128Rsa15
TokenType=UserTokenType
name=UserName
ordinal=1
IssuedTokenType=null
IssuerEndpointUrl=null
SecurityPolicyUri=http://opcfoundation.org/UA/SecurityPolicy#Basic128Rsa15
TransportProfileUri=http://opcfoundation.org/UA-Profile/Transport/uatcp-uasc-uabinary
SecurityLevel=0
, EndpointDescription: EndpointDescription
EndpointUrl=opc.tcp://192.168.1.100:4840
Server=ApplicationDescription
ApplicationUri=urn:192.168.1.100:miniweb
ProductUri=http://automation.siemens.com
ApplicationName=(en_us) Sinumerik OPC UA
ApplicationType=ApplicationType
name=Server
ordinal=0
GatewayServerUri=null
DiscoveryProfileUri=null
DiscoveryUrls=class java.lang.String[1]
[0]=opc.tcp://192.168.1.100:4840
ServerCertificate=[0] 0x
SecurityMode=MessageSecurityMode
name=SignAndEncrypt
ordinal=3
SecurityPolicyUri=http://opcfoundation.org/UA/SecurityPolicy#Basic256
UserIdentityTokens=class org.opcfoundation.ua.core.UserTokenPolicy[2]
[0]=UserTokenPolicy
PolicyId=Anonymous
TokenType=UserTokenType
name=Anonymous
ordinal=0
IssuedTokenType=null
IssuerEndpointUrl=null
SecurityPolicyUri=http://opcfoundation.org/UA/SecurityPolicy#None
[1]=UserTokenPolicy
PolicyId=http://opcfoundation.org/UA/SecurityPolicy#Basic128Rsa15
TokenType=UserTokenType
name=UserName
ordinal=1
IssuedTokenType=null
IssuerEndpointUrl=null
SecurityPolicyUri=http://opcfoundation.org/UA/SecurityPolicy#Basic128Rsa15
TransportProfileUri=http://opcfoundation.org/UA-Profile/Transport/uatcp-uasc-uabinary
SecurityLevel=0
]
2016-09-01 08:23:07 DEBUG SecureChannelTcp:? – serviceRequest: requests.size=1
2016-09-01 08:23:07 DEBUG TcpConnection:? – sendRequest: socket=Socket[addr=/192.168.1.100,port=4840,localport=54967]
2016-09-01 08:23:07 DEBUG TcpConnection:? – sendRequest: 94461 Sending Request rid:3
2016-09-01 08:23:07 DEBUG TcpConnection:? – pruneInvalidTokens: tokens(1)=[SecurityToken(Id=1, secureChannelId=94461, creationTime=01-Sep-2016 08:23:07, lifetime=3600000)]
2016-09-01 08:23:07 DEBUG TcpConnection:? – tokens=[SecurityToken(Id=1, secureChannelId=94461, creationTime=01-Sep-2016 08:23:07, lifetime=3600000)]
2016-09-01 08:23:07 DEBUG TcpConnection:? – getSecurityTokenToUse=SecurityToken(Id=1, secureChannelId=94461, creationTime=01-Sep-2016 08:23:07, lifetime=3600000)
2016-09-01 08:23:07 DEBUG TcpConnection:? – sendRequest: token=SecurityToken(Id=1, secureChannelId=94461, creationTime=01-Sep-2016 08:23:07, lifetime=3600000)
2016-09-01 08:23:07 DEBUG TcpConnection:? – sendRequest: keySize=0
2016-09-01 08:23:07 DEBUG SecureChannelTcp:? – serviceRequest: Message sent, requestId=3 secureChannelId=94461
2016-09-01 08:23:07 INFO SecureChannelTcp:? – 94461 Closed
2016-09-01 08:23:07 INFO TcpConnection:? – /192.168.1.100:4840 Closed
2016-09-01 08:23:07 DEBUG SecureChannelTcp:? – requests.clear()
2016-09-01 08:23:07 INFO TcpConnection:? – /192.168.1.100:4840 Closed (expected)
10:22, EEST
April 17, 2013
Hello,
Thank you for the log. This helps to clarify the situation.
The issue is shown in line
The following logging lines show that the ServerCertificate sent by the server is different in GetEndpoints call and CreateSession service call. So, this seems to be a server issue.
However, the client application could work with this condition and just ignore the ServerCertificates. At least in security mode none this seems safe. I’ll get back to you regarding a possible workaround for the client side check.
14:58, EEST
August 31, 2016
Hi Heikki, Thanks for your reply.
I also was suspecting the certificates, but found the certificate check unnecessary when the Security Mode was set to None.
We want to implement the prosys ua client in our factories as soon as, we are finished with the testing.
Is the workaround complicated and is it possible for you to give a possible time frame for the workaround.
16:22, EEST
April 17, 2013
Hi,
Actually, this seems to be a client side issue. The server application is probably working according to specification.
The specification regarding the server certificate handling was changed in OPC UA specification version 1.02. It seems that somehow this issue has not been detected before this, probably because most of the other stacks have kept backwards compatibility with version 1.01 spec.
Thanks for reporting this! Fix for this isn’t that complicated. I can send you a beta version to test shortly. I’ll use the email address that you have registered here in the forum.
16:36, EEST
August 31, 2016
17:01, EEST
April 17, 2013
17:05, EEST
August 31, 2016
Hi Heikki,
Your mail arrived but the jar was unfortunately stripped off by the spamware of my company. Is it possible for you to zip it and then send it to me.
Or else please send it to piet.borst@skf.com
17:14, EEST
April 17, 2013
17:37, EEST
August 31, 2016
17:44, EEST
August 31, 2016
Hi Heikki,
I get a NullPointerException now. Below is the complete log.
2016-09-01 16:41:50 DEBUG UaApplication:? – java.runtime.name=Java(TM) SE Runtime Environment
2016-09-01 16:41:50 DEBUG UaApplication:? – sun.boot.library.path=C:\Program Files (x86)\Java\jre1.8.0_101\bin
2016-09-01 16:41:50 DEBUG UaApplication:? – java.vm.version=25.101-b13
2016-09-01 16:41:50 DEBUG UaApplication:? – java.vm.vendor=Oracle Corporation
2016-09-01 16:41:50 DEBUG UaApplication:? – java.vendor.url=http://java.oracle.com/
2016-09-01 16:41:50 DEBUG UaApplication:? – path.separator=;
2016-09-01 16:41:50 DEBUG UaApplication:? – java.vm.name=Java HotSpot(TM) Client VM
2016-09-01 16:41:50 DEBUG UaApplication:? – file.encoding.pkg=sun.io
2016-09-01 16:41:50 DEBUG UaApplication:? – user.country=GB
2016-09-01 16:41:50 DEBUG UaApplication:? – user.script=
2016-09-01 16:41:50 DEBUG UaApplication:? – sun.java.launcher=SUN_STANDARD
2016-09-01 16:41:50 DEBUG UaApplication:? – sun.os.patch.level=Service Pack 1
2016-09-01 16:41:50 DEBUG UaApplication:? – java.vm.specification.name=Java Virtual Machine Specification
2016-09-01 16:41:50 DEBUG UaApplication:? – user.dir=C:\Temp\opcuasetup
2016-09-01 16:41:50 DEBUG UaApplication:? – java.runtime.version=1.8.0_101-b13
2016-09-01 16:41:50 DEBUG UaApplication:? – java.awt.graphicsenv=sun.awt.Win32GraphicsEnvironment
2016-09-01 16:41:50 DEBUG UaApplication:? – java.endorsed.dirs=C:\Program Files (x86)\Java\jre1.8.0_101\lib\endorsed
2016-09-01 16:41:50 DEBUG UaApplication:? – os.arch=x86
2016-09-01 16:41:50 DEBUG UaApplication:? – java.io.tmpdir=C:\Users\G976795\AppData\Local\Temp\
2016-09-01 16:41:50 DEBUG UaApplication:? – line.separator=
2016-09-01 16:41:50 DEBUG UaApplication:? – java.vm.specification.vendor=Oracle Corporation
2016-09-01 16:41:50 DEBUG UaApplication:? – user.variant=
2016-09-01 16:41:50 DEBUG UaApplication:? – os.name=Windows 7
2016-09-01 16:41:50 DEBUG UaApplication:? – sun.jnu.encoding=Cp1252
2016-09-01 16:41:50 DEBUG UaApplication:? – java.library.path=C:\ProgramData\Oracle\Java\javapath;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\CCM\;C:\ProgramData\Oracle\Java\javapath;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\IVI Foundation\VISA\WinNT\Bin\;C:\Program Files\IVI Foundation\VISA\Win64\Bin\;C:\Program Files (x86)\IVI Foundation\VISA\WinNT\Bin;C:\Program Files (x86)\IVI Foundation\IVI\bin;C:\Program Files\IVI Foundation\IVI\bin;.
2016-09-01 16:41:50 DEBUG UaApplication:? – java.specification.name=Java Platform API Specification
2016-09-01 16:41:50 DEBUG UaApplication:? – java.class.version=52.0
2016-09-01 16:41:50 DEBUG UaApplication:? – sun.management.compiler=HotSpot Client Compiler
2016-09-01 16:41:50 DEBUG UaApplication:? – os.version=6.1
2016-09-01 16:41:50 DEBUG UaApplication:? – user.home=C:\Users\G976795
2016-09-01 16:41:50 DEBUG UaApplication:? – user.timezone=Europe/Berlin
2016-09-01 16:41:50 DEBUG UaApplication:? – java.awt.printerjob=sun.awt.windows.WPrinterJob
2016-09-01 16:41:50 DEBUG UaApplication:? – file.encoding=Cp1252
2016-09-01 16:41:50 DEBUG UaApplication:? – java.specification.version=1.8
2016-09-01 16:41:50 DEBUG UaApplication:? – java.class.path=CMS-OPCUA.jar
2016-09-01 16:41:50 DEBUG UaApplication:? – user.name=g976795
2016-09-01 16:41:50 DEBUG UaApplication:? – java.vm.specification.version=1.8
2016-09-01 16:41:50 DEBUG UaApplication:? – sun.java.command=CMS-OPCUA.jar
2016-09-01 16:41:50 DEBUG UaApplication:? – java.home=C:\Program Files (x86)\Java\jre1.8.0_101
2016-09-01 16:41:50 DEBUG UaApplication:? – sun.arch.data.model=32
2016-09-01 16:41:50 DEBUG UaApplication:? – user.language=en
2016-09-01 16:41:50 DEBUG UaApplication:? – java.specification.vendor=Oracle Corporation
2016-09-01 16:41:50 DEBUG UaApplication:? – awt.toolkit=sun.awt.windows.WToolkit
2016-09-01 16:41:50 DEBUG UaApplication:? – java.vm.info=mixed mode
2016-09-01 16:41:50 DEBUG UaApplication:? – java.version=1.8.0_101
2016-09-01 16:41:50 DEBUG UaApplication:? – java.ext.dirs=C:\Program Files (x86)\Java\jre1.8.0_101\lib\ext;C:\WINDOWS\Sun\Java\lib\ext
2016-09-01 16:41:50 DEBUG UaApplication:? – sun.boot.class.path=C:\Program Files (x86)\Java\jre1.8.0_101\lib
esources.jar;C:\Program Files (x86)\Java\jre1.8.0_101\lib
t.jar;C:\Program Files (x86)\Java\jre1.8.0_101\lib\sunrsasign.jar;C:\Program Files (x86)\Java\jre1.8.0_101\lib\jsse.jar;C:\Program Files (x86)\Java\jre1.8.0_101\lib\jce.jar;C:\Program Files (x86)\Java\jre1.8.0_101\lib\charsets.jar;C:\Program Files (x86)\Java\jre1.8.0_101\lib\jfr.jar;C:\Program Files (x86)\Java\jre1.8.0_101\classes
2016-09-01 16:41:50 DEBUG UaApplication:? – java.vendor=Oracle Corporation
2016-09-01 16:41:50 DEBUG UaApplication:? – sun.stderr.encoding=cp850
2016-09-01 16:41:50 DEBUG UaApplication:? – file.separator=\
2016-09-01 16:41:50 DEBUG UaApplication:? – java.vendor.url.bug=http://bugreport.sun.com/bugreport/
2016-09-01 16:41:50 DEBUG UaApplication:? – sun.io.unicode.encoding=UnicodeLittle
2016-09-01 16:41:50 DEBUG UaApplication:? – sun.cpu.endian=little
2016-09-01 16:41:50 DEBUG UaApplication:? – sun.stdout.encoding=cp850
2016-09-01 16:41:50 DEBUG UaApplication:? – sun.desktop=windows
2016-09-01 16:41:50 DEBUG UaApplication:? – sun.cpu.isalist=pentium_pro+mmx pentium_pro pentium+mmx pentium i486 i386 i86
2016-09-01 16:41:51 DEBUG UaClient:? – discoverEndpoints: connectUri=opc.tcp://192.168.1.100:4840 protocols=[opc.tcp]
2016-09-01 16:41:51 DEBUG SecureChannelTcp:242 – initialize: url=opc.tcp://192.168.1.100:4840
2016-09-01 16:41:51 DEBUG SecureChannelTcp:567 – open
2016-09-01 16:41:51 INFO TcpConnection:397 – /192.168.1.100:4840 Connecting
2016-09-01 16:41:51 DEBUG TcpConnection:422 – /192.168.1.100:4840 Socket connected
2016-09-01 16:41:51 INFO TcpConnection:545 – /192.168.1.100:4840 Connected
2016-09-01 16:41:51 DEBUG TcpConnection:550 – Creating ReadThread
2016-09-01 16:41:51 DEBUG SecureChannelTcp:627 – createSecureChannel: renew=false channel=org.opcfoundation.ua.transport.tcp.io.TcpConnection@b28627
2016-09-01 16:41:51 DEBUG SecureChannelTcp:632 – createSecureChannel: requestId=1
2016-09-01 16:41:51 DEBUG CryptoUtil:79 – CryptoUtil init
2016-09-01 16:41:51 DEBUG CryptoUtil:81 – CryptoUtil init: random=java.security.SecureRandom@8a21b0
2016-09-01 16:41:51 DEBUG CryptoUtil:150 – createNonce: bytes=0
2016-09-01 16:41:51 DEBUG SecureChannelTcp:642 – tokenLifetime: 3600000
2016-09-01 16:41:51 DEBUG TcpConnection:1040 – sendRequest: socket=Socket[addr=/192.168.1.100,port=4840,localport=60850]
2016-09-01 16:41:51 DEBUG TcpConnection:1045 – sendRequest: 0 Sending Request rid:1
2016-09-01 16:41:51 DEBUG TcpConnection:1059 – sendRequest: token=null
2016-09-01 16:41:51 DEBUG TcpConnection:1063 – sendRequest: keySize=0
2016-09-01 16:41:51 DEBUG TcpConnection:1206 – SecureChannelId=0 SequenceNumber=1, RequestId=1
2016-09-01 16:41:51 DEBUG ChunkAsymmEncryptSigner:78 – SecurityMode in asymm enc: 1
2016-09-01 16:41:51 DEBUG ChunkAsymmDecryptVerifier:71 – SecurityPolicy in use: http://opcfoundation.org/UA/SecurityPolicy#None
2016-09-01 16:41:51 DEBUG ChunkAsymmDecryptVerifier:72 – SecurityMode in use: None
2016-09-01 16:41:51 DEBUG TcpConnection:933 – new token=SecurityToken(Id=1, secureChannelId=74759259, creationTime=01-Sep-2016 16:41:51, lifetime=3600000)
2016-09-01 16:41:51 DEBUG SecureChannelTcp:724 – 74759259 Secure channel opened, SecureChannelId=74759259, TokenId=1
2016-09-01 16:41:51 DEBUG SecureChannelTcp:746 – RevisedLifetime: 3600000
2016-09-01 16:41:51 DEBUG SecureChannelTcp:338 – serviceRequest: requests.size=1
2016-09-01 16:41:51 DEBUG TcpConnection:1040 – sendRequest: socket=Socket[addr=/192.168.1.100,port=4840,localport=60850]
2016-09-01 16:41:51 DEBUG TcpConnection:1045 – sendRequest: 74759259 Sending Request rid:2
2016-09-01 16:41:51 DEBUG TcpConnection:1350 – pruneInvalidTokens: tokens(1)=[SecurityToken(Id=1, secureChannelId=74759259, creationTime=01-Sep-2016 16:41:51, lifetime=3600000)]
2016-09-01 16:41:51 DEBUG TcpConnection:1335 – tokens=[SecurityToken(Id=1, secureChannelId=74759259, creationTime=01-Sep-2016 16:41:51, lifetime=3600000)]
2016-09-01 16:41:51 DEBUG TcpConnection:1340 – getSecurityTokenToUse=SecurityToken(Id=1, secureChannelId=74759259, creationTime=01-Sep-2016 16:41:51, lifetime=3600000)
2016-09-01 16:41:51 DEBUG TcpConnection:1059 – sendRequest: token=SecurityToken(Id=1, secureChannelId=74759259, creationTime=01-Sep-2016 16:41:51, lifetime=3600000)
2016-09-01 16:41:51 DEBUG TcpConnection:1063 – sendRequest: keySize=0
2016-09-01 16:41:51 DEBUG SecureChannelTcp:344 – serviceRequest: Message sent, requestId=2 secureChannelId=74759259
2016-09-01 16:41:51 DEBUG TcpConnection:833 – tokens(1)=[SecurityToken(Id=1, secureChannelId=74759259, creationTime=01-Sep-2016 16:41:51, lifetime=3600000)]
2016-09-01 16:41:51 DEBUG TcpConnection:837 – token=SecurityToken(Id=1, secureChannelId=74759259, creationTime=01-Sep-2016 16:41:51, lifetime=3600000)
2016-09-01 16:41:51 DEBUG SecureChannelTcp:381 – Response: GetEndpointsResponse
2016-09-01 16:41:51 DEBUG SecureChannelTcp:338 – serviceRequest: requests.size=1
2016-09-01 16:41:51 DEBUG TcpConnection:1040 – sendRequest: socket=Socket[addr=/192.168.1.100,port=4840,localport=60850]
2016-09-01 16:41:51 DEBUG TcpConnection:1045 – sendRequest: 74759259 Sending Request rid:3
2016-09-01 16:41:51 DEBUG TcpConnection:1350 – pruneInvalidTokens: tokens(1)=[SecurityToken(Id=1, secureChannelId=74759259, creationTime=01-Sep-2016 16:41:51, lifetime=3600000)]
2016-09-01 16:41:51 DEBUG TcpConnection:1335 – tokens=[SecurityToken(Id=1, secureChannelId=74759259, creationTime=01-Sep-2016 16:41:51, lifetime=3600000)]
2016-09-01 16:41:51 DEBUG TcpConnection:1340 – getSecurityTokenToUse=SecurityToken(Id=1, secureChannelId=74759259, creationTime=01-Sep-2016 16:41:51, lifetime=3600000)
2016-09-01 16:41:51 DEBUG TcpConnection:1059 – sendRequest: token=SecurityToken(Id=1, secureChannelId=74759259, creationTime=01-Sep-2016 16:41:51, lifetime=3600000)
2016-09-01 16:41:51 DEBUG TcpConnection:1063 – sendRequest: keySize=0
2016-09-01 16:41:51 DEBUG SecureChannelTcp:344 – serviceRequest: Message sent, requestId=3 secureChannelId=74759259
2016-09-01 16:41:51 INFO SecureChannelTcp:877 – 74759259 Closed
2016-09-01 16:41:51 INFO TcpConnection:962 – /192.168.1.100:4840 Closed (graceful)
2016-09-01 16:41:51 INFO TcpConnection:616 – /192.168.1.100:4840 Closed
2016-09-01 16:41:51 DEBUG SecureChannelTcp:902 – requests.clear()
2016-09-01 16:41:51 DEBUG SecureChannelTcp:902 – requests.clear()
2016-09-01 16:41:51 DEBUG UaClient:? – connect
2016-09-01 16:41:51 DEBUG UaClient:? – discoverEndpoints: connectUri=opc.tcp://192.168.1.100:4840 protocols=[opc.tcp]
2016-09-01 16:41:51 DEBUG SecureChannelTcp:242 – initialize: url=opc.tcp://192.168.1.100:4840
2016-09-01 16:41:51 DEBUG SecureChannelTcp:567 – open
2016-09-01 16:41:51 INFO TcpConnection:397 – /192.168.1.100:4840 Connecting
2016-09-01 16:41:51 DEBUG TcpConnection:422 – /192.168.1.100:4840 Socket connected
2016-09-01 16:41:51 INFO TcpConnection:545 – /192.168.1.100:4840 Connected
2016-09-01 16:41:51 DEBUG TcpConnection:550 – Creating ReadThread
2016-09-01 16:41:51 DEBUG SecureChannelTcp:627 – createSecureChannel: renew=false channel=org.opcfoundation.ua.transport.tcp.io.TcpConnection@1241a18
2016-09-01 16:41:51 DEBUG SecureChannelTcp:632 – createSecureChannel: requestId=1
2016-09-01 16:41:51 DEBUG CryptoUtil:150 – createNonce: bytes=0
2016-09-01 16:41:51 DEBUG SecureChannelTcp:642 – tokenLifetime: 3600000
2016-09-01 16:41:51 DEBUG TcpConnection:1040 – sendRequest: socket=Socket[addr=/192.168.1.100,port=4840,localport=60851]
2016-09-01 16:41:51 DEBUG TcpConnection:1045 – sendRequest: 0 Sending Request rid:1
2016-09-01 16:41:51 DEBUG TcpConnection:1059 – sendRequest: token=null
2016-09-01 16:41:51 DEBUG TcpConnection:1063 – sendRequest: keySize=0
2016-09-01 16:41:51 DEBUG TcpConnection:1206 – SecureChannelId=0 SequenceNumber=1, RequestId=1
2016-09-01 16:41:51 DEBUG ChunkAsymmEncryptSigner:78 – SecurityMode in asymm enc: 1
2016-09-01 16:41:51 DEBUG ChunkAsymmDecryptVerifier:71 – SecurityPolicy in use: http://opcfoundation.org/UA/SecurityPolicy#None
2016-09-01 16:41:51 DEBUG ChunkAsymmDecryptVerifier:72 – SecurityMode in use: None
2016-09-01 16:41:51 DEBUG TcpConnection:933 – new token=SecurityToken(Id=1, secureChannelId=74759260, creationTime=01-Sep-2016 16:41:51, lifetime=3600000)
2016-09-01 16:41:51 DEBUG SecureChannelTcp:724 – 74759260 Secure channel opened, SecureChannelId=74759260, TokenId=1
2016-09-01 16:41:51 DEBUG SecureChannelTcp:746 – RevisedLifetime: 3600000
2016-09-01 16:41:51 DEBUG SecureChannelTcp:338 – serviceRequest: requests.size=1
2016-09-01 16:41:51 DEBUG TcpConnection:1040 – sendRequest: socket=Socket[addr=/192.168.1.100,port=4840,localport=60851]
2016-09-01 16:41:51 DEBUG TcpConnection:1045 – sendRequest: 74759260 Sending Request rid:2
2016-09-01 16:41:51 DEBUG TcpConnection:1350 – pruneInvalidTokens: tokens(1)=[SecurityToken(Id=1, secureChannelId=74759260, creationTime=01-Sep-2016 16:41:51, lifetime=3600000)]
2016-09-01 16:41:51 DEBUG TcpConnection:1335 – tokens=[SecurityToken(Id=1, secureChannelId=74759260, creationTime=01-Sep-2016 16:41:51, lifetime=3600000)]
2016-09-01 16:41:51 DEBUG TcpConnection:1340 – getSecurityTokenToUse=SecurityToken(Id=1, secureChannelId=74759260, creationTime=01-Sep-2016 16:41:51, lifetime=3600000)
2016-09-01 16:41:51 DEBUG TcpConnection:1059 – sendRequest: token=SecurityToken(Id=1, secureChannelId=74759260, creationTime=01-Sep-2016 16:41:51, lifetime=3600000)
2016-09-01 16:41:51 DEBUG TcpConnection:1063 – sendRequest: keySize=0
2016-09-01 16:41:51 DEBUG SecureChannelTcp:344 – serviceRequest: Message sent, requestId=2 secureChannelId=74759260
2016-09-01 16:41:51 DEBUG TcpConnection:833 – tokens(1)=[SecurityToken(Id=1, secureChannelId=74759260, creationTime=01-Sep-2016 16:41:51, lifetime=3600000)]
2016-09-01 16:41:51 DEBUG TcpConnection:837 – token=SecurityToken(Id=1, secureChannelId=74759260, creationTime=01-Sep-2016 16:41:51, lifetime=3600000)
2016-09-01 16:41:51 DEBUG SecureChannelTcp:381 – Response: GetEndpointsResponse
2016-09-01 16:41:51 DEBUG SecureChannelTcp:338 – serviceRequest: requests.size=1
2016-09-01 16:41:51 DEBUG TcpConnection:1040 – sendRequest: socket=Socket[addr=/192.168.1.100,port=4840,localport=60851]
2016-09-01 16:41:51 DEBUG TcpConnection:1045 – sendRequest: 74759260 Sending Request rid:3
2016-09-01 16:41:51 DEBUG TcpConnection:1350 – pruneInvalidTokens: tokens(1)=[SecurityToken(Id=1, secureChannelId=74759260, creationTime=01-Sep-2016 16:41:51, lifetime=3600000)]
2016-09-01 16:41:51 DEBUG TcpConnection:1335 – tokens=[SecurityToken(Id=1, secureChannelId=74759260, creationTime=01-Sep-2016 16:41:51, lifetime=3600000)]
2016-09-01 16:41:51 DEBUG TcpConnection:1340 – getSecurityTokenToUse=SecurityToken(Id=1, secureChannelId=74759260, creationTime=01-Sep-2016 16:41:51, lifetime=3600000)
2016-09-01 16:41:51 DEBUG TcpConnection:1059 – sendRequest: token=SecurityToken(Id=1, secureChannelId=74759260, creationTime=01-Sep-2016 16:41:51, lifetime=3600000)
2016-09-01 16:41:51 DEBUG TcpConnection:1063 – sendRequest: keySize=0
2016-09-01 16:41:51 DEBUG SecureChannelTcp:344 – serviceRequest: Message sent, requestId=3 secureChannelId=74759260
2016-09-01 16:41:51 INFO SecureChannelTcp:877 – 74759260 Closed
2016-09-01 16:41:51 INFO TcpConnection:616 – /192.168.1.100:4840 Closed
2016-09-01 16:41:51 DEBUG SecureChannelTcp:902 – requests.clear()
2016-09-01 16:41:51 INFO TcpConnection:957 – /192.168.1.100:4840 Closed (expected)
2016-09-01 16:41:51 DEBUG SecureChannelTcp:902 – requests.clear()
2016-09-01 16:41:51 DEBUG UaClient:? – endpoints:[EndpointDescription: EndpointDescription
EndpointUrl=opc.tcp://192.168.1.100:4840
Server=ApplicationDescription
ApplicationUri=urn:192.168.1.100:miniweb
ProductUri=http://automation.siemens.com
ApplicationName=(en_us) Sinumerik OPC UA
ApplicationType=ApplicationType
name=Server
ordinal=0
GatewayServerUri=null
DiscoveryProfileUri=null
DiscoveryUrls=class java.lang.String[1]
[0]=opc.tcp://192.168.1.100:4840
ServerCertificate=[864] 0x3082035c308202c5a003020102020431ba2d3f300d06092a864886f70d010105050030818b310b30090603550406130244453110300e06035504081607426176617269613111300f0603550407160845726c616e67656e31133011060355040a160a5369656d656e732041473111300f060355040b1608496e6475737472793120301e06092a864886f70d01090116116f70637561407369656d656e732e636f6d310d300b060355040316046e637531301e170d3136303830393136313431365a170d3436303831303136313431365a30818b310b30090603550406130244453110300e06035504081607426176617269613111300f0603550407160845726c616e67656e31133011060355040a160a5369656d656e732041473111300f060355040b1608496e6475737472793120301e06092a864886f70d01090116116f70637561407369656d656e732e636f6d310d300b060355040316046e63753130819f300d06092a864886f70d010101050003818d0030818902818100ea8ba78a92c65e16e0a0ae0a02e15c6667825905684066248dc9dbea1ded31f6f56b98ba60e2d914bac9fae0a677dc3be4617aa953a63318a080ef63d6dcab3306900b60d764b5cd8e89f70d63efddd1e3720f15ffa68dd1a9469e2f5ceaf1daf94e68f5eae2893dd39af28615a1f9683d86a522380e022d12649cc2e56004ab0203010001a381ca3081c730280603551d23010100041e301c801492f26fb15c7b9da66911c577e8f0e5f12c6f2110820431ba2d3f30200603551d0e0101000416041492f26fb15c7b9da66911c577e8f0e5f12c6f2110300f0603551d130101ff040530030101ff300e0603551d0f0101ff0404030201f630200603551d250101ff0416301406082b0601050507030206082b0601050507030130360603551d11010100042c302a820d3139322e3136382e312e313030861975726e3a3139322e3136382e312e3130303a6d696e69776562300d06092a864886f70d0101050500038181001e1de3ddd99e877e1e4f6d5e57554f769dc03d300aac1b0b5e7d92cb758b2683fad76f0242e20a52998ea60608a7af566ca9597c29a8879c30fad79cd3d7232a5e9d926b44be838d65c57626276c25648777cda5b531f7e70d8985af88d58aaa73aded85b5c96d4d79802d3b27756aa3e15f38ca1130d04b75009d5d841f68ff
SecurityMode=MessageSecurityMode
name=None
ordinal=1
SecurityPolicyUri=http://opcfoundation.org/UA/SecurityPolicy#None
UserIdentityTokens=class org.opcfoundation.ua.core.UserTokenPolicy[2]
[0]=UserTokenPolicy
PolicyId=Anonymous
TokenType=UserTokenType
name=Anonymous
ordinal=0
IssuedTokenType=null
IssuerEndpointUrl=null
SecurityPolicyUri=http://opcfoundation.org/UA/SecurityPolicy#None
[1]=UserTokenPolicy
PolicyId=http://opcfoundation.org/UA/SecurityPolicy#Basic128Rsa15
TokenType=UserTokenType
name=UserName
ordinal=1
IssuedTokenType=null
IssuerEndpointUrl=null
SecurityPolicyUri=http://opcfoundation.org/UA/SecurityPolicy#Basic128Rsa15
TransportProfileUri=http://opcfoundation.org/UA-Profile/Transport/uatcp-uasc-uabinary
SecurityLevel=0
, EndpointDescription: EndpointDescription
EndpointUrl=opc.tcp://192.168.1.100:4840
Server=ApplicationDescription
ApplicationUri=urn:192.168.1.100:miniweb
ProductUri=http://automation.siemens.com
ApplicationName=(en_us) Sinumerik OPC UA
ApplicationType=ApplicationType
name=Server
ordinal=0
GatewayServerUri=null
DiscoveryProfileUri=null
DiscoveryUrls=class java.lang.String[1]
[0]=opc.tcp://192.168.1.100:4840
ServerCertificate=[864] 0x3082035c308202c5a003020102020431ba2d3f300d06092a864886f70d010105050030818b310b30090603550406130244453110300e06035504081607426176617269613111300f0603550407160845726c616e67656e31133011060355040a160a5369656d656e732041473111300f060355040b1608496e6475737472793120301e06092a864886f70d01090116116f70637561407369656d656e732e636f6d310d300b060355040316046e637531301e170d3136303830393136313431365a170d3436303831303136313431365a30818b310b30090603550406130244453110300e06035504081607426176617269613111300f0603550407160845726c616e67656e31133011060355040a160a5369656d656e732041473111300f060355040b1608496e6475737472793120301e06092a864886f70d01090116116f70637561407369656d656e732e636f6d310d300b060355040316046e63753130819f300d06092a864886f70d010101050003818d0030818902818100ea8ba78a92c65e16e0a0ae0a02e15c6667825905684066248dc9dbea1ded31f6f56b98ba60e2d914bac9fae0a677dc3be4617aa953a63318a080ef63d6dcab3306900b60d764b5cd8e89f70d63efddd1e3720f15ffa68dd1a9469e2f5ceaf1daf94e68f5eae2893dd39af28615a1f9683d86a522380e022d12649cc2e56004ab0203010001a381ca3081c730280603551d23010100041e301c801492f26fb15c7b9da66911c577e8f0e5f12c6f2110820431ba2d3f30200603551d0e0101000416041492f26fb15c7b9da66911c577e8f0e5f12c6f2110300f0603551d130101ff040530030101ff300e0603551d0f0101ff0404030201f630200603551d250101ff0416301406082b0601050507030206082b0601050507030130360603551d11010100042c302a820d3139322e3136382e312e313030861975726e3a3139322e3136382e312e3130303a6d696e69776562300d06092a864886f70d0101050500038181001e1de3ddd99e877e1e4f6d5e57554f769dc03d300aac1b0b5e7d92cb758b2683fad76f0242e20a52998ea60608a7af566ca9597c29a8879c30fad79cd3d7232a5e9d926b44be838d65c57626276c25648777cda5b531f7e70d8985af88d58aaa73aded85b5c96d4d79802d3b27756aa3e15f38ca1130d04b75009d5d841f68ff
SecurityMode=MessageSecurityMode
name=SignAndEncrypt
ordinal=3
SecurityPolicyUri=http://opcfoundation.org/UA/SecurityPolicy#Basic128Rsa15
UserIdentityTokens=class org.opcfoundation.ua.core.UserTokenPolicy[2]
[0]=UserTokenPolicy
PolicyId=Anonymous
TokenType=UserTokenType
name=Anonymous
ordinal=0
IssuedTokenType=null
IssuerEndpointUrl=null
SecurityPolicyUri=http://opcfoundation.org/UA/SecurityPolicy#None
[1]=UserTokenPolicy
PolicyId=http://opcfoundation.org/UA/SecurityPolicy#Basic128Rsa15
TokenType=UserTokenType
name=UserName
ordinal=1
IssuedTokenType=null
IssuerEndpointUrl=null
SecurityPolicyUri=http://opcfoundation.org/UA/SecurityPolicy#Basic128Rsa15
TransportProfileUri=http://opcfoundation.org/UA-Profile/Transport/uatcp-uasc-uabinary
SecurityLevel=0
, EndpointDescription: EndpointDescription
EndpointUrl=opc.tcp://192.168.1.100:4840
Server=ApplicationDescription
ApplicationUri=urn:192.168.1.100:miniweb
ProductUri=http://automation.siemens.com
ApplicationName=(en_us) Sinumerik OPC UA
ApplicationType=ApplicationType
name=Server
ordinal=0
GatewayServerUri=null
DiscoveryProfileUri=null
DiscoveryUrls=class java.lang.String[1]
[0]=opc.tcp://192.168.1.100:4840
ServerCertificate=[864] 0x3082035c308202c5a003020102020431ba2d3f300d06092a864886f70d010105050030818b310b30090603550406130244453110300e06035504081607426176617269613111300f0603550407160845726c616e67656e31133011060355040a160a5369656d656e732041473111300f060355040b1608496e6475737472793120301e06092a864886f70d01090116116f70637561407369656d656e732e636f6d310d300b060355040316046e637531301e170d3136303830393136313431365a170d3436303831303136313431365a30818b310b30090603550406130244453110300e06035504081607426176617269613111300f0603550407160845726c616e67656e31133011060355040a160a5369656d656e732041473111300f060355040b1608496e6475737472793120301e06092a864886f70d01090116116f70637561407369656d656e732e636f6d310d300b060355040316046e63753130819f300d06092a864886f70d010101050003818d0030818902818100ea8ba78a92c65e16e0a0ae0a02e15c6667825905684066248dc9dbea1ded31f6f56b98ba60e2d914bac9fae0a677dc3be4617aa953a63318a080ef63d6dcab3306900b60d764b5cd8e89f70d63efddd1e3720f15ffa68dd1a9469e2f5ceaf1daf94e68f5eae2893dd39af28615a1f9683d86a522380e022d12649cc2e56004ab0203010001a381ca3081c730280603551d23010100041e301c801492f26fb15c7b9da66911c577e8f0e5f12c6f2110820431ba2d3f30200603551d0e0101000416041492f26fb15c7b9da66911c577e8f0e5f12c6f2110300f0603551d130101ff040530030101ff300e0603551d0f0101ff0404030201f630200603551d250101ff0416301406082b0601050507030206082b0601050507030130360603551d11010100042c302a820d3139322e3136382e312e313030861975726e3a3139322e3136382e312e3130303a6d696e69776562300d06092a864886f70d0101050500038181001e1de3ddd99e877e1e4f6d5e57554f769dc03d300aac1b0b5e7d92cb758b2683fad76f0242e20a52998ea60608a7af566ca9597c29a8879c30fad79cd3d7232a5e9d926b44be838d65c57626276c25648777cda5b531f7e70d8985af88d58aaa73aded85b5c96d4d79802d3b27756aa3e15f38ca1130d04b75009d5d841f68ff
SecurityMode=MessageSecurityMode
name=SignAndEncrypt
ordinal=3
SecurityPolicyUri=http://opcfoundation.org/UA/SecurityPolicy#Basic256
UserIdentityTokens=class org.opcfoundation.ua.core.UserTokenPolicy[2]
[0]=UserTokenPolicy
PolicyId=Anonymous
TokenType=UserTokenType
name=Anonymous
ordinal=0
IssuedTokenType=null
IssuerEndpointUrl=null
SecurityPolicyUri=http://opcfoundation.org/UA/SecurityPolicy#None
[1]=UserTokenPolicy
PolicyId=http://opcfoundation.org/UA/SecurityPolicy#Basic128Rsa15
TokenType=UserTokenType
name=UserName
ordinal=1
IssuedTokenType=null
IssuerEndpointUrl=null
SecurityPolicyUri=http://opcfoundation.org/UA/SecurityPolicy#Basic128Rsa15
TransportProfileUri=http://opcfoundation.org/UA-Profile/Transport/uatcp-uasc-uabinary
SecurityLevel=0
]
2016-09-01 16:41:51 DEBUG UaClient:? – initEndpoint: endpoint=EndpointDescription: EndpointDescription
EndpointUrl=opc.tcp://192.168.1.100:4840
Server=ApplicationDescription
ApplicationUri=urn:192.168.1.100:miniweb
ProductUri=http://automation.siemens.com
ApplicationName=(en_us) Sinumerik OPC UA
ApplicationType=ApplicationType
name=Server
ordinal=0
GatewayServerUri=null
DiscoveryProfileUri=null
DiscoveryUrls=class java.lang.String[1]
[0]=opc.tcp://192.168.1.100:4840
ServerCertificate=[864] 0x3082035c308202c5a003020102020431ba2d3f300d06092a864886f70d010105050030818b310b30090603550406130244453110300e06035504081607426176617269613111300f0603550407160845726c616e67656e31133011060355040a160a5369656d656e732041473111300f060355040b1608496e6475737472793120301e06092a864886f70d01090116116f70637561407369656d656e732e636f6d310d300b060355040316046e637531301e170d3136303830393136313431365a170d3436303831303136313431365a30818b310b30090603550406130244453110300e06035504081607426176617269613111300f0603550407160845726c616e67656e31133011060355040a160a5369656d656e732041473111300f060355040b1608496e6475737472793120301e06092a864886f70d01090116116f70637561407369656d656e732e636f6d310d300b060355040316046e63753130819f300d06092a864886f70d010101050003818d0030818902818100ea8ba78a92c65e16e0a0ae0a02e15c6667825905684066248dc9dbea1ded31f6f56b98ba60e2d914bac9fae0a677dc3be4617aa953a63318a080ef63d6dcab3306900b60d764b5cd8e89f70d63efddd1e3720f15ffa68dd1a9469e2f5ceaf1daf94e68f5eae2893dd39af28615a1f9683d86a522380e022d12649cc2e56004ab0203010001a381ca3081c730280603551d23010100041e301c801492f26fb15c7b9da66911c577e8f0e5f12c6f2110820431ba2d3f30200603551d0e0101000416041492f26fb15c7b9da66911c577e8f0e5f12c6f2110300f0603551d130101ff040530030101ff300e0603551d0f0101ff0404030201f630200603551d250101ff0416301406082b0601050507030206082b0601050507030130360603551d11010100042c302a820d3139322e3136382e312e313030861975726e3a3139322e3136382e312e3130303a6d696e69776562300d06092a864886f70d0101050500038181001e1de3ddd99e877e1e4f6d5e57554f769dc03d300aac1b0b5e7d92cb758b2683fad76f0242e20a52998ea60608a7af566ca9597c29a8879c30fad79cd3d7232a5e9d926b44be838d65c57626276c25648777cda5b531f7e70d8985af88d58aaa73aded85b5c96d4d79802d3b27756aa3e15f38ca1130d04b75009d5d841f68ff
SecurityMode=MessageSecurityMode
name=None
ordinal=1
SecurityPolicyUri=http://opcfoundation.org/UA/SecurityPolicy#None
UserIdentityTokens=class org.opcfoundation.ua.core.UserTokenPolicy[2]
[0]=UserTokenPolicy
PolicyId=Anonymous
TokenType=UserTokenType
name=Anonymous
ordinal=0
IssuedTokenType=null
IssuerEndpointUrl=null
SecurityPolicyUri=http://opcfoundation.org/UA/SecurityPolicy#None
[1]=UserTokenPolicy
PolicyId=http://opcfoundation.org/UA/SecurityPolicy#Basic128Rsa15
TokenType=UserTokenType
name=UserName
ordinal=1
IssuedTokenType=null
IssuerEndpointUrl=null
SecurityPolicyUri=http://opcfoundation.org/UA/SecurityPolicy#Basic128Rsa15
TransportProfileUri=http://opcfoundation.org/UA-Profile/Transport/uatcp-uasc-uabinary
SecurityLevel=0
2016-09-01 16:41:51 DEBUG SecureChannelTcp:242 – initialize: url=opc.tcp://192.168.1.100:4840
2016-09-01 16:41:51 DEBUG SecureChannelTcp:567 – open
2016-09-01 16:41:51 INFO TcpConnection:397 – /192.168.1.100:4840 Connecting
2016-09-01 16:41:51 DEBUG TcpConnection:422 – /192.168.1.100:4840 Socket connected
2016-09-01 16:41:51 INFO TcpConnection:545 – /192.168.1.100:4840 Connected
2016-09-01 16:41:51 DEBUG TcpConnection:550 – Creating ReadThread
2016-09-01 16:41:51 DEBUG SecureChannelTcp:627 – createSecureChannel: renew=false channel=org.opcfoundation.ua.transport.tcp.io.TcpConnection@ba801c
2016-09-01 16:41:51 DEBUG SecureChannelTcp:632 – createSecureChannel: requestId=1
2016-09-01 16:41:51 DEBUG CryptoUtil:150 – createNonce: bytes=0
2016-09-01 16:41:51 DEBUG SecureChannelTcp:642 – tokenLifetime: 3600000
2016-09-01 16:41:51 DEBUG TcpConnection:1040 – sendRequest: socket=Socket[addr=/192.168.1.100,port=4840,localport=60852]
2016-09-01 16:41:51 DEBUG TcpConnection:1045 – sendRequest: 0 Sending Request rid:1
2016-09-01 16:41:51 DEBUG TcpConnection:1059 – sendRequest: token=null
2016-09-01 16:41:51 DEBUG TcpConnection:1063 – sendRequest: keySize=0
2016-09-01 16:41:51 DEBUG TcpConnection:1206 – SecureChannelId=0 SequenceNumber=1, RequestId=1
2016-09-01 16:41:51 DEBUG ChunkAsymmEncryptSigner:78 – SecurityMode in asymm enc: 1
2016-09-01 16:41:51 DEBUG ChunkAsymmDecryptVerifier:71 – SecurityPolicy in use: http://opcfoundation.org/UA/SecurityPolicy#None
2016-09-01 16:41:51 DEBUG ChunkAsymmDecryptVerifier:72 – SecurityMode in use: None
2016-09-01 16:41:51 DEBUG TcpConnection:933 – new token=SecurityToken(Id=1, secureChannelId=74759261, creationTime=01-Sep-2016 16:41:51, lifetime=3600000)
2016-09-01 16:41:51 DEBUG SecureChannelTcp:724 – 74759261 Secure channel opened, SecureChannelId=74759261, TokenId=1
2016-09-01 16:41:51 DEBUG SecureChannelTcp:746 – RevisedLifetime: 3600000
2016-09-01 16:41:51 DEBUG UaClient:? – createSessionChannel
2016-09-01 16:41:51 DEBUG CryptoUtil:150 – createNonce: bytes=32
2016-09-01 16:41:51 DEBUG SecureChannelTcp:338 – serviceRequest: requests.size=1
2016-09-01 16:41:51 DEBUG TcpConnection:1040 – sendRequest: socket=Socket[addr=/192.168.1.100,port=4840,localport=60852]
2016-09-01 16:41:51 DEBUG TcpConnection:1045 – sendRequest: 74759261 Sending Request rid:2
2016-09-01 16:41:51 DEBUG TcpConnection:1350 – pruneInvalidTokens: tokens(1)=[SecurityToken(Id=1, secureChannelId=74759261, creationTime=01-Sep-2016 16:41:51, lifetime=3600000)]
2016-09-01 16:41:51 DEBUG TcpConnection:1335 – tokens=[SecurityToken(Id=1, secureChannelId=74759261, creationTime=01-Sep-2016 16:41:51, lifetime=3600000)]
2016-09-01 16:41:51 DEBUG TcpConnection:1340 – getSecurityTokenToUse=SecurityToken(Id=1, secureChannelId=74759261, creationTime=01-Sep-2016 16:41:51, lifetime=3600000)
2016-09-01 16:41:51 DEBUG TcpConnection:1059 – sendRequest: token=SecurityToken(Id=1, secureChannelId=74759261, creationTime=01-Sep-2016 16:41:51, lifetime=3600000)
2016-09-01 16:41:51 DEBUG TcpConnection:1063 – sendRequest: keySize=0
2016-09-01 16:41:51 DEBUG SecureChannelTcp:344 – serviceRequest: Message sent, requestId=2 secureChannelId=74759261
2016-09-01 16:41:51 DEBUG TcpConnection:833 – tokens(1)=[SecurityToken(Id=1, secureChannelId=74759261, creationTime=01-Sep-2016 16:41:51, lifetime=3600000)]
2016-09-01 16:41:51 DEBUG TcpConnection:837 – token=SecurityToken(Id=1, secureChannelId=74759261, creationTime=01-Sep-2016 16:41:51, lifetime=3600000)
2016-09-01 16:41:51 DEBUG SecureChannelTcp:381 – Response: CreateSessionResponse
2016-09-01 16:41:51 DEBUG Client:228 – MessageSecurityMode: None
2016-09-01 16:41:51 DEBUG UaClient:? – activateSessionChannel: endpoint=opc.tcp://192.168.1.100:4840
2016-09-01 16:41:51 DEBUG EndpointUtil:320 – createUserNameIdentityToken: algorithm=Algorithm URI=http://www.w3.org/2001/04/xmlenc#rsa-1_5 StandardName=RSA Transformation=RSA/NONE/PKCS1Padding
2016-09-01 16:41:51 DEBUG SecureChannelTcp:338 – serviceRequest: requests.size=1
2016-09-01 16:41:51 DEBUG TcpConnection:1040 – sendRequest: socket=Socket[addr=/192.168.1.100,port=4840,localport=60852]
2016-09-01 16:41:51 DEBUG TcpConnection:1045 – sendRequest: 74759261 Sending Request rid:3
2016-09-01 16:41:51 DEBUG TcpConnection:1350 – pruneInvalidTokens: tokens(1)=[SecurityToken(Id=1, secureChannelId=74759261, creationTime=01-Sep-2016 16:41:51, lifetime=3600000)]
2016-09-01 16:41:51 DEBUG TcpConnection:1335 – tokens=[SecurityToken(Id=1, secureChannelId=74759261, creationTime=01-Sep-2016 16:41:51, lifetime=3600000)]
2016-09-01 16:41:51 DEBUG TcpConnection:1340 – getSecurityTokenToUse=SecurityToken(Id=1, secureChannelId=74759261, creationTime=01-Sep-2016 16:41:51, lifetime=3600000)
2016-09-01 16:41:51 DEBUG TcpConnection:1059 – sendRequest: token=SecurityToken(Id=1, secureChannelId=74759261, creationTime=01-Sep-2016 16:41:51, lifetime=3600000)
2016-09-01 16:41:51 DEBUG TcpConnection:1063 – sendRequest: keySize=0
2016-09-01 16:41:51 DEBUG SecureChannelTcp:344 – serviceRequest: Message sent, requestId=3 secureChannelId=74759261
2016-09-01 16:41:51 DEBUG TcpConnection:833 – tokens(1)=[SecurityToken(Id=1, secureChannelId=74759261, creationTime=01-Sep-2016 16:41:51, lifetime=3600000)]
2016-09-01 16:41:51 DEBUG TcpConnection:837 – token=SecurityToken(Id=1, secureChannelId=74759261, creationTime=01-Sep-2016 16:41:51, lifetime=3600000)
2016-09-01 16:41:51 DEBUG SecureChannelTcp:381 – Response: CloseSessionResponse
2016-09-01 16:41:51 DEBUG SecureChannelTcp:385 – BAD response: Bad_SessionNotActivated (0x80270000) “The session cannot be used because ActivateSession has not been called.”
2016-09-01 16:41:51 INFO UaClient:? – Failed to CloseSession:
ServiceFault: Bad_SessionNotActivated (0x80270000) “The session cannot be used because ActivateSession has not been called.”
Diagnostic Info:
at org.opcfoundation.ua.transport.tcp.io.SecureChannelTcp.serviceRequest(SecureChannelTcp.java:386)
at org.opcfoundation.ua.transport.tcp.io.SecureChannelTcp.serviceRequest(SecureChannelTcp.java:317)
at org.opcfoundation.ua.application.SessionChannel.serviceRequest(SessionChannel.java:290)
at org.opcfoundation.ua.transport.ChannelService.CloseSession(ChannelService.java:735)
at com.prosysopc.ua.client.UaClient.a(Unknown Source)
at com.prosysopc.ua.client.UaClient.disconnect(Unknown Source)
at com.prosysopc.ua.client.UaClient.disconnect(Unknown Source)
at com.prosysopc.ua.client.UaClient.disconnect(Unknown Source)
at com.prosysopc.ua.client.UaClient.connect(Unknown Source)
at cms.opcua.client.OPCClientUA.run(OPCClientUA.java:142)
2016-09-01 16:41:51 DEBUG UaClient:? – disconnectSubscriptions: null
2016-09-01 16:41:51 DEBUG SecureChannelTcp:338 – serviceRequest: requests.size=1
2016-09-01 16:41:51 DEBUG TcpConnection:1040 – sendRequest: socket=Socket[addr=/192.168.1.100,port=4840,localport=60852]
2016-09-01 16:41:51 DEBUG TcpConnection:1045 – sendRequest: 74759261 Sending Request rid:4
2016-09-01 16:41:51 DEBUG TcpConnection:1350 – pruneInvalidTokens: tokens(1)=[SecurityToken(Id=1, secureChannelId=74759261, creationTime=01-Sep-2016 16:41:51, lifetime=3600000)]
2016-09-01 16:41:51 DEBUG TcpConnection:1335 – tokens=[SecurityToken(Id=1, secureChannelId=74759261, creationTime=01-Sep-2016 16:41:51, lifetime=3600000)]
2016-09-01 16:41:51 DEBUG TcpConnection:1340 – getSecurityTokenToUse=SecurityToken(Id=1, secureChannelId=74759261, creationTime=01-Sep-2016 16:41:51, lifetime=3600000)
2016-09-01 16:41:51 DEBUG TcpConnection:1059 – sendRequest: token=SecurityToken(Id=1, secureChannelId=74759261, creationTime=01-Sep-2016 16:41:51, lifetime=3600000)
2016-09-01 16:41:51 DEBUG TcpConnection:1063 – sendRequest: keySize=0
2016-09-01 16:41:51 DEBUG SecureChannelTcp:344 – serviceRequest: Message sent, requestId=4 secureChannelId=74759261
2016-09-01 16:41:51 INFO SecureChannelTcp:877 – 74759261 Closed
2016-09-01 16:41:51 INFO TcpConnection:616 – /192.168.1.100:4840 Closed
2016-09-01 16:41:51 INFO TcpConnection:957 – /192.168.1.100:4840 Closed (expected)
2016-09-01 16:41:51 DEBUG SecureChannelTcp:902 – requests.clear()
10:47, EEST
April 17, 2013
Thanks for the log. It’s good to know that the original issue was solved.
What do you mean with NullPointerException? I don’t see a NPE in the mentioned log file. Am I missing something?
The new log shows that something seems to go wrong with activateSessionChannel method call. However, the current log file doesn’t show the reason why the method call fails.
What client application are you using? Can you try connecting with SampleConsoleClient and post the resulting log file together with the error message here. You can also send the log file to me as an email attachment. You can see how the exception is printed in SampleConsoleClient.connect() method. The catch blocks contain printException(e) calls.
11:03, EEST
August 31, 2016
Unfortunately I cant run the SampleConsoleClient() on that machine easily. However I do have the stack trace of the exception, which is not there in my post before.
I have implemented the SDK client and the output exception stack trace is
java.lang.NullPointerException
at org.opcfoundation.ua.utils.EndpointUtil.createUserNameIdentityToken(EndpointUtil.java:333)
at com.prosysopc.ua.client.UaClient.k(Unknown Source)
at com.prosysopc.ua.client.UaClient.connect(Unknown Source)
at cms.opcua.client.OPCClientUA.run(OPCClientUA.java:142)
Please let me know if you need more information
12:25, EEST
April 17, 2013
Hi,
Thanks for the information. Something is going wrong with the UserNameIdentityToken creation. The current logging does not provide enough information to tell what’s going wrong, so I sent you a stack version with better logging.
Can you rerun the test with the new stack and report back the resulting log? Let me know if you didn’t receive the email correctly.
12:51, EEST
August 31, 2016
14:47, EEST
April 17, 2013
15:13, EEST
August 31, 2016
Thanks !!
Here is the log output
“2016-09-02 14:00:25 DEBUG UaApplication:? – java.runtime.name=Java(TM) SE Runtime Environment
2016-09-02 14:00:25 DEBUG UaApplication:? – sun.boot.library.path=C:\Program Files (x86)\Java\jre1.8.0_101\bin
2016-09-02 14:00:25 DEBUG UaApplication:? – java.vm.version=25.101-b13
2016-09-02 14:00:25 DEBUG UaApplication:? – java.vm.vendor=Oracle Corporation
2016-09-02 14:00:25 DEBUG UaApplication:? – java.vendor.url=http://java.oracle.com/
2016-09-02 14:00:25 DEBUG UaApplication:? – path.separator=;
2016-09-02 14:00:25 DEBUG UaApplication:? – java.vm.name=Java HotSpot(TM) Client VM
2016-09-02 14:00:25 DEBUG UaApplication:? – file.encoding.pkg=sun.io
2016-09-02 14:00:25 DEBUG UaApplication:? – user.country=GB
2016-09-02 14:00:25 DEBUG UaApplication:? – user.script=
2016-09-02 14:00:25 DEBUG UaApplication:? – sun.java.launcher=SUN_STANDARD
2016-09-02 14:00:25 DEBUG UaApplication:? – sun.os.patch.level=Service Pack 1
2016-09-02 14:00:25 DEBUG UaApplication:? – java.vm.specification.name=Java Virtual Machine Specification
2016-09-02 14:00:25 DEBUG UaApplication:? – user.dir=C:\Temp\opcuasetup
2016-09-02 14:00:25 DEBUG UaApplication:? – java.runtime.version=1.8.0_101-b13
2016-09-02 14:00:25 DEBUG UaApplication:? – java.awt.graphicsenv=sun.awt.Win32GraphicsEnvironment
2016-09-02 14:00:25 DEBUG UaApplication:? – java.endorsed.dirs=C:\Program Files (x86)\Java\jre1.8.0_101\lib\endorsed
2016-09-02 14:00:25 DEBUG UaApplication:? – os.arch=x86
2016-09-02 14:00:25 DEBUG UaApplication:? – java.io.tmpdir=C:\Users\G976795\AppData\Local\Temp\
2016-09-02 14:00:25 DEBUG UaApplication:? – line.separator=
2016-09-02 14:00:25 DEBUG UaApplication:? – java.vm.specification.vendor=Oracle Corporation
2016-09-02 14:00:25 DEBUG UaApplication:? – user.variant=
2016-09-02 14:00:25 DEBUG UaApplication:? – os.name=Windows 7
2016-09-02 14:00:25 DEBUG UaApplication:? – sun.jnu.encoding=Cp1252
2016-09-02 14:00:25 DEBUG UaApplication:? – java.library.path=C:\ProgramData\Oracle\Java\javapath;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\CCM\;C:\ProgramData\Oracle\Java\javapath;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\IVI Foundation\VISA\WinNT\Bin\;C:\Program Files\IVI Foundation\VISA\Win64\Bin\;C:\Program Files (x86)\IVI Foundation\VISA\WinNT\Bin;C:\Program Files (x86)\IVI Foundation\IVI\bin;C:\Program Files\IVI Foundation\IVI\bin;.
2016-09-02 14:00:25 DEBUG UaApplication:? – java.specification.name=Java Platform API Specification
2016-09-02 14:00:25 DEBUG UaApplication:? – java.class.version=52.0
2016-09-02 14:00:25 DEBUG UaApplication:? – sun.management.compiler=HotSpot Client Compiler
2016-09-02 14:00:25 DEBUG UaApplication:? – os.version=6.1
2016-09-02 14:00:25 DEBUG UaApplication:? – user.home=C:\Users\G976795
2016-09-02 14:00:25 DEBUG UaApplication:? – user.timezone=Europe/Berlin
2016-09-02 14:00:25 DEBUG UaApplication:? – java.awt.printerjob=sun.awt.windows.WPrinterJob
2016-09-02 14:00:25 DEBUG UaApplication:? – file.encoding=Cp1252
2016-09-02 14:00:25 DEBUG UaApplication:? – java.specification.version=1.8
2016-09-02 14:00:25 DEBUG UaApplication:? – java.class.path=CMS-OPCUA.jar
2016-09-02 14:00:25 DEBUG UaApplication:? – user.name=g976795
2016-09-02 14:00:25 DEBUG UaApplication:? – java.vm.specification.version=1.8
2016-09-02 14:00:25 DEBUG UaApplication:? – sun.java.command=CMS-OPCUA.jar
2016-09-02 14:00:25 DEBUG UaApplication:? – java.home=C:\Program Files (x86)\Java\jre1.8.0_101
2016-09-02 14:00:25 DEBUG UaApplication:? – sun.arch.data.model=32
2016-09-02 14:00:25 DEBUG UaApplication:? – user.language=en
2016-09-02 14:00:25 DEBUG UaApplication:? – java.specification.vendor=Oracle Corporation
2016-09-02 14:00:25 DEBUG UaApplication:? – awt.toolkit=sun.awt.windows.WToolkit
2016-09-02 14:00:25 DEBUG UaApplication:? – java.vm.info=mixed mode, sharing
2016-09-02 14:00:25 DEBUG UaApplication:? – java.version=1.8.0_101
2016-09-02 14:00:25 DEBUG UaApplication:? – java.ext.dirs=C:\Program Files (x86)\Java\jre1.8.0_101\lib\ext;C:\WINDOWS\Sun\Java\lib\ext
2016-09-02 14:00:25 DEBUG UaApplication:? – sun.boot.class.path=C:\Program Files (x86)\Java\jre1.8.0_101\lib
esources.jar;C:\Program Files (x86)\Java\jre1.8.0_101\lib
t.jar;C:\Program Files (x86)\Java\jre1.8.0_101\lib\sunrsasign.jar;C:\Program Files (x86)\Java\jre1.8.0_101\lib\jsse.jar;C:\Program Files (x86)\Java\jre1.8.0_101\lib\jce.jar;C:\Program Files (x86)\Java\jre1.8.0_101\lib\charsets.jar;C:\Program Files (x86)\Java\jre1.8.0_101\lib\jfr.jar;C:\Program Files (x86)\Java\jre1.8.0_101\classes
2016-09-02 14:00:25 DEBUG UaApplication:? – java.vendor=Oracle Corporation
2016-09-02 14:00:25 DEBUG UaApplication:? – sun.stderr.encoding=cp850
2016-09-02 14:00:25 DEBUG UaApplication:? – file.separator=\
2016-09-02 14:00:25 DEBUG UaApplication:? – java.vendor.url.bug=http://bugreport.sun.com/bugreport/
2016-09-02 14:00:25 DEBUG UaApplication:? – sun.io.unicode.encoding=UnicodeLittle
2016-09-02 14:00:25 DEBUG UaApplication:? – sun.cpu.endian=little
2016-09-02 14:00:25 DEBUG UaApplication:? – sun.stdout.encoding=cp850
2016-09-02 14:00:25 DEBUG UaApplication:? – sun.desktop=windows
2016-09-02 14:00:25 DEBUG UaApplication:? – sun.cpu.isalist=pentium_pro+mmx pentium_pro pentium+mmx pentium i486 i386 i86
2016-09-02 14:00:26 DEBUG UaClient:? – discoverEndpoints: connectUri=opc.tcp://192.168.1.100:4840 protocols=[opc.tcp]
2016-09-02 14:00:26 DEBUG SecureChannelTcp:242 – initialize: url=opc.tcp://192.168.1.100:4840
2016-09-02 14:00:26 DEBUG SecureChannelTcp:567 – open
2016-09-02 14:00:26 INFO TcpConnection:396 – /192.168.1.100:4840 Connecting
2016-09-02 14:00:26 DEBUG TcpConnection:421 – /192.168.1.100:4840 Socket connected
2016-09-02 14:00:26 INFO TcpConnection:544 – /192.168.1.100:4840 Connected
2016-09-02 14:00:26 DEBUG TcpConnection:549 – Creating ReadThread
2016-09-02 14:00:26 DEBUG SecureChannelTcp:627 – createSecureChannel: renew=false channel=org.opcfoundation.ua.transport.tcp.io.TcpConnection@101974a
2016-09-02 14:00:26 DEBUG SecureChannelTcp:632 – createSecureChannel: requestId=1
2016-09-02 14:00:26 DEBUG CryptoUtil:79 – CryptoUtil init
2016-09-02 14:00:26 DEBUG CryptoUtil:81 – CryptoUtil init: random=java.security.SecureRandom@d2bf4c
2016-09-02 14:00:26 DEBUG CryptoUtil:150 – createNonce: bytes=0
2016-09-02 14:00:26 DEBUG SecureChannelTcp:642 – tokenLifetime: 3600000
2016-09-02 14:00:26 DEBUG TcpConnection:1039 – sendRequest: socket=Socket[addr=/192.168.1.100,port=4840,localport=61015]
2016-09-02 14:00:26 DEBUG TcpConnection:1044 – sendRequest: 0 Sending Request rid:1
2016-09-02 14:00:26 DEBUG TcpConnection:1058 – sendRequest: token=null
2016-09-02 14:00:26 DEBUG TcpConnection:1062 – sendRequest: keySize=0
2016-09-02 14:00:26 DEBUG TcpConnection:1205 – SecureChannelId=0 SequenceNumber=1, RequestId=1
2016-09-02 14:00:26 DEBUG ChunkAsymmEncryptSigner:78 – SecurityMode in asymm enc: 1
2016-09-02 14:00:26 DEBUG ChunkAsymmDecryptVerifier:71 – SecurityPolicy in use: http://opcfoundation.org/UA/SecurityPolicy#None
2016-09-02 14:00:26 DEBUG ChunkAsymmDecryptVerifier:72 – SecurityMode in use: None
2016-09-02 14:00:26 DEBUG TcpConnection:932 – new token=SecurityToken(Id=1, secureChannelId=74759262, creationTime=02-Sep-2016 14:00:26, lifetime=3600000)
2016-09-02 14:00:26 DEBUG SecureChannelTcp:724 – 74759262 Secure channel opened, SecureChannelId=74759262, TokenId=1
2016-09-02 14:00:26 DEBUG SecureChannelTcp:746 – RevisedLifetime: 3600000
2016-09-02 14:00:26 DEBUG SecureChannelTcp:338 – serviceRequest: requests.size=1
2016-09-02 14:00:26 DEBUG TcpConnection:1039 – sendRequest: socket=Socket[addr=/192.168.1.100,port=4840,localport=61015]
2016-09-02 14:00:26 DEBUG TcpConnection:1044 – sendRequest: 74759262 Sending Request rid:2
2016-09-02 14:00:26 DEBUG TcpConnection:1349 – pruneInvalidTokens: tokens(1)=[SecurityToken(Id=1, secureChannelId=74759262, creationTime=02-Sep-2016 14:00:26, lifetime=3600000)]
2016-09-02 14:00:26 DEBUG TcpConnection:1334 – tokens=[SecurityToken(Id=1, secureChannelId=74759262, creationTime=02-Sep-2016 14:00:26, lifetime=3600000)]
2016-09-02 14:00:26 DEBUG TcpConnection:1339 – getSecurityTokenToUse=SecurityToken(Id=1, secureChannelId=74759262, creationTime=02-Sep-2016 14:00:26, lifetime=3600000)
2016-09-02 14:00:26 DEBUG TcpConnection:1058 – sendRequest: token=SecurityToken(Id=1, secureChannelId=74759262, creationTime=02-Sep-2016 14:00:26, lifetime=3600000)
2016-09-02 14:00:26 DEBUG TcpConnection:1062 – sendRequest: keySize=0
2016-09-02 14:00:26 DEBUG SecureChannelTcp:344 – serviceRequest: Message sent, requestId=2 secureChannelId=74759262
2016-09-02 14:00:26 DEBUG TcpConnection:832 – tokens(1)=[SecurityToken(Id=1, secureChannelId=74759262, creationTime=02-Sep-2016 14:00:26, lifetime=3600000)]
2016-09-02 14:00:26 DEBUG TcpConnection:836 – token=SecurityToken(Id=1, secureChannelId=74759262, creationTime=02-Sep-2016 14:00:26, lifetime=3600000)
2016-09-02 14:00:26 DEBUG SecureChannelTcp:381 – Response: GetEndpointsResponse
2016-09-02 14:00:26 DEBUG SecureChannelTcp:338 – serviceRequest: requests.size=1
2016-09-02 14:00:26 DEBUG TcpConnection:1039 – sendRequest: socket=Socket[addr=/192.168.1.100,port=4840,localport=61015]
2016-09-02 14:00:26 DEBUG TcpConnection:1044 – sendRequest: 74759262 Sending Request rid:3
2016-09-02 14:00:26 DEBUG TcpConnection:1349 – pruneInvalidTokens: tokens(1)=[SecurityToken(Id=1, secureChannelId=74759262, creationTime=02-Sep-2016 14:00:26, lifetime=3600000)]
2016-09-02 14:00:26 DEBUG TcpConnection:1334 – tokens=[SecurityToken(Id=1, secureChannelId=74759262, creationTime=02-Sep-2016 14:00:26, lifetime=3600000)]
2016-09-02 14:00:26 DEBUG TcpConnection:1339 – getSecurityTokenToUse=SecurityToken(Id=1, secureChannelId=74759262, creationTime=02-Sep-2016 14:00:26, lifetime=3600000)
2016-09-02 14:00:26 DEBUG TcpConnection:1058 – sendRequest: token=SecurityToken(Id=1, secureChannelId=74759262, creationTime=02-Sep-2016 14:00:26, lifetime=3600000)
2016-09-02 14:00:26 DEBUG TcpConnection:1062 – sendRequest: keySize=0
2016-09-02 14:00:26 DEBUG SecureChannelTcp:344 – serviceRequest: Message sent, requestId=3 secureChannelId=74759262
2016-09-02 14:00:26 INFO SecureChannelTcp:877 – 74759262 Closed
2016-09-02 14:00:26 INFO TcpConnection:961 – /192.168.1.100:4840 Closed (graceful)
2016-09-02 14:00:26 INFO TcpConnection:615 – /192.168.1.100:4840 Closed
2016-09-02 14:00:26 DEBUG SecureChannelTcp:902 – requests.clear()
2016-09-02 14:00:26 DEBUG SecureChannelTcp:902 – requests.clear()
2016-09-02 14:00:26 DEBUG UaClient:? – connect
2016-09-02 14:00:26 DEBUG UaClient:? – discoverEndpoints: connectUri=opc.tcp://192.168.1.100:4840 protocols=[opc.tcp]
2016-09-02 14:00:26 DEBUG SecureChannelTcp:242 – initialize: url=opc.tcp://192.168.1.100:4840
2016-09-02 14:00:26 DEBUG SecureChannelTcp:567 – open
2016-09-02 14:00:26 INFO TcpConnection:396 – /192.168.1.100:4840 Connecting
2016-09-02 14:00:26 DEBUG TcpConnection:421 – /192.168.1.100:4840 Socket connected
2016-09-02 14:00:26 INFO TcpConnection:544 – /192.168.1.100:4840 Connected
2016-09-02 14:00:26 DEBUG TcpConnection:549 – Creating ReadThread
2016-09-02 14:00:26 DEBUG SecureChannelTcp:627 – createSecureChannel: renew=false channel=org.opcfoundation.ua.transport.tcp.io.TcpConnection@7734e1
2016-09-02 14:00:26 DEBUG SecureChannelTcp:632 – createSecureChannel: requestId=1
2016-09-02 14:00:26 DEBUG CryptoUtil:150 – createNonce: bytes=0
2016-09-02 14:00:26 DEBUG SecureChannelTcp:642 – tokenLifetime: 3600000
2016-09-02 14:00:26 DEBUG TcpConnection:1039 – sendRequest: socket=Socket[addr=/192.168.1.100,port=4840,localport=61016]
2016-09-02 14:00:26 DEBUG TcpConnection:1044 – sendRequest: 0 Sending Request rid:1
2016-09-02 14:00:26 DEBUG TcpConnection:1058 – sendRequest: token=null
2016-09-02 14:00:26 DEBUG TcpConnection:1062 – sendRequest: keySize=0
2016-09-02 14:00:26 DEBUG TcpConnection:1205 – SecureChannelId=0 SequenceNumber=1, RequestId=1
2016-09-02 14:00:26 DEBUG ChunkAsymmEncryptSigner:78 – SecurityMode in asymm enc: 1
2016-09-02 14:00:26 DEBUG ChunkAsymmDecryptVerifier:71 – SecurityPolicy in use: http://opcfoundation.org/UA/SecurityPolicy#None
2016-09-02 14:00:26 DEBUG ChunkAsymmDecryptVerifier:72 – SecurityMode in use: None
2016-09-02 14:00:26 DEBUG TcpConnection:932 – new token=SecurityToken(Id=1, secureChannelId=74759263, creationTime=02-Sep-2016 14:00:26, lifetime=3600000)
2016-09-02 14:00:26 DEBUG SecureChannelTcp:724 – 74759263 Secure channel opened, SecureChannelId=74759263, TokenId=1
2016-09-02 14:00:26 DEBUG SecureChannelTcp:746 – RevisedLifetime: 3600000
2016-09-02 14:00:26 DEBUG SecureChannelTcp:338 – serviceRequest: requests.size=1
2016-09-02 14:00:26 DEBUG TcpConnection:1039 – sendRequest: socket=Socket[addr=/192.168.1.100,port=4840,localport=61016]
2016-09-02 14:00:26 DEBUG TcpConnection:1044 – sendRequest: 74759263 Sending Request rid:2
2016-09-02 14:00:26 DEBUG TcpConnection:1349 – pruneInvalidTokens: tokens(1)=[SecurityToken(Id=1, secureChannelId=74759263, creationTime=02-Sep-2016 14:00:26, lifetime=3600000)]
2016-09-02 14:00:26 DEBUG TcpConnection:1334 – tokens=[SecurityToken(Id=1, secureChannelId=74759263, creationTime=02-Sep-2016 14:00:26, lifetime=3600000)]
2016-09-02 14:00:26 DEBUG TcpConnection:1339 – getSecurityTokenToUse=SecurityToken(Id=1, secureChannelId=74759263, creationTime=02-Sep-2016 14:00:26, lifetime=3600000)
2016-09-02 14:00:26 DEBUG TcpConnection:1058 – sendRequest: token=SecurityToken(Id=1, secureChannelId=74759263, creationTime=02-Sep-2016 14:00:26, lifetime=3600000)
2016-09-02 14:00:26 DEBUG TcpConnection:1062 – sendRequest: keySize=0
2016-09-02 14:00:26 DEBUG SecureChannelTcp:344 – serviceRequest: Message sent, requestId=2 secureChannelId=74759263
2016-09-02 14:00:26 DEBUG TcpConnection:832 – tokens(1)=[SecurityToken(Id=1, secureChannelId=74759263, creationTime=02-Sep-2016 14:00:26, lifetime=3600000)]
2016-09-02 14:00:26 DEBUG TcpConnection:836 – token=SecurityToken(Id=1, secureChannelId=74759263, creationTime=02-Sep-2016 14:00:26, lifetime=3600000)
2016-09-02 14:00:26 DEBUG SecureChannelTcp:381 – Response: GetEndpointsResponse
2016-09-02 14:00:26 DEBUG SecureChannelTcp:338 – serviceRequest: requests.size=1
2016-09-02 14:00:26 DEBUG TcpConnection:1039 – sendRequest: socket=Socket[addr=/192.168.1.100,port=4840,localport=61016]
2016-09-02 14:00:26 DEBUG TcpConnection:1044 – sendRequest: 74759263 Sending Request rid:3
2016-09-02 14:00:26 DEBUG TcpConnection:1349 – pruneInvalidTokens: tokens(1)=[SecurityToken(Id=1, secureChannelId=74759263, creationTime=02-Sep-2016 14:00:26, lifetime=3600000)]
2016-09-02 14:00:26 DEBUG TcpConnection:1334 – tokens=[SecurityToken(Id=1, secureChannelId=74759263, creationTime=02-Sep-2016 14:00:26, lifetime=3600000)]
2016-09-02 14:00:26 DEBUG TcpConnection:1339 – getSecurityTokenToUse=SecurityToken(Id=1, secureChannelId=74759263, creationTime=02-Sep-2016 14:00:26, lifetime=3600000)
2016-09-02 14:00:26 DEBUG TcpConnection:1058 – sendRequest: token=SecurityToken(Id=1, secureChannelId=74759263, creationTime=02-Sep-2016 14:00:26, lifetime=3600000)
2016-09-02 14:00:26 DEBUG TcpConnection:1062 – sendRequest: keySize=0
2016-09-02 14:00:26 DEBUG SecureChannelTcp:344 – serviceRequest: Message sent, requestId=3 secureChannelId=74759263
2016-09-02 14:00:26 INFO SecureChannelTcp:877 – 74759263 Closed
2016-09-02 14:00:26 INFO TcpConnection:615 – /192.168.1.100:4840 Closed
2016-09-02 14:00:26 DEBUG SecureChannelTcp:902 – requests.clear()
2016-09-02 14:00:26 INFO TcpConnection:956 – /192.168.1.100:4840 Closed (expected)
2016-09-02 14:00:26 DEBUG SecureChannelTcp:902 – requests.clear()
2016-09-02 14:00:26 DEBUG UaClient:? – endpoints:[EndpointDescription: EndpointDescription
EndpointUrl=opc.tcp://192.168.1.100:4840
Server=ApplicationDescription
ApplicationUri=urn:192.168.1.100:miniweb
ProductUri=http://automation.siemens.com
ApplicationName=(en_us) Sinumerik OPC UA
ApplicationType=ApplicationType
name=Server
ordinal=0
GatewayServerUri=null
DiscoveryProfileUri=null
DiscoveryUrls=class java.lang.String[1]
[0]=opc.tcp://192.168.1.100:4840
ServerCertificate=[864] 0x3082035c308202c5a003020102020431ba2d3f300d06092a864886f70d010105050030818b310b30090603550406130244453110300e06035504081607426176617269613111300f0603550407160845726c616e67656e31133011060355040a160a5369656d656e732041473111300f060355040b1608496e6475737472793120301e06092a864886f70d01090116116f70637561407369656d656e732e636f6d310d300b060355040316046e637531301e170d3136303830393136313431365a170d3436303831303136313431365a30818b310b30090603550406130244453110300e06035504081607426176617269613111300f0603550407160845726c616e67656e31133011060355040a160a5369656d656e732041473111300f060355040b1608496e6475737472793120301e06092a864886f70d01090116116f70637561407369656d656e732e636f6d310d300b060355040316046e63753130819f300d06092a864886f70d010101050003818d0030818902818100ea8ba78a92c65e16e0a0ae0a02e15c6667825905684066248dc9dbea1ded31f6f56b98ba60e2d914bac9fae0a677dc3be4617aa953a63318a080ef63d6dcab3306900b60d764b5cd8e89f70d63efddd1e3720f15ffa68dd1a9469e2f5ceaf1daf94e68f5eae2893dd39af28615a1f9683d86a522380e022d12649cc2e56004ab0203010001a381ca3081c730280603551d23010100041e301c801492f26fb15c7b9da66911c577e8f0e5f12c6f2110820431ba2d3f30200603551d0e0101000416041492f26fb15c7b9da66911c577e8f0e5f12c6f2110300f0603551d130101ff040530030101ff300e0603551d0f0101ff0404030201f630200603551d250101ff0416301406082b0601050507030206082b0601050507030130360603551d11010100042c302a820d3139322e3136382e312e313030861975726e3a3139322e3136382e312e3130303a6d696e69776562300d06092a864886f70d0101050500038181001e1de3ddd99e877e1e4f6d5e57554f769dc03d300aac1b0b5e7d92cb758b2683fad76f0242e20a52998ea60608a7af566ca9597c29a8879c30fad79cd3d7232a5e9d926b44be838d65c57626276c25648777cda5b531f7e70d8985af88d58aaa73aded85b5c96d4d79802d3b27756aa3e15f38ca1130d04b75009d5d841f68ff
SecurityMode=MessageSecurityMode
name=None
ordinal=1
SecurityPolicyUri=http://opcfoundation.org/UA/SecurityPolicy#None
UserIdentityTokens=class org.opcfoundation.ua.core.UserTokenPolicy[2]
[0]=UserTokenPolicy
PolicyId=Anonymous
TokenType=UserTokenType
name=Anonymous
ordinal=0
IssuedTokenType=null
IssuerEndpointUrl=null
SecurityPolicyUri=http://opcfoundation.org/UA/SecurityPolicy#None
[1]=UserTokenPolicy
PolicyId=http://opcfoundation.org/UA/SecurityPolicy#Basic128Rsa15
TokenType=UserTokenType
name=UserName
ordinal=1
IssuedTokenType=null
IssuerEndpointUrl=null
SecurityPolicyUri=http://opcfoundation.org/UA/SecurityPolicy#Basic128Rsa15
TransportProfileUri=http://opcfoundation.org/UA-Profile/Transport/uatcp-uasc-uabinary
SecurityLevel=0
, EndpointDescription: EndpointDescription
EndpointUrl=opc.tcp://192.168.1.100:4840
Server=ApplicationDescription
ApplicationUri=urn:192.168.1.100:miniweb
ProductUri=http://automation.siemens.com
ApplicationName=(en_us) Sinumerik OPC UA
ApplicationType=ApplicationType
name=Server
ordinal=0
GatewayServerUri=null
DiscoveryProfileUri=null
DiscoveryUrls=class java.lang.String[1]
[0]=opc.tcp://192.168.1.100:4840
ServerCertificate=[864] 0x3082035c308202c5a003020102020431ba2d3f300d06092a864886f70d010105050030818b310b30090603550406130244453110300e06035504081607426176617269613111300f0603550407160845726c616e67656e31133011060355040a160a5369656d656e732041473111300f060355040b1608496e6475737472793120301e06092a864886f70d01090116116f70637561407369656d656e732e636f6d310d300b060355040316046e637531301e170d3136303830393136313431365a170d3436303831303136313431365a30818b310b30090603550406130244453110300e06035504081607426176617269613111300f0603550407160845726c616e67656e31133011060355040a160a5369656d656e732041473111300f060355040b1608496e6475737472793120301e06092a864886f70d01090116116f70637561407369656d656e732e636f6d310d300b060355040316046e63753130819f300d06092a864886f70d010101050003818d0030818902818100ea8ba78a92c65e16e0a0ae0a02e15c6667825905684066248dc9dbea1ded31f6f56b98ba60e2d914bac9fae0a677dc3be4617aa953a63318a080ef63d6dcab3306900b60d764b5cd8e89f70d63efddd1e3720f15ffa68dd1a9469e2f5ceaf1daf94e68f5eae2893dd39af28615a1f9683d86a522380e022d12649cc2e56004ab0203010001a381ca3081c730280603551d23010100041e301c801492f26fb15c7b9da66911c577e8f0e5f12c6f2110820431ba2d3f30200603551d0e0101000416041492f26fb15c7b9da66911c577e8f0e5f12c6f2110300f0603551d130101ff040530030101ff300e0603551d0f0101ff0404030201f630200603551d250101ff0416301406082b0601050507030206082b0601050507030130360603551d11010100042c302a820d3139322e3136382e312e313030861975726e3a3139322e3136382e312e3130303a6d696e69776562300d06092a864886f70d0101050500038181001e1de3ddd99e877e1e4f6d5e57554f769dc03d300aac1b0b5e7d92cb758b2683fad76f0242e20a52998ea60608a7af566ca9597c29a8879c30fad79cd3d7232a5e9d926b44be838d65c57626276c25648777cda5b531f7e70d8985af88d58aaa73aded85b5c96d4d79802d3b27756aa3e15f38ca1130d04b75009d5d841f68ff
SecurityMode=MessageSecurityMode
name=SignAndEncrypt
ordinal=3
SecurityPolicyUri=http://opcfoundation.org/UA/SecurityPolicy#Basic128Rsa15
UserIdentityTokens=class org.opcfoundation.ua.core.UserTokenPolicy[2]
[0]=UserTokenPolicy
PolicyId=Anonymous
TokenType=UserTokenType
name=Anonymous
ordinal=0
IssuedTokenType=null
IssuerEndpointUrl=null
SecurityPolicyUri=http://opcfoundation.org/UA/SecurityPolicy#None
[1]=UserTokenPolicy
PolicyId=http://opcfoundation.org/UA/SecurityPolicy#Basic128Rsa15
TokenType=UserTokenType
name=UserName
ordinal=1
IssuedTokenType=null
IssuerEndpointUrl=null
SecurityPolicyUri=http://opcfoundation.org/UA/SecurityPolicy#Basic128Rsa15
TransportProfileUri=http://opcfoundation.org/UA-Profile/Transport/uatcp-uasc-uabinary
SecurityLevel=0
, EndpointDescription: EndpointDescription
EndpointUrl=opc.tcp://192.168.1.100:4840
Server=ApplicationDescription
ApplicationUri=urn:192.168.1.100:miniweb
ProductUri=http://automation.siemens.com
ApplicationName=(en_us) Sinumerik OPC UA
ApplicationType=ApplicationType
name=Server
ordinal=0
GatewayServerUri=null
DiscoveryProfileUri=null
DiscoveryUrls=class java.lang.String[1]
[0]=opc.tcp://192.168.1.100:4840
ServerCertificate=[864] 0x3082035c308202c5a003020102020431ba2d3f300d06092a864886f70d010105050030818b310b30090603550406130244453110300e06035504081607426176617269613111300f0603550407160845726c616e67656e31133011060355040a160a5369656d656e732041473111300f060355040b1608496e6475737472793120301e06092a864886f70d01090116116f70637561407369656d656e732e636f6d310d300b060355040316046e637531301e170d3136303830393136313431365a170d3436303831303136313431365a30818b310b30090603550406130244453110300e06035504081607426176617269613111300f0603550407160845726c616e67656e31133011060355040a160a5369656d656e732041473111300f060355040b1608496e6475737472793120301e06092a864886f70d01090116116f70637561407369656d656e732e636f6d310d300b060355040316046e63753130819f300d06092a864886f70d010101050003818d0030818902818100ea8ba78a92c65e16e0a0ae0a02e15c6667825905684066248dc9dbea1ded31f6f56b98ba60e2d914bac9fae0a677dc3be4617aa953a63318a080ef63d6dcab3306900b60d764b5cd8e89f70d63efddd1e3720f15ffa68dd1a9469e2f5ceaf1daf94e68f5eae2893dd39af28615a1f9683d86a522380e022d12649cc2e56004ab0203010001a381ca3081c730280603551d23010100041e301c801492f26fb15c7b9da66911c577e8f0e5f12c6f2110820431ba2d3f30200603551d0e0101000416041492f26fb15c7b9da66911c577e8f0e5f12c6f2110300f0603551d130101ff040530030101ff300e0603551d0f0101ff0404030201f630200603551d250101ff0416301406082b0601050507030206082b0601050507030130360603551d11010100042c302a820d3139322e3136382e312e313030861975726e3a3139322e3136382e312e3130303a6d696e69776562300d06092a864886f70d0101050500038181001e1de3ddd99e877e1e4f6d5e57554f769dc03d300aac1b0b5e7d92cb758b2683fad76f0242e20a52998ea60608a7af566ca9597c29a8879c30fad79cd3d7232a5e9d926b44be838d65c57626276c25648777cda5b531f7e70d8985af88d58aaa73aded85b5c96d4d79802d3b27756aa3e15f38ca1130d04b75009d5d841f68ff
SecurityMode=MessageSecurityMode
name=SignAndEncrypt
ordinal=3
SecurityPolicyUri=http://opcfoundation.org/UA/SecurityPolicy#Basic256
UserIdentityTokens=class org.opcfoundation.ua.core.UserTokenPolicy[2]
[0]=UserTokenPolicy
PolicyId=Anonymous
TokenType=UserTokenType
name=Anonymous
ordinal=0
IssuedTokenType=null
IssuerEndpointUrl=null
SecurityPolicyUri=http://opcfoundation.org/UA/SecurityPolicy#None
[1]=UserTokenPolicy
PolicyId=http://opcfoundation.org/UA/SecurityPolicy#Basic128Rsa15
TokenType=UserTokenType
name=UserName
ordinal=1
IssuedTokenType=null
IssuerEndpointUrl=null
SecurityPolicyUri=http://opcfoundation.org/UA/SecurityPolicy#Basic128Rsa15
TransportProfileUri=http://opcfoundation.org/UA-Profile/Transport/uatcp-uasc-uabinary
SecurityLevel=0
]
2016-09-02 14:00:26 DEBUG UaClient:? – initEndpoint: endpoint=EndpointDescription: EndpointDescription
EndpointUrl=opc.tcp://192.168.1.100:4840
Server=ApplicationDescription
ApplicationUri=urn:192.168.1.100:miniweb
ProductUri=http://automation.siemens.com
ApplicationName=(en_us) Sinumerik OPC UA
ApplicationType=ApplicationType
name=Server
ordinal=0
GatewayServerUri=null
DiscoveryProfileUri=null
DiscoveryUrls=class java.lang.String[1]
[0]=opc.tcp://192.168.1.100:4840
ServerCertificate=[864] 0x3082035c308202c5a003020102020431ba2d3f300d06092a864886f70d010105050030818b310b30090603550406130244453110300e06035504081607426176617269613111300f0603550407160845726c616e67656e31133011060355040a160a5369656d656e732041473111300f060355040b1608496e6475737472793120301e06092a864886f70d01090116116f70637561407369656d656e732e636f6d310d300b060355040316046e637531301e170d3136303830393136313431365a170d3436303831303136313431365a30818b310b30090603550406130244453110300e06035504081607426176617269613111300f0603550407160845726c616e67656e31133011060355040a160a5369656d656e732041473111300f060355040b1608496e6475737472793120301e06092a864886f70d01090116116f70637561407369656d656e732e636f6d310d300b060355040316046e63753130819f300d06092a864886f70d010101050003818d0030818902818100ea8ba78a92c65e16e0a0ae0a02e15c6667825905684066248dc9dbea1ded31f6f56b98ba60e2d914bac9fae0a677dc3be4617aa953a63318a080ef63d6dcab3306900b60d764b5cd8e89f70d63efddd1e3720f15ffa68dd1a9469e2f5ceaf1daf94e68f5eae2893dd39af28615a1f9683d86a522380e022d12649cc2e56004ab0203010001a381ca3081c730280603551d23010100041e301c801492f26fb15c7b9da66911c577e8f0e5f12c6f2110820431ba2d3f30200603551d0e0101000416041492f26fb15c7b9da66911c577e8f0e5f12c6f2110300f0603551d130101ff040530030101ff300e0603551d0f0101ff0404030201f630200603551d250101ff0416301406082b0601050507030206082b0601050507030130360603551d11010100042c302a820d3139322e3136382e312e313030861975726e3a3139322e3136382e312e3130303a6d696e69776562300d06092a864886f70d0101050500038181001e1de3ddd99e877e1e4f6d5e57554f769dc03d300aac1b0b5e7d92cb758b2683fad76f0242e20a52998ea60608a7af566ca9597c29a8879c30fad79cd3d7232a5e9d926b44be838d65c57626276c25648777cda5b531f7e70d8985af88d58aaa73aded85b5c96d4d79802d3b27756aa3e15f38ca1130d04b75009d5d841f68ff
SecurityMode=MessageSecurityMode
name=None
ordinal=1
SecurityPolicyUri=http://opcfoundation.org/UA/SecurityPolicy#None
UserIdentityTokens=class org.opcfoundation.ua.core.UserTokenPolicy[2]
[0]=UserTokenPolicy
PolicyId=Anonymous
TokenType=UserTokenType
name=Anonymous
ordinal=0
IssuedTokenType=null
IssuerEndpointUrl=null
SecurityPolicyUri=http://opcfoundation.org/UA/SecurityPolicy#None
[1]=UserTokenPolicy
PolicyId=http://opcfoundation.org/UA/SecurityPolicy#Basic128Rsa15
TokenType=UserTokenType
name=UserName
ordinal=1
IssuedTokenType=null
IssuerEndpointUrl=null
SecurityPolicyUri=http://opcfoundation.org/UA/SecurityPolicy#Basic128Rsa15
TransportProfileUri=http://opcfoundation.org/UA-Profile/Transport/uatcp-uasc-uabinary
SecurityLevel=0
2016-09-02 14:00:26 DEBUG SecureChannelTcp:242 – initialize: url=opc.tcp://192.168.1.100:4840
2016-09-02 14:00:26 DEBUG SecureChannelTcp:567 – open
2016-09-02 14:00:26 INFO TcpConnection:396 – /192.168.1.100:4840 Connecting
2016-09-02 14:00:26 DEBUG TcpConnection:421 – /192.168.1.100:4840 Socket connected
2016-09-02 14:00:26 INFO TcpConnection:544 – /192.168.1.100:4840 Connected
2016-09-02 14:00:26 DEBUG TcpConnection:549 – Creating ReadThread
2016-09-02 14:00:26 DEBUG SecureChannelTcp:627 – createSecureChannel: renew=false channel=org.opcfoundation.ua.transport.tcp.io.TcpConnection@1d209a2
2016-09-02 14:00:26 DEBUG SecureChannelTcp:632 – createSecureChannel: requestId=1
2016-09-02 14:00:26 DEBUG CryptoUtil:150 – createNonce: bytes=0
2016-09-02 14:00:26 DEBUG SecureChannelTcp:642 – tokenLifetime: 3600000
2016-09-02 14:00:26 DEBUG TcpConnection:1039 – sendRequest: socket=Socket[addr=/192.168.1.100,port=4840,localport=61017]
2016-09-02 14:00:26 DEBUG TcpConnection:1044 – sendRequest: 0 Sending Request rid:1
2016-09-02 14:00:26 DEBUG TcpConnection:1058 – sendRequest: token=null
2016-09-02 14:00:26 DEBUG TcpConnection:1062 – sendRequest: keySize=0
2016-09-02 14:00:26 DEBUG TcpConnection:1205 – SecureChannelId=0 SequenceNumber=1, RequestId=1
2016-09-02 14:00:26 DEBUG ChunkAsymmEncryptSigner:78 – SecurityMode in asymm enc: 1
2016-09-02 14:00:26 DEBUG ChunkAsymmDecryptVerifier:71 – SecurityPolicy in use: http://opcfoundation.org/UA/SecurityPolicy#None
2016-09-02 14:00:26 DEBUG ChunkAsymmDecryptVerifier:72 – SecurityMode in use: None
2016-09-02 14:00:26 DEBUG TcpConnection:932 – new token=SecurityToken(Id=1, secureChannelId=74759264, creationTime=02-Sep-2016 14:00:26, lifetime=3600000)
2016-09-02 14:00:26 DEBUG SecureChannelTcp:724 – 74759264 Secure channel opened, SecureChannelId=74759264, TokenId=1
2016-09-02 14:00:26 DEBUG SecureChannelTcp:746 – RevisedLifetime: 3600000
2016-09-02 14:00:26 DEBUG UaClient:? – createSessionChannel
2016-09-02 14:00:26 DEBUG CryptoUtil:150 – createNonce: bytes=32
2016-09-02 14:00:26 DEBUG SecureChannelTcp:338 – serviceRequest: requests.size=1
2016-09-02 14:00:26 DEBUG TcpConnection:1039 – sendRequest: socket=Socket[addr=/192.168.1.100,port=4840,localport=61017]
2016-09-02 14:00:26 DEBUG TcpConnection:1044 – sendRequest: 74759264 Sending Request rid:2
2016-09-02 14:00:26 DEBUG TcpConnection:1349 – pruneInvalidTokens: tokens(1)=[SecurityToken(Id=1, secureChannelId=74759264, creationTime=02-Sep-2016 14:00:26, lifetime=3600000)]
2016-09-02 14:00:26 DEBUG TcpConnection:1334 – tokens=[SecurityToken(Id=1, secureChannelId=74759264, creationTime=02-Sep-2016 14:00:26, lifetime=3600000)]
2016-09-02 14:00:26 DEBUG TcpConnection:1339 – getSecurityTokenToUse=SecurityToken(Id=1, secureChannelId=74759264, creationTime=02-Sep-2016 14:00:26, lifetime=3600000)
2016-09-02 14:00:26 DEBUG TcpConnection:1058 – sendRequest: token=SecurityToken(Id=1, secureChannelId=74759264, creationTime=02-Sep-2016 14:00:26, lifetime=3600000)
2016-09-02 14:00:26 DEBUG TcpConnection:1062 – sendRequest: keySize=0
2016-09-02 14:00:26 DEBUG SecureChannelTcp:344 – serviceRequest: Message sent, requestId=2 secureChannelId=74759264
2016-09-02 14:00:26 DEBUG TcpConnection:832 – tokens(1)=[SecurityToken(Id=1, secureChannelId=74759264, creationTime=02-Sep-2016 14:00:26, lifetime=3600000)]
2016-09-02 14:00:26 DEBUG TcpConnection:836 – token=SecurityToken(Id=1, secureChannelId=74759264, creationTime=02-Sep-2016 14:00:26, lifetime=3600000)
2016-09-02 14:00:26 DEBUG SecureChannelTcp:381 – Response: CreateSessionResponse
2016-09-02 14:00:26 DEBUG Client:216 – CreateSessionResponse=CreateSessionResponse
ResponseHeader=ResponseHeader
Timestamp=09/03/16 14:09:46.0000000 GMT
RequestHandle=0
ServiceResult=GOOD (0x00000000) “”
ServiceDiagnostics=Diagnostic Info:
StringTable=class java.lang.String[0]
AdditionalHeader=null
SessionId=ns=1;i=1059961405
AuthenticationToken=ns=1;i=1059961405
RevisedSessionTimeout=100000.0
ServerNonce=null
ServerCertificate=[864] 0x3082035c308202c5a003020102020431ba2d3f300d06092a864886f70d010105050030818b310b30090603550406130244453110300e06035504081607426176617269613111300f0603550407160845726c616e67656e31133011060355040a160a5369656d656e732041473111300f060355040b1608496e6475737472793120301e06092a864886f70d01090116116f70637561407369656d656e732e636f6d310d300b060355040316046e637531301e170d3136303830393136313431365a170d3436303831303136313431365a30818b310b30090603550406130244453110300e06035504081607426176617269613111300f0603550407160845726c616e67656e31133011060355040a160a5369656d656e732041473111300f060355040b1608496e6475737472793120301e06092a864886f70d01090116116f70637561407369656d656e732e636f6d310d300b060355040316046e63753130819f300d06092a864886f70d010101050003818d0030818902818100ea8ba78a92c65e16e0a0ae0a02e15c6667825905684066248dc9dbea1ded31f6f56b98ba60e2d914bac9fae0a677dc3be4617aa953a63318a080ef63d6dcab3306900b60d764b5cd8e89f70d63efddd1e3720f15ffa68dd1a9469e2f5ceaf1daf94e68f5eae2893dd39af28615a1f9683d86a522380e022d12649cc2e56004ab0203010001a381ca3081c730280603551d23010100041e301c801492f26fb15c7b9da66911c577e8f0e5f12c6f2110820431ba2d3f30200603551d0e0101000416041492f26fb15c7b9da66911c577e8f0e5f12c6f2110300f0603551d130101ff040530030101ff300e0603551d0f0101ff0404030201f630200603551d250101ff0416301406082b0601050507030206082b0601050507030130360603551d11010100042c302a820d3139322e3136382e312e313030861975726e3a3139322e3136382e312e3130303a6d696e69776562300d06092a864886f70d0101050500038181001e1de3ddd99e877e1e4f6d5e57554f769dc03d300aac1b0b5e7d92cb758b2683fad76f0242e20a52998ea60608a7af566ca9597c29a8879c30fad79cd3d7232a5e9d926b44be838d65c57626276c25648777cda5b531f7e70d8985af88d58aaa73aded85b5c96d4d79802d3b27756aa3e15f38ca1130d04b75009d5d841f68ff
ServerEndpoints=class org.opcfoundation.ua.core.EndpointDescription[3]
[0]=EndpointDescription
EndpointUrl=opc.tcp://192.168.1.100:4840
Server=ApplicationDescription
ApplicationUri=urn:192.168.1.100:miniweb
ProductUri=http://automation.siemens.com
ApplicationName=(en_us) Sinumerik OPC UA
ApplicationType=ApplicationType
name=Server
ordinal=0
GatewayServerUri=null
DiscoveryProfileUri=null
DiscoveryUrls=class java.lang.String[1]
[0]=opc.tcp://192.168.1.100:4840
ServerCertificate=[0] 0x
SecurityMode=MessageSecurityMode
name=None
ordinal=1
SecurityPolicyUri=http://opcfoundation.org/UA/SecurityPolicy#None
UserIdentityTokens=class org.opcfoundation.ua.core.UserTokenPolicy[2]
[0]=UserTokenPolicy
PolicyId=Anonymous
TokenType=UserTokenType
name=Anonymous
ordinal=0
IssuedTokenType=null
IssuerEndpointUrl=null
SecurityPolicyUri=http://opcfoundation.org/UA/SecurityPolicy#None
[1]=UserTokenPolicy
PolicyId=http://opcfoundation.org/UA/SecurityPolicy#Basic128Rsa15
TokenType=UserTokenType
name=UserName
ordinal=1
IssuedTokenType=null
IssuerEndpointUrl=null
SecurityPolicyUri=http://opcfoundation.org/UA/SecurityPolicy#Basic128Rsa15
TransportProfileUri=http://opcfoundation.org/UA-Profile/Transport/uatcp-uasc-uabinary
SecurityLevel=0
[1]=EndpointDescription
EndpointUrl=opc.tcp://192.168.1.100:4840
Server=ApplicationDescription
ApplicationUri=urn:192.168.1.100:miniweb
ProductUri=http://automation.siemens.com
ApplicationName=(en_us) Sinumerik OPC UA
ApplicationType=ApplicationType
name=Server
ordinal=0
GatewayServerUri=null
DiscoveryProfileUri=null
DiscoveryUrls=class java.lang.String[1]
[0]=opc.tcp://192.168.1.100:4840
ServerCertificate=[0] 0x
SecurityMode=MessageSecurityMode
name=SignAndEncrypt
ordinal=3
SecurityPolicyUri=http://opcfoundation.org/UA/SecurityPolicy#Basic128Rsa15
UserIdentityTokens=class org.opcfoundation.ua.core.UserTokenPolicy[2]
[0]=UserTokenPolicy
PolicyId=Anonymous
TokenType=UserTokenType
name=Anonymous
ordinal=0
IssuedTokenType=null
IssuerEndpointUrl=null
SecurityPolicyUri=http://opcfoundation.org/UA/SecurityPolicy#None
[1]=UserTokenPolicy
PolicyId=http://opcfoundation.org/UA/SecurityPolicy#Basic128Rsa15
TokenType=UserTokenType
name=UserName
ordinal=1
IssuedTokenType=null
IssuerEndpointUrl=null
SecurityPolicyUri=http://opcfoundation.org/UA/SecurityPolicy#Basic128Rsa15
TransportProfileUri=http://opcfoundation.org/UA-Profile/Transport/uatcp-uasc-uabinary
SecurityLevel=0
[2]=EndpointDescription
EndpointUrl=opc.tcp://192.168.1.100:4840
Server=ApplicationDescription
ApplicationUri=urn:192.168.1.100:miniweb
ProductUri=http://automation.siemens.com
ApplicationName=(en_us) Sinumerik OPC UA
ApplicationType=ApplicationType
name=Server
ordinal=0
GatewayServerUri=null
DiscoveryProfileUri=null
DiscoveryUrls=class java.lang.String[1]
[0]=opc.tcp://192.168.1.100:4840
ServerCertificate=[0] 0x
SecurityMode=MessageSecurityMode
name=SignAndEncrypt
ordinal=3
SecurityPolicyUri=http://opcfoundation.org/UA/SecurityPolicy#Basic256
UserIdentityTokens=class org.opcfoundation.ua.core.UserTokenPolicy[2]
[0]=UserTokenPolicy
PolicyId=Anonymous
TokenType=UserTokenType
name=Anonymous
ordinal=0
IssuedTokenType=null
IssuerEndpointUrl=null
SecurityPolicyUri=http://opcfoundation.org/UA/SecurityPolicy#None
[1]=UserTokenPolicy
PolicyId=http://opcfoundation.org/UA/SecurityPolicy#Basic128Rsa15
TokenType=UserTokenType
name=UserName
ordinal=1
IssuedTokenType=null
IssuerEndpointUrl=null
SecurityPolicyUri=http://opcfoundation.org/UA/SecurityPolicy#Basic128Rsa15
TransportProfileUri=http://opcfoundation.org/UA-Profile/Transport/uatcp-uasc-uabinary
SecurityLevel=0
ServerSoftwareCertificates=null
ServerSignature=SignatureData
Algorithm=null
Signature=null
MaxRequestMessageSize=0
2016-09-02 14:00:26 DEBUG Client:228 – MessageSecurityMode: None
2016-09-02 14:00:26 DEBUG UaClient:? – activateSessionChannel: endpoint=opc.tcp://192.168.1.100:4840
2016-09-02 14:00:26 DEBUG EndpointUtil:320 – createUserNameIdentityToken: algorithm=Algorithm URI=http://www.w3.org/2001/04/xmlenc#rsa-1_5 StandardName=RSA Transformation=RSA/NONE/PKCS1Padding
2016-09-02 14:00:26 DEBUG EndpointUtil:333 – createUserNameIdentityToken: pw=[7, 0, 0, 0, 83, 85, 78, 82, 73, 83, 69]
2016-09-02 14:00:26 DEBUG EndpointUtil:334 – createUserNameIdentityToken: algorithm=Algorithm URI=http://www.w3.org/2001/04/xmlenc#rsa-1_5 StandardName=RSA Transformation=RSA/NONE/PKCS1Padding
2016-09-02 14:00:26 DEBUG EndpointUtil:335 – createUserNameIdentityToken: serverCert=null
2016-09-02 14:00:26 DEBUG SecureChannelTcp:338 – serviceRequest: requests.size=1
2016-09-02 14:00:26 DEBUG TcpConnection:1039 – sendRequest: socket=Socket[addr=/192.168.1.100,port=4840,localport=61017]
2016-09-02 14:00:26 DEBUG TcpConnection:1044 – sendRequest: 74759264 Sending Request rid:3
2016-09-02 14:00:26 DEBUG TcpConnection:1349 – pruneInvalidTokens: tokens(1)=[SecurityToken(Id=1, secureChannelId=74759264, creationTime=02-Sep-2016 14:00:26, lifetime=3600000)]
2016-09-02 14:00:26 DEBUG TcpConnection:1334 – tokens=[SecurityToken(Id=1, secureChannelId=74759264, creationTime=02-Sep-2016 14:00:26, lifetime=3600000)]
2016-09-02 14:00:26 DEBUG TcpConnection:1339 – getSecurityTokenToUse=SecurityToken(Id=1, secureChannelId=74759264, creationTime=02-Sep-2016 14:00:26, lifetime=3600000)
2016-09-02 14:00:26 DEBUG TcpConnection:1058 – sendRequest: token=SecurityToken(Id=1, secureChannelId=74759264, creationTime=02-Sep-2016 14:00:26, lifetime=3600000)
2016-09-02 14:00:26 DEBUG TcpConnection:1062 – sendRequest: keySize=0
2016-09-02 14:00:26 DEBUG SecureChannelTcp:344 – serviceRequest: Message sent, requestId=3 secureChannelId=74759264
2016-09-02 14:00:26 DEBUG TcpConnection:832 – tokens(1)=[SecurityToken(Id=1, secureChannelId=74759264, creationTime=02-Sep-2016 14:00:26, lifetime=3600000)]
2016-09-02 14:00:26 DEBUG TcpConnection:836 – token=SecurityToken(Id=1, secureChannelId=74759264, creationTime=02-Sep-2016 14:00:26, lifetime=3600000)
2016-09-02 14:00:26 DEBUG SecureChannelTcp:381 – Response: CloseSessionResponse
2016-09-02 14:00:26 DEBUG SecureChannelTcp:385 – BAD response: Bad_SessionNotActivated (0x80270000) “The session cannot be used because ActivateSession has not been called.”
2016-09-02 14:00:26 INFO UaClient:? – Failed to CloseSession:
ServiceFault: Bad_SessionNotActivated (0x80270000) “The session cannot be used because ActivateSession has not been called.”
Diagnostic Info:
at org.opcfoundation.ua.transport.tcp.io.SecureChannelTcp.serviceRequest(SecureChannelTcp.java:386)
at org.opcfoundation.ua.transport.tcp.io.SecureChannelTcp.serviceRequest(SecureChannelTcp.java:317)
at org.opcfoundation.ua.application.SessionChannel.serviceRequest(SessionChannel.java:290)
at org.opcfoundation.ua.transport.ChannelService.CloseSession(ChannelService.java:735)
at com.prosysopc.ua.client.UaClient.a(Unknown Source)
at com.prosysopc.ua.client.UaClient.disconnect(Unknown Source)
at com.prosysopc.ua.client.UaClient.disconnect(Unknown Source)
at com.prosysopc.ua.client.UaClient.disconnect(Unknown Source)
at com.prosysopc.ua.client.UaClient.connect(Unknown Source)
at cms.opcua.client.OPCClientUA.run(OPCClientUA.java:142)
2016-09-02 14:00:26 DEBUG UaClient:? – disconnectSubscriptions: null
2016-09-02 14:00:26 DEBUG SecureChannelTcp:338 – serviceRequest: requests.size=1
2016-09-02 14:00:26 DEBUG TcpConnection:1039 – sendRequest: socket=Socket[addr=/192.168.1.100,port=4840,localport=61017]
2016-09-02 14:00:26 DEBUG TcpConnection:1044 – sendRequest: 74759264 Sending Request rid:4
2016-09-02 14:00:26 DEBUG TcpConnection:1349 – pruneInvalidTokens: tokens(1)=[SecurityToken(Id=1, secureChannelId=74759264, creationTime=02-Sep-2016 14:00:26, lifetime=3600000)]
2016-09-02 14:00:26 DEBUG TcpConnection:1334 – tokens=[SecurityToken(Id=1, secureChannelId=74759264, creationTime=02-Sep-2016 14:00:26, lifetime=3600000)]
2016-09-02 14:00:26 DEBUG TcpConnection:1339 – getSecurityTokenToUse=SecurityToken(Id=1, secureChannelId=74759264, creationTime=02-Sep-2016 14:00:26, lifetime=3600000)
2016-09-02 14:00:26 DEBUG TcpConnection:1058 – sendRequest: token=SecurityToken(Id=1, secureChannelId=74759264, creationTime=02-Sep-2016 14:00:26, lifetime=3600000)
2016-09-02 14:00:26 DEBUG TcpConnection:1062 – sendRequest: keySize=0
2016-09-02 14:00:26 DEBUG SecureChannelTcp:344 – serviceRequest: Message sent, requestId=4 secureChannelId=74759264
2016-09-02 14:00:26 INFO SecureChannelTcp:877 – 74759264 Closed
2016-09-02 14:00:26 INFO TcpConnection:615 – /192.168.1.100:4840 Closed
2016-09-02 14:00:26 INFO TcpConnection:956 – /192.168.1.100:4840 Closed (expected)
2016-09-02 14:00:26 DEBUG SecureChannelTcp:902 – requests.clear()”
9:39, EEST
April 17, 2013
13:00, EEST
August 31, 2016
Hi,
Yes I did receive it and I the reply via email. I still get the same error.
edit: removed some of the logging.
2016-09-05 10:52:36 DEBUG UaClient:? – endpoints:[EndpointDescription: EndpointDescription
EndpointUrl=opc.tcp://192.168.1.100:4840
Server=ApplicationDescription
ApplicationUri=urn:192.168.1.100:miniweb
ProductUri=http://automation.siemens.com
ApplicationName=(en_us) Sinumerik OPC UA
ApplicationType=ApplicationType
name=Server
ordinal=0
GatewayServerUri=null
DiscoveryProfileUri=null
DiscoveryUrls=class java.lang.String[1]
[0]=opc.tcp://192.168.1.100:4840
ServerCertificate=[864] 0x3082035c308202c5a003020102020431ba2d3f300d06092a864886f70d010105050030818b310b30090603550406130244453110300e06035504081607426176617269613111300f0603550407160845726c616e67656e31133011060355040a160a5369656d656e732041473111300f060355040b1608496e6475737472793120301e06092a864886f70d01090116116f70637561407369656d656e732e636f6d310d300b060355040316046e637531301e170d3136303830393136313431365a170d3436303831303136313431365a30818b310b30090603550406130244453110300e06035504081607426176617269613111300f0603550407160845726c616e67656e31133011060355040a160a5369656d656e732041473111300f060355040b1608496e6475737472793120301e06092a864886f70d01090116116f70637561407369656d656e732e636f6d310d300b060355040316046e63753130819f300d06092a864886f70d010101050003818d0030818902818100ea8ba78a92c65e16e0a0ae0a02e15c6667825905684066248dc9dbea1ded31f6f56b98ba60e2d914bac9fae0a677dc3be4617aa953a63318a080ef63d6dcab3306900b60d764b5cd8e89f70d63efddd1e3720f15ffa68dd1a9469e2f5ceaf1daf94e68f5eae2893dd39af28615a1f9683d86a522380e022d12649cc2e56004ab0203010001a381ca3081c730280603551d23010100041e301c801492f26fb15c7b9da66911c577e8f0e5f12c6f2110820431ba2d3f30200603551d0e0101000416041492f26fb15c7b9da66911c577e8f0e5f12c6f2110300f0603551d130101ff040530030101ff300e0603551d0f0101ff0404030201f630200603551d250101ff0416301406082b0601050507030206082b0601050507030130360603551d11010100042c302a820d3139322e3136382e312e313030861975726e3a3139322e3136382e312e3130303a6d696e69776562300d06092a864886f70d0101050500038181001e1de3ddd99e877e1e4f6d5e57554f769dc03d300aac1b0b5e7d92cb758b2683fad76f0242e20a52998ea60608a7af566ca9597c29a8879c30fad79cd3d7232a5e9d926b44be838d65c57626276c25648777cda5b531f7e70d8985af88d58aaa73aded85b5c96d4d79802d3b27756aa3e15f38ca1130d04b75009d5d841f68ff
SecurityMode=MessageSecurityMode
name=None
ordinal=1
SecurityPolicyUri=http://opcfoundation.org/UA/SecurityPolicy#None
UserIdentityTokens=class org.opcfoundation.ua.core.UserTokenPolicy[2]
[0]=UserTokenPolicy
PolicyId=Anonymous
TokenType=UserTokenType
name=Anonymous
ordinal=0
IssuedTokenType=null
IssuerEndpointUrl=null
SecurityPolicyUri=http://opcfoundation.org/UA/SecurityPolicy#None
[1]=UserTokenPolicy
PolicyId=http://opcfoundation.org/UA/SecurityPolicy#Basic128Rsa15
TokenType=UserTokenType
name=UserName
ordinal=1
IssuedTokenType=null
IssuerEndpointUrl=null
SecurityPolicyUri=http://opcfoundation.org/UA/SecurityPolicy#Basic128Rsa15
TransportProfileUri=http://opcfoundation.org/UA-Profile/Transport/uatcp-uasc-uabinary
SecurityLevel=0
, EndpointDescription: EndpointDescription
EndpointUrl=opc.tcp://192.168.1.100:4840
Server=ApplicationDescription
ApplicationUri=urn:192.168.1.100:miniweb
ProductUri=http://automation.siemens.com
ApplicationName=(en_us) Sinumerik OPC UA
ApplicationType=ApplicationType
name=Server
ordinal=0
GatewayServerUri=null
DiscoveryProfileUri=null
DiscoveryUrls=class java.lang.String[1]
[0]=opc.tcp://192.168.1.100:4840
ServerCertificate=[864] 0x3082035c308202c5a003020102020431ba2d3f300d06092a864886f70d010105050030818b310b30090603550406130244453110300e06035504081607426176617269613111300f0603550407160845726c616e67656e31133011060355040a160a5369656d656e732041473111300f060355040b1608496e6475737472793120301e06092a864886f70d01090116116f70637561407369656d656e732e636f6d310d300b060355040316046e637531301e170d3136303830393136313431365a170d3436303831303136313431365a30818b310b30090603550406130244453110300e06035504081607426176617269613111300f0603550407160845726c616e67656e31133011060355040a160a5369656d656e732041473111300f060355040b1608496e6475737472793120301e06092a864886f70d01090116116f70637561407369656d656e732e636f6d310d300b060355040316046e63753130819f300d06092a864886f70d010101050003818d0030818902818100ea8ba78a92c65e16e0a0ae0a02e15c6667825905684066248dc9dbea1ded31f6f56b98ba60e2d914bac9fae0a677dc3be4617aa953a63318a080ef63d6dcab3306900b60d764b5cd8e89f70d63efddd1e3720f15ffa68dd1a9469e2f5ceaf1daf94e68f5eae2893dd39af28615a1f9683d86a522380e022d12649cc2e56004ab0203010001a381ca3081c730280603551d23010100041e301c801492f26fb15c7b9da66911c577e8f0e5f12c6f2110820431ba2d3f30200603551d0e0101000416041492f26fb15c7b9da66911c577e8f0e5f12c6f2110300f0603551d130101ff040530030101ff300e0603551d0f0101ff0404030201f630200603551d250101ff0416301406082b0601050507030206082b0601050507030130360603551d11010100042c302a820d3139322e3136382e312e313030861975726e3a3139322e3136382e312e3130303a6d696e69776562300d06092a864886f70d0101050500038181001e1de3ddd99e877e1e4f6d5e57554f769dc03d300aac1b0b5e7d92cb758b2683fad76f0242e20a52998ea60608a7af566ca9597c29a8879c30fad79cd3d7232a5e9d926b44be838d65c57626276c25648777cda5b531f7e70d8985af88d58aaa73aded85b5c96d4d79802d3b27756aa3e15f38ca1130d04b75009d5d841f68ff
SecurityMode=MessageSecurityMode
name=SignAndEncrypt
ordinal=3
SecurityPolicyUri=http://opcfoundation.org/UA/SecurityPolicy#Basic128Rsa15
UserIdentityTokens=class org.opcfoundation.ua.core.UserTokenPolicy[2]
[0]=UserTokenPolicy
PolicyId=Anonymous
TokenType=UserTokenType
name=Anonymous
ordinal=0
IssuedTokenType=null
IssuerEndpointUrl=null
SecurityPolicyUri=http://opcfoundation.org/UA/SecurityPolicy#None
[1]=UserTokenPolicy
PolicyId=http://opcfoundation.org/UA/SecurityPolicy#Basic128Rsa15
TokenType=UserTokenType
name=UserName
ordinal=1
IssuedTokenType=null
IssuerEndpointUrl=null
SecurityPolicyUri=http://opcfoundation.org/UA/SecurityPolicy#Basic128Rsa15
TransportProfileUri=http://opcfoundation.org/UA-Profile/Transport/uatcp-uasc-uabinary
SecurityLevel=0
, EndpointDescription: EndpointDescription
EndpointUrl=opc.tcp://192.168.1.100:4840
Server=ApplicationDescription
ApplicationUri=urn:192.168.1.100:miniweb
ProductUri=http://automation.siemens.com
ApplicationName=(en_us) Sinumerik OPC UA
ApplicationType=ApplicationType
name=Server
ordinal=0
GatewayServerUri=null
DiscoveryProfileUri=null
DiscoveryUrls=class java.lang.String[1]
[0]=opc.tcp://192.168.1.100:4840
ServerCertificate=[864] 0x3082035c308202c5a003020102020431ba2d3f300d06092a864886f70d010105050030818b310b30090603550406130244453110300e06035504081607426176617269613111300f0603550407160845726c616e67656e31133011060355040a160a5369656d656e732041473111300f060355040b1608496e6475737472793120301e06092a864886f70d01090116116f70637561407369656d656e732e636f6d310d300b060355040316046e637531301e170d3136303830393136313431365a170d3436303831303136313431365a30818b310b30090603550406130244453110300e06035504081607426176617269613111300f0603550407160845726c616e67656e31133011060355040a160a5369656d656e732041473111300f060355040b1608496e6475737472793120301e06092a864886f70d01090116116f70637561407369656d656e732e636f6d310d300b060355040316046e63753130819f300d06092a864886f70d010101050003818d0030818902818100ea8ba78a92c65e16e0a0ae0a02e15c6667825905684066248dc9dbea1ded31f6f56b98ba60e2d914bac9fae0a677dc3be4617aa953a63318a080ef63d6dcab3306900b60d764b5cd8e89f70d63efddd1e3720f15ffa68dd1a9469e2f5ceaf1daf94e68f5eae2893dd39af28615a1f9683d86a522380e022d12649cc2e56004ab0203010001a381ca3081c730280603551d23010100041e301c801492f26fb15c7b9da66911c577e8f0e5f12c6f2110820431ba2d3f30200603551d0e0101000416041492f26fb15c7b9da66911c577e8f0e5f12c6f2110300f0603551d130101ff040530030101ff300e0603551d0f0101ff0404030201f630200603551d250101ff0416301406082b0601050507030206082b0601050507030130360603551d11010100042c302a820d3139322e3136382e312e313030861975726e3a3139322e3136382e312e3130303a6d696e69776562300d06092a864886f70d0101050500038181001e1de3ddd99e877e1e4f6d5e57554f769dc03d300aac1b0b5e7d92cb758b2683fad76f0242e20a52998ea60608a7af566ca9597c29a8879c30fad79cd3d7232a5e9d926b44be838d65c57626276c25648777cda5b531f7e70d8985af88d58aaa73aded85b5c96d4d79802d3b27756aa3e15f38ca1130d04b75009d5d841f68ff
SecurityMode=MessageSecurityMode
name=SignAndEncrypt
ordinal=3
SecurityPolicyUri=http://opcfoundation.org/UA/SecurityPolicy#Basic256
UserIdentityTokens=class org.opcfoundation.ua.core.UserTokenPolicy[2]
[0]=UserTokenPolicy
PolicyId=Anonymous
TokenType=UserTokenType
name=Anonymous
ordinal=0
IssuedTokenType=null
IssuerEndpointUrl=null
SecurityPolicyUri=http://opcfoundation.org/UA/SecurityPolicy#None
[1]=UserTokenPolicy
PolicyId=http://opcfoundation.org/UA/SecurityPolicy#Basic128Rsa15
TokenType=UserTokenType
name=UserName
ordinal=1
IssuedTokenType=null
IssuerEndpointUrl=null
SecurityPolicyUri=http://opcfoundation.org/UA/SecurityPolicy#Basic128Rsa15
TransportProfileUri=http://opcfoundation.org/UA-Profile/Transport/uatcp-uasc-uabinary
SecurityLevel=0
]
2016-09-05 10:52:36 DEBUG UaClient:? – initEndpoint: endpoint=EndpointDescription: EndpointDescription
EndpointUrl=opc.tcp://192.168.1.100:4840
Server=ApplicationDescription
ApplicationUri=urn:192.168.1.100:miniweb
ProductUri=http://automation.siemens.com
ApplicationName=(en_us) Sinumerik OPC UA
ApplicationType=ApplicationType
name=Server
ordinal=0
GatewayServerUri=null
DiscoveryProfileUri=null
DiscoveryUrls=class java.lang.String[1]
[0]=opc.tcp://192.168.1.100:4840
ServerCertificate=[864] 0x3082035c308202c5a003020102020431ba2d3f300d06092a864886f70d010105050030818b310b30090603550406130244453110300e06035504081607426176617269613111300f0603550407160845726c616e67656e31133011060355040a160a5369656d656e732041473111300f060355040b1608496e6475737472793120301e06092a864886f70d01090116116f70637561407369656d656e732e636f6d310d300b060355040316046e637531301e170d3136303830393136313431365a170d3436303831303136313431365a30818b310b30090603550406130244453110300e06035504081607426176617269613111300f0603550407160845726c616e67656e31133011060355040a160a5369656d656e732041473111300f060355040b1608496e6475737472793120301e06092a864886f70d01090116116f70637561407369656d656e732e636f6d310d300b060355040316046e63753130819f300d06092a864886f70d010101050003818d0030818902818100ea8ba78a92c65e16e0a0ae0a02e15c6667825905684066248dc9dbea1ded31f6f56b98ba60e2d914bac9fae0a677dc3be4617aa953a63318a080ef63d6dcab3306900b60d764b5cd8e89f70d63efddd1e3720f15ffa68dd1a9469e2f5ceaf1daf94e68f5eae2893dd39af28615a1f9683d86a522380e022d12649cc2e56004ab0203010001a381ca3081c730280603551d23010100041e301c801492f26fb15c7b9da66911c577e8f0e5f12c6f2110820431ba2d3f30200603551d0e0101000416041492f26fb15c7b9da66911c577e8f0e5f12c6f2110300f0603551d130101ff040530030101ff300e0603551d0f0101ff0404030201f630200603551d250101ff0416301406082b0601050507030206082b0601050507030130360603551d11010100042c302a820d3139322e3136382e312e313030861975726e3a3139322e3136382e312e3130303a6d696e69776562300d06092a864886f70d0101050500038181001e1de3ddd99e877e1e4f6d5e57554f769dc03d300aac1b0b5e7d92cb758b2683fad76f0242e20a52998ea60608a7af566ca9597c29a8879c30fad79cd3d7232a5e9d926b44be838d65c57626276c25648777cda5b531f7e70d8985af88d58aaa73aded85b5c96d4d79802d3b27756aa3e15f38ca1130d04b75009d5d841f68ff
SecurityMode=MessageSecurityMode
name=None
ordinal=1
SecurityPolicyUri=http://opcfoundation.org/UA/SecurityPolicy#None
UserIdentityTokens=class org.opcfoundation.ua.core.UserTokenPolicy[2]
[0]=UserTokenPolicy
PolicyId=Anonymous
TokenType=UserTokenType
name=Anonymous
ordinal=0
IssuedTokenType=null
IssuerEndpointUrl=null
SecurityPolicyUri=http://opcfoundation.org/UA/SecurityPolicy#None
[1]=UserTokenPolicy
PolicyId=http://opcfoundation.org/UA/SecurityPolicy#Basic128Rsa15
TokenType=UserTokenType
name=UserName
ordinal=1
IssuedTokenType=null
IssuerEndpointUrl=null
SecurityPolicyUri=http://opcfoundation.org/UA/SecurityPolicy#Basic128Rsa15
TransportProfileUri=http://opcfoundation.org/UA-Profile/Transport/uatcp-uasc-uabinary
SecurityLevel=0
2016-09-05 10:52:36 DEBUG SecureChannelTcp:? – initialize: url=opc.tcp://192.168.1.100:4840
2016-09-05 10:52:36 DEBUG SecureChannelTcp:? – open
2016-09-05 10:52:36 INFO TcpConnection:? – /192.168.1.100:4840 Connecting
2016-09-05 10:52:36 DEBUG TcpConnection:? – /192.168.1.100:4840 Socket connected
2016-09-05 10:52:36 INFO TcpConnection:? – /192.168.1.100:4840 Connected
2016-09-05 10:52:36 DEBUG TcpConnection:? – Creating ReadThread
2016-09-05 10:52:36 DEBUG SecureChannelTcp:? – createSecureChannel: renew=false channel=org.opcfoundation.ua.transport.tcp.io.TcpConnection@e4f5b0
2016-09-05 10:52:36 DEBUG SecureChannelTcp:? – createSecureChannel: requestId=1
2016-09-05 10:52:36 DEBUG CryptoUtil:? – createNonce: bytes=0
2016-09-05 10:52:36 DEBUG SecureChannelTcp:? – tokenLifetime: 3600000
2016-09-05 10:52:36 DEBUG TcpConnection:? – sendRequest: socket=Socket[addr=/192.168.1.100,port=4840,localport=52495]
2016-09-05 10:52:36 DEBUG TcpConnection:? – sendRequest: 0 Sending Request rid:1
2016-09-05 10:52:36 DEBUG TcpConnection:? – sendRequest: token=null
2016-09-05 10:52:36 DEBUG TcpConnection:? – sendRequest: keySize=0
2016-09-05 10:52:36 DEBUG TcpConnection:? – SecureChannelId=0 SequenceNumber=1, RequestId=1
2016-09-05 10:52:36 DEBUG ChunkAsymmEncryptSigner:? – SecurityMode in asymm enc: 1
2016-09-05 10:52:36 DEBUG ChunkAsymmDecryptVerifier:? – SecurityPolicy in use: http://opcfoundation.org/UA/SecurityPolicy#None
2016-09-05 10:52:36 DEBUG ChunkAsymmDecryptVerifier:? – SecurityMode in use: None
2016-09-05 10:52:36 DEBUG TcpConnection:? – new token=SecurityToken(Id=1, secureChannelId=74759273, creationTime=05-Sep-2016 10:52:36, lifetime=3600000)
2016-09-05 10:52:36 DEBUG SecureChannelTcp:? – 74759273 Secure channel opened, SecureChannelId=74759273, TokenId=1
2016-09-05 10:52:36 DEBUG SecureChannelTcp:? – RevisedLifetime: 3600000
2016-09-05 10:52:36 DEBUG UaClient:? – createSessionChannel
2016-09-05 10:52:36 DEBUG CryptoUtil:? – createNonce: bytes=32
2016-09-05 10:52:36 DEBUG SecureChannelTcp:? – serviceRequest: requests.size=1
2016-09-05 10:52:36 DEBUG TcpConnection:? – sendRequest: socket=Socket[addr=/192.168.1.100,port=4840,localport=52495]
2016-09-05 10:52:36 DEBUG TcpConnection:? – sendRequest: 74759273 Sending Request rid:2
2016-09-05 10:52:36 DEBUG TcpConnection:? – pruneInvalidTokens: tokens(1)=[SecurityToken(Id=1, secureChannelId=74759273, creationTime=05-Sep-2016 10:52:36, lifetime=3600000)]
2016-09-05 10:52:36 DEBUG TcpConnection:? – tokens=[SecurityToken(Id=1, secureChannelId=74759273, creationTime=05-Sep-2016 10:52:36, lifetime=3600000)]
2016-09-05 10:52:36 DEBUG TcpConnection:? – getSecurityTokenToUse=SecurityToken(Id=1, secureChannelId=74759273, creationTime=05-Sep-2016 10:52:36, lifetime=3600000)
2016-09-05 10:52:36 DEBUG TcpConnection:? – sendRequest: token=SecurityToken(Id=1, secureChannelId=74759273, creationTime=05-Sep-2016 10:52:36, lifetime=3600000)
2016-09-05 10:52:36 DEBUG TcpConnection:? – sendRequest: keySize=0
2016-09-05 10:52:36 DEBUG SecureChannelTcp:? – serviceRequest: Message sent, requestId=2 secureChannelId=74759273
2016-09-05 10:52:36 DEBUG TcpConnection:? – tokens(1)=[SecurityToken(Id=1, secureChannelId=74759273, creationTime=05-Sep-2016 10:52:36, lifetime=3600000)]
2016-09-05 10:52:36 DEBUG TcpConnection:? – token=SecurityToken(Id=1, secureChannelId=74759273, creationTime=05-Sep-2016 10:52:36, lifetime=3600000)
2016-09-05 10:52:36 DEBUG SecureChannelTcp:? – Response: CreateSessionResponse
2016-09-05 10:52:36 DEBUG Client:? – MessageSecurityMode: None
2016-09-05 10:52:36 ERROR Client:? – Requested endpoint is not found on the server: Endpoint=EndpointDescription: EndpointDescription
EndpointUrl=opc.tcp://192.168.1.100:4840
Server=ApplicationDescription
ApplicationUri=urn:192.168.1.100:miniweb
ProductUri=http://automation.siemens.com
ApplicationName=(en_us) Sinumerik OPC UA
ApplicationType=ApplicationType
name=Server
ordinal=0
GatewayServerUri=null
DiscoveryProfileUri=null
DiscoveryUrls=class java.lang.String[1]
[0]=opc.tcp://192.168.1.100:4840
ServerCertificate=[864] 0x3082035c308202c5a003020102020431ba2d3f300d06092a864886f70d010105050030818b310b30090603550406130244453110300e06035504081607426176617269613111300f0603550407160845726c616e67656e31133011060355040a160a5369656d656e732041473111300f060355040b1608496e6475737472793120301e06092a864886f70d01090116116f70637561407369656d656e732e636f6d310d300b060355040316046e637531301e170d3136303830393136313431365a170d3436303831303136313431365a30818b310b30090603550406130244453110300e06035504081607426176617269613111300f0603550407160845726c616e67656e31133011060355040a160a5369656d656e732041473111300f060355040b1608496e6475737472793120301e06092a864886f70d01090116116f70637561407369656d656e732e636f6d310d300b060355040316046e63753130819f300d06092a864886f70d010101050003818d0030818902818100ea8ba78a92c65e16e0a0ae0a02e15c6667825905684066248dc9dbea1ded31f6f56b98ba60e2d914bac9fae0a677dc3be4617aa953a63318a080ef63d6dcab3306900b60d764b5cd8e89f70d63efddd1e3720f15ffa68dd1a9469e2f5ceaf1daf94e68f5eae2893dd39af28615a1f9683d86a522380e022d12649cc2e56004ab0203010001a381ca3081c730280603551d23010100041e301c801492f26fb15c7b9da66911c577e8f0e5f12c6f2110820431ba2d3f30200603551d0e0101000416041492f26fb15c7b9da66911c577e8f0e5f12c6f2110300f0603551d130101ff040530030101ff300e0603551d0f0101ff0404030201f630200603551d250101ff0416301406082b0601050507030206082b0601050507030130360603551d11010100042c302a820d3139322e3136382e312e313030861975726e3a3139322e3136382e312e3130303a6d696e69776562300d06092a864886f70d0101050500038181001e1de3ddd99e877e1e4f6d5e57554f769dc03d300aac1b0b5e7d92cb758b2683fad76f0242e20a52998ea60608a7af566ca9597c29a8879c30fad79cd3d7232a5e9d926b44be838d65c57626276c25648777cda5b531f7e70d8985af88d58aaa73aded85b5c96d4d79802d3b27756aa3e15f38ca1130d04b75009d5d841f68ff
SecurityMode=MessageSecurityMode
name=None
ordinal=1
SecurityPolicyUri=http://opcfoundation.org/UA/SecurityPolicy#None
UserIdentityTokens=class org.opcfoundation.ua.core.UserTokenPolicy[2]
[0]=UserTokenPolicy
PolicyId=Anonymous
TokenType=UserTokenType
name=Anonymous
ordinal=0
IssuedTokenType=null
IssuerEndpointUrl=null
SecurityPolicyUri=http://opcfoundation.org/UA/SecurityPolicy#None
[1]=UserTokenPolicy
PolicyId=http://opcfoundation.org/UA/SecurityPolicy#Basic128Rsa15
TokenType=UserTokenType
name=UserName
ordinal=1
IssuedTokenType=null
IssuerEndpointUrl=null
SecurityPolicyUri=http://opcfoundation.org/UA/SecurityPolicy#Basic128Rsa15
TransportProfileUri=http://opcfoundation.org/UA-Profile/Transport/uatcp-uasc-uabinary
SecurityLevel=0
2016-09-05 10:52:36 DEBUG Client:? – endpoints=[EndpointDescription: EndpointDescription
EndpointUrl=opc.tcp://192.168.1.100:4840
Server=ApplicationDescription
ApplicationUri=urn:192.168.1.100:miniweb
ProductUri=http://automation.siemens.com
ApplicationName=(en_us) Sinumerik OPC UA
ApplicationType=ApplicationType
name=Server
ordinal=0
GatewayServerUri=null
DiscoveryProfileUri=null
DiscoveryUrls=class java.lang.String[1]
[0]=opc.tcp://192.168.1.100:4840
ServerCertificate=[0] 0x
SecurityMode=MessageSecurityMode
name=None
ordinal=1
SecurityPolicyUri=http://opcfoundation.org/UA/SecurityPolicy#None
UserIdentityTokens=class org.opcfoundation.ua.core.UserTokenPolicy[2]
[0]=UserTokenPolicy
PolicyId=Anonymous
TokenType=UserTokenType
name=Anonymous
ordinal=0
IssuedTokenType=null
IssuerEndpointUrl=null
SecurityPolicyUri=http://opcfoundation.org/UA/SecurityPolicy#None
[1]=UserTokenPolicy
PolicyId=http://opcfoundation.org/UA/SecurityPolicy#Basic128Rsa15
TokenType=UserTokenType
name=UserName
ordinal=1
IssuedTokenType=null
IssuerEndpointUrl=null
SecurityPolicyUri=http://opcfoundation.org/UA/SecurityPolicy#Basic128Rsa15
TransportProfileUri=http://opcfoundation.org/UA-Profile/Transport/uatcp-uasc-uabinary
SecurityLevel=0
, EndpointDescription: EndpointDescription
EndpointUrl=opc.tcp://192.168.1.100:4840
Server=ApplicationDescription
ApplicationUri=urn:192.168.1.100:miniweb
ProductUri=http://automation.siemens.com
ApplicationName=(en_us) Sinumerik OPC UA
ApplicationType=ApplicationType
name=Server
ordinal=0
GatewayServerUri=null
DiscoveryProfileUri=null
DiscoveryUrls=class java.lang.String[1]
[0]=opc.tcp://192.168.1.100:4840
ServerCertificate=[0] 0x
SecurityMode=MessageSecurityMode
name=SignAndEncrypt
ordinal=3
SecurityPolicyUri=http://opcfoundation.org/UA/SecurityPolicy#Basic128Rsa15
UserIdentityTokens=class org.opcfoundation.ua.core.UserTokenPolicy[2]
[0]=UserTokenPolicy
PolicyId=Anonymous
TokenType=UserTokenType
name=Anonymous
ordinal=0
IssuedTokenType=null
IssuerEndpointUrl=null
SecurityPolicyUri=http://opcfoundation.org/UA/SecurityPolicy#None
[1]=UserTokenPolicy
PolicyId=http://opcfoundation.org/UA/SecurityPolicy#Basic128Rsa15
TokenType=UserTokenType
name=UserName
ordinal=1
IssuedTokenType=null
IssuerEndpointUrl=null
SecurityPolicyUri=http://opcfoundation.org/UA/SecurityPolicy#Basic128Rsa15
TransportProfileUri=http://opcfoundation.org/UA-Profile/Transport/uatcp-uasc-uabinary
SecurityLevel=0
, EndpointDescription: EndpointDescription
EndpointUrl=opc.tcp://192.168.1.100:4840
Server=ApplicationDescription
ApplicationUri=urn:192.168.1.100:miniweb
ProductUri=http://automation.siemens.com
ApplicationName=(en_us) Sinumerik OPC UA
ApplicationType=ApplicationType
name=Server
ordinal=0
GatewayServerUri=null
DiscoveryProfileUri=null
DiscoveryUrls=class java.lang.String[1]
[0]=opc.tcp://192.168.1.100:4840
ServerCertificate=[0] 0x
SecurityMode=MessageSecurityMode
name=SignAndEncrypt
ordinal=3
SecurityPolicyUri=http://opcfoundation.org/UA/SecurityPolicy#Basic256
UserIdentityTokens=class org.opcfoundation.ua.core.UserTokenPolicy[2]
[0]=UserTokenPolicy
PolicyId=Anonymous
TokenType=UserTokenType
name=Anonymous
ordinal=0
IssuedTokenType=null
IssuerEndpointUrl=null
SecurityPolicyUri=http://opcfoundation.org/UA/SecurityPolicy#None
[1]=UserTokenPolicy
PolicyId=http://opcfoundation.org/UA/SecurityPolicy#Basic128Rsa15
TokenType=UserTokenType
name=UserName
ordinal=1
IssuedTokenType=null
IssuerEndpointUrl=null
SecurityPolicyUri=http://opcfoundation.org/UA/SecurityPolicy#Basic128Rsa15
TransportProfileUri=http://opcfoundation.org/UA-Profile/Transport/uatcp-uasc-uabinary
SecurityLevel=0
]
2016-09-05 10:52:36 DEBUG SecureChannelTcp:? – serviceRequest: requests.size=1
2016-09-05 10:52:36 DEBUG TcpConnection:? – sendRequest: socket=Socket[addr=/192.168.1.100,port=4840,localport=52495]
2016-09-05 10:52:36 DEBUG TcpConnection:? – sendRequest: 74759273 Sending Request rid:3
2016-09-05 10:52:36 DEBUG TcpConnection:? – pruneInvalidTokens: tokens(1)=[SecurityToken(Id=1, secureChannelId=74759273, creationTime=05-Sep-2016 10:52:36, lifetime=3600000)]
2016-09-05 10:52:36 DEBUG TcpConnection:? – tokens=[SecurityToken(Id=1, secureChannelId=74759273, creationTime=05-Sep-2016 10:52:36, lifetime=3600000)]
2016-09-05 10:52:36 DEBUG TcpConnection:? – getSecurityTokenToUse=SecurityToken(Id=1, secureChannelId=74759273, creationTime=05-Sep-2016 10:52:36, lifetime=3600000)
2016-09-05 10:52:36 DEBUG TcpConnection:? – sendRequest: token=SecurityToken(Id=1, secureChannelId=74759273, creationTime=05-Sep-2016 10:52:36, lifetime=3600000)
2016-09-05 10:52:36 DEBUG TcpConnection:? – sendRequest: keySize=0
2016-09-05 10:52:36 DEBUG SecureChannelTcp:? – serviceRequest: Message sent, requestId=3 secureChannelId=74759273
2016-09-05 10:52:36 INFO SecureChannelTcp:? – 74759273 Closed
2016-09-05 10:52:36 INFO TcpConnection:? – /192.168.1.100:4840 Closed
2016-09-05 10:52:36 INFO TcpConnection:? – /192.168.1.100:4840 Closed (expected)
2016-09-05 10:52:36 DEBUG SecureChannelTcp:? – requests.clear()
…
2016-09-05 10:54:26 DEBUG UaClient:? – endpoints:[EndpointDescription: EndpointDescription
EndpointUrl=opc.tcp://192.168.1.100:4840
Server=ApplicationDescription
ApplicationUri=urn:192.168.1.100:miniweb
ProductUri=http://automation.siemens.com
ApplicationName=(en_us) Sinumerik OPC UA
ApplicationType=ApplicationType
name=Server
ordinal=0
GatewayServerUri=null
DiscoveryProfileUri=null
DiscoveryUrls=class java.lang.String[1]
[0]=opc.tcp://192.168.1.100:4840
ServerCertificate=[864] 0x3082035c308202c5a003020102020431ba2d3f300d06092a864886f70d010105050030818b310b30090603550406130244453110300e06035504081607426176617269613111300f0603550407160845726c616e67656e31133011060355040a160a5369656d656e732041473111300f060355040b1608496e6475737472793120301e06092a864886f70d01090116116f70637561407369656d656e732e636f6d310d300b060355040316046e637531301e170d3136303830393136313431365a170d3436303831303136313431365a30818b310b30090603550406130244453110300e06035504081607426176617269613111300f0603550407160845726c616e67656e31133011060355040a160a5369656d656e732041473111300f060355040b1608496e6475737472793120301e06092a864886f70d01090116116f70637561407369656d656e732e636f6d310d300b060355040316046e63753130819f300d06092a864886f70d010101050003818d0030818902818100ea8ba78a92c65e16e0a0ae0a02e15c6667825905684066248dc9dbea1ded31f6f56b98ba60e2d914bac9fae0a677dc3be4617aa953a63318a080ef63d6dcab3306900b60d764b5cd8e89f70d63efddd1e3720f15ffa68dd1a9469e2f5ceaf1daf94e68f5eae2893dd39af28615a1f9683d86a522380e022d12649cc2e56004ab0203010001a381ca3081c730280603551d23010100041e301c801492f26fb15c7b9da66911c577e8f0e5f12c6f2110820431ba2d3f30200603551d0e0101000416041492f26fb15c7b9da66911c577e8f0e5f12c6f2110300f0603551d130101ff040530030101ff300e0603551d0f0101ff0404030201f630200603551d250101ff0416301406082b0601050507030206082b0601050507030130360603551d11010100042c302a820d3139322e3136382e312e313030861975726e3a3139322e3136382e312e3130303a6d696e69776562300d06092a864886f70d0101050500038181001e1de3ddd99e877e1e4f6d5e57554f769dc03d300aac1b0b5e7d92cb758b2683fad76f0242e20a52998ea60608a7af566ca9597c29a8879c30fad79cd3d7232a5e9d926b44be838d65c57626276c25648777cda5b531f7e70d8985af88d58aaa73aded85b5c96d4d79802d3b27756aa3e15f38ca1130d04b75009d5d841f68ff
SecurityMode=MessageSecurityMode
name=None
ordinal=1
SecurityPolicyUri=http://opcfoundation.org/UA/SecurityPolicy#None
UserIdentityTokens=class org.opcfoundation.ua.core.UserTokenPolicy[2]
[0]=UserTokenPolicy
PolicyId=Anonymous
TokenType=UserTokenType
name=Anonymous
ordinal=0
IssuedTokenType=null
IssuerEndpointUrl=null
SecurityPolicyUri=http://opcfoundation.org/UA/SecurityPolicy#None
[1]=UserTokenPolicy
PolicyId=http://opcfoundation.org/UA/SecurityPolicy#Basic128Rsa15
TokenType=UserTokenType
name=UserName
ordinal=1
IssuedTokenType=null
IssuerEndpointUrl=null
SecurityPolicyUri=http://opcfoundation.org/UA/SecurityPolicy#Basic128Rsa15
TransportProfileUri=http://opcfoundation.org/UA-Profile/Transport/uatcp-uasc-uabinary
SecurityLevel=0
, EndpointDescription: EndpointDescription
EndpointUrl=opc.tcp://192.168.1.100:4840
Server=ApplicationDescription
ApplicationUri=urn:192.168.1.100:miniweb
ProductUri=http://automation.siemens.com
ApplicationName=(en_us) Sinumerik OPC UA
ApplicationType=ApplicationType
name=Server
ordinal=0
GatewayServerUri=null
DiscoveryProfileUri=null
DiscoveryUrls=class java.lang.String[1]
[0]=opc.tcp://192.168.1.100:4840
ServerCertificate=[864] 0x3082035c308202c5a003020102020431ba2d3f300d06092a864886f70d010105050030818b310b30090603550406130244453110300e06035504081607426176617269613111300f0603550407160845726c616e67656e31133011060355040a160a5369656d656e732041473111300f060355040b1608496e6475737472793120301e06092a864886f70d01090116116f70637561407369656d656e732e636f6d310d300b060355040316046e637531301e170d3136303830393136313431365a170d3436303831303136313431365a30818b310b30090603550406130244453110300e06035504081607426176617269613111300f0603550407160845726c616e67656e31133011060355040a160a5369656d656e732041473111300f060355040b1608496e6475737472793120301e06092a864886f70d01090116116f70637561407369656d656e732e636f6d310d300b060355040316046e63753130819f300d06092a864886f70d010101050003818d0030818902818100ea8ba78a92c65e16e0a0ae0a02e15c6667825905684066248dc9dbea1ded31f6f56b98ba60e2d914bac9fae0a677dc3be4617aa953a63318a080ef63d6dcab3306900b60d764b5cd8e89f70d63efddd1e3720f15ffa68dd1a9469e2f5ceaf1daf94e68f5eae2893dd39af28615a1f9683d86a522380e022d12649cc2e56004ab0203010001a381ca3081c730280603551d23010100041e301c801492f26fb15c7b9da66911c577e8f0e5f12c6f2110820431ba2d3f30200603551d0e0101000416041492f26fb15c7b9da66911c577e8f0e5f12c6f2110300f0603551d130101ff040530030101ff300e0603551d0f0101ff0404030201f630200603551d250101ff0416301406082b0601050507030206082b0601050507030130360603551d11010100042c302a820d3139322e3136382e312e313030861975726e3a3139322e3136382e312e3130303a6d696e69776562300d06092a864886f70d0101050500038181001e1de3ddd99e877e1e4f6d5e57554f769dc03d300aac1b0b5e7d92cb758b2683fad76f0242e20a52998ea60608a7af566ca9597c29a8879c30fad79cd3d7232a5e9d926b44be838d65c57626276c25648777cda5b531f7e70d8985af88d58aaa73aded85b5c96d4d79802d3b27756aa3e15f38ca1130d04b75009d5d841f68ff
SecurityMode=MessageSecurityMode
name=SignAndEncrypt
ordinal=3
SecurityPolicyUri=http://opcfoundation.org/UA/SecurityPolicy#Basic128Rsa15
UserIdentityTokens=class org.opcfoundation.ua.core.UserTokenPolicy[2]
[0]=UserTokenPolicy
PolicyId=Anonymous
TokenType=UserTokenType
name=Anonymous
ordinal=0
IssuedTokenType=null
IssuerEndpointUrl=null
SecurityPolicyUri=http://opcfoundation.org/UA/SecurityPolicy#None
[1]=UserTokenPolicy
PolicyId=http://opcfoundation.org/UA/SecurityPolicy#Basic128Rsa15
TokenType=UserTokenType
name=UserName
ordinal=1
IssuedTokenType=null
IssuerEndpointUrl=null
SecurityPolicyUri=http://opcfoundation.org/UA/SecurityPolicy#Basic128Rsa15
TransportProfileUri=http://opcfoundation.org/UA-Profile/Transport/uatcp-uasc-uabinary
SecurityLevel=0
, EndpointDescription: EndpointDescription
EndpointUrl=opc.tcp://192.168.1.100:4840
Server=ApplicationDescription
ApplicationUri=urn:192.168.1.100:miniweb
ProductUri=http://automation.siemens.com
ApplicationName=(en_us) Sinumerik OPC UA
ApplicationType=ApplicationType
name=Server
ordinal=0
GatewayServerUri=null
DiscoveryProfileUri=null
DiscoveryUrls=class java.lang.String[1]
[0]=opc.tcp://192.168.1.100:4840
ServerCertificate=[864] 0x3082035c308202c5a003020102020431ba2d3f300d06092a864886f70d010105050030818b310b30090603550406130244453110300e06035504081607426176617269613111300f0603550407160845726c616e67656e31133011060355040a160a5369656d656e732041473111300f060355040b1608496e6475737472793120301e06092a864886f70d01090116116f70637561407369656d656e732e636f6d310d300b060355040316046e637531301e170d3136303830393136313431365a170d3436303831303136313431365a30818b310b30090603550406130244453110300e06035504081607426176617269613111300f0603550407160845726c616e67656e31133011060355040a160a5369656d656e732041473111300f060355040b1608496e6475737472793120301e06092a864886f70d01090116116f70637561407369656d656e732e636f6d310d300b060355040316046e63753130819f300d06092a864886f70d010101050003818d0030818902818100ea8ba78a92c65e16e0a0ae0a02e15c6667825905684066248dc9dbea1ded31f6f56b98ba60e2d914bac9fae0a677dc3be4617aa953a63318a080ef63d6dcab3306900b60d764b5cd8e89f70d63efddd1e3720f15ffa68dd1a9469e2f5ceaf1daf94e68f5eae2893dd39af28615a1f9683d86a522380e022d12649cc2e56004ab0203010001a381ca3081c730280603551d23010100041e301c801492f26fb15c7b9da66911c577e8f0e5f12c6f2110820431ba2d3f30200603551d0e0101000416041492f26fb15c7b9da66911c577e8f0e5f12c6f2110300f0603551d130101ff040530030101ff300e0603551d0f0101ff0404030201f630200603551d250101ff0416301406082b0601050507030206082b0601050507030130360603551d11010100042c302a820d3139322e3136382e312e313030861975726e3a3139322e3136382e312e3130303a6d696e69776562300d06092a864886f70d0101050500038181001e1de3ddd99e877e1e4f6d5e57554f769dc03d300aac1b0b5e7d92cb758b2683fad76f0242e20a52998ea60608a7af566ca9597c29a8879c30fad79cd3d7232a5e9d926b44be838d65c57626276c25648777cda5b531f7e70d8985af88d58aaa73aded85b5c96d4d79802d3b27756aa3e15f38ca1130d04b75009d5d841f68ff
SecurityMode=MessageSecurityMode
name=SignAndEncrypt
ordinal=3
SecurityPolicyUri=http://opcfoundation.org/UA/SecurityPolicy#Basic256
UserIdentityTokens=class org.opcfoundation.ua.core.UserTokenPolicy[2]
[0]=UserTokenPolicy
PolicyId=Anonymous
TokenType=UserTokenType
name=Anonymous
ordinal=0
IssuedTokenType=null
IssuerEndpointUrl=null
SecurityPolicyUri=http://opcfoundation.org/UA/SecurityPolicy#None
[1]=UserTokenPolicy
PolicyId=http://opcfoundation.org/UA/SecurityPolicy#Basic128Rsa15
TokenType=UserTokenType
name=UserName
ordinal=1
IssuedTokenType=null
IssuerEndpointUrl=null
SecurityPolicyUri=http://opcfoundation.org/UA/SecurityPolicy#Basic128Rsa15
TransportProfileUri=http://opcfoundation.org/UA-Profile/Transport/uatcp-uasc-uabinary
SecurityLevel=0
]
2016-09-05 10:54:26 DEBUG UaClient:? – initEndpoint: endpoint=EndpointDescription: EndpointDescription
EndpointUrl=opc.tcp://192.168.1.100:4840
Server=ApplicationDescription
ApplicationUri=urn:192.168.1.100:miniweb
ProductUri=http://automation.siemens.com
ApplicationName=(en_us) Sinumerik OPC UA
ApplicationType=ApplicationType
name=Server
ordinal=0
GatewayServerUri=null
DiscoveryProfileUri=null
DiscoveryUrls=class java.lang.String[1]
[0]=opc.tcp://192.168.1.100:4840
ServerCertificate=[864] 0x3082035c308202c5a003020102020431ba2d3f300d06092a864886f70d010105050030818b310b30090603550406130244453110300e06035504081607426176617269613111300f0603550407160845726c616e67656e31133011060355040a160a5369656d656e732041473111300f060355040b1608496e6475737472793120301e06092a864886f70d01090116116f70637561407369656d656e732e636f6d310d300b060355040316046e637531301e170d3136303830393136313431365a170d3436303831303136313431365a30818b310b30090603550406130244453110300e06035504081607426176617269613111300f0603550407160845726c616e67656e31133011060355040a160a5369656d656e732041473111300f060355040b1608496e6475737472793120301e06092a864886f70d01090116116f70637561407369656d656e732e636f6d310d300b060355040316046e63753130819f300d06092a864886f70d010101050003818d0030818902818100ea8ba78a92c65e16e0a0ae0a02e15c6667825905684066248dc9dbea1ded31f6f56b98ba60e2d914bac9fae0a677dc3be4617aa953a63318a080ef63d6dcab3306900b60d764b5cd8e89f70d63efddd1e3720f15ffa68dd1a9469e2f5ceaf1daf94e68f5eae2893dd39af28615a1f9683d86a522380e022d12649cc2e56004ab0203010001a381ca3081c730280603551d23010100041e301c801492f26fb15c7b9da66911c577e8f0e5f12c6f2110820431ba2d3f30200603551d0e0101000416041492f26fb15c7b9da66911c577e8f0e5f12c6f2110300f0603551d130101ff040530030101ff300e0603551d0f0101ff0404030201f630200603551d250101ff0416301406082b0601050507030206082b0601050507030130360603551d11010100042c302a820d3139322e3136382e312e313030861975726e3a3139322e3136382e312e3130303a6d696e69776562300d06092a864886f70d0101050500038181001e1de3ddd99e877e1e4f6d5e57554f769dc03d300aac1b0b5e7d92cb758b2683fad76f0242e20a52998ea60608a7af566ca9597c29a8879c30fad79cd3d7232a5e9d926b44be838d65c57626276c25648777cda5b531f7e70d8985af88d58aaa73aded85b5c96d4d79802d3b27756aa3e15f38ca1130d04b75009d5d841f68ff
SecurityMode=MessageSecurityMode
name=None
ordinal=1
SecurityPolicyUri=http://opcfoundation.org/UA/SecurityPolicy#None
UserIdentityTokens=class org.opcfoundation.ua.core.UserTokenPolicy[2]
[0]=UserTokenPolicy
PolicyId=Anonymous
TokenType=UserTokenType
name=Anonymous
ordinal=0
IssuedTokenType=null
IssuerEndpointUrl=null
SecurityPolicyUri=http://opcfoundation.org/UA/SecurityPolicy#None
[1]=UserTokenPolicy
PolicyId=http://opcfoundation.org/UA/SecurityPolicy#Basic128Rsa15
TokenType=UserTokenType
name=UserName
ordinal=1
IssuedTokenType=null
IssuerEndpointUrl=null
SecurityPolicyUri=http://opcfoundation.org/UA/SecurityPolicy#Basic128Rsa15
TransportProfileUri=http://opcfoundation.org/UA-Profile/Transport/uatcp-uasc-uabinary
SecurityLevel=0
2016-09-05 10:54:26 DEBUG SecureChannelTcp:? – initialize: url=opc.tcp://192.168.1.100:4840
2016-09-05 10:54:26 DEBUG SecureChannelTcp:? – open
2016-09-05 10:54:26 INFO TcpConnection:? – /192.168.1.100:4840 Connecting
2016-09-05 10:54:26 DEBUG TcpConnection:? – /192.168.1.100:4840 Socket connected
2016-09-05 10:54:26 INFO TcpConnection:? – /192.168.1.100:4840 Connected
2016-09-05 10:54:26 DEBUG TcpConnection:? – Creating ReadThread
2016-09-05 10:54:26 DEBUG SecureChannelTcp:? – createSecureChannel: renew=false channel=org.opcfoundation.ua.transport.tcp.io.TcpConnection@e4f5b0
2016-09-05 10:54:26 DEBUG SecureChannelTcp:? – createSecureChannel: requestId=1
2016-09-05 10:54:26 DEBUG CryptoUtil:? – createNonce: bytes=0
2016-09-05 10:54:26 DEBUG SecureChannelTcp:? – tokenLifetime: 3600000
2016-09-05 10:54:26 DEBUG TcpConnection:? – sendRequest: socket=Socket[addr=/192.168.1.100,port=4840,localport=52499]
2016-09-05 10:54:26 DEBUG TcpConnection:? – sendRequest: 0 Sending Request rid:1
2016-09-05 10:54:26 DEBUG TcpConnection:? – sendRequest: token=null
2016-09-05 10:54:26 DEBUG TcpConnection:? – sendRequest: keySize=0
2016-09-05 10:54:26 DEBUG TcpConnection:? – SecureChannelId=0 SequenceNumber=1, RequestId=1
2016-09-05 10:54:26 DEBUG ChunkAsymmEncryptSigner:? – SecurityMode in asymm enc: 1
2016-09-05 10:54:26 DEBUG ChunkAsymmDecryptVerifier:? – SecurityPolicy in use: http://opcfoundation.org/UA/SecurityPolicy#None
2016-09-05 10:54:26 DEBUG ChunkAsymmDecryptVerifier:? – SecurityMode in use: None
2016-09-05 10:54:26 DEBUG TcpConnection:? – new token=SecurityToken(Id=1, secureChannelId=74759276, creationTime=05-Sep-2016 10:54:26, lifetime=3600000)
2016-09-05 10:54:26 DEBUG SecureChannelTcp:? – 74759276 Secure channel opened, SecureChannelId=74759276, TokenId=1
2016-09-05 10:54:26 DEBUG SecureChannelTcp:? – RevisedLifetime: 3600000
2016-09-05 10:54:26 DEBUG UaClient:? – createSessionChannel
2016-09-05 10:54:26 DEBUG CryptoUtil:? – createNonce: bytes=32
2016-09-05 10:54:26 DEBUG SecureChannelTcp:? – serviceRequest: requests.size=1
2016-09-05 10:54:26 DEBUG TcpConnection:? – sendRequest: socket=Socket[addr=/192.168.1.100,port=4840,localport=52499]
2016-09-05 10:54:26 DEBUG TcpConnection:? – sendRequest: 74759276 Sending Request rid:2
2016-09-05 10:54:26 DEBUG TcpConnection:? – pruneInvalidTokens: tokens(1)=[SecurityToken(Id=1, secureChannelId=74759276, creationTime=05-Sep-2016 10:54:26, lifetime=3600000)]
2016-09-05 10:54:26 DEBUG TcpConnection:? – tokens=[SecurityToken(Id=1, secureChannelId=74759276, creationTime=05-Sep-2016 10:54:26, lifetime=3600000)]
2016-09-05 10:54:26 DEBUG TcpConnection:? – getSecurityTokenToUse=SecurityToken(Id=1, secureChannelId=74759276, creationTime=05-Sep-2016 10:54:26, lifetime=3600000)
2016-09-05 10:54:26 DEBUG TcpConnection:? – sendRequest: token=SecurityToken(Id=1, secureChannelId=74759276, creationTime=05-Sep-2016 10:54:26, lifetime=3600000)
2016-09-05 10:54:26 DEBUG TcpConnection:? – sendRequest: keySize=0
2016-09-05 10:54:26 DEBUG SecureChannelTcp:? – serviceRequest: Message sent, requestId=2 secureChannelId=74759276
2016-09-05 10:54:26 DEBUG TcpConnection:? – tokens(1)=[SecurityToken(Id=1, secureChannelId=74759276, creationTime=05-Sep-2016 10:54:26, lifetime=3600000)]
2016-09-05 10:54:26 DEBUG TcpConnection:? – token=SecurityToken(Id=1, secureChannelId=74759276, creationTime=05-Sep-2016 10:54:26, lifetime=3600000)
2016-09-05 10:54:26 DEBUG SecureChannelTcp:? – Response: CreateSessionResponse
2016-09-05 10:54:26 DEBUG Client:? – MessageSecurityMode: None
2016-09-05 10:54:26 ERROR Client:? – Requested endpoint is not found on the server: Endpoint=EndpointDescription: EndpointDescription
EndpointUrl=opc.tcp://192.168.1.100:4840
Server=ApplicationDescription
ApplicationUri=urn:192.168.1.100:miniweb
ProductUri=http://automation.siemens.com
ApplicationName=(en_us) Sinumerik OPC UA
ApplicationType=ApplicationType
name=Server
ordinal=0
GatewayServerUri=null
DiscoveryProfileUri=null
DiscoveryUrls=class java.lang.String[1]
[0]=opc.tcp://192.168.1.100:4840
ServerCertificate=[864] 0x3082035c308202c5a003020102020431ba2d3f300d06092a864886f70d010105050030818b310b30090603550406130244453110300e06035504081607426176617269613111300f0603550407160845726c616e67656e31133011060355040a160a5369656d656e732041473111300f060355040b1608496e6475737472793120301e06092a864886f70d01090116116f70637561407369656d656e732e636f6d310d300b060355040316046e637531301e170d3136303830393136313431365a170d3436303831303136313431365a30818b310b30090603550406130244453110300e06035504081607426176617269613111300f0603550407160845726c616e67656e31133011060355040a160a5369656d656e732041473111300f060355040b1608496e6475737472793120301e06092a864886f70d01090116116f70637561407369656d656e732e636f6d310d300b060355040316046e63753130819f300d06092a864886f70d010101050003818d0030818902818100ea8ba78a92c65e16e0a0ae0a02e15c6667825905684066248dc9dbea1ded31f6f56b98ba60e2d914bac9fae0a677dc3be4617aa953a63318a080ef63d6dcab3306900b60d764b5cd8e89f70d63efddd1e3720f15ffa68dd1a9469e2f5ceaf1daf94e68f5eae2893dd39af28615a1f9683d86a522380e022d12649cc2e56004ab0203010001a381ca3081c730280603551d23010100041e301c801492f26fb15c7b9da66911c577e8f0e5f12c6f2110820431ba2d3f30200603551d0e0101000416041492f26fb15c7b9da66911c577e8f0e5f12c6f2110300f0603551d130101ff040530030101ff300e0603551d0f0101ff0404030201f630200603551d250101ff0416301406082b0601050507030206082b0601050507030130360603551d11010100042c302a820d3139322e3136382e312e313030861975726e3a3139322e3136382e312e3130303a6d696e69776562300d06092a864886f70d0101050500038181001e1de3ddd99e877e1e4f6d5e57554f769dc03d300aac1b0b5e7d92cb758b2683fad76f0242e20a52998ea60608a7af566ca9597c29a8879c30fad79cd3d7232a5e9d926b44be838d65c57626276c25648777cda5b531f7e70d8985af88d58aaa73aded85b5c96d4d79802d3b27756aa3e15f38ca1130d04b75009d5d841f68ff
SecurityMode=MessageSecurityMode
name=None
ordinal=1
SecurityPolicyUri=http://opcfoundation.org/UA/SecurityPolicy#None
UserIdentityTokens=class org.opcfoundation.ua.core.UserTokenPolicy[2]
[0]=UserTokenPolicy
PolicyId=Anonymous
TokenType=UserTokenType
name=Anonymous
ordinal=0
IssuedTokenType=null
IssuerEndpointUrl=null
SecurityPolicyUri=http://opcfoundation.org/UA/SecurityPolicy#None
[1]=UserTokenPolicy
PolicyId=http://opcfoundation.org/UA/SecurityPolicy#Basic128Rsa15
TokenType=UserTokenType
name=UserName
ordinal=1
IssuedTokenType=null
IssuerEndpointUrl=null
SecurityPolicyUri=http://opcfoundation.org/UA/SecurityPolicy#Basic128Rsa15
TransportProfileUri=http://opcfoundation.org/UA-Profile/Transport/uatcp-uasc-uabinary
SecurityLevel=0
2016-09-05 10:54:26 DEBUG Client:? – endpoints=[EndpointDescription: EndpointDescription
EndpointUrl=opc.tcp://192.168.1.100:4840
Server=ApplicationDescription
ApplicationUri=urn:192.168.1.100:miniweb
ProductUri=http://automation.siemens.com
ApplicationName=(en_us) Sinumerik OPC UA
ApplicationType=ApplicationType
name=Server
ordinal=0
GatewayServerUri=null
DiscoveryProfileUri=null
DiscoveryUrls=class java.lang.String[1]
[0]=opc.tcp://192.168.1.100:4840
ServerCertificate=[0] 0x
SecurityMode=MessageSecurityMode
name=None
ordinal=1
SecurityPolicyUri=http://opcfoundation.org/UA/SecurityPolicy#None
UserIdentityTokens=class org.opcfoundation.ua.core.UserTokenPolicy[2]
[0]=UserTokenPolicy
PolicyId=Anonymous
TokenType=UserTokenType
name=Anonymous
ordinal=0
IssuedTokenType=null
IssuerEndpointUrl=null
SecurityPolicyUri=http://opcfoundation.org/UA/SecurityPolicy#None
[1]=UserTokenPolicy
PolicyId=http://opcfoundation.org/UA/SecurityPolicy#Basic128Rsa15
TokenType=UserTokenType
name=UserName
ordinal=1
IssuedTokenType=null
IssuerEndpointUrl=null
SecurityPolicyUri=http://opcfoundation.org/UA/SecurityPolicy#Basic128Rsa15
TransportProfileUri=http://opcfoundation.org/UA-Profile/Transport/uatcp-uasc-uabinary
SecurityLevel=0
, EndpointDescription: EndpointDescription
EndpointUrl=opc.tcp://192.168.1.100:4840
Server=ApplicationDescription
ApplicationUri=urn:192.168.1.100:miniweb
ProductUri=http://automation.siemens.com
ApplicationName=(en_us) Sinumerik OPC UA
ApplicationType=ApplicationType
name=Server
ordinal=0
GatewayServerUri=null
DiscoveryProfileUri=null
DiscoveryUrls=class java.lang.String[1]
[0]=opc.tcp://192.168.1.100:4840
ServerCertificate=[0] 0x
SecurityMode=MessageSecurityMode
name=SignAndEncrypt
ordinal=3
SecurityPolicyUri=http://opcfoundation.org/UA/SecurityPolicy#Basic128Rsa15
UserIdentityTokens=class org.opcfoundation.ua.core.UserTokenPolicy[2]
[0]=UserTokenPolicy
PolicyId=Anonymous
TokenType=UserTokenType
name=Anonymous
ordinal=0
IssuedTokenType=null
IssuerEndpointUrl=null
SecurityPolicyUri=http://opcfoundation.org/UA/SecurityPolicy#None
[1]=UserTokenPolicy
PolicyId=http://opcfoundation.org/UA/SecurityPolicy#Basic128Rsa15
TokenType=UserTokenType
name=UserName
ordinal=1
IssuedTokenType=null
IssuerEndpointUrl=null
SecurityPolicyUri=http://opcfoundation.org/UA/SecurityPolicy#Basic128Rsa15
TransportProfileUri=http://opcfoundation.org/UA-Profile/Transport/uatcp-uasc-uabinary
SecurityLevel=0
, EndpointDescription: EndpointDescription
EndpointUrl=opc.tcp://192.168.1.100:4840
Server=ApplicationDescription
ApplicationUri=urn:192.168.1.100:miniweb
ProductUri=http://automation.siemens.com
ApplicationName=(en_us) Sinumerik OPC UA
ApplicationType=ApplicationType
name=Server
ordinal=0
GatewayServerUri=null
DiscoveryProfileUri=null
DiscoveryUrls=class java.lang.String[1]
[0]=opc.tcp://192.168.1.100:4840
ServerCertificate=[0] 0x
SecurityMode=MessageSecurityMode
name=SignAndEncrypt
ordinal=3
SecurityPolicyUri=http://opcfoundation.org/UA/SecurityPolicy#Basic256
UserIdentityTokens=class org.opcfoundation.ua.core.UserTokenPolicy[2]
[0]=UserTokenPolicy
PolicyId=Anonymous
TokenType=UserTokenType
name=Anonymous
ordinal=0
IssuedTokenType=null
IssuerEndpointUrl=null
SecurityPolicyUri=http://opcfoundation.org/UA/SecurityPolicy#None
[1]=UserTokenPolicy
PolicyId=http://opcfoundation.org/UA/SecurityPolicy#Basic128Rsa15
TokenType=UserTokenType
name=UserName
ordinal=1
IssuedTokenType=null
IssuerEndpointUrl=null
SecurityPolicyUri=http://opcfoundation.org/UA/SecurityPolicy#Basic128Rsa15
TransportProfileUri=http://opcfoundation.org/UA-Profile/Transport/uatcp-uasc-uabinary
SecurityLevel=0
]
2016-09-05 10:54:26 DEBUG SecureChannelTcp:? – serviceRequest: requests.size=1
2016-09-05 10:54:26 DEBUG TcpConnection:? – sendRequest: socket=Socket[addr=/192.168.1.100,port=4840,localport=52499]
2016-09-05 10:54:26 DEBUG TcpConnection:? – sendRequest: 74759276 Sending Request rid:3
2016-09-05 10:54:26 DEBUG TcpConnection:? – pruneInvalidTokens: tokens(1)=[SecurityToken(Id=1, secureChannelId=74759276, creationTime=05-Sep-2016 10:54:26, lifetime=3600000)]
2016-09-05 10:54:26 DEBUG TcpConnection:? – tokens=[SecurityToken(Id=1, secureChannelId=74759276, creationTime=05-Sep-2016 10:54:26, lifetime=3600000)]
2016-09-05 10:54:26 DEBUG TcpConnection:? – getSecurityTokenToUse=SecurityToken(Id=1, secureChannelId=74759276, creationTime=05-Sep-2016 10:54:26, lifetime=3600000)
2016-09-05 10:54:26 DEBUG TcpConnection:? – sendRequest: token=SecurityToken(Id=1, secureChannelId=74759276, creationTime=05-Sep-2016 10:54:26, lifetime=3600000)
2016-09-05 10:54:26 DEBUG TcpConnection:? – sendRequest: keySize=0
2016-09-05 10:54:26 DEBUG SecureChannelTcp:? – serviceRequest: Message sent, requestId=3 secureChannelId=74759276
2016-09-05 10:54:26 INFO SecureChannelTcp:? – 74759276 Closed
2016-09-05 10:54:26 INFO TcpConnection:? – /192.168.1.100:4840 Closed
2016-09-05 10:54:26 DEBUG SecureChannelTcp:? – requests.clear()
2016-09-05 10:54:26 INFO TcpConnection:? – /192.168.1.100:4840 Closed (expected)
15:45, EEST
January 30, 2014
vishal.bokaria said
Hi Heikki, Thanks for your reply.
I also was suspecting the certificates, but found the certificate check unnecessary when the Security Mode was set to None.
We want to implement the prosys ua client in our factories as soon as, we are finished with the testing.
Is the workaround complicated and is it possible for you to give a possible time frame for the workaround.
My experience:
According to Prosys “OPC UA Java SDK Client Tutorial” you can find on page 5: “If your application does not use security (see 5.2), you may also create the identity without certificate, using the default constructor.”
This works but not with all servers. I tried with many but with one it didn’t work. That server requested certificate even in None mode. Probably it is related to spec server follows.
BR
Most Users Ever Online: 1919
Currently Online:
12 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Heikki Tahvanainen: 402
hbrackel: 144
rocket science: 88
pramanj: 86
Francesco Zambon: 83
Ibrahim: 78
Sabari: 62
kapsl: 57
gjevremovic: 49
Xavier: 43
Member Stats:
Guest Posters: 0
Members: 734
Moderators: 7
Admins: 1
Forum Stats:
Groups: 3
Forums: 15
Topics: 1523
Posts: 6448
Newest Members:
nigelbdhmp, travistimmons, AnnelCib, dalenegettinger, howardkennerley, Thomassnism, biancacraft16, edgardo3518, JessevGool, briannestevensonModerators: Jouni Aro: 1026, Pyry: 1, Petri: 0, Bjarne Boström: 1025, Jimmy Ni: 26, Matti Siponen: 346, Lusetti: 0
Administrators: admin: 1