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. English
  3. Error/Bug
  4. Rest-Api adapter error

NEWS

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    22
    1
    1.2k

  • UPDATE 31.10.: Amazon Alexa - ioBroker Skill läuft aus ?
    apollon77A
    apollon77
    48
    3
    9.2k

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    14
    1
    2.5k

Rest-Api adapter error

Scheduled Pinned Locked Moved Error/Bug
8 Posts 3 Posters 1.3k Views 2 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.
  • MacrisuM Offline
    MacrisuM Offline
    Macrisu
    wrote on last edited by
    #1

    Hello!

    I've reinstalled my NAS and I use iobroker on Docker latest. - v.9.1.2
    After installing the Rest-Api 1.1 adapter, it does not start.

    Error log:

    2024-05-22 08:26:54.002 - error: rest-api.0 (2520) Cannot create webserver: TypeError: Cannot read properties of undefined (reading 'createServerAsync')
    2024-05-22 08:26:54.003 - warn: rest-api.0 (2520) Terminated (JS_CONTROLLER_STOPPED): Without reason
    2024-05-22 08:26:54.510 - info: rest-api.0 (2520) terminating http server on port 8093
    2024-05-22 08:26:54.528 - error: host.796b7a0bc948 instance system.adapter.rest-api.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
    2024-05-22 08:26:54.528 - info: host.796b7a0bc948 Restart adapter system.adapter.rest-api.0 because enabled
    
    haselchenH MacrisuM 2 Replies Last reply
    0
    • MacrisuM Macrisu

      Hello!

      I've reinstalled my NAS and I use iobroker on Docker latest. - v.9.1.2
      After installing the Rest-Api 1.1 adapter, it does not start.

      Error log:

      2024-05-22 08:26:54.002 - error: rest-api.0 (2520) Cannot create webserver: TypeError: Cannot read properties of undefined (reading 'createServerAsync')
      2024-05-22 08:26:54.003 - warn: rest-api.0 (2520) Terminated (JS_CONTROLLER_STOPPED): Without reason
      2024-05-22 08:26:54.510 - info: rest-api.0 (2520) terminating http server on port 8093
      2024-05-22 08:26:54.528 - error: host.796b7a0bc948 instance system.adapter.rest-api.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
      2024-05-22 08:26:54.528 - info: host.796b7a0bc948 Restart adapter system.adapter.rest-api.0 because enabled
      
      haselchenH Offline
      haselchenH Offline
      haselchen
      Most Active
      wrote on last edited by
      #2

      @macrisu

      Host Modus or Bridge Modus?
      Is there another Application on Port 8093 running?

      Synology DS218+ & 2 x Fujitsu Esprimo (VM/Container) + FritzBox7590 + 2 AVM 3000 Repeater & Homematic & HUE & Osram & Xiaomi, NPM 10.9.4, Nodejs 22.21.0 ,JS Controller 7.0.7 ,Admin 7.7.19

      MacrisuM 1 Reply Last reply
      0
      • haselchenH haselchen

        @macrisu

        Host Modus or Bridge Modus?
        Is there another Application on Port 8093 running?

        MacrisuM Offline
        MacrisuM Offline
        Macrisu
        wrote on last edited by
        #3

        @haselchen

        1. I've change the port to test, but same error.
        2. Bridge mode
        1 Reply Last reply
        0
        • MacrisuM Macrisu

          Hello!

          I've reinstalled my NAS and I use iobroker on Docker latest. - v.9.1.2
          After installing the Rest-Api 1.1 adapter, it does not start.

          Error log:

          2024-05-22 08:26:54.002 - error: rest-api.0 (2520) Cannot create webserver: TypeError: Cannot read properties of undefined (reading 'createServerAsync')
          2024-05-22 08:26:54.003 - warn: rest-api.0 (2520) Terminated (JS_CONTROLLER_STOPPED): Without reason
          2024-05-22 08:26:54.510 - info: rest-api.0 (2520) terminating http server on port 8093
          2024-05-22 08:26:54.528 - error: host.796b7a0bc948 instance system.adapter.rest-api.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
          2024-05-22 08:26:54.528 - info: host.796b7a0bc948 Restart adapter system.adapter.rest-api.0 because enabled
          
          MacrisuM Offline
          MacrisuM Offline
          Macrisu
          wrote on last edited by
          #4

          I've tried now on another machine/arhotecture - rpi 3b

          Same error

          haselchenH Thomas BraunT 2 Replies Last reply
          0
          • MacrisuM Macrisu

            I've tried now on another machine/arhotecture - rpi 3b

            Same error

            haselchenH Offline
            haselchenH Offline
            haselchen
            Most Active
            wrote on last edited by
            #5

            @macrisu

            Which JS Controller Version?

            Synology DS218+ & 2 x Fujitsu Esprimo (VM/Container) + FritzBox7590 + 2 AVM 3000 Repeater & Homematic & HUE & Osram & Xiaomi, NPM 10.9.4, Nodejs 22.21.0 ,JS Controller 7.0.7 ,Admin 7.7.19

            1 Reply Last reply
            0
            • MacrisuM Macrisu

              I've tried now on another machine/arhotecture - rpi 3b

              Same error

              Thomas BraunT Online
              Thomas BraunT Online
              Thomas Braun
              Most Active
              wrote on last edited by
              #6

              @macrisu

              Should be fixed with latest beta of the adapter.

              Linux-Werkzeugkasten:
              https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
              NodeJS Fixer Skript:
              https://forum.iobroker.net/topic/68035/iob-node-fix-skript
              iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

              MacrisuM 1 Reply Last reply
              0
              • Thomas BraunT Thomas Braun

                @macrisu

                Should be fixed with latest beta of the adapter.

                MacrisuM Offline
                MacrisuM Offline
                Macrisu
                wrote on last edited by
                #7

                @thomas-braun There is nothing new in the beta repository of the adapter - latest version still 1.1

                I see here the new one, but how can I use it in docker?

                Thomas BraunT 1 Reply Last reply
                0
                • MacrisuM Macrisu

                  @thomas-braun There is nothing new in the beta repository of the adapter - latest version still 1.1

                  I see here the new one, but how can I use it in docker?

                  Thomas BraunT Online
                  Thomas BraunT Online
                  Thomas Braun
                  Most Active
                  wrote on last edited by
                  #8

                  @macrisu sagte in Rest-Api adapter error:

                  There is nothing new in the beta repository of the adapter

                  Adapter is still 'incoming'. Please check later today or tomorrow if the repository had been synced.

                  Linux-Werkzeugkasten:
                  https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                  NodeJS Fixer Skript:
                  https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                  iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                  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

                  815

                  Online

                  32.5k

                  Users

                  81.7k

                  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