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
Auto Reconnects
February 2, 2017
20:18, EET
Avatar
databaseerror
New Member
Members
Forum Posts: 2
Member Since:
February 2, 2017
sp_UserOfflineSmall Offline

Hello,

The client connection will close and then after reconnecting will report a “Sequence number mismatch”. Following this the client will continue to connect then disconnect every second or so. What steps can be taken to fix this problem?

[2017-02-02 15:42:23,366] [PublishTask-com.prosysopc.ua.client.UaClient@5c18016b] INFO — : OpcMonitoredDataItemListener – Data item opc.tcp://10.50.10.10:53530/ns=2;s=test.T1.TakeOff1 changed to: 16323
[2017-02-02 15:42:25,359] [TcpConnection/Read] INFO — : TcpConnection – /10.50.10.10:53530 Closed (graceful)
[2017-02-02 15:42:25,359] [TcpConnection/Read] INFO — : TcpConnection – /10.50.10.10:53530 Closed
[2017-02-02 15:42:25,359] [TcpConnection/Read] INFO — : SecureChannelTcp – 1766099742: Error recovery = true
[2017-02-02 15:42:25,360] [Blocking-Work-Executor-4] INFO — : TcpConnection – /10.50.10.10:53530 Connecting
[2017-02-02 15:42:25,561] [Blocking-Work-Executor-4] INFO — : TcpConnection – /10.50.10.10:53530 Connected
[2017-02-02 15:42:25,563] [TcpConnection/Read] WARN — : TcpConnection – /10.50.10.10:53530 Sequence number mismatch: 255 vs. 257
[2017-02-02 15:42:25,564] [TcpConnection/Read] INFO — : TcpConnection – /10.50.10.10:53530 Closed
[2017-02-02 15:42:25,564] [Blocking-Work-Executor-6] WARN — : UaClient$a – onError:
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)
[2017-02-02 15:42:25,565] [Blocking-Work-Executor-5] WARN — : UaClient$a – onError:
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)
[2017-02-02 15:42:25,566] [Blocking-Work-Executor-7] WARN — : UaClient$a – onError:
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)
[2017-02-02 15:42:25,566] [TcpConnection/Read] INFO — : SecureChannelTcp – 1766099742: Error recovery = false
[2017-02-02 15:42:25,882] [PublishTask-com.prosysopc.ua.client.UaClient@5c18016b] INFO — : OpcServerStatusListener – Server state changed from Running to CommunicationFault
[2017-02-02 15:42:25,882] [PublishTask-com.prosysopc.ua.client.UaClient@5c18016b] ERROR — : OpcServerStatusListener – Communication Fault server state
[2017-02-02 15:42:25,985] [PublishTask-com.prosysopc.ua.client.UaClient@5c18016b] INFO — : SecureChannelTcp – 1766099742 Closed
[2017-02-02 15:42:25,986] [PublishTask-com.prosysopc.ua.client.UaClient@5c18016b] INFO — : TcpConnection – /10.50.10.10:53530 Connecting
[2017-02-02 15:42:26,189] [PublishTask-com.prosysopc.ua.client.UaClient@5c18016b] INFO — : TcpConnection – /10.50.10.10:53530 Connected
[2017-02-02 15:42:26,201] [PublishTask-com.prosysopc.ua.client.UaClient@5c18016b] INFO — : Subscription – Requesting missing NotificationMessage (SequenceNumber=371) from the server using Republish: Target SequenceNumber=371
[2017-02-02 15:42:26,202] [PublishTask-com.prosysopc.ua.client.UaClient@5c18016b] INFO — : Subscription – Message not available
[2017-02-02 15:42:26,202] [PublishTask-com.prosysopc.ua.client.UaClient@5c18016b] INFO — : UaClient – reconnect: Reconnected to server (session reactivated)
[2017-02-02 15:42:26,203] [PublishTask-com.prosysopc.ua.client.UaClient@5c18016b] INFO — : OpcServerStatusListener – Server state changed from CommunicationFault to Running
[2017-02-02 15:42:49,368] [PublishTask-com.prosysopc.ua.client.UaClient@5c18016b] INFO — : OpcSubscriptionAliveListener – Thu Feb 02 15:42:49 UTC 2017 Subscription timeout: ID=2 lastAlive=Thu Feb 02 15:42:23 UTC 2017

February 6, 2017
15:23, EET
Avatar
Heikki Tahvanainen
Member
Members
Forum Posts: 402
Member Since:
April 17, 2013
sp_UserOfflineSmall Offline

Hello,

The “Sequence number mismatch: 255 vs. 257” error statement means that there’s a packet with sequence number 256 missing. So, it seems like there’s some response packets missing in the communication.

What version of the Prosys OPC UA Java SDK are you using? And what is the server application that you are connecting to?

Could you log a more complete log file for example with logging level DEBUG and send it to uajava-support prosysopc.com mailing list?

Forum Timezone: Europe/Helsinki

Most Users Ever Online: 1919

Currently Online:
25 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: 737

Moderators: 7

Admins: 1

Forum Stats:

Groups: 3

Forums: 15

Topics: 1524

Posts: 6450

Newest Members:

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

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

Administrators: admin: 1