Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. [gelöst] VPN-Zugriff über proxy-Adapter

    NEWS

    • Neues Video über Aliase, virtuelle Geräte und Kategorien

    • Wir empfehlen: Node.js 22.x

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    [gelöst] VPN-Zugriff über proxy-Adapter

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

      Hi zusammen.

      Ich hab mal wieder n Problem und zwar hab ich bei mir mal grafana installiert und möchte die ein oder andere Grafik in VIS integrieren.

      Dazu hab ich nach dem Schema den Proxy-Adapter installiert um sie auch von aussen (über VPN) erreichbar zu machen

      viewtopic.php?f=35&t=12169&hilit=grafana#p142793

      Wenn ich jetzt aber über VPN auf Grafana zugreifen möchte dann erhalte ich folgende Meldung im Browser

      {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"192.168.178.39","port":3000}
      

      Und wenn ich VIS über VPN öffne dann steht in ioBroker-Log folgender Fehler

      web.0	2018-10-25 11:20:31.530	error	[proxy] Cannot get "http://192.168.178.39:3000": Error: connect ECONNREFUSED 192.168.178.39:3000
      web.0	2018-10-25 11:18:22.598	error	Request "/socket.io/?key=nokey&EIO=3&transport=websocket&sid=4PR5GJ9PplTUzpNOAAAD" not found in requests
      web.0	2018-10-25 11:18:22.598	error	[proxy] Cannot response
      web.0	2018-10-25 11:18:22.598	error	[proxy] Cannot get "http://192.168.178.39:3000": Error: connect ECONNREFUSED 192.168.178.39:3000
      

      Geht ein Zugriff über VPN und Proxy generell nicht?

      Zuhause im Netzwerk klappt alles.

      Gruß

      Johnny

      1 Reply Last reply Reply Quote 0
      • Dutchman
        Dutchman Developer Most Active Administrators last edited by

        Doch geht nur die Frage ist wie du es eingerichtet hat.

        Liegt deine Grafana Installation auf einer anderen IP als dein ioBroker Host?

        Wen ja braucht man Proxy, ändert mein die IP in Grafana kann man nur noch per Proxy drauf also sowohl local als per vpn

        Sent from my iPhone using Tapatalk

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

          Meine Grafana-Installation liegt auf 192.168.178.39 und ioBroker auf 192.168.178.2

          Ich hab es so konfiguriert wie Du es gemacht hast. Also mit Proxy-Adapter und verweiß auf Grafana und die grafana.ini angepasst.

          Komme aber über VPN nicht auf Grafana.

          Da kommen dann die Fehlermeldungen im log.

          Ach ja, ich habe ioBroker und Grafana in jeweils einer virtuellen Maschine auf Proxmox

          Gruß

          Johnny

          1 Reply Last reply Reply Quote 0
          • Dutchman
            Dutchman Developer Most Active Administrators last edited by

            Welche Adresse benutzt du intern und welche per vpn um Grafana zu erreichen?

            Sent from my iPhone using Tapatalk

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

              Intern und extern 192.168.178.2:8082/proxy.0/grafana

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

                Ich hab alles so konfiguriert wie du es hier beschrieben hast

                <url url="https://forum.iobroker.net/viewtopic.php?f=35&t=12169&hilit=grafana#p144105">[https://forum.iobroker.net/viewtopic.php?f=35&t=12169&hilit=grafana#p144105 " target="_blank">](</s><LINK_TEXT text=) [<link_text text="
                https://forum.iobroker.net/viewtopic.p … a#p144105
                ">https://forum.iobroker.net/viewtopic.php?f=35&t=12169&hilit=grafana#p144105</link_text>](</s><LINK_TEXT text=)</url>

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

                  Hab den Fehler gefunden.

                  Lag an der Grafana-Installation.

                  Hat nach nem Neustart nicht automatisch gestartet.

                  Musste noch

                  systemctl enable grafana-server.service 
                  

                  ausführen.

                  Jetzt gehts auch über VPN

                  Gruß

                  Johnny

                  1 Reply Last reply Reply Quote 0
                  • Dutchman
                    Dutchman Developer Most Active Administrators last edited by

                    Oh lol, manchmal liegt der Fehler in Bern Krümel an Ende des Zimmers 😕

                    Schön dass es jetzt läuft und mein Beitrag in anderen Post die weitergeholfen hat.

                    Waren auch meine ersten Schritte mit den Proxy Adapter

                    Sent from my iPhone using Tapatalk

                    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

                    498
                    Online

                    32.0k
                    Users

                    80.5k
                    Topics

                    1.3m
                    Posts

                    2
                    8
                    724
                    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