05/11/2021
I am trying to implement an OPC UA Client using python. Both the client and the Siemens Simit OPC UA V10.2 Server are running in the same machine. I am not using any authentication for now (None,None). I also enabled the port 47144 on the firewall.
I can connect to the Siemens Simit OPC UA Server with Siemens Simit OPC UA Client by simply doing copy paste the url (opc.tcp://Yalvac:47144) and selecting an endpoint and a namespace URI.
However when I do the same thing with opcua-client GUI or with a python script, I receive the error:
"The response message size exceeds limits set by the client."
I don't understand how can I get this error even though the default max_messagesize is no limit. (max_messagesize = 0)
I can also get the server information with the python script using:
client.connect_and_find_servers()
but still no connection.
What could be the reason of this error message?
I appreciate any help. Thanks in advance
05/30/2017
The limit is enforced on the server side and the client side.
No application will allow unlimited message sizes so setting to zero should use the default - not alllow unlimited.
If the server is refusing to send the response it may be because you have requested values that are too large.
You can use wireshark to find the exact request which is resulting in the error.
Check the number of nodes requested and/or the size of values requested.
1 Guest(s)