Ankündigung

Einklappen
Keine Ankündigung bisher.

Logikbaustein 12245_FixMyHS

Einklappen
X
 
  • Filter
  • Zeit
  • Anzeigen
Alles löschen
neue Beiträge

    #31
    NilsS

    12.10.2017 19:29:06 (1)
    File "./../hssrc/hs_kamera.py", line 101, in getBildStream
    File "./../hssrc/hs_fkt.py", line 411, in SockConnect
    error: NameServer: https://www.dwd.de#NOCERT unbekannt

    Irgendwas mache ich noch falsch...

    Gruß Matthias
    EIB übersetzt meine Frau mit "Ehepaar Ist Beschäftigt"
    - PN nur für PERSÖNLICHES!

    Kommentar


      #32
      Hast du SSLSOCK an Eingang 2 ergänzt?
      Nö, muss ich mal probieren.

      Kommentar


        #33
        Gleiches Thema. hab SSLSOCK am Eingang 2 ergänzt und auch in der Hostadresse #NOCERT.

        Fehlermeldung:
        14.10.2017 12:41:33 (1)
        File "[12245_FixMyHS_0]", line 468, in [module]
        File "/usr/lib/python2.6/os.py", line 157, in makedirs
        mkdir(name, mode)
        OSError: [Errno 17] File exists: '/etc/pki/tls/certs/'
        14.10.2017 12:42:14 (2)
        File "./../hssrc/hs_event.py", line 979, in doSend
        File "[12245_FixMyHS_0]", line 519, in _ssl_sockconnect
        AttributeError: 'module' object has no attribute 'create_default_context'

        Kommentar


          #34
          Ich guck gleich mal, war ein wenig abwesend ;-)

          Scheint daran zu liegen, dass die letzen Version (entgegen meiner Annahme) alle Python 2.6 verwenden. Dort gibt es noch kein create_default_context. Sollte aber kein Problem sein.
          Nils

          aktuelle Bausteine:
          BusAufsicht - ServiceCheck - Pushover - HS-Insight

          Kommentar


            #35
            Testet mal bitte den hier. Ich komme gerade nicht zum testen. Habe auch gerade keinen HS mit Python26 griffbereit.
            Angehängte Dateien
            Nils

            aktuelle Bausteine:
            BusAufsicht - ServiceCheck - Pushover - HS-Insight

            Kommentar


              #36
              Hi Nils, kurze Rückmeldung, scheint immernoch ein Problem zu geben (oder ich hab was falsch konfiguriert.


              Fehlermeldungen

              15.10.2017 18:00:19 (1)
              File "./../hssrc/hs_event.py", line 979, in doSend
              File "./../hssrc/hs_fkt.py", line 411, in SockConnect
              error: NameServer: www.wetteronline.de#NOCERT unbekannt

              Hier habe ich ohne #NOCERT / mit und ohne https:// sowie nur die Adresse. Problem besteht.


              15.10.2017 18:00:25 (1)
              File "./../hssrc/hs_event.py", line 987, in doSend
              error: [Errno 104] Connection reset by peer

              Gehört das dazu? Scheint so.


              15.10.2017 18:00:56 (1)
              File "[12245_FixMyHS_0]", line 468, in [module]
              File "/usr/lib/python2.6/os.py", line 157, in makedirs
              mkdir(name, mode)
              OSError: [Errno 17] File exists: '/etc/pki/tls/certs/'

              Kann das Cert nicht erstellen (Fehelrmeldung 1)?


              Juergen

              Kommentar


                #37
                Moin,

                Zitat von JuergenK Beitrag anzeigen
                Ich hab mal den "FixMyHS" Baustein installiert. Nun, wie muss ich denn nun die HTTPS Webabfragen konfigurieren?
                Ich hab mal Port 80 auf 443 umgestellt. Laut Log verwendet er aber immer noch HTTP (siehe unten).
                das sieht bei mir für dwd.de ganz ähnlich aus (erste Abfrage mit Port 443, zweite mit 80):

                16.10.2017 07:41:44 (IP: www.dwd.de) (Port: 443)
                (Send: 142) 0x47 0x45 0x54 0x20 0x2f 0x44 0x45 0x2f 0x77 0x65 0x74 0x74 0x65 0x72 0x2f 0x77 0x61 0x72 0x6e 0x75 0x6e 0x67 0x65 0x6e 0x5f 0x61 0x6b 0x74 0x75 0x65 0x6c 0x6c 0x2f 0x77 0x61 0x72 0x6e 0x6c 0x61 0x67 0x65 0x62 0x65 0x72 0x69 0x63 0x68 0x74 0x2f 0x6e 0x69 0x65 0x64 0x65 0x72 0x73 0x61 0x63 0x68 0x73 0x65 0x6e 0x5f 0x62 0x72 0x65 0x6d 0x65 0x6e 0x2f 0x77 0x61 0x72 0x6e 0x6c 0x61 0x67 0x65 0x5f 0x6e 0x64 0x73 0x5f 0x6e 0x6f 0x64 0x65 0x2e 0x68 0x74 0x6d 0x6c 0x20 0x48 0x54 0x54 0x50 0x2f 0x31 0x2e 0x30 0xd 0xa 0x48 0x6f 0x73 0x74 0x3a 0x20 0x77 0x77 0x77 0x2e 0x64 0x77 0x64 0x2e 0x64 0x65 0xd 0xa 0x43 0x6f 0x6e 0x6e 0x65 0x63 0x74 0x69 0x6f 0x6e 0x3a 0x20 0x43 0x6c 0x6f 0x73 0x65 0xd 0xa 0xd 0xa
                GET /DE/wetter/warnungen_aktuell/warnlagebericht/niedersachsen_bremen/warnlage_nds_node.html HTTP/1.0 Host: www.dwd.de Connection: Close
                (Recv: 7) 0x15 0x3 0x0 0x0 0x2 0x2 0xa

                (Gesamt: 33) (Work: 2) (Typ: Liste) (OK: 0)

                16.10.2017 07:41:44 (IP: www.dwd.de) (Port: 80)
                (Send: 96) 0x47 0x45 0x54 0x20 0x2f 0x44 0x45 0x2f 0x77 0x65 0x74 0x74 0x65 0x72 0x2f 0x77 0x61 0x72 0x6e 0x75 0x6e 0x67 0x65 0x6e 0x2f 0x77 0x61 0x72 0x6e 0x74 0x61 0x62 0x65 0x6c 0x6c 0x65 0x5f 0x6e 0x6f 0x64 0x65 0x2e 0x68 0x74 0x6d 0x6c 0x20 0x48 0x54 0x54 0x50 0x2f 0x31 0x2e 0x30 0xd 0xa 0x48 0x6f 0x73 0x74 0x3a 0x20 0x77 0x77 0x77 0x2e 0x64 0x77 0x64 0x2e 0x64 0x65 0xd 0xa 0x43 0x6f 0x6e 0x6e 0x65 0x63 0x74 0x69 0x6f 0x6e 0x3a 0x20 0x43 0x6c 0x6f 0x73 0x65 0xd 0xa 0xd 0xa
                GET /DE/wetter/warnungen/warntabelle_node.html HTTP/1.0 Host: www.dwd.de Connection: Close
                (Recv: 113) 0x48 0x54 0x54 0x50 0x2f 0x31 0x2e 0x31 0x20 0x33 0x30 0x32 0x20 0x46 0x6f 0x75 0x6e 0x64 0xd 0xa 0x43 0x6f 0x6e 0x6e 0x65 0x63 0x74 0x69 0x6f 0x6e 0x3a 0x20 0x63 0x6c 0x6f 0x73 0x65 0xd 0xa 0x4c 0x6f 0x63 0x61 0x74 0x69 0x6f 0x6e 0x3a 0x20 0x68 0x74 0x74 0x70 0x73 0x3a 0x2f 0x2f 0x77 0x77 0x77 0x2e 0x64 0x77 0x64 0x2e 0x64 0x65 0x2f 0x44 0x45 0x2f 0x77 0x65 0x74 0x74 0x65 0x72 0x2f 0x77 0x61 0x72 0x6e 0x75 0x6e 0x67 0x65 0x6e 0x2f 0x77 0x61 0x72 0x6e 0x74 0x61 0x62 0x65 0x6c 0x6c 0x65 0x5f 0x6e 0x6f 0x64 0x65 0x2e 0x68 0x74 0x6d 0x6c 0xd 0xa 0xd 0xa
                HTTP/1.1 302 Found Connection: close Location: https://www.dwd.de/DE/wetter/warnung...elle_node.html
                (Gesamt: 21) (Work: 2) (Typ: Liste) (OK: 0)

                Zitat von MatthiasS Beitrag anzeigen
                Hast du SSLSOCK an Eingang 2 ergänzt?
                Habe ich ebenfalls gemacht. Macht ihr noch etwas am Eingang 3?

                Vg Thomas

                Kommentar


                  #38
                  Es könnte sein, dass seit Einsatz des Bausteines bei mir die Auslagerung der Remanentspeichers per FTP nicht mehr läuft!?
                  Gruß Matthias
                  EIB übersetzt meine Frau mit "Ehepaar Ist Beschäftigt"
                  - PN nur für PERSÖNLICHES!

                  Kommentar


                    #39
                    Matthias, kann ich nicht bestätigen. Der HS hat mir beim Hochfahren den Remanentspeicher per FTP ausgelagert.

                    Juergen

                    Kommentar


                      #40
                      Fixmyhs raus, jetzt läuft die FTP-Sicherung wieder. Heute abend kommt er testweise wieder rein - Gegenprobe.
                      Gruß Matthias
                      EIB übersetzt meine Frau mit "Ehepaar Ist Beschäftigt"
                      - PN nur für PERSÖNLICHES!

                      Kommentar


                        #41
                        seltsam

                        Kommentar


                          #42
                          Habt ihr die Webabfrage für https mittlerweile zum laufen bekommen? Würde gerne auch wieder Wetteronline abfragen...

                          Kommentar


                            #43
                            Ich bin nicht weitergekommen...

                            Kommentar


                              #44
                              sorry, und ich hab noch keine Zeit gefunden auf den code zu gucken.
                              Nils

                              aktuelle Bausteine:
                              BusAufsicht - ServiceCheck - Pushover - HS-Insight

                              Kommentar


                                #45
                                Hallo Nils

                                Ich frag auch mal noch wie der Stand ist.

                                Hätte einige IOT Systeme die ich gerne in den HS integrieren würde. Aber ohne SSL ist der HS da draussen.

                                Grüsse, Holger
                                ECMACOM GmbH
                                Konzeption, Planung, Implementation, Unterhalt
                                www.ecmacom.ch
                                www.knxshop4u.ch

                                Kommentar

                                Lädt...
                                X