Comments (8)
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.
I hope the author updates API version, rookie learning!
from routeros-api.
yes that is because the API is updated in routeros but its not updated in this class yet.
from routeros-api.
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.
@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.
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.
Can you provide more troubleshooting information? What message does the script return?
from routeros-api.
but its not updated in this class yet.
WUT? It was updated more than a year ago!
#30
from routeros-api.
Related Issues (20)
- New API version HOT 2
- Access RB via Mac Address HOT 3
- PEAR2 UPDATE PLIS
- bonding/pppoe-client interface print HOT 1
- Login failed using this routeros API. HOT 3
- how to print torch data HOT 2
- SSL connection HOT 1
- how to run /system/script ? HOT 1
- disabled/enable NAT HOT 2
- torch not working HOT 8
- How to listen from stream. HOT 1
- Connecting to Mikrotik is not work HOT 5
- Socked timedout issue HOT 1
- Problem with PHP 8 HOT 1
- Commands not executed? HOT 4
- help HOT 2
- Can't get name simple que HOT 3
- How can I install Routeros API in my project Laravel
- three bugs and their fixes in comm() function HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from routeros-api.