Inconsistent Responses
Version of RouterOS RouterOS 6.48.3 (stable)
To Reproduce Running a query like the one below sometimes yields unexpected responses:
$query = (new Query('/ppp/secret/print'));
$res = $client->query($query)->read(false);
Expected behavior
The correct response should look like this:
However, after refreshing a couple of times, I got this instead:
The parsed result is cut off in this section:
Could someone explain where the problem might be?
Hi! Looks like a bug on the RouterOS side, which version of ROS do you use? Did you tried other versions?
I have the same issue here. /export results sometimes missing the end of the full export. If i run the export on router terminal, the output is full, but when i run the qury in router-os api, the results sometimes not contain the last X line. We have huge configurations, so the export contains about ~60000 line.
In ssh (from my pc), the export works as expected. Seems its a [routeros-api-php] issue.
For export (ssh), ive made a pull request for change executeAsync to execute. In ssh export this caused early quit from loop.
Hello! Thanks, PR merged, release tagged as 1.5.4