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
Although it gets the endpoints, it does not seem to return them (retval = 0x80020000). We believe the reason for this is because the opc server we are trying to connect to does not support NONE/NONE security mode, hence the matching withinin:
open62541 1.4.0
OS Windows -> using vs 2019
The following does not seem to work in 1.4.0:
UA_Client* client = UA_Client_new();
UA_ClientConfig_setDefault(UA_Client_getConfig(client));
UA_EndpointDescription* endpointArray = NULL;
UA_ApplicationDescription* applicationDescriptionArray = NULL;
retval = UA_Client_getEndpoints(client, "opc.tcp:https://localhost:4853", &endpointArraySize, &endpointArray);
Although it gets the endpoints, it does not seem to return them (retval = 0x80020000). We believe the reason for this is because the opc server we are trying to connect to does not support NONE/NONE security mode, hence the matching withinin:
static void responseGetEndpoints(UA_Client *client, void *userdata,
UA_UInt32 requestId, void *response) ...
/* SecurityPolicy available? */
if(!getSecurityPolicy(client, endpoint->securityPolicyUri)) {
UA_LOG_INFO(client->config.logging, UA_LOGCATEGORY_CLIENT,
"Rejecting endpoint %lu: security policy not available",
(long unsigned)i);
continue;
}
fails.
This worked fine in 1.3. So just wondering if we are missing something here.
Thanks.
Homam Dabis.
The text was updated successfully, but these errors were encountered: