PROPLANTA error - 501 Protocol scheme 'https' is not supported

Begonnen von timtom2000, 12 Januar 2022, 21:00:00

Vorheriges Thema - Nächstes Thema

timtom2000

Hallo,

ich möchte bei mir PROPLANTA einrichten, bekomme aber leider die folgende (etwas bereinigte) Fehlermeldung (verbose 5):
2022.01.12 20:28:11 5: Cmd: >define wetter PROPLANTA Berlin de<
2022.01.12 20:28:11 5: Loading ./FHEM/59_PROPLANTA.pm
2022.01.12 20:28:13 5: Starting notify loop for global, 1 event(s), first is DEFINED wetter
2022.01.12 20:28:13 5: createNotifyHash
2022.01.12 20:28:14 5: End notify loop for global
...
2022.01.12 20:28:45 3: telnetForBlockingFn_1642015725: port 35395 opened
2022.01.12 20:28:45 4: BlockingCall (PROPLANTA_Run): created child (19758), uses telnetForBlockingFn_1642015725 to connect back
2022.01.12 20:28:45 4: PROPLANTA wetter: Start.648 Start forked process to capture html
2022.01.12 20:28:45 4: Connection accepted from telnetForBlockingFn_1642015725_127.0.0.1_45290
2022.01.12 20:28:46 5: Cmd: >{BlockingRegisterTelnet($cl,1)}<
2022.01.12 20:28:46 4: PROPLANTA wetter: HtmlAcquire.577 Start capturing of https://www.proplanta.de/Wetter/profi-wetter.php?SITEID=60&PLZ=Berlin&STADT=Berlin&WETTERaufrufen=stadt&Wtp=&SUCHE=Wetter&wT=0
2022.01.12 20:28:46 5: [Mythz] THZ_GetRefresh(sSetHumidityMin) rescheduled (stop 100s after one error)
2022.01.12 20:28:47 5: Starting notify loop for wetter, 1 event(s), first is lastConnection: 501 Protocol scheme 'https' is not supported (
2022.01.12 20:28:47 5: createNotifyHash
2022.01.12 20:28:47 5: End notify loop for wetter
2022.01.12 20:28:47 1: PROPLANTA wetter: HtmlAcquire.592 Error: Can't get https://www.proplanta.de/Wetter/profi-wetter.php?SITEID=60&PLZ=Berlin&STADT=Berlin&WETTERaufrufen=stadt&Wtp=&SUCHE=Wetter&wT=0 -- 501 Protocol scheme 'https' is not supported (LWP::Protocol::https not installed)
2022.01.12 20:28:47 4: PROPLANTA wetter: HtmlAcquire.577 Start capturing of https://www.proplanta.de/Wetter/profi-wetter.php?SITEID=60&PLZ=Berlin&STADT=Berlin&WETTERaufrufen=stadt&Wtp=&SUCHE=Wetter&wT=4
2022.01.12 20:28:47 5: Starting notify loop for wetter, 1 event(s), first is lastConnection: 500 Can't locate object method "new" via package "LWP::Protocol::https::Socket"
2022.01.12 20:28:47 5: End notify loop for wetter
2022.01.12 20:28:47 1: PROPLANTA wetter: HtmlAcquire.592 Error: Can't get https://www.proplanta.de/Wetter/profi-wetter.php?SITEID=60&PLZ=Berlin&STADT=Berlin&WETTERaufrufen=stadt&Wtp=&SUCHE=Wetter&wT=4 -- 500 Can't locate object method "new" via package "LWP::Protocol::https::Socket"
2022.01.12 20:28:47 4: PROPLANTA wetter: HtmlAcquire.577 Start capturing of https://www.proplanta.de/Wetter/profi-wetter.php?SITEID=60&PLZ=Berlin&STADT=Berlin&WETTERaufrufen=stadt&Wtp=&SUCHE=Wetter&wT=7
2022.01.12 20:28:47 5: Starting notify loop for wetter, 1 event(s), first is lastConnection: 500 Can't locate object method "new" via package "LWP::Protocol::https::Socket"
2022.01.12 20:28:47 5: End notify loop for wetter
2022.01.12 20:28:47 1: PROPLANTA wetter: HtmlAcquire.592 Error: Can't get https://www.proplanta.de/Wetter/profi-wetter.php?SITEID=60&PLZ=Berlin&STADT=Berlin&WETTERaufrufen=stadt&Wtp=&SUCHE=Wetter&wT=7 -- 500 Can't locate object method "new" via package "LWP::Protocol::https::Socket"
2022.01.12 20:28:47 4: PROPLANTA wetter: HtmlAcquire.577 Start capturing of https://www.proplanta.de/Wetter/profi-wetter.php?SITEID=60&PLZ=Berlin&STADT=Berlin&WETTERaufrufen=stadt&Wtp=&SUCHE=Wetter&wT=11
2022.01.12 20:28:47 5: Starting notify loop for wetter, 1 event(s), first is lastConnection: 500 Can't locate object method "new" via package "LWP::Protocol::https::Socket"
2022.01.12 20:28:47 5: End notify loop for wetter
2022.01.12 20:28:47 1: PROPLANTA wetter: HtmlAcquire.592 Error: Can't get https://www.proplanta.de/Wetter/profi-wetter.php?SITEID=60&PLZ=Berlin&STADT=Berlin&WETTERaufrufen=stadt&Wtp=&SUCHE=Wetter&wT=11 -- 500 Can't locate object method "new" via package "LWP::Protocol::https::Socket"
2022.01.12 20:28:47 4: PROPLANTA wetter: Run.710 Found terms: 0
2022.01.12 20:28:47 5: PROPLANTA wetter: Run.716 Parsed string: wetter
2022.01.12 20:28:47 5: Cmd: >{BlockingStart('1')}<
2022.01.12 20:28:47 5: Cmd: >{PROPLANTA_Done('wetter|durationFetchReadings|1.00')}<
2022.01.12 20:28:47 4: PROPLANTA wetter: Done.736 Forked process successfully finished
2022.01.12 20:28:47 5: PROPLANTA wetter: Done.760 reading:durationFetchReadings value:1.00
2022.01.12 20:28:47 4: PROPLANTA wetter: Done.779 1 values captured
2022.01.12 20:28:47 5: Starting notify loop for wetter, 3 event(s), first is durationFetchReadings: 1.00
2022.01.12 20:28:47 5: createNotifyHash
2022.01.12 20:28:48 5: End notify loop for wetter


Angeblich ist "LWP::Protocol::https not installed"...ich habe es aber installiert:
root@FritzBox:/usr/lib/perl5/5.32.1/LWP/Protocol# ls -la
drwxr-xr-x    2 root     root           188 Jan 11 23:25 .
drwxr-xr-x    5 root     root           250 Jan 11 23:25 ..
-r--r--r--    1 root     root          1361 Jan 11 23:25 cpan.pm
-r--r--r--    1 root     root          1233 Jan 11 23:25 data.pm
-r--r--r--    1 root     root          3843 Jan 11 23:25 file.pm
-r--r--r--    1 root     root         19140 Jan 11 23:25 ftp.pm
-r--r--r--    1 root     root          5728 Jan 11 23:25 gopher.pm
-r--r--r--    1 root     root         15111 Jan 11 23:25 http.pm
-r--r--r--    1 root     root          6896 Jan 11 23:25 https.pm
-r--r--r--    1 root     root           586 Jan 11 23:25 loopback.pm
-r--r--r--    1 root     root          4406 Jan 11 23:25 mailto.pm
-r--r--r--    1 root     root          4196 Jan 11 23:25 nntp.pm
-r--r--r--    1 root     root           610 Jan 11 23:25 nogo.pm
root@FritzBox:/usr/lib/perl5/5.32.1/LWP/Protocol#


Ich lasse FHEM auf einer FritzBox 7560 laufen, Perl-Version 5.32.1, gebaut mit dem aktuellen Freetz-NG und OpenSSL. Die FHEM-Module sind up-to-date.

Erkennt PROPLANTA meine LWP::Protocol::https-Installation nicht? Stimmt die Fehlermeldung, oder kann es evtl. ein (ganz) anderes Problem sein?
Das beschäftigt mich jetzt schon einige Tage inkl. mehrmaligem Rebuild des FritzBox-Images, alles erfolglos. Ich tappe da leider im Dunkeln.
Die Suche hier im Forum war auch erfolglos. Kann mir jemand einen Tipp geben, was hier noch schief läuft?

Viele Grüße,
Tim
LWZ 304 (BJ 2017; FW 7.09); DHH o. Keller; 100m² Wohnfläche
FHEM auf USB-Stick an FritzBox 7560 (FW 7.12)

frank

zuerst antwortet proplanta mit 501.
also war der request nicht ok.
schon mal mit "http" probiert?
also ohne "s".
FHEM: 6.0(SVN) => Pi3(buster)
IO: CUL433|CUL868|HMLAN|HMUSB2|HMUART
CUL_HM: CC-TC|CC-VD|SEC-SD|SEC-SC|SEC-RHS|Sw1PBU-FM|Sw1-FM|Dim1TPBU-FM|Dim1T-FM|ES-PMSw1-Pl
IT: ITZ500|ITT1500|ITR1500|GRR3500
WebUI [HMdeviceTools.js (hm.js)]: https://forum.fhem.de/index.php/topic,106959.0.html

timtom2000

Der https-request kommt nicht von mir, sondern den erstellt das PROPLANTA-Modul selber.
Das Modul wird ja lediglich mit z.B. "define wetter PROPLANTA Berlin de" angelegt.

So wie ich das aus den Forumsbeiträgen verstanden habe, hat proplanta.de vor einigen Jahren auf https umgestellt, deswegen wurde auch PROPLANTA angepasst.

Ich habe aber trotzdem mal versucht über
attr wetter URL http://www.proplanta.de/Wetter/profi-wetter.php?SITEID=60&PLZ=Berlin&STADT=Berlin&WETTERaufrufen=stadt&Wtp=&SUCHE=Wetter&wT=
den Link "umzubiegen", aber PROPLANTA ruft weiterhin über https auf, dann logischerweise mit der gleichen Fehlermeldung.
LWZ 304 (BJ 2017; FW 7.09); DHH o. Keller; 100m² Wohnfläche
FHEM auf USB-Stick an FritzBox 7560 (FW 7.12)