I'm trying to use a OPCUA-Client programmed as a Python File with the help of open source package opcua on a raspberry pi to communicate with the OPCUA-Server on the same Raspberry Pi installed with Codesys runtime.
from opcua import Client
client = Client("opc.tcp://localhost:4840")
print("Client is connected to Server")
also shown in the attachments.
But I get the error message
shown in the following attachments.
Does anyone know how to solve this problem?
maybe this old example show you the right direction(not sure maybe at that time encryption and user/managememt was not enabled:
how to disable encryption and user/managememt?
best would be to have a client which support it , but in case not:
Log in to post a comment.