Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Visualisierung
    4. VIS mit macOS 10.12 und iOS 10 geht nicht

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    VIS mit macOS 10.12 und iOS 10 geht nicht

    This topic has been deleted. Only users with topic management privileges can see it.
    • F
      Fugazzy last edited by

      Bei den neuesten Versionen der Betriebssysteme macOS und iOS lässt sich VIS nicht mehr darstellen, bzw. bleibt beim Startbildschirm mit den Ringen hängen. Ich habe hier mal eine Meldung dazu von der Fehlerkonsole von Safari auf macOS:

      [Error] Refused to connect to ws://xxx:8082/socket.io/?key=nokey&EIO=3&transport=websocket&sid=KVj-tJ9JGegE6QyyAAOQ because it does not appear in the connect-src directive of the Content Security Policy.
      [Error] SecurityError (DOM Exception 18): The operation is insecure.
      	(anonyme Funktion) (socket.io.js:4026)
      	doOpen (socket.io.js:4026)
      	open (socket.io.js:2882)
      	probe (socket.io.js:2455)
      	onOpen (socket.io.js:2477)
      	onHandshake (socket.io.js:2537)
      	onPacket (socket.io.js:2499)
      	(anonyme Funktion) (socket.io.js:2331)
      	emit (socket.io.js:4389)
      	onPacket (socket.io.js:2947)
      	callback (socket.io.js:3821)
      	(anonyme Funktion) (socket.io.js:5014)
      	forEach
      	decodePayloadAsBinary (socket.io.js:5013)
      	decodePayload (socket.io.js:4781)
      	onData (socket.io.js:3825)
      	(anonyme Funktion) (socket.io.js:3385)
      	emit (socket.io.js:4389)
      	onData (socket.io.js:3546)
      	onLoad (socket.io.js:3627)
      	onreadystatechange (socket.io.js:3499)
      

      Was kann ich da tun?

      1 Reply Last reply Reply Quote 0
      • F
        Fugazzy last edited by

        Gibt es keine Lösung für dieses Problem?

        1 Reply Last reply Reply Quote 0
        • C
          chka last edited by

          Kein ich leider betätigen,

          eine Lösung habe ich leider nicht

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

            Kann jemand die Version vom git ausprobieren?

            1 Reply Last reply Reply Quote 0
            • S
              Stmiko last edited by

              Hallo BF,

              Habe vis und web von git installiert, hat aber leider keine Verbesserung gebracht.

              Getestet unter ios10.0.1

              Browser-Cache natürlich vorher geleert 🙂

              1 Reply Last reply Reply Quote 0
              • F
                Fugazzy last edited by

                Ich weiss so adhock nicht wie man von git direkt installiert, würde es aber machen, wenn es der Fehlerfindung hilft.

                Hilft die Ausgabe von der Fehlerkonsole?

                1 Reply Last reply Reply Quote 0
                • Homoran
                  Homoran Global Moderator Administrators last edited by

                  @Fugazzy:

                  Ich weiss so adhock nicht wie man von git direkt installiert, `
                  Im admin unter Adapter oben das dritte Icon von links (Octocat) anklicken und den reiter Github wählen und dort den Adapter aussuchen.

                  Gruß

                  Rainer

                  1 Reply Last reply Reply Quote 0
                  • F
                    Fugazzy last edited by

                    das geht ja einfach 🙂

                    erst einmal gab es aber dies:

                    ! vis-0 2016-09-14 20:15:23.506 error at Timer.listOnTimeout (timers.js:92:15)
                    ! vis-0 2016-09-14 20:15:23.506 error at null._onTimeout (/opt/iobroker/node_modules/iobroker.js-controller/lib/setup.js:2464:27)
                    ! vis-0 2016-09-14 20:15:23.506 error at new ObjectsInMemServer (/opt/iobroker/node_modules/iobroker.js-controller/lib/objects/objectsInMemServer.js:2693:7)
                    ! vis-0 2016-09-14 20:15:23.506 error at /opt/iobroker/node_modules/iobroker.js-controller/lib/objects/objectsInMemServer.js:2686:9
                    ! vis-0 2016-09-14 20:15:23.506 error at _initWebServer (/opt/iobroker/node_modules/iobroker.js-controller/lib/objects/objectsInMemServer.js:2588:24)
                    ! vis-0 2016-09-14 20:15:23.506 error at Server.listen (net.js:1382:5)
                    ! vis-0 2016-09-14 20:15:23.506 error at listen (net.js:1286:10)
                    ! vis-0 2016-09-14 20:15:23.506 error at Server._listen2 (net.js:1250:14)
                    ! vis-0 2016-09-14 20:15:23.506 error at exports._exceptionWithHostPort (util.js:930:20)
                    ! vis-0 2016-09-14 20:15:23.506 error at Object.exports._errnoException (util.js:907:11)
                    ! vis-0 2016-09-14 20:15:23.506 error Error: listen EADDRINUSE :::9001
                    ! vis-0 2016-09-14 20:15:23.506 error throw er; // Unhandled 'error' event ^
                    ! vis-0 2016-09-14 20:15:23.496 error events.js:141

                    Hab dann aber den Adapter neu gestartet:

                    Unter macOS den Cache geleert, es ist aber dabei geblieben:

                    [Error] Refused to connect to ws://xxx:8082/socket.io/?key=nokey&EIO=3&transport=websocket&sid=XQAEr1bTEqtpjYC1AAOq because it does not appear in the connect-src directive of the Content Security Policy.
                    [Error] SecurityError (DOM Exception 18): The operation is insecure.
                    	(anonyme Funktion) (socket.io.js:4026)
                    	doOpen (socket.io.js:4026)
                    	open (socket.io.js:2882)
                    	probe (socket.io.js:2455)
                    	onOpen (socket.io.js:2477)
                    	onHandshake (socket.io.js:2537)
                    	onPacket (socket.io.js:2499)
                    	(anonyme Funktion) (socket.io.js:2331)
                    	emit (socket.io.js:4389)
                    	onPacket (socket.io.js:2947)
                    	callback (socket.io.js:3821)
                    	(anonyme Funktion) (socket.io.js:5014)
                    	forEach
                    	decodePayloadAsBinary (socket.io.js:5013)
                    	decodePayload (socket.io.js:4781)
                    	onData (socket.io.js:3825)
                    	(anonyme Funktion) (socket.io.js:3385)
                    	emit (socket.io.js:4389)
                    	onData (socket.io.js:3546)
                    	onLoad (socket.io.js:3627)
                    	onreadystatechange (socket.io.js:3499)
                    

                    Hilft die Zeile (socket.io.js): 4273

                    this.ws = BrowserWebSocket ? new WebSocket(uri) : new WebSocket(uri, protocols, opts);

                    Folgendes zeigt Chrome an, auch wenn es da noch funktioniert:

                    ! Use of the Application Cache is deprecated on insecure origins. Support will be removed in the future. You should consider switching your application to a secure origin, such as HTTPS. See https://goo.gl/rStTGz for more details.

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

                      Halle,

                      Nach Rücksitzen der Caches sagt er nur neue Files gefunden. Leider geht es danach nicht weiter.

                      1 Reply Last reply Reply Quote 0
                      • S
                        steinwedel last edited by

                        Das Problem hängt wohl damit zusammen, dass ein "connect-src" in der html-Datei erwartet wird, die nicht gesetzt ist. Dadurch kommt es wohl zu dem Problem.

                        Zum Thema content security policy, gibt es unter https://content-security-policy.com weitere Informationen.

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

                          Brauche TeamViewer session mit iOS 10 Besitzer.

                          Es gibt zu viele Möglichkeiten.

                          Aber in 10 Minuten konnte es erledigt sein.

                          Vielleicht

                          connect-src 'self' 'unsafe-eval' 'unsafe-inline' * wss: ws:;

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

                            @Bluefox:

                            Brauche TeamViewer session mit iOS 10 Besitzer.

                            Es gibt zu viele Möglichkeiten.

                            Aber in 10 Minuten konnte es erledigt sein.

                            Vielleicht

                            connect-src 'self' 'unsafe-eval' 'unsafe-inline' * wss: ws:; `
                            Wo soll ich das ausprobieren?

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

                              @sissiwup:

                              @Bluefox:

                              Brauche TeamViewer session mit iOS 10 Besitzer.

                              Es gibt zu viele Möglichkeiten.

                              Aber in 10 Minuten konnte es erledigt sein.

                              Vielleicht

                              connect-src 'self' 'unsafe-eval' 'unsafe-inline' * wss: ws:; Wo soll ich das ausprobieren?
                              /opt/iobroker/iobroker-data/files/vis/index.html

                              Zeile 13

                              da gibt es bei 184 Position: connect-src 'self' 'unsafe-eval' 'unsafe-inline' *;

                              Kannst du ersetzen mit: connect-src 'self' 'unsafe-eval' 'unsafe-inline' * wss: ws:;

                              Und dann iobroker restart

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

                                Hallo,

                                leider noch das gleiche Verhalten unter ios 10.0.1

                                Kann es sein, dass er die Datei beim Neustart wieder zurücksetzt?

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

                                  Hallo,

                                  Habe die Änderung in node_modules/iobroker.vis/www/index.html durchgeführt.

                                  Jetzt geht es wieder. Vielen Dank für die schnelle Unterstützung.

                                  1 Reply Last reply Reply Quote 0
                                  • S
                                    Stmiko last edited by

                                    ` > /opt/iobroker/iobroker-data/files/vis/index.html

                                    Zeile 13

                                    da gibt es bei 184 Position: connect-src 'self' 'unsafe-eval' 'unsafe-inline' *;

                                    Kannst du ersetzen mit: connect-src 'self' 'unsafe-eval' 'unsafe-inline' * wss: ws:;

                                    Und dann iobroker restart `
                                    Hallo BF, habe diese Änderung durchgeführt, leider funktioniert es bei mir unter iOS10.0.1.

                                    Muss ich sonst noch was ändern? (Browsercache ist natürlich leer 🙂

                                    1 Reply Last reply Reply Quote 0
                                    • C
                                      chka last edited by

                                      Habe von bf und sissiwup die einstellungen übernommen und es geht danke

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

                                        Kann jemand vom git 0.10.11 ausprobieren?

                                        1 Reply Last reply Reply Quote 0
                                        • C
                                          chka last edited by

                                          geht wunderbar

                                          Danke

                                          1 Reply Last reply Reply Quote 0
                                          • S
                                            Stmiko last edited by

                                            > Kann jemand vom git 0.10.11 ausprobieren?
                                            Super…damit funktioniert es unter ios 10 wieder.

                                            Vielen Dank!

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            492
                                            Online

                                            31.7k
                                            Users

                                            79.7k
                                            Topics

                                            1.3m
                                            Posts

                                            10
                                            25
                                            3244
                                            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