I'm using external app which queries Mikrotik API from time to time, one of the commands that API executes is:
Code: Select all
/system/package/update> /system/package/update check-for-updates
Code: Select all
ERROR: no internet connection
Code: Select all
ERROR: file not found
When I try to replicate same behavior in WinBox's terminal I can replicate the problem, here's a screenshot:
Command never exits, it just hangs indefinitely.
This is version where I noticed a bug
Code: Select all
routerboard: yes
model: RB450Gx4
firmware-type: ipq4000
factory-firmware: 6.47.10
current-firmware: 7.9.1
upgrade-firmware: 7.9.1
EDIT: I've just realized this can be workaround with duration=xy which will not let command execute indefinitely. But still, I doubt this is an expected behavior.
EDIT2: Okay found out the cause for file-not-found, WAN router redirects all http to itself when internet is down so RouterOS received 404 in that moment.