Avatar

Please consider registering
guest

sp_LogInOut Log In sp_Registration Register

Register | Lost password?
Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

sp_Feed Topic RSS sp_TopicIcon
Prosys opc ua client could not connect to the server
May 17, 2016
12:07, EEST
Avatar
Crandy
New Member
Members
Forum Posts: 1
Member Since:
May 17, 2016
sp_UserOfflineSmall Offline

I am confused by a problem that is i am trying to connect the serve, i can select security setting dialog, i select None ,but when i click OK, an error happend, the message is “Could not connect to the server Error = null”, and my server throws message as follow :

INFO org.opcfoundation.ua.transport.tcp.nio.OpcTcpServerSecureChannel – SecureChannel opened; SecurityToken(Id=1, secureChannelId=29, creationTime=May 17, 2016 4:10:43 PM, lifetime=3600000)
[Selector] INFO org.opcfoundation.ua.utils.asyncsocket.AsyncSocketImpl – AsyncSocketInputStream.close(): unexpected untriggered monitor
[Selector] INFO org.opcfoundation.ua.transport.tcp.nio.OpcTcpServerSecureChannel – Secure Channel closed, token=SecurityToken(Id=1, secureChannelId=29, creationTime=May 17, 2016 4:10:43 PM, lifetime=3600000)
[Selector] INFO org.opcfoundation.ua.transport.endpoint.AbstractServerSecureChannel – Channel closed: Id=29
[Non-Blocking-Work-Executor-2] INFO org.opcfoundation.ua.transport.tcp.nio.OpcTcpServerConnection – Error in handleChunk
org.opcfoundation.ua.common.ServiceResultException: Bad_TcpSecureChannelUnknown (code=0x807F0000, description=”The SecureChannelId and/or TokenId are not currently in use.”)
at org.opcfoundation.ua.transport.tcp.nio.OpcTcpServerConnection.handleSymmChunk(Unknown Source)
at org.opcfoundation.ua.transport.tcp.nio.OpcTcpServerConnection.handleChunk(Unknown Source)
at org.opcfoundation.ua.transport.tcp.nio.OpcTcpServerConnection$3.onStateTransition(Unknown Source)
at org.opcfoundation.ua.transport.tcp.nio.OpcTcpServerConnection$3.onStateTransition(Unknown Source)
at org.opcfoundation.ua.utils.AbstractState$1.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
[Non-Blocking-Work-Executor-3] INFO org.opcfoundation.ua.transport.tcp.nio.OpcTcpServer – OpcTcpServer(opc.tcp(/127.0.0.1:52520, (opc.tcp://zy-vm:52520 [[http://opcfoundation.org/UA/SecurityPolicy#None,None]])(opc.tcp://zy-vm:52520/OPCUA/MideaOPCUAServer [[http://opcfoundation.org/UA/SecurityPolicy#None,None], [http://opcfoundation.org/UA/SecurityPolicy#Basic128Rsa15,Sign], [http://opcfoundation.org/UA/SecurityPolicy#Basic128Rsa15,SignAndEncrypt], [http://opcfoundation.org/UA/SecurityPolicy#Basic256,Sign], [http://opcfoundation.org/UA/SecurityPolicy#Basic256,SignAndEncrypt]]))opc.tcp(/10.177.11.84:52520, (opc.tcp://zy-vm:52520 [[http://opcfoundation.org/UA/SecurityPolicy#None,None]])(opc.tcp://zy-vm:52520/OPCUA/MideaOPCUAServer [[http://opcfoundation.org/UA/SecurityPolicy#None,None], [http://opcfoundation.org/UA/SecurityPolicy#Basic128Rsa15,Sign], [http://opcfoundation.org/UA/SecurityPolicy#Basic128Rsa15,SignAndEncrypt], [http://opcfoundation.org/UA/SecurityPolicy#Basic256,Sign], [http://opcfoundation.org/UA/

how i can do to solve this problem????

May 18, 2016
18:02, EEST
Avatar
Jouni Aro
Moderator
Moderators
Forum Posts: 1026
Member Since:
December 21, 2011
sp_UserOfflineSmall Offline

Something odd happens in the secure channel initialisation and the channel gets immediately closed.

In which environment are you running the server? Are you connecting with a Java Client to a Java Server?

November 22, 2016
8:54, EET
Avatar
d.steger
New Member
Members
Forum Posts: 2
Member Since:
November 21, 2016
sp_UserOfflineSmall Offline

I am trying to connect to a softing OPC server. Currently I am searching for a way to configure secure channel liftime for in the UA Expert Client it is set to 3600000 and working.

Forum Timezone: Europe/Helsinki

Most Users Ever Online: 1919

Currently Online:
9 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: 730

Moderators: 7

Admins: 1

Forum Stats:

Groups: 3

Forums: 15

Topics: 1529

Posts: 6471

Newest Members:

HypromeImpupe, toneylapham544, rondawolinski7, Marypof5711, roycedelargie91, kourtneyquisenbe, ellis87832073466, zkxwilliemae, gabriellabachus, Deakin

Moderators: Jouni Aro: 1026, Pyry: 1, Petri: 0, Bjarne Boström: 1032, Jimmy Ni: 26, Matti Siponen: 349, Lusetti: 0

Administrators: admin: 1