luqasz/librouteros

trying to login with wrong credentials doesn't raise and error

Closed this issue · 3 comments

If i try to login with a wrong username and password it keeps trying to connect and doesn't raise any error. i can see a LoginError Exception in the exceptions but it is not used.

Please provide traceback and which version of routeros and which login_methods do you use.

I am using version 2.3.0 with login_method plain (Mikrotik is 6.45.3). If I use a wrong username or password it keeps trying to connect and doesn't raise any errors. Mikrotik log gets filled with login failure errors. i don't have any traceback because no errors are generated.

Ah. Found the error. I'll fix it. Thx for reporting.