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
SampleConsoleClient: Failed to renew security token
February 5, 2015
7:19, EET
Avatar
jansen
Member
Members
Forum Posts: 8
Member Since:
February 5, 2015
sp_UserOfflineSmall Offline

I tried to use the SampleConsoleClient to connect to the OPC UA server implemented in nodejs (https://github.com/node-opcua/node-opcua/blob/master/documentation/sample_server.js).

I received the error message as below after awhile:

02/05/2015 15:15:01.560 ERROR 66 Failed to renew security token.
org.opcfoundation.ua.common.ServiceResultException: Bad_UnexpectedError (code=0x80010000, description=”Sequence number mismatch”)
at org.opcfoundation.ua.transport.tcp.io.TcpConnection$ReadThread.run(Unknown Source)
ServerState changed from Running to CommunicationFault
02/05/2015 15:15:04.111 INFO reconnect: Reconnected to server (session reactivated)
ServerState changed from CommunicationFault to Running
02/05/2015 15:15:49.112 ERROR 67 Failed to renew security token.
org.opcfoundation.ua.common.ServiceResultException: Bad_UnexpectedError (code=0x80010000, description=”Sequence number mismatch”)
at org.opcfoundation.ua.transport.tcp.io.TcpConnection$ReadThread.run(Unknown Source)
ServerState changed from Running to CommunicationFault

What is causing this problem?
02/05/2015 15:15:50.229 INFO reconnect: Reconnected to server (session reactivated)
ServerState changed from CommunicationFault to Running

February 5, 2015
8:34, EET
Avatar
Jouni Aro
Moderator
Moderators
Forum Posts: 1026
Member Since:
December 21, 2011
sp_UserOfflineSmall Offline

Looks like the node-opcua is not renewing the security tokens properly. The next sequence number should be the previous + 1.

Forum Timezone: Europe/Helsinki

Most Users Ever Online: 1919

Currently Online:
19 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: 738

Moderators: 7

Admins: 1

Forum Stats:

Groups: 3

Forums: 15

Topics: 1524

Posts: 6451

Newest Members:

jonathonmcintyre, fannielima, kristiewinkle8, rust, christamcdowall, redaahern07571, nigelbdhmp, travistimmons, AnnelCib, dalenegettinger

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

Administrators: admin: 1