You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 25, 2024. It is now read-only.
constRosApi=require('node-routeros').RouterOSAPI;constconn=newRosApi({host: '*******',user: '******',password: '******',});conn.connect().then(()=>{// Connection successfulconsole.log('Connection Successful')}).catch((err)=>{// Got an error while trying to connectconsole.log(err);});
Error
RosException: Username or password is invalid
at E:\Projects\mikrotek-test\node_modules\node-routeros\dist\RouterOSAPI.js:397:23
at processTicksAndRejections (internal/process/task_queues.js:93:5) {
name: 'RosException',
errno: 'CANTLOGIN',
message: 'Username or password is invalid'
}
The text was updated successfully, but these errors were encountered:
RouterOS v6.45.9
Tried this code and says cannot login.
Error
The text was updated successfully, but these errors were encountered: