I have try to check if the connection was OK
and it's working by using this
connection = routeros_api.RouterOsApiPool(IP,user,pass)
print (connection.connected )
api = connection.get.api() ---> I notice that here I get sometimes exceptions , but I can't catch it
but all the time I get "False"( when the router is online and also when the router is offline )
why ?
How can I check if the conneciton is "Alive"?
how do read the "wrong pass" \ Timeout exception ?
I have try to check if the connection was OK and it's working by using this
connection = routeros_api.RouterOsApiPool(IP,user,pass) print (connection.connected ) api = connection.get.api() ---> I notice that here I get sometimes exceptions , but I can't catch it
but all the time I get "False"( when the router is online and also when the router is offline ) why ?
How can I check if the conneciton is "Alive"? how do read the "wrong pass" \ Timeout exception ?
did I miss something ?