Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Visualisierung
    4. Nach Update von socket.io und Web-Server ...

    NEWS

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    Nach Update von socket.io und Web-Server ...

    This topic has been deleted. Only users with topic management privileges can see it.
    • P
      pmaisk @apollon77 last edited by

      @apollon77 Keine Veränderung bei mir ... beide Probleme sind geblieben.

      1 Reply Last reply Reply Quote 0
      • T
        Tontechniker @apollon77 last edited by Tontechniker

        @apollon77 Socket.io 6.0.2 und Web 5.0.1 funktionieren bei mir nicht! Vis wird nicht aufgerufen (nur "Kreis")
        Socket.io 6.0.2 und Web 4.3.0 funktionieren. Vis wird exakt aufgerufen.
        Fehlermeldung: 2022-05-20 12:12:13.541 - error: web.0 (4898) Initialization of integrated socket.io failed. Please reinstall the web adapter.

        1 Reply Last reply Reply Quote 0
        • crunchip
          crunchip Forum Testing Most Active @apollon77 last edited by crunchip

          @apollon77 gerade getestet, 5.01 und 6.02, restart der Adapter,
          vis läuft, werden aber keine Widget aktualisiert
          im editor Verbingungsfehler und nur das main Projekt vorhanden

          Failed to load resource: the server responded with a status of 404 (Not Found)
          edit.html:410 Uncaught (in promise) SyntaxError: Unexpected token } in JSON at position 247968
              at JSON.parse (<anonymous>)
              at getTranslation (info.js:13:47)
          dimmer.png:1          Failed to load resource: the server responded with a status of 404 (Not Found)
          vis.js:3204 Uncaught DOMException: Blocked a frame with origin "http://10.1.1.10:8082" from accessing a cross-origin frame.
              at HTMLIFrameElement.<anonymous> (http://10.1.1.10:8082/vis/js/vis.js:3204:40)
              at HTMLIFrameElement.dispatch (http://10.1.1.10:8082/lib/js/jquery-1.11.2.min.js:3:8549)
              at HTMLIFrameElement.r.handle (http://10.1.1.10:8082/lib/js/jquery-1.11.2.min.js:3:5252)
          DevTools failed to load source map: Could not load content for http://10.1.1.10:8082/lib/js/socket.io.min.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
          DevTools failed to load source map: Could not load content for http://10.1.1.10:8082/vis/widgets/material-webfont/css/materialdesignicons.css.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
          
          sigi234 1 Reply Last reply Reply Quote 0
          • sigi234
            sigi234 Forum Testing Most Active @crunchip last edited by

            @crunchip sagte in Nach Update von socket.io und Web-Server ...:

            im editor Verbingungsfehler und nur das main Projekt vorhanden

            Dito

            1 Reply Last reply Reply Quote 0
            • Diginix
              Diginix last edited by Diginix

              @apollon77 Mit web 5.0.1 und socketio 6.0.2 läuft bei mir jarvis v2 grundsätzlich auch wieder. Aber das iCal Kalender Widget wird nicht mehr geladen. In der Browserkonsole ist nichts auffälliges zu sehen.

              Im iob Log landen diese Einträge:

              2022-05-20 12:47:01.400  - warn: web.0 (589563) requireLog is not supported by this adapter! Please set common.logTransporter to true
              

              Downgrade nur vom web auf 4.3.0 hilft damit auch das ical widget wieder funktioniert.

              Bluefox 1 Reply Last reply Reply Quote 0
              • Bluefox
                Bluefox @Diginix last edited by

                @diginix iCal in Jarvis oder in vis?

                Diginix 1 Reply Last reply Reply Quote 0
                • Diginix
                  Diginix @Bluefox last edited by

                  @bluefox In Jarvis

                  1 Reply Last reply Reply Quote 0
                  • joergeli
                    joergeli @arteck last edited by

                    Liegt m E nicht an socket .io, sondern am Web-Server.
                    Nach Downgrade des Web-Servers auf V4.3.0 funktioniert wieder alles.

                    Siehe issue:
                    https://github.com/ioBroker/ioBroker.web/issues/214

                    joergeli created this issue in ioBroker/ioBroker.web

                    closed requireLog is not supported by this adapter! Please set common.logTransporter to true #214

                    1 Reply Last reply Reply Quote 0
                    • apollon77
                      apollon77 last edited by

                      Ok, Socket.io v4 braucht wohl doch einige größere Änderungen die nicht ganz so genau dokumentiert waren ... Daher gibt es Web 5.1.0 und Socketio 6.1.1 die die Socket.io Library wieder auf die v2 wie vorher reverten. Sorry für die Umstände.

                      Sind bereits beide auf npm und kommen demnächst im beta/Latest Repo

                      DJMarc75 T P 4 Replies Last reply Reply Quote 5
                      • DJMarc75
                        DJMarc75 @apollon77 last edited by

                        @apollon77 said in Nach Update von socket.io und Web-Server ...:

                        Sorry für die Umstände.

                        Ihr macht zweifelsfrei einen super Job ! 👍

                        1 Reply Last reply Reply Quote 0
                        • T
                          Tontechniker @apollon77 last edited by Tontechniker

                          @apollon77 Kommt bei mir folgende Fehlermeldung:
                          web.0 2022-05-20 16:08:04.471 error {"code":"MODULE_NOT_FOUND","requireStack":["/opt/iobroker/node_modules/iobroker.ws/lib/socket.js","/opt/iobroker/node_modules/iobroker.web/main.js"]} und Vis wird nicht aufgerufen.
                          Funktioniert aber mit Web 4.3.0 und Socketio 6.1.1!

                          1 Reply Last reply Reply Quote 0
                          • P
                            pmaisk @apollon77 last edited by

                            @apollon77 👍 keinen Stress 😉

                            J 1 Reply Last reply Reply Quote 0
                            • J
                              jm3west @pmaisk last edited by

                              ... aber ich war es wo es gefunden hat 🤣 😎 🤐

                              DJMarc75 joergeli 2 Replies Last reply Reply Quote 0
                              • DJMarc75
                                DJMarc75 @jm3west last edited by

                                @jm3west 👏

                                J 1 Reply Last reply Reply Quote 0
                                • J
                                  jm3west @DJMarc75 last edited by

                                  @djmarc75 danke, danke.

                                  Wie sang der Roberto "Ein bisschen Spass muss sein"

                                  1 Reply Last reply Reply Quote 2
                                  • P
                                    pmaisk last edited by

                                    Workaround läuft. Die Frauen freuen sich, dass die Bilderchen sich verändern wenn man was schaltet ... das Wochenende ist gerettet.

                                    1 Reply Last reply Reply Quote 0
                                    • joergeli
                                      joergeli @jm3west last edited by

                                      @jm3west
                                      ... na, dann schau mal, wann ich gestern das github-issue eingestellt habe 😈

                                      1 Reply Last reply Reply Quote 0
                                      • crunchip
                                        crunchip Forum Testing Most Active @arteck last edited by

                                        @arteck sagte in Nach Update von socket.io und Web-Server ...:

                                        das ist aber ws Meldung

                                        meinst du web socket? da ist bei mir keine Instanz installiert und wie bekommt man die Meldung weg?

                                        M 1 Reply Last reply Reply Quote 0
                                        • M
                                          M-A-X @crunchip last edited by

                                          Vielleicht ne doofe Frage, da ich auch 'betroffen' bin.
                                          Die Meldung 'Initialization of integrated socket.io failed. Please reinstall the web adapter.' erstmal nur ignorieren bis alles gefixt ist? Und wenn nicht: wie installiere ich den Adapter neu? Vom Web Adapter sind viele Adapter abhängig (zum Beispiel vis) die muss ich alle vorher deinstallieren? Da gehen doch ne Menge Einstellungen verloren.
                                          Danke im voraus

                                          1 Reply Last reply Reply Quote 0
                                          • Feuersturm
                                            Feuersturm last edited by

                                            @apollon77 Ich hab gerade mein System aktualisiert auf
                                            Admin 5.4.9
                                            socket.io 6.1.1
                                            Web socket 2.0.3
                                            WEB-Server 5.1.0

                                            und hatte auf einmal folgende uncaught exception und Fehler im Log.
                                            Die IP 192.168.178.20 ist mein Rechner von dem ich aus gerade arbeite, auf welchem ich auch die VIS Oberfläche offen hatte.

                                            Vielleicht hilft euch ja dieser Fehler noch weiter.

                                            2022-05-20 20:21:57.923 - info: web.0 (4676) <== Disconnect system.user.admin from 192.168.178.20 vis.0
                                            2022-05-20 20:21:58.355 - error: web.0 (4676) uncaught exception: Cannot read property '_sessionID' of undefined
                                            2022-05-20 20:21:58.358 - error: web.0 (4676) TypeError: Cannot read property '_sessionID' of undefined
                                            at SocketIO.__updateSession (/opt/iobroker/node_modules/iobroker.socketio/lib/socketIO.js:136:20)
                                            at /opt/iobroker/node_modules/iobroker.socketio/lib/socketIO.js:239:26
                                            at Array.forEach ()
                                            at SocketIO.publishAll (/opt/iobroker/node_modules/iobroker.socketio/lib/socketIO.js:237:34)
                                            at Socket.publishAll (/opt/iobroker/node_modules/iobroker.socketio/lib/socket.js:39:30)
                                            at Object.stateChange (/opt/iobroker/node_modules/iobroker.web/main.js:187:30)
                                            at Immediate. (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/src/lib/adapter/adapter.js:5909:56)
                                            at processImmediate (internal/timers.js:464:21)
                                            2022-05-20 20:21:58.359 - error: web.0 (4676) Cannot read property '_sessionID' of undefined
                                            2022-05-20 20:21:58.573 - warn: web.0 (4676) requireLog is not supported by this adapter! Please set common.logTransporter to true
                                            2022-05-20 20:21:58.575 - info: web.0 (4676) <== Disconnect system.user.admin from 192.168.178.20 vis.0
                                            2022-05-20 20:21:58.579 - info: web.0 (4676) terminated http server on port 8082
                                            2022-05-20 20:21:58.581 - info: web.0 (4676) terminating
                                            2022-05-20 20:21:58.583 - warn: web.0 (4676) Terminated (UNCAUGHT_EXCEPTION): Without reason
                                            2022-05-20 20:21:58.910 - error: host.ioBroker Caught by controller[0]: TypeError: Cannot read property '_sessionID' of undefined
                                            2022-05-20 20:21:58.913 - error: host.ioBroker Caught by controller[0]: at SocketIO.__updateSession (/opt/iobroker/node_modules/iobroker.socketio/lib/socketIO.js:136:20)
                                            2022-05-20 20:21:58.914 - error: host.ioBroker Caught by controller[0]: at /opt/iobroker/node_modules/iobroker.socketio/lib/socketIO.js:239:26
                                            2022-05-20 20:21:58.915 - error: host.ioBroker Caught by controller[0]: at Array.forEach ()
                                            2022-05-20 20:21:58.917 - error: host.ioBroker Caught by controller[0]: at SocketIO.publishAll (/opt/iobroker/node_modules/iobroker.socketio/lib/socketIO.js:237:34)
                                            2022-05-20 20:21:58.918 - error: host.ioBroker Caught by controller[0]: at Socket.publishAll (/opt/iobroker/node_modules/iobroker.socketio/lib/socket.js:39:30)
                                            2022-05-20 20:21:58.919 - error: host.ioBroker Caught by controller[0]: at Object.stateChange (/opt/iobroker/node_modules/iobroker.web/main.js:187:30)
                                            2022-05-20 20:21:58.920 - error: host.ioBroker Caught by controller[0]: at Immediate. (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/src/lib/adapter/adapter.js:5909:56)
                                            2022-05-20 20:21:58.921 - error: host.ioBroker Caught by controller[0]: at processImmediate (internal/timers.js:464:21)
                                            2022-05-20 20:21:58.923 - error: host.ioBroker instance system.adapter.web.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
                                            2022-05-20 20:21:58.924 - info: host.ioBroker Restart adapter system.adapter.web.0 because enabled
                                            2022-05-20 20:21:59.058 - info: admin.0 (344) ==> Connected system.user.admin from ::ffff:192.168.178.20
                                            2022-05-20 20:22:01.921 - info: admin.0 (344) ==> Connected system.user.admin from ::ffff:192.168.178.20
                                            2022-05-20 20:22:05.197 - info: admin.0 (344) <== Disconnect system.user.admin from ::ffff:192.168.178.20 admin
                                            
                                            apollon77 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            708
                                            Online

                                            31.7k
                                            Users

                                            79.8k
                                            Topics

                                            1.3m
                                            Posts

                                            19
                                            66
                                            5419
                                            Loading More Posts
                                            • Oldest to Newest
                                            • Newest to Oldest
                                            • Most Votes
                                            Reply
                                            • Reply as topic
                                            Log in to reply
                                            Community
                                            Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                            The ioBroker Community 2014-2023
                                            logo