I use a solution that controls users via RouterOS API by a PHP script. It's something like a billing system - when the balance is below zero, the script connects to a router and just disables ARP entry.
This simple solution worked for years till today. Now I'm receiving this error:
Code: Select all
RouterOS: Unable to connect. Error: Failed while receiving initial length byte at /home/httpd/vhosts/domain.com/httpdocs/archive/include/routerOS.php line 231
https://github.com/pear2/Net_RouterOS
This error I'm facing on all my routers, there are different versions, including older than 6.43. Totally don't have any ideas.
Please help!