Hello rw950431,
Delay ... you know when you write I am sleeping and send my answer when you sleep, and also you live the next day
The code that ends in webwrite variables fails about 15 % so 15/100 rejects with 502 and the red line in my Analysis.
The code that ends in
try
webwrite
catch
webwrite
failed about 1 %
Now with pause(1.5) in catch before webwrite 0 fails in almost 2 days. Time will tell ...
I have webwrite in 3 analysis, 2 report each XXhour-0 min and XXHr-4 min. The third runs each 5 min checking there are 5 points of data (each minute I send 1 value) if there are 2 or less points I webwrite how many points are recorded, so this is "random"
In my Analysis when I send
response = webwrite(....)
it returns
response =
1×0 empty char array
When webwrite fails in the Output box I find in red
Error using readContentFromWebService
The server returned the message: "Bad Gateway" for URL, 'http://api.pushingbox.com/pushingbox' (with HTTP response code 502).
Error in webwrite
[varargout{1:nargout}] = readContentFromWebService(connection, options);
In try-catch each webwrite has a very slight different text to know wich one was succesful or the red line if none
Regards