Skip to content
  • Home
  • Recent
  • Tags
  • 0 Unread 0
  • Categories
  • Unreplied
  • Popular
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. Error/Bug
  4. Gelöst: Mikrotik Adapter kann nicht mehr einloggen

NEWS

  • Monatsrückblick Januar/Februar 2026 ist online!
    BluefoxB
    Bluefox
    17
    1
    472

  • Jahresrückblick 2025 – unser neuer Blogbeitrag ist online! ✨
    BluefoxB
    Bluefox
    17
    1
    5.2k

  • Neuer Blogbeitrag: Monatsrückblick - Dezember 2025 🎄
    BluefoxB
    Bluefox
    13
    1
    1.4k

Gelöst: Mikrotik Adapter kann nicht mehr einloggen

Scheduled Pinned Locked Moved Solved Error/Bug
mikrotikapilogin
7 Posts 4 Posters 1.4k Views 4 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    J.Feiler
    wrote on last edited by J.Feiler
    #1

    Der Mikrotik Adapter kann sich seit der letzten Router-OS Aktualisierung > 6.43 nicht mehr per API anmelden.

    Anmeldedaten zigmal gecheckt.... Der Adapter funktioniert so leider nicht mehr....

    LOG:

    TRAP {"errors":[{"category":"","message":"invalid user name or password (6)"}],"channelId":"login","channel":{"id":"login","running":true,"closing":false,"closed":false,"clearEvents":false,"saveBuffe
    
    J 1 Reply Last reply
    0
    • J Offline
      J Offline
      J.Feiler
      wrote on last edited by Negalein
      #4

      Gefunden !

      Im micronode-ng code, wie vermutet....
      findet sich im file connection.js folgender Block....

      _(_this).status = 'Sending Credentials';
      				debugLogin('%s %s %s', _(_this).status, _(_this).user, _(_this).password, resp);
      				this.write('/login', {
      					"=name" : _(_this).user,
      					resp
      				});
      

      muss geändert werden auf....

      _(_this).status = 'Sending Credentials';
      				debugLogin('%s %s %s', _(_this).status, _(_this).user, _(_this).password, resp);
      				this.write('/login', {
      					"=name" : _(_this).user,
      					"=password" : _(_this).password
      				});
      

      Und schon funktioniert es....

      P 1 Reply Last reply
      1
      • J J.Feiler

        Der Mikrotik Adapter kann sich seit der letzten Router-OS Aktualisierung > 6.43 nicht mehr per API anmelden.

        Anmeldedaten zigmal gecheckt.... Der Adapter funktioniert so leider nicht mehr....

        LOG:

        TRAP {"errors":[{"category":"","message":"invalid user name or password (6)"}],"channelId":"login","channel":{"id":"login","running":true,"closing":false,"closed":false,"clearEvents":false,"saveBuffe
        
        J Offline
        J Offline
        J.Feiler
        wrote on last edited by Negalein
        #2

        addendum...
        Mikrotik-LOG

        login failure for user apiuser from 192.168.x.x via api
        
        1 Reply Last reply
        0
        • J Offline
          J Offline
          J.Feiler
          wrote on last edited by Negalein
          #3

          Mikrotik API Manual says:

          /login
           !done
          =ret=ebddd18303a54111e2dea05a92ab46b4
          /login
          =name=admin
          =response=001ea726ed53ae38520c8334f82d44c9f2
           !done
          
          Warning: this login method is deprecated and no longer supported in versions above 6.45.1.
          
          
          Login method post-v6.43:
          
          /login
          =name=admin
          =password=
           !done
          

          Wo kann ich das änder ?
          where can i change this ?

          ich fürchte das liegt irgendwo im micronode-ng code vergraben....
          i am afraid the reason is the login-method and this is to change elsewhere in micronode-ng-code...

          Kann da jemand helfen ?

          1 Reply Last reply
          0
          • J Offline
            J Offline
            J.Feiler
            wrote on last edited by Negalein
            #4

            Gefunden !

            Im micronode-ng code, wie vermutet....
            findet sich im file connection.js folgender Block....

            _(_this).status = 'Sending Credentials';
            				debugLogin('%s %s %s', _(_this).status, _(_this).user, _(_this).password, resp);
            				this.write('/login', {
            					"=name" : _(_this).user,
            					resp
            				});
            

            muss geändert werden auf....

            _(_this).status = 'Sending Credentials';
            				debugLogin('%s %s %s', _(_this).status, _(_this).user, _(_this).password, resp);
            				this.write('/login', {
            					"=name" : _(_this).user,
            					"=password" : _(_this).password
            				});
            

            Und schon funktioniert es....

            P 1 Reply Last reply
            1
            • J J.Feiler

              Gefunden !

              Im micronode-ng code, wie vermutet....
              findet sich im file connection.js folgender Block....

              _(_this).status = 'Sending Credentials';
              				debugLogin('%s %s %s', _(_this).status, _(_this).user, _(_this).password, resp);
              				this.write('/login', {
              					"=name" : _(_this).user,
              					resp
              				});
              

              muss geändert werden auf....

              _(_this).status = 'Sending Credentials';
              				debugLogin('%s %s %s', _(_this).status, _(_this).user, _(_this).password, resp);
              				this.write('/login', {
              					"=name" : _(_this).user,
              					"=password" : _(_this).password
              				});
              

              Und schon funktioniert es....

              P Offline
              P Offline
              perplexstar
              wrote on last edited by
              #5

              Leider funktioniert bei mir mit RouterOS 6.45.5 auch die Instanz nicht.
              Habe die Connection.js bereits abgeändert. Ohne Erfolg.
              Kann jmd vielleicht eine funktionierende Connection.js hochladen? Ich verzweifele an dem Thema.

              1 Reply Last reply
              0
              • J Offline
                J Offline
                jeti
                wrote on last edited by
                #6

                Hallo zusammen,

                bei mir RouterOS 6.45.7 komme ich auch nicht auf den Router, gibt es hier schon eine Lösung?

                1 Reply Last reply
                0
                • H Offline
                  H Offline
                  hajuerue
                  wrote on last edited by hajuerue
                  #7

                  Hallo,
                  ich hab inzwischen auf dem Mikrotik den ich einbinden wollte die 6.46.3 drauf.
                  Hab es mit der Stable Version 1.0.4 vom Adapter nicht zum laufen bekommen.

                  Mit der Version vom GIT 1.0.10. Wird die Verbindung aufgebaut :-)

                  Gruss
                  HaJueRueIoBroker-Mikrotik-Adapter-1010_090220-hajuerue.png

                  1 Reply Last reply
                  0
                  Reply
                  • Reply as topic
                  Log in to reply
                  • Oldest to Newest
                  • Newest to Oldest
                  • Most Votes


                  Support us

                  ioBroker
                  Community Adapters
                  Donate

                  478

                  Online

                  32.7k

                  Users

                  82.5k

                  Topics

                  1.3m

                  Posts
                  Community
                  Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                  ioBroker Community 2014-2025
                  logo
                  • Login

                  • Don't have an account? Register

                  • Login or register to search.
                  • First post
                    Last post
                  0
                  • Home
                  • Recent
                  • Tags
                  • Unread 0
                  • Categories
                  • Unreplied
                  • Popular
                  • GitHub
                  • Docu
                  • Hilfe