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

      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
                              • F
                                Fugazzy last edited by

                                Vielen Dank, geht nun auch bei mir wieder

                                1 Reply Last reply Reply Quote 0
                                • V
                                  vlink last edited by

                                  gleiches problem bei mir seit IOS10 Update

                                  mit 0.10.11 funktioniert es super

                                  danke!

                                  1 Reply Last reply Reply Quote 0
                                  • P
                                    pix last edited by

                                    Seltsam, bei mir geht es nicht. :roll:

                                    Update aller Adapter (VIS 0.10.11) und Controller (inkl. Neustart, Leerung Browser Cache).

                                    Weder unter iOS10 noch unter Mac OS El Capitan (kein Update) komme ich in VIS auf die Ansicht (nur Ringe). Fehlt da noch ein Schritt?

                                    Gruß

                                    Pix

                                    1 Reply Last reply Reply Quote 0
                                    • P
                                      pix last edited by

                                      Okay,

                                      war ja die letzten Tage nicht soviel hier unterwegs.

                                      Dieser Thread brachte die Lösung: http://forum.iobroker.net/viewtopic.php … 1&start=20

                                      ./iobroker upload vis
                                      

                                      Jetzt komme ich wieder drauf (Zumindest mit El Capitan (noch keine Sierra) und iOS 10 Safari).

                                      Gruß

                                      Pix

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

                                        Hallo Zusammen

                                        Auf einem iPad 3 (iOS 9.3.4) klappt die Dahrstellung von Vis.

                                        Auf einem iPad 4 (iOS 9.3.2 und aktuell iOS 10.01) klappt es nicht.

                                        In meiner "C:\ioBroker\iobroker-data\files\vis\index.html" habe ich, in Zeile 12, folgende Zeile.

                                        ! content="default-src 'self' * 'unsafe-eval' 'unsafe-inline'; style-src 'self' 'unsafe-inline' *; img-src 'self' 'unsafe-inline' * data:; media-src 'self' 'unsafe-inline' *; connect-src 'self' 'unsafe-eval' 'unsafe-inline' * ws: wss:; script-src 'self' 'unsafe-eval' 'unsafe-inline' *">

                                        Müsste ich die beschriebenen Änderungen am Ende der Zeile einfügen?

                                        Für einen Tipp wäre ich dankbar.

                                        Grüße

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

                                        Support us

                                        ioBroker
                                        Community Adapters
                                        Donate

                                        862
                                        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