{"action":"closed","issue":{"url":"https://api.github.com/repos/node-opcua/node-opcua/issues/73","labels_url":"https://api.github.com/repos/node-opcua/node-opcua/issues/73/labels{/name}","comments_url":"https://api.github.com/repos/node-opcua/node-opcua/issues/73/comments","events_url":"https://api.github.com/repos/node-opcua/node-opcua/issues/73/events","html_url":"https://github.com/node-opcua/node-opcua/issues/73","id":73413117,"number":73,"title":"Server resets sequence number after secure channel renewal","user":{"login":"kevinherron","id":340273,"avatar_url":"https://avatars.githubusercontent.com/u/340273?v=3","gravatar_id":"","url":"https://api.github.com/users/kevinherron","html_url":"https://github.com/kevinherron","followers_url":"https://api.github.com/users/kevinherron/followers","following_url":"https://api.github.com/users/kevinherron/following{/other_user}","gists_url":"https://api.github.com/users/kevinherron/gists{/gist_id}","starred_url":"https://api.github.com/users/kevinherron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevinherron/subscriptions","organizations_url":"https://api.github.com/users/kevinherron/orgs","repos_url":"https://api.github.com/users/kevinherron/repos","events_url":"https://api.github.com/users/kevinherron/events{/privacy}","received_events_url":"https://api.github.com/users/kevinherron/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/node-opcua/node-opcua/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/node-opcua/node-opcua/milestones/6","html_url":"https://github.com/node-opcua/node-opcua/milestones/next%20version%20(v.0.49%20?)","labels_url":"https://api.github.com/repos/node-opcua/node-opcua/milestones/6/labels","id":1262354,"number":6,"title":"next version (v.0.49 ?)","description":"","creator":{"login":"erossignon","id":680220,"avatar_url":"https://avatars.githubusercontent.com/u/680220?v=3","gravatar_id":"","url":"https://api.github.com/users/erossignon","html_url":"https://github.com/erossignon","followers_url":"https://api.github.com/users/erossignon/followers","following_url":"https://api.github.com/users/erossignon/following{/other_user}","gists_url":"https://api.github.com/users/erossignon/gists{/gist_id}","starred_url":"https://api.github.com/users/erossignon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erossignon/subscriptions","organizations_url":"https://api.github.com/users/erossignon/orgs","repos_url":"https://api.github.com/users/erossignon/repos","events_url":"https://api.github.com/users/erossignon/events{/privacy}","received_events_url":"https://api.github.com/users/erossignon/received_events","type":"User","site_admin":false},"open_issues":4,"closed_issues":9,"state":"open","created_at":"2015-08-19T11:09:25Z","updated_at":"2015-09-19T21:06:00Z","due_on":"2015-09-29T22:00:00Z","closed_at":null},"comments":8,"created_at":"2015-05-05T19:44:22Z","updated_at":"2015-09-19T21:06:00Z","closed_at":"2015-09-19T21:06:00Z","body":"I'm testing your server against a UA benchmarking tool I'm developing and one of the things I've noticed is that the node server is resetting the SequenceNumber in the SequenceHeader of the the MessageChunk after a secure channel is renewed. This is explicitly not allowed (see Part 6, section 6.2.7), and causes my client to break the connection and reconnect.\r\n\r\nHere is a wireshark capture that isolates the exchange: https://dl.dropboxusercontent.com/u/891101/node-opcua-problem.pcapng\r\n\r\nYou may have to right-click -> decode as... -> OpcUa in Wireshark if it hasn't already detected that it's OpcUa."}}