Open Aburub opened 4 years ago
Test the server with UaExpert first. However if you are getting timeout it's probably a networking issue.
It is working perfectly on UaExpert.
The user identity token is valid but the server has rejected it.(BadIdentityTokenRejected)
The user identity token is valid but the server has rejected it.(BadIdentityTokenRejected)
this is the problem which I met using:
client = Client(url) client.set_user("my_user") client.set_passwotd("my_password") client.connect()
client.set_user("user1") client.set_password("pw1") client.set_security_string("Basic256Sha256,Sign,cert.der,key.pem") client.connect()
BadIdentity could be a certificate issue!
Same problem. Did you solve it?
it would be important to post the full stacktrace to tell us the pyrhon-opcua version and how the opc ua server is configured (messagesecuritymode, ...) we only know that you want to user user/pw auth ... if you use sign an encrypt: do you have created your own cert and key which matches the ip and applicationuri of your client pc? its not possible to help you with that little information... otherwise its just quessing 😅
Hey all,
I am trying to access SINUMERIK (Siemens) OPC UA. The server is only username and password protected (without certificate and private key). I have tried to connect with the following:
but I have received a "TimeoutError" I have also tried the following:
and I also received TimeoutError can someone please help me ? PS: I am new to this field
Thanks