{"action":"created","issue":{"url":"https://api.github.com/repos/acplt/open62541/issues/351","labels_url":"https://api.github.com/repos/acplt/open62541/issues/351/labels{/name}","comments_url":"https://api.github.com/repos/acplt/open62541/issues/351/comments","events_url":"https://api.github.com/repos/acplt/open62541/issues/351/events","html_url":"https://github.com/acplt/open62541/issues/351","id":103672211,"number":351,"title":"No endpoints found even though frame received correctly - intermittent UA_STATUS_BADDECODING_ERROR","user":{"login":"akshirasagar","id":14012081,"avatar_url":"https://avatars.githubusercontent.com/u/14012081?v=3","gravatar_id":"","url":"https://api.github.com/users/akshirasagar","html_url":"https://github.com/akshirasagar","followers_url":"https://api.github.com/users/akshirasagar/followers","following_url":"https://api.github.com/users/akshirasagar/following{/other_user}","gists_url":"https://api.github.com/users/akshirasagar/gists{/gist_id}","starred_url":"https://api.github.com/users/akshirasagar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akshirasagar/subscriptions","organizations_url":"https://api.github.com/users/akshirasagar/orgs","repos_url":"https://api.github.com/users/akshirasagar/repos","events_url":"https://api.github.com/users/akshirasagar/events{/privacy}","received_events_url":"https://api.github.com/users/akshirasagar/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"FlorianPalm","id":6229099,"avatar_url":"https://avatars.githubusercontent.com/u/6229099?v=3","gravatar_id":"","url":"https://api.github.com/users/FlorianPalm","html_url":"https://github.com/FlorianPalm","followers_url":"https://api.github.com/users/FlorianPalm/followers","following_url":"https://api.github.com/users/FlorianPalm/following{/other_user}","gists_url":"https://api.github.com/users/FlorianPalm/gists{/gist_id}","starred_url":"https://api.github.com/users/FlorianPalm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FlorianPalm/subscriptions","organizations_url":"https://api.github.com/users/FlorianPalm/orgs","repos_url":"https://api.github.com/users/FlorianPalm/repos","events_url":"https://api.github.com/users/FlorianPalm/events{/privacy}","received_events_url":"https://api.github.com/users/FlorianPalm/received_events","type":"User","site_admin":false},"milestone":null,"comments":4,"created_at":"2015-08-28T08:38:06Z","updated_at":"2015-08-28T11:54:47Z","closed_at":null,"body":"I am trying to communicate with a PLC from a Linux system using open62541. With an executable built from the client.c file (only changing the endpoint URL) in the examples folder, I receive the following error: No suitable endpoint found. However Wireshark shows that a frame with the complete endpoint information was received. On debugging, the status code received  was found to be UA_STATUSCODE_BADDECODINGERROR.\r\nWhenever we run this code with a UAAnsiCServer from Unified Automation, this error is obtained in some cases while it is not in some cases. The behavior is not uniform. \r\nUaExpert is able to successfully connect to the PLC and browse through all nodes with the same endpoint URL.\r\n"},"comment":{"url":"https://api.github.com/repos/acplt/open62541/issues/comments/135749012","html_url":"https://github.com/acplt/open62541/issues/351#issuecomment-135749012","issue_url":"https://api.github.com/repos/acplt/open62541/issues/351","id":135749012,"user":{"login":"akshirasagar","id":14012081,"avatar_url":"https://avatars.githubusercontent.com/u/14012081?v=3","gravatar_id":"","url":"https://api.github.com/users/akshirasagar","html_url":"https://github.com/akshirasagar","followers_url":"https://api.github.com/users/akshirasagar/followers","following_url":"https://api.github.com/users/akshirasagar/following{/other_user}","gists_url":"https://api.github.com/users/akshirasagar/gists{/gist_id}","starred_url":"https://api.github.com/users/akshirasagar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akshirasagar/subscriptions","organizations_url":"https://api.github.com/users/akshirasagar/orgs","repos_url":"https://api.github.com/users/akshirasagar/repos","events_url":"https://api.github.com/users/akshirasagar/events{/privacy}","received_events_url":"https://api.github.com/users/akshirasagar/received_events","type":"User","site_admin":false},"created_at":"2015-08-28T11:54:47Z","updated_at":"2015-08-28T11:54:47Z","body":"@Stasik0 The error does not always occur. At some points the output I get is:\r\ninkshias@inkshias-VirtualBox:~/acplt-open62541-776266e/examples$ ./client\r\nretval getbuffer = 00000000\r\nretval releasebuffer = 00000000\r\nretval secure conversion message header = 80070000\r\nretval symmetric algo security header = 80070000\r\nretval sequence header = 80070000\r\n80070000\r\nendpointsSize = ffffffff\r\nNo suitable endpoint found (Error condition)\r\nAnd in certain cases when it works this is the output:\r\nretval getbuffer = 00000000\r\nretval releasebuffer = 00000000\r\nretval secure conversion message header = 0\r\nretval symmetric algo security header = 0\r\nretval sequence header = 0\r\n\r\nWriting a value of node (1, \"the.answer\"):\r\nretval getbuffer = 00000000\r\nretval releasebuffer = 00000000\r\nretval secure conversion message header = 0\r\nretval symmetric algo security header = 0\r\nretval sequence header = 0\r\nthe new value is: 1\r\nretval getbuffer = 00000000\r\nretval releasebuffer = 00000000\r\nretval secure conversion message header = 0\r\nretval symmetric algo security header = 0\r\nretval sequence header = 0\r\nThe extra printfs were added to check the status code. \r\nHow is it possible to get an error and there is no indication in wireshark?  \r\n"}}