strange command speed handling between nx and webserver
NX controller that communicates with a webserver via a rest api.
NX sends command > websrv responds with data > NX parses feedback
All works fine except when we fire the next command (nx > wwebsrv) within 0.5 second.
The websrv misses almost always the second command.
The minimum time between 2 commands may not be less than 5 seconds.
But the problem does not happen when we use fiddler or another external stress-test-app.
What we've tested:
nx > websrv
ip_client_open & using port 80
nx > websrv
tls_client_open & using port 443
nx > fiddler (kind of wireshark) > websrv
ip_client_open & using port 8888 (fiddler port)
= WORKS FINE (3 commands fired from nx with interval of 0.2 seconds)
external prog > websrv
5 commands within 0.5 seconds
= WORKS FINE (all are executed, i.e. customer sees them executed in the log files of the web app)
If we get this solved, communication between nx and websrv will be mandatory in https (443).
So we'll use ...
The 1 at the end means ...
mode - 0: TLS_VALIDATE_CERTIFICATE (perform certificate validation), 1: TLS_IGNORE_CERTIFICATE_ERRORS (connect to the remote site while ignoring certificate errors or mismatches)
Anyone that has a tip after reading the above ?