routeros-api-php
routeros-api-php copied to clipboard
API, Available from
Hello, I try on many devices with different version. If ip address trying to connet api is not listed on api available ip address list, no any error and action with script, it waiting and waiting.
Some times return "Error reading 1 bytes"
Hi, this is expected behavior as client has to wait until timeout occurs. Until you receive packets with response you don’t really know what is happening.
Kamil
Wiadomość napisana przez Sajad Tahernejad @.***> w dniu 03.02.2022, o godz. 08:18:
Hello, I try on many devices with different version. If ip address trying to connet api is not listed on api available ip address list, no any error and action with script, it waiting and waiting.
Some times return "Error reading 1 bytes"
— Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. You are receiving this because you are subscribed to this thread.
As @szastan stated, this is expected behaviour and not a bug.
If the API connection is coming from an IP address not listed in the address parameter on /ip/services api
the router will silently drop the packets and your API connection will not receive a response.