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:
client = Client(url)
client.set_user("my_user")
client.set_passwotd("my_password")
client.connect()
But I have received a "TimeoutError". I have also tried the following:
client = Client(url)
client.connect_socket()
client.create_session()
client.activate_session(username="my_user", password = "my_password")
But it leads to the same timeout error as well.
It is working on UaExpert though. What could be the issue here?