Git Product home page Git Product logo

Comments (8)

wecc avatar wecc commented on July 26, 2024 3

I'm not entirely sure but I think this issue might not be related to timeouts but instead caused by a breaking change in the login process (introduced in 6.45.1).

We also encountered issues being unable to login and after some troubleshooting, we discovered it was actually the login that failed and the multiple retries giving the impression of a timeout.

From the 6.45.1 release notes (https://mikrotik.com/download/changelogs):

Important note!!!
Due to removal of compatibility with old version passwords in this version, downgrading to any version prior to v6.43 (v6.42.12 and older) will clear all user passwords and allow password-less authentication. Please secure your router after downgrading.
Old API authentication method will also no longer work, see documentation for new login procedure: https://wiki.mikrotik.com/wiki/Manual:API#Initial_login

The wiki link describes the changes in more detail.

I'd be happy to help to solve this issue, please let me know if I can provide any additional details.

from routeros-api.

pchf3788 avatar pchf3788 commented on July 26, 2024 3

I hope the author updates API version, rookie learning!

from routeros-api.

bgf2 avatar bgf2 commented on July 26, 2024 2

yes that is because the API is updated in routeros but its not updated in this class yet.

from routeros-api.

BenMenking avatar BenMenking commented on July 26, 2024

A couple things I would check:

Is api and/or api-ssl service enabled on mikrotik?
Are there any mikrotik rules preventing connection to 8728 or 8729?
Are my digital Ocean access rules setup correctly?

from routeros-api.

tahsin352 avatar tahsin352 commented on July 26, 2024

@dalcero have you setup iptables or firewall in your digital ocean server?? what do you mean by "already released ports 8728 and 8729 " ?
"Connection timed out" means port is not enabled for access.
Is your mikrotik working? or it is a problem with API access to mikrotik?

from routeros-api.

rainiur avatar rainiur commented on July 26, 2024

api service is enabled and my server does not have a firewall. I am making a connection but unable to authenticate. I am able to login through the GUI with the username and password but unable to connect via the api. I am running 6.45.1. Any ideas?

from routeros-api.

BenMenking avatar BenMenking commented on July 26, 2024

Can you provide more troubleshooting information? What message does the script return?

from routeros-api.

Chupaka avatar Chupaka commented on July 26, 2024

but its not updated in this class yet.

WUT? It was updated more than a year ago!
#30

from routeros-api.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.