You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Cannot UA_Client_readValueAttribute(), returns error code 0x8000 0000 in response.
Background Information / Reproduction Steps
I copied the Code from the examples to read a remote server's node's data via OPC UA. The remote server does not support any type of encryption or other policies then None and the connection is authenticated with username and password credentials. For some strange reason, i cannot read any node's data, while UAExpert discovers and displays the data just fine.
As far as i could debug this, the function __UA_Client_readAttribute receives the response, which has a resultsSize of 1 and a result.value which only containts zero'd values (see debugger screenshot attached).
The status of the result is d2147483648 or h0x80 00 00 00 or b1000 0000 0000 0000 0000 0000 0000 0000 for which i could not find a matching error code in the amalgamated header file. (I am using both, the amalgamated source and header file in every recompile as i had to backport those files to AIX 7, but couldnt get this library working at all on neither windows 10 nor ubuntu 18.10 yet)
Checklist
Please provide the following information:
open62541 Version (release number or git tag): 85b419a
Other OPC UA SDKs used (client or server): none, raw C++
Operating system: Windows 10, Ubuntu 18.10, AIX 7.3
Logs (with UA_LOGLEVEL set as low as necessary) attached
Wireshark network dump attached
Self-contained code example attached
Critical issue
Used code, copied & butchered frankenstein from the examples. Only incldued QtGlobal for the Q_UNUSED as i am using QtCreator anyways. Source code matches wireshark recording.
Description
Cannot
UA_Client_readValueAttribute()
, returns error code 0x8000 0000 in response.Background Information / Reproduction Steps
I copied the Code from the examples to read a remote server's node's data via OPC UA. The remote server does not support any type of encryption or other policies then None and the connection is authenticated with username and password credentials. For some strange reason, i cannot read any node's data, while UAExpert discovers and displays the data just fine.
As far as i could debug this, the function
__UA_Client_readAttribute
receives the response, which has aresultsSize
of1
and aresult.value
which only containts zero'd values (see debugger screenshot attached).The
status
of the result is d2147483648
or h0x80 00 00 00
or b1000 0000 0000 0000 0000 0000 0000 0000
for which i could not find a matching error code in the amalgamated header file. (I am using both, the amalgamated source and header file in every recompile as i had to backport those files to AIX 7, but couldnt get this library working at all on neither windows 10 nor ubuntu 18.10 yet)Checklist
Please provide the following information:
UA_LOGLEVEL
set as low as necessary) attachedUsed code, copied & butchered frankenstein from the examples. Only incldued QtGlobal for the Q_UNUSED as i am using QtCreator anyways. Source code matches wireshark recording.
Printed log with
#define UA_LOGLEVEL 0
opcua_wireshark_sniff_2019_02_25.zip
The text was updated successfully, but these errors were encountered: