Professional OPC
Development Tools

logos

Error Bad Not Readable

More
16 Mar 2019 12:54 #7220 by support
Replied by support on topic Error Bad Not Readable
User authentication is part of the OPC UA connection process. You cannot do it "outside" of the connection.
In QuickOPC, user authentication can be specified in the endpoint descriptor that you pass to other methods. For example:

UAEndpointDescriptor gdsEndpointDescriptor =
                ((UAEndpointDescriptor)"opc.tcp://opcua.demo-this.com:58810/GlobalDiscoveryServer")
                .WithUserNameIdentity("appadmin", "demo");
Best regards

Please Log in or Create an account to join the conversation.

More
16 Mar 2019 10:44 #7218 by 333nt
Replied by 333nt on topic Error Bad Not Readable
Hello,

after talking with the seller of the product, we have come to know that he had set an user to access the data. So as you were saying.

Is there a command to login a user that i can add in the program lines?
We ae using the EasyUAClient tool.

Best regards

Please Log in or Create an account to join the conversation.

More
13 Mar 2019 13:27 #7208 by support
Replied by support on topic Error Bad Not Readable
Hello.

If the client is now connected to the server and able to make service calls (which it is), you already past the application certificate exchange phase, and the issue is most likely not related to them.

If you are sure that the node is, in principle, readable, another cause might be use authentication/authorization (which is *not* the same as the application certificate mutual authorization mentioned above). Some nodes might be accessible only for certain users, etc. Doesn't the other client require you to log in?

If not, we will need more information. Specifically, a screenshots that would show that the same node (including node ID) is being read in both clients.

Best regards

Please Log in or Create an account to join the conversation.

More
12 Mar 2019 17:13 #7203 by 333nt
Error Bad Not Readable was created by 333nt
Hi,

We seem have a problem at reading values from an OPC UA Server.
At connection it shows the alert i put in the attachments, Saying the certificate is not Validated.
We went through the problem just by adding the line

EasyUAClient.EngineParameters.CertificateAcceptancePolicy. AcceptAnyCertificate = True;

in the code. Or by pressing Yes in the window.



When reading the node from our client it results in a null value.
When using the connectivity exporer gives the status BadNotReadable = 0x803A0000

.

We tried using the client that comes with the machine and it works fine giving back the value

How could we solve this issue?

Best regards.
Attachments:

Please Log in or Create an account to join the conversation.

Moderators: support
Time to create page: 0.193 seconds

      

 Recommend this on Google