Ankündigung

Einklappen
Keine Ankündigung bisher.

Alexa Custom Skill für EDOMI (LBS 19000646 und 19000647)

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

  • b54
    antwortet
    vom proxy, ich bin Deiner Beschreibung gefolgt. Da kommt ja erst der Test des Dyndns zum Abschluss.

    Einen Kommentar schreiben:


  • jonofe
    antwortet
    ist es das log auf dem EDOMI Server? Oder vom reverse proxy?

    Einen Kommentar schreiben:


  • b54
    antwortet
    xx.24.88.xxx - - [06/Mar/2017:19:53:38 +0000] "GET /favicon.ico HTTP/1.1" 403 578 "https://my.dyndns.de/" "Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTM$
    xx.24.88.xxx - - [06/Mar/2017:20:14:03 +0000] "GET /edomi/phpinfo.php HTTP/1.1" 403 4262 "-" "Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko)$
    xx.24.88.xxx - - [06/Mar/2017:20:14:03 +0000] "GET /favicon.ico HTTP/1.1" 403 578 "https://my.dyndns.de/edomi/phpinfo.php" "Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWe$

    scheint so hab die Adressen nur anonymisiert

    Einen Kommentar schreiben:


  • jonofe
    antwortet
    Sicher dass du das Portforwarding richtig eingerichtet hast?
    Was sagt das apache access log, kommt der Request an?

    Einen Kommentar schreiben:


  • b54
    antwortet
    Bei beiden Adressen kommt leider das You don't have permission to access /edomi/phpinfo.php on this server. Lokal kommt die Site.

    Einen Kommentar schreiben:


  • jonofe
    antwortet
    Zitat von hartwigm Beitrag anzeigen
    gleicher Effekt

    ich habe die php-process nochmals installiert



    Alexa meldet nun Schaltbefehlt empfangen, danach ist Edomi weg


    Fang doch mal langsam an und definiere eine statische Antwort beim Command Validator. Ich sehe da irgendwelche seltsame encoding (Umlaute?).
    Einfach mal einen statischen Text, z.B. "Okay" und dann mal sehen, ob das funktioniert.

    Was genau bedeutet EDOMI ist weg? Dann sollte noch ein Fehler im Error Log auftauchen, oder?

    Einen Kommentar schreiben:


  • jonofe
    antwortet
    Hast du auch mal versucht die https://<dyndns>/edomi/phpinfo.php aufzurufen?
    Oder versuchst du https://<dyndns> aufzurufen?

    Bei ersterem landest du auf dem EDOMI Server, wenn es richtig konfiguriert ist.
    Bei letzterem in /var/www/html des reverse proxy Rechners. Dort muss dann natürlich ein index.html oder index.php vorhanden sein.

    Einen Kommentar schreiben:


  • b54
    antwortet
    Ich hatte zuletzt Probleme das Zertifikat zu erstellen, das ist jetzt erfolgreich durchgelaufen ich hatte auch ein A Ranking beim Test. Rufe ich die Seite von Extern auf kommt Forbidden. require all granted ist drin in der Config.

    Einen Kommentar schreiben:


  • hartwigm
    antwortet
    gleicher Effekt

    ich habe die php-process nochmals installiert

    [root@Edomi ~]# yum install php-process
    Loaded plugins: fastestmirror
    Loading mirror speeds from cached hostfile
    * base: ftp.hosteurope.de
    * extras: mirror.de.leaseweb.net
    * rpmforge: mirror.de.leaseweb.net
    * updates: mirror.softaculous.com
    base | 3.7 kB 00:00
    extras | 3.4 kB 00:00
    rpmforge | 1.9 kB 00:00
    updates | 3.4 kB 00:00
    Setting up Install Process
    Resolving Dependencies
    --> Running transaction check
    ---> Package php-process.x86_64 0:5.3.3-48.el6_8 will be installed
    --> Processing Dependency: php-common(x86-64) = 5.3.3-48.el6_8 for package: php-process-5.3.3-48.el6_8.x86_64
    --> Running transaction check
    ---> Package php-common.x86_64 0:5.3.3-46.el6_6 will be updated
    --> Processing Dependency: php-common(x86-64) = 5.3.3-46.el6_6 for package: php-cli-5.3.3-46.el6_6.x86_64
    --> Processing Dependency: php-common(x86-64) = 5.3.3-46.el6_6 for package: php-gd-5.3.3-46.el6_6.x86_64
    --> Processing Dependency: php-common(x86-64) = 5.3.3-46.el6_6 for package: php-5.3.3-46.el6_6.x86_64
    --> Processing Dependency: php-common(x86-64) = 5.3.3-46.el6_6 for package: php-mysql-5.3.3-46.el6_6.x86_64
    --> Processing Dependency: php-common(x86-64) = 5.3.3-46.el6_6 for package: php-pdo-5.3.3-46.el6_6.x86_64
    --> Processing Dependency: php-common(x86-64) = 5.3.3-46.el6_6 for package: php-soap-5.3.3-46.el6_6.x86_64
    ---> Package php-common.x86_64 0:5.3.3-48.el6_8 will be an update
    --> Running transaction check
    ---> Package php.x86_64 0:5.3.3-46.el6_6 will be updated
    --> Processing Dependency: php(x86-64) = 5.3.3-46.el6_6 for package: php-devel-5.3.3-46.el6_6.x86_64
    ---> Package php.x86_64 0:5.3.3-48.el6_8 will be an update
    ---> Package php-cli.x86_64 0:5.3.3-46.el6_6 will be updated
    ---> Package php-cli.x86_64 0:5.3.3-48.el6_8 will be an update
    ---> Package php-gd.x86_64 0:5.3.3-46.el6_6 will be updated
    ---> Package php-gd.x86_64 0:5.3.3-48.el6_8 will be an update
    ---> Package php-mysql.x86_64 0:5.3.3-46.el6_6 will be updated
    ---> Package php-mysql.x86_64 0:5.3.3-48.el6_8 will be an update
    ---> Package php-pdo.x86_64 0:5.3.3-46.el6_6 will be updated
    ---> Package php-pdo.x86_64 0:5.3.3-48.el6_8 will be an update
    ---> Package php-soap.x86_64 0:5.3.3-46.el6_6 will be updated
    ---> Package php-soap.x86_64 0:5.3.3-48.el6_8 will be an update
    --> Running transaction check
    ---> Package php-devel.x86_64 0:5.3.3-46.el6_6 will be updated
    ---> Package php-devel.x86_64 0:5.3.3-48.el6_8 will be an update
    --> Finished Dependency Resolution

    Dependencies Resolved

    ================================================== ================================================== ================================================== ======
    Package Arch Version Repository Size
    ================================================== ================================================== ================================================== ======
    Installing:
    php-process x86_64 5.3.3-48.el6_8 updates 44 k
    Updating for dependencies:
    php x86_64 5.3.3-48.el6_8 updates 1.1 M
    php-cli x86_64 5.3.3-48.el6_8 updates 2.2 M
    php-common x86_64 5.3.3-48.el6_8 updates 530 k
    php-devel x86_64 5.3.3-48.el6_8 updates 513 k
    php-gd x86_64 5.3.3-48.el6_8 updates 111 k
    php-mysql x86_64 5.3.3-48.el6_8 updates 86 k
    php-pdo x86_64 5.3.3-48.el6_8 updates 80 k
    php-soap x86_64 5.3.3-48.el6_8 updates 145 k

    Transaction Summary
    ================================================== ================================================== ================================================== ======
    Install 1 Package(s)
    Upgrade 8 Package(s)

    Total download size: 4.8 M
    Is this ok [y/N]: y
    Downloading Packages:
    (1/9): php-5.3.3-48.el6_8.x86_64.rpm | 1.1 MB 00:01
    (2/9): php-cli-5.3.3-48.el6_8.x86_64.rpm | 2.2 MB 00:03
    (3/9): php-common-5.3.3-48.el6_8.x86_64.rpm | 530 kB 00:02
    (4/9): php-devel-5.3.3-48.el6_8.x86_64.rpm | 513 kB 00:01
    (5/9): php-gd-5.3.3-48.el6_8.x86_64.rpm | 111 kB 00:00
    (6/9): php-mysql-5.3.3-48.el6_8.x86_64.rpm | 86 kB 00:00
    (7/9): php-pdo-5.3.3-48.el6_8.x86_64.rpm | 80 kB 00:00
    (8/9): php-process-5.3.3-48.el6_8.x86_64.rpm | 44 kB 00:00
    (9/9): php-soap-5.3.3-48.el6_8.x86_64.rpm | 145 kB 00:00
    ------------------------------------------------------------------------------------------------------------------------------------------------------------
    Total 456 kB/s | 4.8 MB 00:10
    Running rpm_check_debug
    Running Transaction Test
    Transaction Test Succeeded
    Running Transaction
    Updating : php-common-5.3.3-48.el6_8.x86_64 1/17
    Updating : php-cli-5.3.3-48.el6_8.x86_64 2/17
    Updating : php-5.3.3-48.el6_8.x86_64 3/17
    Updating : php-pdo-5.3.3-48.el6_8.x86_64 4/17
    Updating : php-mysql-5.3.3-48.el6_8.x86_64 5/17
    Updating : php-devel-5.3.3-48.el6_8.x86_64 6/17
    Updating : php-soap-5.3.3-48.el6_8.x86_64 7/17
    Installing : php-process-5.3.3-48.el6_8.x86_64 8/17
    Updating : php-gd-5.3.3-48.el6_8.x86_64 9/17
    Cleanup : php-devel-5.3.3-46.el6_6.x86_64 10/17
    Cleanup : php-5.3.3-46.el6_6.x86_64 11/17
    Cleanup : php-mysql-5.3.3-46.el6_6.x86_64 12/17
    Cleanup : php-pdo-5.3.3-46.el6_6.x86_64 13/17
    Cleanup : php-cli-5.3.3-46.el6_6.x86_64 14/17
    Cleanup : php-gd-5.3.3-46.el6_6.x86_64 15/17
    Cleanup : php-soap-5.3.3-46.el6_6.x86_64 16/17
    Cleanup : php-common-5.3.3-46.el6_6.x86_64 17/17
    Verifying : php-soap-5.3.3-48.el6_8.x86_64 1/17
    Verifying : php-devel-5.3.3-48.el6_8.x86_64 2/17
    Verifying : php-5.3.3-48.el6_8.x86_64 3/17
    Verifying : php-cli-5.3.3-48.el6_8.x86_64 4/17
    Verifying : php-pdo-5.3.3-48.el6_8.x86_64 5/17
    Verifying : php-common-5.3.3-48.el6_8.x86_64 6/17
    Verifying : php-process-5.3.3-48.el6_8.x86_64 7/17
    Verifying : php-gd-5.3.3-48.el6_8.x86_64 8/17
    Verifying : php-mysql-5.3.3-48.el6_8.x86_64 9/17
    Verifying : php-gd-5.3.3-46.el6_6.x86_64 10/17
    Verifying : php-cli-5.3.3-46.el6_6.x86_64 11/17
    Verifying : php-devel-5.3.3-46.el6_6.x86_64 12/17
    Verifying : php-5.3.3-46.el6_6.x86_64 13/17
    Verifying : php-common-5.3.3-46.el6_6.x86_64 14/17
    Verifying : php-pdo-5.3.3-46.el6_6.x86_64 15/17
    Verifying : php-mysql-5.3.3-46.el6_6.x86_64 16/17
    Verifying : php-soap-5.3.3-46.el6_6.x86_64 17/17

    Installed:
    php-process.x86_64 0:5.3.3-48.el6_8

    Dependency Updated:
    php.x86_64 0:5.3.3-48.el6_8 php-cli.x86_64 0:5.3.3-48.el6_8 php-common.x86_64 0:5.3.3-48.el6_8 php-devel.x86_64 0:5.3.3-48.el6_8
    php-gd.x86_64 0:5.3.3-48.el6_8 php-mysql.x86_64 0:5.3.3-48.el6_8 php-pdo.x86_64 0:5.3.3-48.el6_8 php-soap.x86_64 0:5.3.3-48.el6_8

    Complete!
    [root@Edomi ~]#
    Alexa meldet nun Schaltbefehlt empfangen, danach ist Edomi weg

    2017-03-06 20:45:01 987272 47159 debug EXE19000646 [v0.3.1]: Array[LF]([LF] [group] => licht schalten[LF] [name] => licht[LF] [location] => büro hartwig[LF] [value] => 0[LF])[LF]
    2017-03-06 20:45:02 003205 47159 debug EXE19000646 [v0.3.1]: Created message queue with ID 1940907437
    2017-03-06 20:45:02 003684 47159 debug EXE19000646 [v0.3.1]: Sending message to Alexa Validator
    2017-03-06 20:45:02 007460 47159 debug EXE19000646 [v0.3.1]: Waiting for response from Alexa Validator
    2017-03-06 20:45:05 013345 47159 debug EXE19000646 [v0.3.1]: Waiting time ended
    017-03-06 20:45:0202555145178debugLBS19000647 [v0.4]: Array[LF]([LF] [group] => licht schalten[LF] [name] => licht[LF] [location] => büro hartwig[LF] [value] => 0[LF] [queue] => 1940907437[LF])[LF] (6683)2017-03-06 20:45:0202862945178debugLBS19000647 [v0.4]: Needle: 0 Replacement: aus Status Value: 1 (6683)2017-03-06 20:45:0202936545178debugLBS19000647 [v0.4]: Needle: 1 Replacement: läuft Status Value: 1 (6683)2017-03-06 20:45:0203002045178debugLBS19000647 [v0.4]: Mapped status values: (6683)2017-03-06 20:45:0203012245178debugLBS19000647 [v0.4]: ================ ARRAY/OBJECT START ================2017-03-06 20:45:0203020545178debugLBS19000647 [v0.4]: ["l\u00e4uft"]2017-03-06 20:45:0203027745178debugLBS19000647 [v0.4]: ================ ARRAY/OBJECT END ================2017-03-06 20:45:0203090545178debugLBS19000647 [v0.4]: Needle: %1% Replacement: läuft (6683)2017-03-06 20:45:0203156745178debugLBS19000647 [v0.4]: Response text: (6683)2017-03-06 20:45:0203166645178debugLBS19000647 [v0.4]: ================ ARRAY/OBJECT START ================2017-03-06 20:45:0203174345178debugLBS19000647 [v0.4]: "Musik"2017-03-06 20:45:0203181045178debugLBS19000647 [v0.4]: ================ ARRAY/OBJECT END ================

    Einen Kommentar schreiben:


  • jonofe
    antwortet
    Zitat von b54 Beitrag anzeigen
    jonofe, Zertifikat ging jetzt nachdem ich das Portforwarding nochmal gecheckt hab. Komischerweise kann ich jetzt auf dem Apache nicht die Testseiten aufrufen also https://dyndns_name/ Woran könnte das noch liegen ?
    Viele Grüße

    Thomas
    Was genau bedeutet "Zertifikat ging jetzt"? Insbesondere wenn du danach nicht auf https://<dyndns> zugreifen kannst???

    Hast du "require all granted" in deiner reverse proxy config?

    Einen Kommentar schreiben:


  • hartwigm
    antwortet
    Nein, alles bei alten

    Ich habe nur die Bausteine nochmals aufgefrischt !

    Installiere php-process nochmals

    Einen Kommentar schreiben:


  • b54
    antwortet
    jonofe, Zertifikat ging jetzt nachdem ich das Portforwarding nochmal gecheckt hab. Komischerweise kann ich jetzt auf dem Apache nicht die Testseiten aufrufen also https://dyndns_name/ Woran könnte das noch liegen ?
    Viele Grüße

    Thomas

    Einen Kommentar schreiben:


  • jonofe
    antwortet
    Ist es nun auf einem neuen Server installiert?
    Da fehlt nun php-process.

    Code:
    yum install php-process

    Einen Kommentar schreiben:


  • hartwigm
    antwortet
    Hallo Andre,

    jetzt bin ich nochmals alles durchgegangen.

    Jetzt kann ich mit einem Schaltbefehl den Edomi pausieren, was aber so nicht gewünscht war!

    Alexa meldet nun die Ausführung des Schaltbefehls, danach pausiert die Edomi mit der folgenden Meldung!
    2017-03-06 20:16:27 560004 ? 31106 Datei: /usr/local/edomi/www/data/liveproject/lbs/EXE19000646.php | Fehlercode: 1 | Zeile: 108 | Call to undefined function msg_get_queue() FATALERROR
    2017-03-06 20:16:27 588923 ? 29302 Datei: /usr/local/edomi/www/data/liveproject/lbs/LBS19000647.php | Fehlercode: 1 | Zeile: 155 | Call to undefined function msg_get_queue() FATALERROR
    2017-03-06 20:16:27 777559 MAIN 28969 Prozess LOGIC läuft nicht mehr! FATALERRO

    Einen Kommentar schreiben:


  • Jurkoe
    antwortet
    Hallo Andre´,

    vielen Dank. Der Fehler ist nun behoben. Die Ursache war der fehlende Slash. Mache nun weiter mit dem Einbinden und hoffe nun das es ohne Probleme klappt.

    LG Eneriko

    Einen Kommentar schreiben:

Lädt...
X