Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Kein Zugriff auf Web.0 wenn Admin.0 HTTPS aktiv?

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    Kein Zugriff auf Web.0 wenn Admin.0 HTTPS aktiv?

    This topic has been deleted. Only users with topic management privileges can see it.
    • Spegeli
      Spegeli last edited by Jey Cee

      //Edit:
      Die Lösung kann manchmal so einfach sein:
      Es lag an Let's Encrypt welches den Port 80 nutzt. Da im Web.0 bereits "Benutze diese Instanz für automatische Updates" aktiviert war, hat sich das mit "Benutze diese Instanz für automatische Updates" in Admin.0 gebissen, da ja nur 1 Instanz den Port 80 nutzen kann. Hab das jetzt im Admin.0 aktiviert und jetzt Funktioniert alles 😉

      Servus,
      ich hab ein kleines Problem und hoffe mir kann jemand weiter helfen.

      In meiner FritzBox habe ich die Ports 80, 443 und 8081 als Weiterleitung auf meinen Pi eingerichtet.
      Mein Web.0 Adapter benutzt folgende Einstellungen:

      Screenshot1.png

      Das hat auch alles wunderbar Funktioniert und ich konnte von außen per HTTPS Verbindung auf Web.0 Zugreifen (und darüber auch auf den Admin).

      Jetzt habe ich aber gerade festgestellt das ich im Admin.0 Adapter HTTPS und die Authentifikation nicht aktiviert hatte und somit hätte jeder über den Port 8081 ohne Login auf den Admin zugreifen können.

      Wenn ich allerdings jetzt in Admin.0 HTTPS und Authentifikation aktiviere:
      Screenshot2.png

      dann kann ich zwar von außen über 8081 auf den Admin Zugreifen, der Web.0 Adapter über 443 lässt sich dann allerdings nicht mehr aufrufen da er erst gar nicht mehr gestartet wird und es erscheint folgende Meldung:

      host.ANDY-RaspberryPI	2019-06-12 11:30:08.395	error	instance system.adapter.web.0 terminated with code 0 (OK)
      host.ANDY-RaspberryPI	2019-06-12 11:30:08.395	error	Caught by controller[0]: port: 80 }
      host.ANDY-RaspberryPI	2019-06-12 11:30:08.395	error	Caught by controller[0]: address: '::',
      host.ANDY-RaspberryPI	2019-06-12 11:30:08.395	error	Caught by controller[0]: syscall: 'listen',
      host.ANDY-RaspberryPI	2019-06-12 11:30:08.395	error	Caught by controller[0]: errno: 'EADDRINUSE',
      host.ANDY-RaspberryPI	2019-06-12 11:30:08.394	error	Caught by controller[0]: code: 'EADDRINUSE',
      host.ANDY-RaspberryPI	2019-06-12 11:30:08.394	error	Caught by controller[0]: at Manager.ondata (/opt/iobroker/node_modules/socket.io-client/lib/manager.js:322:16)
      host.ANDY-RaspberryPI	2019-06-12 11:30:08.394	error	Caught by controller[0]: at Decoder.add (/opt/iobroker/node_modules/socket.io-parser/index.js:246:12)
      host.ANDY-RaspberryPI	2019-06-12 11:30:08.394	error	Caught by controller[0]: at Decoder.Emitter.emit (/opt/iobroker/node_modules/component-emitter/index.js:134:20)
      host.ANDY-RaspberryPI	2019-06-12 11:30:08.394	error	Caught by controller[0]: at Decoder.<anonymous> (/opt/iobroker/node_modules/component-bind/index.js:21:15)
      host.ANDY-RaspberryPI	2019-06-12 11:30:08.393	error	Caught by controller[0]: at Manager.ondecoded (/opt/iobroker/node_modules/socket.io-client/lib/manager.js:332:8)
      host.ANDY-RaspberryPI	2019-06-12 11:30:08.393	error	Caught by controller[0]: at Manager.Emitter.emit (/opt/iobroker/node_modules/socket.io-client/node_modules/component-emitter/index.js:133:20)
      host.ANDY-RaspberryPI	2019-06-12 11:30:08.393	error	Caught by controller[0]: at Manager.<anonymous> (/opt/iobroker/node_modules/component-bind/index.js:21:15)
      host.ANDY-RaspberryPI	2019-06-12 11:30:08.393	error	Caught by controller[0]: at Socket.onpacket (/opt/iobroker/node_modules/socket.io-client/lib/socket.js:236:12)
      host.ANDY-RaspberryPI	2019-06-12 11:30:08.393	error	Caught by controller[0]: at Socket.onack (/opt/iobroker/node_modules/socket.io-client/lib/socket.js:312:9)
      host.ANDY-RaspberryPI	2019-06-12 11:30:08.393	error	Caught by controller[0]: at Socket.that.getForeignObject (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:724:21)
      host.ANDY-RaspberryPI	2019-06-12 11:30:08.392	error	Caught by controller[0]: at adapter.getCertificates (/opt/iobroker/node_modules/iobroker.web/main.js:239:29)
      host.ANDY-RaspberryPI	2019-06-12 11:30:08.392	error	Caught by controller[0]: at initWebServer (/opt/iobroker/node_modules/iobroker.web/main.js:847:28)
      host.ANDY-RaspberryPI	2019-06-12 11:30:08.392	error	Caught by controller[0]: at Object.createServer (/opt/iobroker/node_modules/iobroker.js-controller/lib/letsencrypt.js:75:21)
      host.ANDY-RaspberryPI	2019-06-12 11:30:08.392	error	Caught by controller[0]: at Server.listen (net.js:1414:7)
      host.ANDY-RaspberryPI	2019-06-12 11:30:08.392	error	Caught by controller[0]: at listenInCluster (net.js:1327:12)
      host.ANDY-RaspberryPI	2019-06-12 11:30:08.391	error	Caught by controller[0]: at Server.setupListenHandle [as _listen2] (net.js:1279:14)
      host.ANDY-RaspberryPI	2019-06-12 11:30:08.390	error	Caught by controller[0]: { Error: listen EADDRINUSE: address already in use :::80
      

      Wenn ich den Admin.0 deaktiviere, kann ich wieder Web.0 nutzen.

      Wie muss ich das nun Einstellen das ich von außen auf Web.0 und Admin.0 Zugreifen kann und beide per HTTPS und Authentifikation gesichert sind?

      Mfg

      Анатолий П 1 Reply Last reply Reply Quote 0
      • Анатолий П
        Анатолий П @Spegeli last edited by

        @Spegeli Greetings, finally at least someone found a solution to the problem. Please explain in more detail, I can’t understand what you did in the end? What certificates did you use? Did LET'S ENCRYPT CERTIFICATES INCLUDE? If it’s not difficult, add screenshots of your settings, Web.0 also falls off when I connect HTTPS

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

        Support us

        ioBroker
        Community Adapters
        Donate
        FAQ Cloud / IOT
        HowTo: Node.js-Update
        HowTo: Backup/Restore
        Downloads
        BLOG

        869
        Online

        31.9k
        Users

        80.2k
        Topics

        1.3m
        Posts

        admin adapter https ssl web adapter
        2
        2
        749
        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