Topic RSS14:49, EET
April 17, 2013
Offline15:17, EET
April 17, 2013
OfflineHi,
You are probably using SecurityMode other than None and haven’t configured the server to trust client and vice versa. Please see client tutorial chapter “5.4 Validating Server Certificates” or similarly server tutorial chapter “3.3 Validating Client Applications via Certificates”. I suppose that you are using Java SDK SampleConsoleServer as the server.
If I understood correctly, you’re using Prosys OPC UA Client for Android as the client application. In this case you do not have to configure anything in the client end, you just have to configure your server to trust the application instance certificate of the client.
15:49, EET
October 5, 2016
OfflineHello,
now it seems i can connect to the server but the connection failed again.
error:
null, urn:127.0.0.1:UA:ProsysOpcUaAndroidClient
01/19/2017 14:47:24.926 INFO Certificate ‘BA72EF199A10D45B9F9D48DEBB7DCA441AFF036A’ added to trusted certificates.
ApplicationDescription: ApplicationDescription
ApplicationUri=urn:127.0.0.1:UA:ProsysOpcUaAndroidClient
ProductUri=urn:prosysopc.com:UA:ProsysOpcUaAndroidClient
ApplicationName=() ProsysOpcUaAndroidClient
ApplicationType=ApplicationType
name=Client
ordinal=1
GatewayServerUri=null
DiscoveryProfileUri=null
DiscoveryUrls=null
, urn:127.0.0.1:UA:ProsysOpcUaAndroidClient
01/19/2017 14:47:25.312 INFO Certificate ‘BA72EF199A10D45B9F9D48DEBB7DCA441AFF036A’ added to trusted certificates.
01/19/2017 14:47:25.322 INFO Session created: 6d6faf89-c9ef-4429-8297-0be93eaea073-0548D6E9 (ID=ns=1;g=767a897e-92f0-4f30-8659-544b6d8a7ed0 Token=i=3069909782 Channel=(SecureChannelId=6 State=Open URL=opc.tcp://win-poc-opcua:52520/OPCUA/ConsoleServer SecurityPolicy=http://opcfoundation.org/UA/SecurityPolicy#Basic128Rsa15 RemoteAddress=/80.187.118.147:25623))
16:02, EET
April 17, 2013
Offline16:11, EET
October 5, 2016
OfflineHello,
Because every time i want to connect to the server i get an error in the client “Connection failed, check your network connection.
The Server Says:
01/19/2017 15:36:43.427 INFO Certificate ‘BA72EF199A10D45B9F9D48DEBB7DCA441AFF036A’ added to trusted certificates.
01/19/2017 15:36:43.802 INFO Certificate ‘BA72EF199A10D45B9F9D48DEBB7DCA441AFF036A’ added to trusted certificates.
01/19/2017 15:36:43.820 INFO Session created: f8648d24-63cb-446b-bd8d-bbe36703af50-0986CBAF (ID=ns=1;g=9e0a730e-ad34-428b-85d9-50f12ef0e43f Token=i=3072867227 Channel=(SecureChannelId=6 State=Open URL=opc.tcp://win-poc-opcua:52520/OPCUA/ConsoleServer SecurityPolicy=http://opcfoundation.org/UA/SecurityPolicy#Basic128Rsa15 RemoteAddress=/80.187.118.147:20268))

Log In
Register