Autor Thema: [gelöst] HTTPMOD für www.solar-monitoring.net  (Gelesen 240 mal)

Offline kilderman

  • New Member
  • *
  • Beiträge: 11
[gelöst] HTTPMOD für www.solar-monitoring.net
« am: 07 November 2018, 20:53:29 »
Hallo zusammen,

ich versuche seit einigen Tagen (fast) vergeblich, mich auf der Website https://www.solar-monitoring.net einzuloggen, da dort die Daten der PV-Anlage abgerufen werden können. Nach einigen Tagen experimentieren und hier im Forum viele Beiträge lesen, hatte ich es gestern sogar geschafft, meine Readings korrekt zu befüllen. Leider geht es heute nicht mehr, obwohl ich seit dem gestrigen Funktionieren nichts geändert habe. Vielleicht habt ihr einen Tipp, um mich in die richtige Richtung zu schubsen? Es würde mich freuen.

Das HTTPMOD sieht bei mir wie folgt aus:
defmod HTTPSolarErtrag HTTPMOD https://www.solar-monitoring.net/ssp/anlage/anlageninfo_portlet.php?IDAnlage=1147330 3600
attr HTTPSolarErtrag userattr reading01Expr reading01Name reading01OExpr reading01Regex reading02Expr reading02Name reading02OExpr reading02Regex reading03Expr reading03Name reading03OExpr reading03Regex reading04Expr reading04Name reading04OExpr reading04Regex reading05Name reading05Regex sid1Data sid1Header1 sid1Header2 sid1Header3 sid1Header4 sid1Header5 sid1IgnoreRedirects:0,1 sid1URL sid2Data sid2Header1 sid2Header2 sid2Header3 sid2Header4 sid2Header5 sid2Header6 sid2IgnoreRedirects:0,1 sid2URL sid3Header1 sid3Header2 sid3Header3 sid3Header4 sid3Header5 sid3IgnoreRedirects:0,1 sid3URL
attr HTTPSolarErtrag DbLogExclude .*
attr HTTPSolarErtrag enableControlSet 1
attr HTTPSolarErtrag enableCookies 1
attr HTTPSolarErtrag event-on-update-reading kWhHeute
attr HTTPSolarErtrag handleRedirects 1
attr HTTPSolarErtrag httpVersion 1.1
attr HTTPSolarErtrag reAuthRegex Login|400 Bad Request
attr HTTPSolarErtrag reading01Name kWhHeute
attr HTTPSolarErtrag reading01OExpr $val =~ s/[^0-9]+//gs;; $val;;
attr HTTPSolarErtrag reading01Regex energie_tag\.php\?.*\n.*\>(\d+[0-9\.]+)
attr HTTPSolarErtrag reading02Name kWhMonat
attr HTTPSolarErtrag reading02OExpr $val =~ s/[^0-9]+//gs;; $val;;
attr HTTPSolarErtrag reading02Regex energie_monat\.php\?.*\n.*\>(\d+[0-9\.]+)
attr HTTPSolarErtrag reading03Name VerguetungGesamt
attr HTTPSolarErtrag reading03OExpr $val =~ s/[^0-9]+//gs;; $val;;
attr HTTPSolarErtrag reading03Regex solarkonto\.jpg.*\n.*\n.*\>(\d+[0-9\.]+)
attr HTTPSolarErtrag reading04Name tCO2Ersparnis
attr HTTPSolarErtrag reading04OExpr $val =~ s/[^0-9]+//gs;; $val;;
attr HTTPSolarErtrag reading04Regex (\d+[0-9\.]+)+.*kg.*CO
attr HTTPSolarErtrag reading05Name AktuelleAlarme
attr HTTPSolarErtrag reading05Regex Alarme.*\n.*(\d+)
attr HTTPSolarErtrag room HTTPMOD
attr HTTPSolarErtrag sid1Header1 Accept: text/html,application/xhtml+xml,application/xml;;q=0.9,*/*;;q=0.8
attr HTTPSolarErtrag sid1Header2 Accept-Encoding: gzip, deflate
attr HTTPSolarErtrag sid1Header3 Accept-Language: de,en-US;;q=0.7,en;;q=0.3
attr HTTPSolarErtrag sid1Header4 DNT: 1
attr HTTPSolarErtrag sid1Header5 Upgrade-Insecure-Requests: 1
attr HTTPSolarErtrag sid1URL https://www.solar-monitoring.net/ssp/Login/session_off.php
attr HTTPSolarErtrag sid2Data login=ANMELDENAME&passwort=GEHEIM
attr HTTPSolarErtrag sid2Header1 Accept: text/html,application/xhtml+xml,application/xml;;q=0.9,*/*;;q=0.8
attr HTTPSolarErtrag sid2Header2 Accept-Encoding: gzip, deflate
attr HTTPSolarErtrag sid2Header3 Accept-Language: de,en-US;;q=0.7,en;;q=0.3
attr HTTPSolarErtrag sid2Header4 Content-Type: application/x-www-form-urlencoded
attr HTTPSolarErtrag sid2Header5 DNT: 1
attr HTTPSolarErtrag sid2Header6 Upgrade-Insecure-Requests: 1
attr HTTPSolarErtrag sid2URL https://www.solar-monitoring.net/ssp/Login/page3_21.php
attr HTTPSolarErtrag sid3Header1 Accept: text/html,application/xhtml+xml,application/xml;;q=0.9,*/*;;q=0.8
attr HTTPSolarErtrag sid3Header2 Accept-Encoding: gzip, deflate
attr HTTPSolarErtrag sid3Header3 Accept-Language: de,en-US;;q=0.7,en;;q=0.3
attr HTTPSolarErtrag sid3Header4 DNT: 1
attr HTTPSolarErtrag sid3Header5 Upgrade-Insecure-Requests: 1
attr HTTPSolarErtrag sid3URL https://www.solar-monitoring.net/ssp/anlage/anlageninfo.php?IDAnlage=1147330
attr HTTPSolarErtrag stateFormat Ertrag Heute: kWhHeute kWh
attr HTTPSolarErtrag userReadings AktuelleAlarme, kWh_Stunde, kWh_Tag, kWh_Monat, kWh_Jahr, kWh_Gesamt, kWhHeute, kWhMonat, VerguetungGesamt, tCO2Ersparnis
attr HTTPSolarErtrag verbose 5

Gestern wurde die Website korrekt eingelesen. Heute leider nicht mehr. Vom nicht erfolgreichen Login wurde folgendes LOG aufgezeichnet (Entschuldigung für die Massen an Text. Den HTML-Code habe ich schon gelöscht, um es ein wenig lesbarer zu machen).

2018.11.07 20:04:44 1: Logfile gelöscht
2018.11.07 20:04:58 5: HTTPSolarErtrag: set called with reread
2018.11.07 20:04:58 4: HTTPSolarErtrag: GetUpdate called (reread)
2018.11.07 20:04:58 4: HTTPSolarErtrag: AddToQueue adds update, initial queue len: 0
2018.11.07 20:04:58 5: HTTPSolarErtrag: AddToQueue adds type update to URL https://www.solar-monitoring.net/ssp/anlage/anlageninfo_portlet.php?IDAnlage=1147330, no data, no headers, retry 0
2018.11.07 20:04:58 5: HTTPSolarErtrag: HandleSendQueue called, qlen = 1
2018.11.07 20:04:58 5: HTTPSolarErtrag: HandleSendQueue is using Cookie PHPSESSID with path / and Value gqfru5p8ehmcjs8e1qil91jfhj (key PHPSESSID;/, destination path is /ssp/anlage/anlageninfo_portlet.php?IDAnlage=1147330)
2018.11.07 20:04:58 5: HTTPSolarErtrag: HandleSendQueue is using Cookie mc_lang with path  and Value de
 (key mc_lang;, destination path is /ssp/anlage/anlageninfo_portlet.php?IDAnlage=1147330)
2018.11.07 20:04:58 5: HTTPSolarErtrag: HandleSendQueue is adding Cookie header: PHPSESSID=gqfru5p8ehmcjs8e1qil91jfhj; mc_lang=de
2018.11.07 20:04:58 4: HTTPSolarErtrag: HandleSendQueue sends request type update to URL https://www.solar-monitoring.net/ssp/anlage/anlageninfo_portlet.php?IDAnlage=1147330, No Data,
header: Cookie: PHPSESSID=gqfru5p8ehmcjs8e1qil91jfhj; mc_lang=de

timeout 2
2018.11.07 20:04:58 5: HttpUtils url=https://www.solar-monitoring.net/ssp/anlage/anlageninfo_portlet.php?IDAnlage=1147330
2018.11.07 20:04:58 5: HttpUtils request header:
GET /ssp/anlage/anlageninfo_portlet.php?IDAnlage=1147330 HTTP/1.1
Host: www.solar-monitoring.net
User-Agent: fhem
Accept-Encoding: gzip,deflate
Connection: Close
Cookie: PHPSESSID=gqfru5p8ehmcjs8e1qil91jfhj; mc_lang=de

Content-Length: 0
Content-Type: application/x-www-form-urlencoded

2018.11.07 20:04:58 4: https://www.solar-monitoring.net/ssp/anlage/anlageninfo_portlet.php?IDAnlage=1147330: HTTP response code 302
2018.11.07 20:04:58 5: HttpUtils https://www.solar-monitoring.net/ssp/anlage/anlageninfo_portlet.php?IDAnlage=1147330: Got data, length: 0
2018.11.07 20:04:58 5: HttpUtils response header:
HTTP/1.1 302 Found
Server: nginx
Date: Wed, 07 Nov 2018 19:04:58 GMT
Content-Type: text/html; charset=UTF-8
Transfer-Encoding: chunked
Connection: close
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate
Pragma: no-cache
Location: ../Login/session_off.php
Strict-Transport-Security: max-age=31556926;
2018.11.07 20:04:58 4: HTTPSolarErtrag: Read callback: request type was update retry 0, body empty
2018.11.07 20:04:58 5: HTTPSolarErtrag: GetCookies is looking for Cookies
2018.11.07 20:04:58 5: HTTPSolarErtrag: ExtractSid called, context reading, num
2018.11.07 20:04:58 4: HTTPSolarErtrag: checking for redirects, code=302, ignore=0
2018.11.07 20:04:58 4: HTTPSolarErtrag: https://www.solar-monitoring.net/ssp/anlage/anlageninfo_portlet.php?IDAnlage=1147330: Redirect (1) to https://www.solar-monitoring.net:443/../Login/session_off.php
2018.11.07 20:04:58 4: HTTPSolarErtrag: AddToQueue adds update, initial queue len: 0, prio
2018.11.07 20:04:58 5: HTTPSolarErtrag: AddToQueue prepends type update to URL https://www.solar-monitoring.net:443/../Login/session_off.php, no data, no headers, retry 0
2018.11.07 20:04:58 5: HTTPSolarErtrag: HandleSendQueue called, qlen = 1
2018.11.07 20:04:58 5: HTTPSolarErtrag: HandleSendQueue - minSendDelay not over, rescheduling
2018.11.07 20:04:59 5: HTTPSolarErtrag: HandleSendQueue called, qlen = 1
2018.11.07 20:04:59 5: HTTPSolarErtrag: HandleSendQueue is using Cookie PHPSESSID with path / and Value gqfru5p8ehmcjs8e1qil91jfhj (key PHPSESSID;/, destination path is /../Login/session_off.php)
2018.11.07 20:04:59 5: HTTPSolarErtrag: HandleSendQueue is using Cookie mc_lang with path  and Value de
 (key mc_lang;, destination path is /../Login/session_off.php)
2018.11.07 20:04:59 5: HTTPSolarErtrag: HandleSendQueue is adding Cookie header: PHPSESSID=gqfru5p8ehmcjs8e1qil91jfhj; mc_lang=de
2018.11.07 20:04:59 4: HTTPSolarErtrag: HandleSendQueue sends request type update to URL https://www.solar-monitoring.net:443/../Login/session_off.php, No Data,
header: Cookie: PHPSESSID=gqfru5p8ehmcjs8e1qil91jfhj; mc_lang=de

timeout 2
2018.11.07 20:04:59 5: HttpUtils url=https://www.solar-monitoring.net:443/../Login/session_off.php
2018.11.07 20:04:59 5: HttpUtils request header:
GET /../Login/session_off.php HTTP/1.1
Host: www.solar-monitoring.net
User-Agent: fhem
Accept-Encoding: gzip,deflate
Connection: Close
Cookie: PHPSESSID=gqfru5p8ehmcjs8e1qil91jfhj; mc_lang=de

Content-Length: 0
Content-Type: application/x-www-form-urlencoded

2018.11.07 20:05:00 4: https://www.solar-monitoring.net:443/../Login/session_off.php: HTTP response code 400
2018.11.07 20:05:00 5: HttpUtils https://www.solar-monitoring.net:443/../Login/session_off.php: Got data, length: 166
2018.11.07 20:05:00 5: HttpUtils response header:
HTTP/1.1 400 Bad Request
Server: nginx
Date: Wed, 07 Nov 2018 19:05:00 GMT
Content-Type: text/html
Content-Length: 166
Connection: close
2018.11.07 20:05:00 4: HTTPSolarErtrag: Read callback: request type was update retry 0,
Body: <html>
<head><title>400 Bad Request</title></head>
<body bgcolor="white">
<center><h1>400 Bad Request</h1></center>
<hr><center>nginx</center>
</body>
</html>

2018.11.07 20:05:00 5: HTTPSolarErtrag: GetCookies is looking for Cookies
2018.11.07 20:05:00 5: HTTPSolarErtrag: ExtractSid called, context reading, num
2018.11.07 20:05:00 4: HTTPSolarErtrag: checking for redirects, code=400, ignore=0
2018.11.07 20:05:00 4: HTTPSolarErtrag: no redirects to handle
2018.11.07 20:05:00 5: HTTPSolarErtrag: CheckAuth is checking buffer with ReAuthRegex Login|400 Bad Request
2018.11.07 20:05:00 4: HTTPSolarErtrag: CheckAuth decided new authentication required
2018.11.07 20:05:00 4: HTTPSolarErtrag: Auth called with Steps: 1 2 3
2018.11.07 20:05:00 4: HTTPSolarErtrag: AddToQueue adds auth3, initial queue len: 0, prio
2018.11.07 20:05:00 5: HTTPSolarErtrag: AddToQueue prepends type auth3 to URL https://www.solar-monitoring.net/ssp/anlage/anlageninfo.php?IDAnlage=1147330, no data, header Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Encoding: gzip, deflate
Accept-Language: de,en-US;q=0.7,en;q=0.3
DNT: 1
Upgrade-Insecure-Requests: 1, retry 0
2018.11.07 20:05:00 4: HTTPSolarErtrag: AddToQueue adds auth2, initial queue len: 1, prio
2018.11.07 20:05:00 5: HTTPSolarErtrag: AddToQueue prepends type auth2 to URL https://www.solar-monitoring.net/ssp/Login/page3_21.php, data login=ANMELDENAME&passwort=GEHEIM, header Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Encoding: gzip, deflate
Accept-Language: de,en-US;q=0.7,en;q=0.3
Content-Type: application/x-www-form-urlencoded
DNT: 1
Upgrade-Insecure-Requests: 1, retry 0
2018.11.07 20:05:00 4: HTTPSolarErtrag: AddToQueue adds auth1, initial queue len: 2, prio
2018.11.07 20:05:00 5: HTTPSolarErtrag: AddToQueue prepends type auth1 to URL https://www.solar-monitoring.net/ssp/Login/session_off.php, no data, header Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Encoding: gzip, deflate
Accept-Language: de,en-US;q=0.7,en;q=0.3
DNT: 1
Upgrade-Insecure-Requests: 1, retry 0
2018.11.07 20:05:00 5: HTTPSolarErtrag: HandleSendQueue called, qlen = 3
2018.11.07 20:05:00 5: HTTPSolarErtrag: HandleSendQueue - minSendDelay not over, rescheduling
2018.11.07 20:05:00 4: HTTPSolarErtrag: AddToQueue adds update, initial queue len: 3
2018.11.07 20:05:00 5: HTTPSolarErtrag: AddToQueue adds type update to URL https://www.solar-monitoring.net:443/../Login/session_off.php, no data, no headers, retry 1
2018.11.07 20:05:00 5: HTTPSolarErtrag: HandleSendQueue called, qlen = 4
2018.11.07 20:05:00 5: HTTPSolarErtrag: HandleSendQueue - minSendDelay not over, rescheduling
2018.11.07 20:05:00 4: HTTPSolarErtrag: CheckAuth requeued request update after auth, retryCount 0 ...
2018.11.07 20:05:01 5: HTTPSolarErtrag: HandleSendQueue called, qlen = 4
2018.11.07 20:05:01 5: HTTPSolarErtrag: HandleSendQueue is using Cookie PHPSESSID with path / and Value gqfru5p8ehmcjs8e1qil91jfhj (key PHPSESSID;/, destination path is /ssp/Login/session_off.php)
2018.11.07 20:05:01 5: HTTPSolarErtrag: HandleSendQueue is using Cookie mc_lang with path  and Value de
 (key mc_lang;, destination path is /ssp/Login/session_off.php)
2018.11.07 20:05:01 5: HTTPSolarErtrag: HandleSendQueue is adding Cookie header: PHPSESSID=gqfru5p8ehmcjs8e1qil91jfhj; mc_lang=de
2018.11.07 20:05:01 4: HTTPSolarErtrag: HandleSendQueue sends request type auth1 to URL https://www.solar-monitoring.net/ssp/Login/session_off.php, No Data,
header: Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Encoding: gzip, deflate
Accept-Language: de,en-US;q=0.7,en;q=0.3
DNT: 1
Upgrade-Insecure-Requests: 1
Cookie: PHPSESSID=gqfru5p8ehmcjs8e1qil91jfhj; mc_lang=de

timeout 2
2018.11.07 20:05:01 5: HttpUtils url=https://www.solar-monitoring.net/ssp/Login/session_off.php
2018.11.07 20:05:01 5: HttpUtils request header:
GET /ssp/Login/session_off.php HTTP/1.1
Host: www.solar-monitoring.net
User-Agent: fhem
Accept-Encoding: gzip,deflate
Connection: Close
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Encoding: gzip, deflate
Accept-Language: de,en-US;q=0.7,en;q=0.3
DNT: 1
Upgrade-Insecure-Requests: 1
Cookie: PHPSESSID=gqfru5p8ehmcjs8e1qil91jfhj; mc_lang=de

Content-Length: 0
Content-Type: application/x-www-form-urlencoded

2018.11.07 20:05:01 4: https://www.solar-monitoring.net/ssp/Login/session_off.php: HTTP response code 200
2018.11.07 20:05:01 5: HttpUtils https://www.solar-monitoring.net/ssp/Login/session_off.php: Got data, length: 7186
2018.11.07 20:05:01 5: HttpUtils response header:
HTTP/1.1 200 OK
Server: nginx
Date: Wed, 07 Nov 2018 19:05:01 GMT
Content-Type: text/html; charset=UTF-8
Transfer-Encoding: chunked
Connection: close
Vary: Accept-Encoding
Set-Cookie: mc_lang=de
Strict-Transport-Security: max-age=31556926;
Content-Encoding: gzip
2018.11.07 20:05:01 4: HTTPSolarErtrag: Read callback: request type was auth1 retry 0,
Body:

<!doctype html>
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7" lang=""> <![endif]-->
<!--[if IE 7]>    <html class="no-js lt-ie9 lt-ie8" lang=""> <![endif]-->
<!--[if IE 8]>    <html class="no-js lt-ie9" lang=""> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang=""> <!--<![endif]-->
<head>
    <meta charset="UTF-8">
    <meta name="robots" content="noindex,nofollow,nosnippet">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">

    <title></title>

    <meta name="viewport" content="width=device-width">

    <link rel="stylesheet" type="text/css" href="../css/all/normalize.css?v=1513002467" />
    <link rel="stylesheet" type="text/css" href="../css/all/standard.css?v=1531822502" />
    <link rel="stylesheet" type="text/css" href="../css/all/standalone.css?v=1513002467" />

    <link rel="stylesheet" type="text/css" href="../vendor/bower_components/fontawesome/css/font-awesome.min.css?v=1513002472" />
<link rel="stylesheet" type="text/css" href="../css/all/skeleton.css?v=1513002467" />
<link rel="stylesheet" type="text/css" href="../css/all/login.css?v=1513002467" />

    ...
    </body>
</html>
2018.11.07 20:05:01 5: HTTPSolarErtrag: GetCookies is looking for Cookies
2018.11.07 20:05:01 4: HTTPSolarErtrag: GetCookies parsed Cookie: mc_lang Wert de
 Rest
2018.11.07 20:05:01 5: HTTPSolarErtrag: ExtractSid called, context sid, num 1
2018.11.07 20:05:01 4: HTTPSolarErtrag: checking for redirects, code=200, ignore=0
2018.11.07 20:05:01 4: HTTPSolarErtrag: no redirects to handle
2018.11.07 20:05:02 5: HTTPSolarErtrag: HandleSendQueue called, qlen = 3
2018.11.07 20:05:02 5: HTTPSolarErtrag: HandleSendQueue is using Cookie PHPSESSID with path / and Value gqfru5p8ehmcjs8e1qil91jfhj (key PHPSESSID;/, destination path is /ssp/Login/page3_21.php)
2018.11.07 20:05:02 5: HTTPSolarErtrag: HandleSendQueue is using Cookie mc_lang with path  and Value de
 (key mc_lang;, destination path is /ssp/Login/page3_21.php)
2018.11.07 20:05:02 5: HTTPSolarErtrag: HandleSendQueue is adding Cookie header: PHPSESSID=gqfru5p8ehmcjs8e1qil91jfhj; mc_lang=de
2018.11.07 20:05:02 4: HTTPSolarErtrag: HandleSendQueue sends request type auth2 to URL https://www.solar-monitoring.net/ssp/Login/page3_21.php,
data: login=ANMELDENAME&passwort=GEHEIM,
header: Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Encoding: gzip, deflate
Accept-Language: de,en-US;q=0.7,en;q=0.3
Content-Type: application/x-www-form-urlencoded
DNT: 1
Upgrade-Insecure-Requests: 1
Cookie: PHPSESSID=gqfru5p8ehmcjs8e1qil91jfhj; mc_lang=de

timeout 2
2018.11.07 20:05:02 5: HttpUtils url=https://www.solar-monitoring.net/ssp/Login/page3_21.php
2018.11.07 20:05:02 5: HttpUtils request header:
POST /ssp/Login/page3_21.php HTTP/1.1
Host: www.solar-monitoring.net
User-Agent: fhem
Accept-Encoding: gzip,deflate
Connection: Close
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Encoding: gzip, deflate
Accept-Language: de,en-US;q=0.7,en;q=0.3
Content-Type: application/x-www-form-urlencoded
DNT: 1
Upgrade-Insecure-Requests: 1
Cookie: PHPSESSID=gqfru5p8ehmcjs8e1qil91jfhj; mc_lang=de

Content-Length: 34

2018.11.07 20:05:02 4: https://www.solar-monitoring.net/ssp/Login/page3_21.php: HTTP response code 200
2018.11.07 20:05:02 5: HttpUtils https://www.solar-monitoring.net/ssp/Login/page3_21.php: Got data, length: 6845
2018.11.07 20:05:02 5: HttpUtils response header:
HTTP/1.1 200 OK
Server: nginx
Date: Wed, 07 Nov 2018 19:05:02 GMT
Content-Type: text/html; charset=UTF-8
Transfer-Encoding: chunked
Connection: close
Vary: Accept-Encoding
Set-Cookie: mc_lang=de
Strict-Transport-Security: max-age=31556926;
Content-Encoding: gzip
2018.11.07 20:05:02 4: HTTPSolarErtrag: Read callback: request type was auth2 retry 0,
Body:

<!doctype html>
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7" lang=""> <![endif]-->
<!--[if IE 7]>    <html class="no-js lt-ie9 lt-ie8" lang=""> <![endif]-->
<!--[if IE 8]>    <html class="no-js lt-ie9" lang=""> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang=""> <!--<![endif]-->
<head>
    <meta charset="UTF-8">
    <meta name="robots" content="noindex,nofollow,nosnippet">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">

    <title>Login</title>

    <meta name="viewport" content="width=device-width">

...
    </body>
</html>
2018.11.07 20:05:02 5: HTTPSolarErtrag: GetCookies is looking for Cookies
2018.11.07 20:05:02 4: HTTPSolarErtrag: GetCookies parsed Cookie: mc_lang Wert de
 Rest
2018.11.07 20:05:02 5: HTTPSolarErtrag: ExtractSid called, context sid, num 2
2018.11.07 20:05:02 4: HTTPSolarErtrag: checking for redirects, code=200, ignore=0
2018.11.07 20:05:02 4: HTTPSolarErtrag: no redirects to handle
2018.11.07 20:05:03 5: HTTPSolarErtrag: HandleSendQueue called, qlen = 2
2018.11.07 20:05:03 5: HTTPSolarErtrag: HandleSendQueue is using Cookie PHPSESSID with path / and Value gqfru5p8ehmcjs8e1qil91jfhj (key PHPSESSID;/, destination path is /ssp/anlage/anlageninfo.php?IDAnlage=1147330)
2018.11.07 20:05:03 5: HTTPSolarErtrag: HandleSendQueue is using Cookie mc_lang with path  and Value de
 (key mc_lang;, destination path is /ssp/anlage/anlageninfo.php?IDAnlage=1147330)
2018.11.07 20:05:03 5: HTTPSolarErtrag: HandleSendQueue is adding Cookie header: PHPSESSID=gqfru5p8ehmcjs8e1qil91jfhj; mc_lang=de
2018.11.07 20:05:03 4: HTTPSolarErtrag: HandleSendQueue sends request type auth3 to URL https://www.solar-monitoring.net/ssp/anlage/anlageninfo.php?IDAnlage=1147330, No Data,
header: Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Encoding: gzip, deflate
Accept-Language: de,en-US;q=0.7,en;q=0.3
DNT: 1
Upgrade-Insecure-Requests: 1
Cookie: PHPSESSID=gqfru5p8ehmcjs8e1qil91jfhj; mc_lang=de

timeout 2
2018.11.07 20:05:03 5: HttpUtils url=https://www.solar-monitoring.net/ssp/anlage/anlageninfo.php?IDAnlage=1147330
2018.11.07 20:05:03 5: HttpUtils request header:
GET /ssp/anlage/anlageninfo.php?IDAnlage=1147330 HTTP/1.1
Host: www.solar-monitoring.net
User-Agent: fhem
Accept-Encoding: gzip,deflate
Connection: Close
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Encoding: gzip, deflate
Accept-Language: de,en-US;q=0.7,en;q=0.3
DNT: 1
Upgrade-Insecure-Requests: 1
Cookie: PHPSESSID=gqfru5p8ehmcjs8e1qil91jfhj; mc_lang=de

Content-Length: 0
Content-Type: application/x-www-form-urlencoded

2018.11.07 20:05:03 4: https://www.solar-monitoring.net/ssp/anlage/anlageninfo.php?IDAnlage=1147330: HTTP response code 302
2018.11.07 20:05:03 5: HttpUtils https://www.solar-monitoring.net/ssp/anlage/anlageninfo.php?IDAnlage=1147330: Got data, length: 0
2018.11.07 20:05:03 5: HttpUtils response header:
HTTP/1.1 302 Found
Server: nginx
Date: Wed, 07 Nov 2018 19:05:03 GMT
Content-Type: text/html; charset=UTF-8
Transfer-Encoding: chunked
Connection: close
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate
Pragma: no-cache
Location: ../Login/session_off.php
Strict-Transport-Security: max-age=31556926;
2018.11.07 20:05:03 4: HTTPSolarErtrag: Read callback: request type was auth3 retry 0, body empty
2018.11.07 20:05:03 5: HTTPSolarErtrag: GetCookies is looking for Cookies
2018.11.07 20:05:03 5: HTTPSolarErtrag: ExtractSid called, context sid, num 3
2018.11.07 20:05:03 4: HTTPSolarErtrag: checking for redirects, code=302, ignore=0
2018.11.07 20:05:03 4: HTTPSolarErtrag: https://www.solar-monitoring.net/ssp/anlage/anlageninfo.php?IDAnlage=1147330: Redirect (1) to https://www.solar-monitoring.net:443/../Login/session_off.php
2018.11.07 20:05:03 4: HTTPSolarErtrag: AddToQueue adds auth3, initial queue len: 1, prio
2018.11.07 20:05:03 5: HTTPSolarErtrag: AddToQueue prepends type auth3 to URL https://www.solar-monitoring.net:443/../Login/session_off.php, no data, header Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Encoding: gzip, deflate
Accept-Language: de,en-US;q=0.7,en;q=0.3
DNT: 1
Upgrade-Insecure-Requests: 1, retry 0
2018.11.07 20:05:03 5: HTTPSolarErtrag: HandleSendQueue called, qlen = 2
2018.11.07 20:05:03 5: HTTPSolarErtrag: HandleSendQueue - minSendDelay not over, rescheduling
2018.11.07 20:05:04 5: HTTPSolarErtrag: HandleSendQueue called, qlen = 2
2018.11.07 20:05:04 5: HTTPSolarErtrag: HandleSendQueue is using Cookie PHPSESSID with path / and Value gqfru5p8ehmcjs8e1qil91jfhj (key PHPSESSID;/, destination path is /../Login/session_off.php)
2018.11.07 20:05:04 5: HTTPSolarErtrag: HandleSendQueue is using Cookie mc_lang with path  and Value de
 (key mc_lang;, destination path is /../Login/session_off.php)
2018.11.07 20:05:04 5: HTTPSolarErtrag: HandleSendQueue is adding Cookie header: PHPSESSID=gqfru5p8ehmcjs8e1qil91jfhj; mc_lang=de
2018.11.07 20:05:04 4: HTTPSolarErtrag: HandleSendQueue sends request type auth3 to URL https://www.solar-monitoring.net:443/../Login/session_off.php, No Data,
header: Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Encoding: gzip, deflate
Accept-Language: de,en-US;q=0.7,en;q=0.3
DNT: 1
Upgrade-Insecure-Requests: 1
Cookie: PHPSESSID=gqfru5p8ehmcjs8e1qil91jfhj; mc_lang=de

timeout 2
2018.11.07 20:05:04 5: HttpUtils url=https://www.solar-monitoring.net:443/../Login/session_off.php
2018.11.07 20:05:04 5: HttpUtils request header:
GET /../Login/session_off.php HTTP/1.1
Host: www.solar-monitoring.net
User-Agent: fhem
Accept-Encoding: gzip,deflate
Connection: Close
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Encoding: gzip, deflate
Accept-Language: de,en-US;q=0.7,en;q=0.3
DNT: 1
Upgrade-Insecure-Requests: 1
Cookie: PHPSESSID=gqfru5p8ehmcjs8e1qil91jfhj; mc_lang=de

Content-Length: 0
Content-Type: application/x-www-form-urlencoded

2018.11.07 20:05:04 4: https://www.solar-monitoring.net:443/../Login/session_off.php: HTTP response code 400
2018.11.07 20:05:04 5: HttpUtils https://www.solar-monitoring.net:443/../Login/session_off.php: Got data, length: 166
2018.11.07 20:05:04 5: HttpUtils response header:
HTTP/1.1 400 Bad Request
Server: nginx
Date: Wed, 07 Nov 2018 19:05:04 GMT
Content-Type: text/html
Content-Length: 166
Connection: close
2018.11.07 20:05:04 4: HTTPSolarErtrag: Read callback: request type was auth3 retry 0,
Body: <html>
<head><title>400 Bad Request</title></head>
<body bgcolor="white">
<center><h1>400 Bad Request</h1></center>
<hr><center>nginx</center>
</body>
</html>

2018.11.07 20:05:04 5: HTTPSolarErtrag: GetCookies is looking for Cookies
2018.11.07 20:05:04 5: HTTPSolarErtrag: ExtractSid called, context sid, num 3
2018.11.07 20:05:04 4: HTTPSolarErtrag: checking for redirects, code=400, ignore=0
2018.11.07 20:05:04 4: HTTPSolarErtrag: no redirects to handle
2018.11.07 20:05:05 5: HTTPSolarErtrag: HandleSendQueue called, qlen = 1
2018.11.07 20:05:05 5: HTTPSolarErtrag: HandleSendQueue is using Cookie PHPSESSID with path / and Value gqfru5p8ehmcjs8e1qil91jfhj (key PHPSESSID;/, destination path is /../Login/session_off.php)
2018.11.07 20:05:05 5: HTTPSolarErtrag: HandleSendQueue is using Cookie mc_lang with path  and Value de
 (key mc_lang;, destination path is /../Login/session_off.php)
2018.11.07 20:05:05 5: HTTPSolarErtrag: HandleSendQueue is adding Cookie header: PHPSESSID=gqfru5p8ehmcjs8e1qil91jfhj; mc_lang=de
2018.11.07 20:05:05 4: HTTPSolarErtrag: HandleSendQueue sends request type update to URL https://www.solar-monitoring.net:443/../Login/session_off.php, No Data,
header: Cookie: PHPSESSID=gqfru5p8ehmcjs8e1qil91jfhj; mc_lang=de

timeout 2
2018.11.07 20:05:05 5: HttpUtils url=https://www.solar-monitoring.net:443/../Login/session_off.php
2018.11.07 20:05:05 5: HttpUtils request header:
GET /../Login/session_off.php HTTP/1.1
Host: www.solar-monitoring.net
User-Agent: fhem
Accept-Encoding: gzip,deflate
Connection: Close
Cookie: PHPSESSID=gqfru5p8ehmcjs8e1qil91jfhj; mc_lang=de

Content-Length: 0
Content-Type: application/x-www-form-urlencoded

2018.11.07 20:05:05 4: https://www.solar-monitoring.net:443/../Login/session_off.php: HTTP response code 400
2018.11.07 20:05:05 5: HttpUtils https://www.solar-monitoring.net:443/../Login/session_off.php: Got data, length: 166
2018.11.07 20:05:05 5: HttpUtils response header:
HTTP/1.1 400 Bad Request
Server: nginx
Date: Wed, 07 Nov 2018 19:05:05 GMT
Content-Type: text/html
Content-Length: 166
Connection: close
2018.11.07 20:05:05 4: HTTPSolarErtrag: Read callback: request type was update retry 1,
Body: <html>
<head><title>400 Bad Request</title></head>
<body bgcolor="white">
<center><h1>400 Bad Request</h1></center>
<hr><center>nginx</center>
</body>
</html>

2018.11.07 20:05:05 5: HTTPSolarErtrag: GetCookies is looking for Cookies
2018.11.07 20:05:05 5: HTTPSolarErtrag: ExtractSid called, context reading, num
2018.11.07 20:05:05 4: HTTPSolarErtrag: checking for redirects, code=400, ignore=0
2018.11.07 20:05:05 4: HTTPSolarErtrag: no redirects to handle
2018.11.07 20:05:05 5: HTTPSolarErtrag: CheckAuth is checking buffer with ReAuthRegex Login|400 Bad Request
2018.11.07 20:05:05 4: HTTPSolarErtrag: CheckAuth decided new authentication required
2018.11.07 20:05:05 4: HTTPSolarErtrag: Authentication still required but no retries left - did last authentication fail?
2018.11.07 20:05:05 5: HTTPSolarErtrag: Read starts parsing response to update with defined readings: 01,02,03,04,05
2018.11.07 20:05:05 5: HTTPSolarErtrag: ExtractReading kWhHeute with regex /energie_tag\.php\?.*\n.*\>(\d+[0-9\.]+)/...
2018.11.07 20:05:05 5: HTTPSolarErtrag: ExtractReading kWhHeute did not match
2018.11.07 20:05:05 5: HTTPSolarErtrag: ExtractReading kWhMonat with regex /energie_monat\.php\?.*\n.*\>(\d+[0-9\.]+)/...
2018.11.07 20:05:05 5: HTTPSolarErtrag: ExtractReading kWhMonat did not match
2018.11.07 20:05:05 5: HTTPSolarErtrag: ExtractReading VerguetungGesamt with regex /solarkonto\.jpg.*\n.*\n.*\>(\d+[0-9\.]+)/...
2018.11.07 20:05:05 5: HTTPSolarErtrag: ExtractReading VerguetungGesamt did not match
2018.11.07 20:05:05 5: HTTPSolarErtrag: ExtractReading tCO2Ersparnis with regex /(\d+[0-9\.]+)+.*kg.*CO/...
2018.11.07 20:05:05 5: HTTPSolarErtrag: ExtractReading tCO2Ersparnis did not match
2018.11.07 20:05:05 5: HTTPSolarErtrag: ExtractReading AktuelleAlarme with regex /Alarme.*\n.*(\d+)/...
2018.11.07 20:05:05 5: HTTPSolarErtrag: ExtractReading AktuelleAlarme did not match
2018.11.07 20:05:05 3: HTTPSolarErtrag: Read response to update didn't match any Reading
2018.11.07 20:05:05 5: HTTPSolarErtrag: HandleSendQueue called, qlen = 0

Um es noch nachvollziehbar zu machen, füge ich vielleicht noch den Burp-Mitschnitt bei:
[b]1. Request[/b]

GET /ssp/anlage/anlageninfo_portlet.php?IDAnlage=1147330 HTTP/1.1
Host: www.solar-monitoring.net
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:63.0) Gecko/20100101 Firefox/63.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: de,en-US;q=0.7,en;q=0.3
Accept-Encoding: gzip, deflate
DNT: 1
Connection: close
Cookie: PHPSESSID=9l0qbvaofsfis78lvmkkgv9f96
Upgrade-Insecure-Requests: 1

[b]1. Response[/b]

HTTP/1.1 200 OK
Server: nginx
Date: Mon, 05 Nov 2018 15:46:41 GMT
Content-Type: text/html; charset=UTF-8
Connection: close
Vary: Accept-Encoding
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate
Pragma: no-cache
Strict-Transport-Security: max-age=31556926;
Content-Length: 25469

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
        "http://www.w3.org/TR/html4/loose.dtd">
<html lang="de">
<head>
    <title>IBC Solar AG</title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta name="robots" content="noindex, nofollow">
    <link rel="stylesheet" type="text/css" href="../css/all/normalize.css?v=1513002467" />
    <link rel="stylesheet" type="text/css" href="../vendor/bower_components/jquery-ui/themes/base/minified/jquery-ui.min.css?v=1513002472" />
...

===========================================================================================================================

[b]2. Request[/b]

GET /ssp/Login/session_off.php HTTP/1.1
Host: www.solar-monitoring.net
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:63.0) Gecko/20100101 Firefox/63.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: de,en-US;q=0.7,en;q=0.3
Accept-Encoding: gzip, deflate
DNT: 1
Connection: close
Cookie: mc_lang=de; PHPSESSID=9l0qbvaofsfis78lvmkkgv9f96
Upgrade-Insecure-Requests: 1

[b]2.  Response[/b]

HTTP/1.1 200 OK
Server: nginx
Date: Mon, 05 Nov 2018 15:46:47 GMT
Content-Type: text/html; charset=UTF-8
Connection: close
Vary: Accept-Encoding
Set-Cookie: mc_lang=de
Strict-Transport-Security: max-age=31556926;
Content-Length: 7186

<!doctype html>
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7" lang=""> <![endif]-->
<!--[if IE 7]>    <html class="no-js lt-ie9 lt-ie8" lang=""> <![endif]-->
<!--[if IE 8]>    <html class="no-js lt-ie9" lang=""> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang=""> <!--<![endif]-->
<head>
    <meta charset="UTF-8">
    <meta name="robots" content="noindex,nofollow,nosnippet">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">

    <title></title>

    <meta name="viewport" content="width=device-width">


================================================================================================================

[b]3. Request[/b]

POST /ssp/Login/page3_21.php HTTP/1.1
Host: www.solar-monitoring.net
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:63.0) Gecko/20100101 Firefox/63.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: de,en-US;q=0.7,en;q=0.3
Accept-Encoding: gzip, deflate
Referer: https://www.solar-monitoring.net/ssp/Login/session_off.php
Content-Type: application/x-www-form-urlencoded
Content-Length: 93
DNT: 1
Connection: close
Cookie: mc_lang=de; PHPSESSID=9l0qbvaofsfis78lvmkkgv9f96
Upgrade-Insecure-Requests: 1

UTF-8=%E2%9C%93&login=ANMELDENAME&passwort=GEHEIM&bLoginTried=&bRedirect=1&sRedirect=&sent=1

[b]3. Response[/b]

HTTP/1.1 302 Found
Server: nginx
Date: Mon, 05 Nov 2018 15:46:55 GMT
Content-Type: text/html; charset=UTF-8
Connection: close
Set-Cookie: mc_lang=de
Set-Cookie: PHPSESSID=9l0qbvaofsfis78lvmkkgv9f96; path=/; secure; HttpOnly
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate
Pragma: no-cache
Location: ../anlage/anlageninfo.php?IDAnlage=1147330
Strict-Transport-Security: max-age=31556926;
Content-Length: 0

====================================================================================================================== 

[b]4. Request[/b]

GET /ssp/anlage/anlageninfo.php?IDAnlage=1147330 HTTP/1.1
Host: www.solar-monitoring.net
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:63.0) Gecko/20100101 Firefox/63.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: de,en-US;q=0.7,en;q=0.3
Accept-Encoding: gzip, deflate
Referer: https://www.solar-monitoring.net/ssp/Login/session_off.php
DNT: 1
Connection: close
Cookie: PHPSESSID=9l0qbvaofsfis78lvmkkgv9f96
Upgrade-Insecure-Requests: 1

[b]4. Response[/b]

HTTP/1.1 302 Found
Server: nginx
Date: Mon, 05 Nov 2018 15:46:57 GMT
Content-Type: text/html; charset=UTF-8
Connection: close
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate
Pragma: no-cache
Location: anlageninfo_portlet.php?IDAnlage=1147330
Strict-Transport-Security: max-age=31556926;
Content-Length: 0

========================================================================================================================

[b]5. Request[/b]

GET /ssp/anlage/anlageninfo_portlet.php?IDAnlage=1147330 HTTP/1.1
Host: www.solar-monitoring.net
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:63.0) Gecko/20100101 Firefox/63.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: de,en-US;q=0.7,en;q=0.3
Accept-Encoding: gzip, deflate
Referer: https://www.solar-monitoring.net/ssp/Login/session_off.php
DNT: 1
Connection: close
Cookie: PHPSESSID=9l0qbvaofsfis78lvmkkgv9f96
Upgrade-Insecure-Requests: 1

[b]5. Response[/b]

HTTP/1.1 200 OK
Server: nginx
Date: Mon, 05 Nov 2018 15:47:00 GMT
Content-Type: text/html; charset=UTF-8
Connection: close
Vary: Accept-Encoding
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate
Pragma: no-cache
Strict-Transport-Security: max-age=31556926;
Content-Length: 25469

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
        "http://www.w3.org/TR/html4/loose.dtd">
<html lang="de">
<head>
    <title>IBC Solar AG</title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">


===================================================================================================================

[b]6. Request[/b]

GET /ssp/label/getJavaScriptLabels.php?app=ssp&base=&page=main/messages.php&lang=de HTTP/1.1
Host: www.solar-monitoring.net
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:63.0) Gecko/20100101 Firefox/63.0
Accept: */*
Accept-Language: de,en-US;q=0.7,en;q=0.3
Accept-Encoding: gzip, deflate
Referer: https://www.solar-monitoring.net/ssp/anlage/anlageninfo_portlet.php?IDAnlage=1147330
DNT: 1
Connection: close
Cookie: PHPSESSID=9l0qbvaofsfis78lvmkkgv9f96

[b]6. Response[/b]

HTTP/1.1 200 OK
Server: nginx
Date: Mon, 05 Nov 2018 15:47:02 GMT
Content-Type: text/javascript;charset=UTF-8
Connection: close
Vary: Accept-Encoding
Strict-Transport-Security: max-age=31556926;
Content-Length: 1532

var SSP = SSP || {};
SSP['labels'] = SSP['labels'] || {};
SSP['labels']['mainmessages'] = SSP['labels']['mainmessages'] || {};
SSP['labels']['mainmessages'] = {"LBL_MESSAGE":"Nachricht","LBL_DATE":"Zeitraum","LBL_CREATE_MESSAGE":"Nachricht anlegen","LBL_SAVE":"Speichern","LBL_CANCEL":"Abbrechen","LBL_DELETE_MESSAGE":"Nachricht l\u00f6schen?","LBL_ARE_YOU_SURE":….

================================================================================================================ 

[b]7. Request[/b]

GET /ssp/js/partnerInformationSurvey.js?v=1513002472 HTTP/1.1
Host: www.solar-monitoring.net
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:63.0) Gecko/20100101 Firefox/63.0
Accept: */*
Accept-Language: de,en-US;q=0.7,en;q=0.3
Accept-Encoding: gzip, deflate
Referer: https://www.solar-monitoring.net/ssp/anlage/anlageninfo_portlet.php?IDAnlage=1147330
DNT: 1
Connection: close
Cookie: PHPSESSID=9l0qbvaofsfis78lvmkkgv9f96

[b]7. Response[/b]

HTTP/1.1 200 OK
Server: nginx
Date: Mon, 05 Nov 2018 15:47:04 GMT
Content-Type: application/javascript
Last-Modified: Mon, 11 Dec 2017 14:27:52 GMT
Connection: close
Vary: Accept-Encoding
ETag: W/"5a2e95e8-6a3"
Expires: Mon, 05 Nov 2018 16:47:04 GMT
Cache-Control: max-age=3600
Strict-Transport-Security: max-age=31556926;
Content-Length: 1699

var partnerInformationSurvey = (function (jQuery, SSP) {
  onLoad2 = function () {
    jQuery.ajax({
      url: '../main/getMessagesForUser.php',
      type: 'POST',
      dataType: 'json',
      success: function (response) {
        var container = jQuery('#partner-messages');
        jQuery.each(response, function (index, value) {


==============================================================================================================

[b]8. Request[/b]

GET /ssp/auswertung_profi/jpgraph/energieproduktion/energie_tag.php?iIdAnlageKey=KKAF3&datum=2018-11-5&typ=tag&teilanlage=&bStart=1 HTTP/1.1
Host: www.solar-monitoring.net
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:63.0) Gecko/20100101 Firefox/63.0
Accept: */*
Accept-Language: de,en-US;q=0.7,en;q=0.3
Accept-Encoding: gzip, deflate
Referer: https://www.solar-monitoring.net/ssp/anlage/anlageninfo_portlet.php?IDAnlage=1147330
DNT: 1
Connection: close
Cookie: PHPSESSID=9l0qbvaofsfis78lvmkkgv9f96

[b]8. Response[/b]

HTTP/1.1 302 Found
Server: nginx
Date: Mon, 05 Nov 2018 15:47:06 GMT
Content-Type: text/html; charset=UTF-8
Connection: close
Location: ../../baukasten/gbPage.php?ajax=1&sDarstellung=graph&sClassKey=LXLXE&sZeitraum=tag&sSprache=de&sAnlagenKey=KKAF3&sJahr=2018&sMonat=11&sTag=05&sSize=start
Strict-Transport-Security: max-age=31556926;
Content-Length: 0

===============================================================================================================

[b]9. Request[/b]

GET /ssp/auswertung_profi/jpgraph/energieproduktion/energie_monat.php?iIdAnlageKey=KKAF3&datum=2018-11-4&typ=monat&var_nr=0&teilanlage=&bStart=1 HTTP/1.1
Host: www.solar-monitoring.net
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:63.0) Gecko/20100101 Firefox/63.0
Accept: */*
Accept-Language: de,en-US;q=0.7,en;q=0.3
Accept-Encoding: gzip, deflate
Referer: https://www.solar-monitoring.net/ssp/anlage/anlageninfo_portlet.php?IDAnlage=1147330
DNT: 1
Connection: close
Cookie: PHPSESSID=9l0qbvaofsfis78lvmkkgv9f96

[b]9. Response[/b]

HTTP/1.1 302 Found
Server: nginx
Date: Mon, 05 Nov 2018 15:47:12 GMT
Content-Type: text/html; charset=UTF-8
Connection: close
Location: ../../baukasten/gbPage.php?ajax=1&sDarstellung=graph&sClassKey=LXLXE&sZeitraum=monat&sSprache=de&sAnlagenKey=AMMF3&sJahr=2018&sMonat=11&sSize=start
Strict-Transport-Security: max-age=31556926;
Content-Length: 0

=================================================================================================================

[b]10. Request[/b]

POST /ssp/main/getMessagesForUser.php HTTP/1.1
Host: www.solar-monitoring.net
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:63.0) Gecko/20100101 Firefox/63.0
Accept: application/json, text/javascript, */*; q=0.01
Accept-Language: de,en-US;q=0.7,en;q=0.3
Accept-Encoding: gzip, deflate
Referer: https://www.solar-monitoring.net/ssp/anlage/anlageninfo_portlet.php?IDAnlage=1147330
X-Requested-With: XMLHttpRequest
DNT: 1
Connection: close
Cookie: PHPSESSID=9l0qbvaofsfis78lvmkkgv9f96
Content-Length: 0

[b]10. Response[/b]

HTTP/1.1 200 OK
Server: nginx
Date: Mon, 05 Nov 2018 15:47:14 GMT
Content-Type: text/html; charset=UTF-8
Connection: close
Vary: Accept-Encoding
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate
Pragma: no-cache
Strict-Transport-Security: max-age=31556926;
Content-Length: 2

[]


Vielleicht fällt jemand noch etwas auf, was mir helfen kann? Ich würde mich freuen.

Vielen Dank und viele Grüße
Marco
« Letzte Änderung: 19 November 2018, 19:54:59 von kilderman »

Offline StefanStrobel

  • Developer
  • Hero Member
  • ****
  • Beiträge: 1038
Antw:HTTPMOD für www.solar-monitoring.net
« Antwort #1 am: 08 November 2018, 22:25:31 »
Hallo Marco,

Dein sid2-Request sollte ja so aussehen, wie Request 3 im Burp-Mitschnitt.
Das tut er aber nicht.
Einerseits sind die Post-Daten anders
UTF-8=%E2%9C%93&login=ANMELDENAME&passwort=GEHEIM&bLoginTried=&bRedirect=1&sRedirect=&sent=1
im Vergleich zu
login=ANMELDENAME&passwort=GEHEIM,

Andererseits scheint mit dem Cookie etwas nicht zu stimmen. Da ist irgendwie ein Zeilenumbruch reingeraten, was im Header stört ...

Zudem scheinen sich die Cookies gar nicht zu ändern. So gesehen könntest Du mal versuchen, sie statisch und ohne Cookie-Handling in den Header zu schreiben.

Gruß
   Stefan

Offline StefanStrobel

  • Developer
  • Hero Member
  • ****
  • Beiträge: 1038
Antw:HTTPMOD für www.solar-monitoring.net
« Antwort #2 am: 09 November 2018, 22:14:32 »
Hallo Marco,

um das von mir vermutete Problem mit den Umbrüchen im Cookie-Wert zu lösen, habe ich eine kleine Änderung am Modul vorgenommen, die weiter ausschließen sollte, dass cookie-Werte vertikal-spaces enthalten.
Probier doch mal die cookies zu löschen / Fhem neu zu starten und mit dem angehängten neuen Modul zu arbeiten.

Gruss
   Stefan

Offline kilderman

  • New Member
  • *
  • Beiträge: 11
Antw:HTTPMOD für www.solar-monitoring.net
« Antwort #3 am: 10 November 2018, 23:00:41 »
Hallo Stefan,

erst einmal vielen herzlichen Dank für deine Unterstützung!

Die vergangenen Abende hatte ich noch lange probiert, deinen Hinweis umzusetzen, die ID direkt aus dem Cookie auszulesen. Als Nicht-Informatiker geht es bei mir aber nur mit trial und error, d. h. die Tage wohl eher nur mit error.  :) Bspw. probierte ich diese Attribute
attr HTTPSolar Ertrag sidIdRegex PHPSESSID=([0-9a-z]+)
attr HTTPSolar Ertrag sid2Header5 Cookie: PHPSESSID=$sid

bekam aber nur immer die Meldung
ExtractSid could not match buffer to IdRegex PHPSESSID=([0-9a-z]+)
So ganz erfolgreich damit wohl nicht.

Zuletzt hatte ich gestern Nacht wohl wieder enableCookie aktiviert und war schlafen gegangen. Gerade eben staunte ich nun nicht schlecht, da es heute den ganzen Tag wieder ging und Werte ausgelesen wurden. Prima, wenn es so bleibt.

Ich probiere nun aber trotzdem deine neue Datei und gebe dann dann Rückmeldung.

Nochmals vielen Dank und viele Grüße
Marco

Offline kilderman

  • New Member
  • *
  • Beiträge: 11
Antw:HTTPMOD für www.solar-monitoring.net
« Antwort #4 am: 10 November 2018, 23:43:19 »
Hallo Stefan,

ich habe nun sowohl deine Datei im Anhang als auch die aus dem Update probiert. Bei beiden funktioniert es leider nach dem Neustart nicht mehr. Das LOG mit der Version aus deinem Anhang ist:

2018.11.10 23:07:53 4: https://www.solar-monitoring.net/ssp/anlage/anlageninfo_portlet.php?IDAnlage=1147330: HTTP response code 302
2018.11.10 23:07:53 5: HttpUtils https://www.solar-monitoring.net/ssp/anlage/anlageninfo_portlet.php?IDAnlage=1147330: Got data, length: 0
2018.11.10 23:07:53 5: HttpUtils response header:
HTTP/1.1 302 Found
Server: nginx
Date: Sat, 10 Nov 2018 22:07:53 GMT
Content-Type: text/html; charset=UTF-8
Transfer-Encoding: chunked
Connection: close
Set-Cookie: PHPSESSID=e2l44ae9do9esfpj8dmh9p83rd; path=/; secure; HttpOnly
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate
Pragma: no-cache
Location: ../Login/session_off.php
Strict-Transport-Security: max-age=31556926;
2018.11.10 23:07:53 4: HTTPSolarErtrag: Read callback: request type was update retry 0, body empty
2018.11.10 23:07:53 5: HTTPSolarErtrag: GetCookies is looking for Cookies
2018.11.10 23:07:53 4: HTTPSolarErtrag: GetCookies parsed Cookie: PHPSESSID Wert e2l44ae9do9esfpj8dmh9p83rd Rest path=/; secure; HttpOnly
2018.11.10 23:07:53 5: HTTPSolarErtrag: ExtractSid called, context reading, num
2018.11.10 23:07:53 4: HTTPSolarErtrag: checking for redirects, code=302, ignore=0
2018.11.10 23:07:53 4: HTTPSolarErtrag: https://www.solar-monitoring.net/ssp/anlage/anlageninfo_portlet.php?IDAnlage=1147330: Redirect (1) to https://www.solar-monitoring.net:443/../Login/session_off.php
2018.11.10 23:07:53 4: HTTPSolarErtrag: AddToQueue adds update, initial queue len: 0, prio
2018.11.10 23:07:53 5: HTTPSolarErtrag: AddToQueue prepends type update to URL https://www.solar-monitoring.net:443/../Login/session_off.php, no data, no headers, retry 0
2018.11.10 23:07:53 5: HTTPSolarErtrag: HandleSendQueue called, qlen = 1
2018.11.10 23:07:53 5: HTTPSolarErtrag: HandleSendQueue - minSendDelay not over, rescheduling
2018.11.10 23:07:54 5: HTTPSolarErtrag: HandleSendQueue called, qlen = 1
2018.11.10 23:07:54 5: HTTPSolarErtrag: HandleSendQueue is using Cookie PHPSESSID with path / and Value e2l44ae9do9esfpj8dmh9p83rd (key PHPSESSID;/, destination path is /../Login/session_off.php)
2018.11.10 23:07:54 5: HTTPSolarErtrag: HandleSendQueue is adding Cookie header: PHPSESSID=e2l44ae9do9esfpj8dmh9p83rd
2018.11.10 23:07:54 4: HTTPSolarErtrag: HandleSendQueue sends request type update to URL https://www.solar-monitoring.net:443/../Login/session_off.php, No Data,
header: Cookie: PHPSESSID=e2l44ae9do9esfpj8dmh9p83rd
timeout 2
2018.11.10 23:07:54 5: HttpUtils url=https://www.solar-monitoring.net:443/../Login/session_off.php
2018.11.10 23:07:54 5: HttpUtils request header:
GET /../Login/session_off.php HTTP/1.1
Host: www.solar-monitoring.net
User-Agent: fhem
Accept-Encoding: gzip,deflate
Connection: Close
Cookie: PHPSESSID=e2l44ae9do9esfpj8dmh9p83rd
Content-Length: 0
Content-Type: application/x-www-form-urlencoded

2018.11.10 23:07:54 4: https://www.solar-monitoring.net:443/../Login/session_off.php: HTTP response code 400
2018.11.10 23:07:54 5: HttpUtils https://www.solar-monitoring.net:443/../Login/session_off.php: Got data, length: 166
2018.11.10 23:07:54 5: HttpUtils response header:
HTTP/1.1 400 Bad Request
Server: nginx
Date: Sat, 10 Nov 2018 22:07:54 GMT
Content-Type: text/html
Content-Length: 166
Connection: close
2018.11.10 23:07:54 4: HTTPSolarErtrag: Read callback: request type was update retry 0,
Body: <html>
<head><title>400 Bad Request</title></head>
<body bgcolor="white">
<center><h1>400 Bad Request</h1></center>
<hr><center>nginx</center>
</body>
</html>

2018.11.10 23:07:54 5: HTTPSolarErtrag: GetCookies is looking for Cookies
2018.11.10 23:07:54 5: HTTPSolarErtrag: ExtractSid called, context reading, num
2018.11.10 23:07:54 4: HTTPSolarErtrag: checking for redirects, code=400, ignore=0
2018.11.10 23:07:54 4: HTTPSolarErtrag: no redirects to handle
2018.11.10 23:07:54 5: HTTPSolarErtrag: CheckAuth is checking buffer with ReAuthRegex Login|400 Bad Request
2018.11.10 23:07:54 4: HTTPSolarErtrag: CheckAuth decided new authentication required
2018.11.10 23:07:54 4: HTTPSolarErtrag: Auth called with Steps: 1 2 3
2018.11.10 23:07:54 4: HTTPSolarErtrag: AddToQueue adds auth3, initial queue len: 0, prio
2018.11.10 23:07:54 5: HTTPSolarErtrag: AddToQueue prepends type auth3 to URL https://www.solar-monitoring.net/ssp/anlage/anlageninfo.php?IDAnlage=1147330, no data, header Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Encoding: gzip, deflate
Accept-Language: de,en-US;q=0.7,en;q=0.3
Cookie: PHPSESSID=$sid; path=/; secure; HttpOnly
DNT: 1
Upgrade-Insecure-Requests: 1, retry 0
2018.11.10 23:07:54 4: HTTPSolarErtrag: AddToQueue adds auth2, initial queue len: 1, prio
2018.11.10 23:07:54 5: HTTPSolarErtrag: AddToQueue prepends type auth2 to URL https://www.solar-monitoring.net/ssp/Login/page3_21.php, data UTF-8=%E2%9C%93&login=ANMELDENAME&passwort=GEHEIM&bLoginTried=&bRedirect=1&sRedirect=&sent=1, header Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Encoding: gzip, deflate
Accept-Language: de,en-US;q=0.7,en;q=0.3
Content-Type: application/x-www-form-urlencoded
Cookie: PHPSESSID=$sid
DNT: 1
Referer: https://www.solar-monitoring.net/ssp/Login/session_off.php
Upgrade-Insecure-Requests: 1, retry 0
2018.11.10 23:07:54 4: HTTPSolarErtrag: AddToQueue adds auth1, initial queue len: 2, prio
2018.11.10 23:07:54 5: HTTPSolarErtrag: AddToQueue prepends type auth1 to URL https://www.solar-monitoring.net/ssp/Login/session_off.php, no data, header Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Encoding: gzip, deflate
Accept-Language: de,en-US;q=0.7,en;q=0.3
Cookie: PHPSESSID=$sid
DNT: 1
Upgrade-Insecure-Requests: 1, retry 0
2018.11.10 23:07:54 5: HTTPSolarErtrag: HandleSendQueue called, qlen = 3
2018.11.10 23:07:54 5: HTTPSolarErtrag: HandleSendQueue - minSendDelay not over, rescheduling
2018.11.10 23:07:54 4: HTTPSolarErtrag: AddToQueue adds update, initial queue len: 3
2018.11.10 23:07:54 5: HTTPSolarErtrag: AddToQueue adds type update to URL https://www.solar-monitoring.net:443/../Login/session_off.php, no data, no headers, retry 1
2018.11.10 23:07:54 5: HTTPSolarErtrag: HandleSendQueue called, qlen = 4
2018.11.10 23:07:54 5: HTTPSolarErtrag: HandleSendQueue - minSendDelay not over, rescheduling
2018.11.10 23:07:54 4: HTTPSolarErtrag: CheckAuth requeued request update after auth, retryCount 0 ...
2018.11.10 23:07:55 5: HTTPSolarErtrag: HandleSendQueue called, qlen = 4
2018.11.10 23:07:55 5: HTTPSolarErtrag: HandleSendQueue is using Cookie PHPSESSID with path / and Value e2l44ae9do9esfpj8dmh9p83rd (key PHPSESSID;/, destination path is /ssp/Login/session_off.php)
2018.11.10 23:07:55 5: HTTPSolarErtrag: HandleSendQueue is adding Cookie header: PHPSESSID=e2l44ae9do9esfpj8dmh9p83rd
2018.11.10 23:07:55 4: HTTPSolarErtrag: HandleSendQueue sends request type auth1 to URL https://www.solar-monitoring.net/ssp/Login/session_off.php, No Data,
header: Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Encoding: gzip, deflate
Accept-Language: de,en-US;q=0.7,en;q=0.3
Cookie: PHPSESSID=$sid
DNT: 1
Upgrade-Insecure-Requests: 1
Cookie: PHPSESSID=e2l44ae9do9esfpj8dmh9p83rd
timeout 2
2018.11.10 23:07:55 5: HttpUtils url=https://www.solar-monitoring.net/ssp/Login/session_off.php
2018.11.10 23:07:56 5: HttpUtils request header:
GET /ssp/Login/session_off.php HTTP/1.1
Host: www.solar-monitoring.net
User-Agent: fhem
Accept-Encoding: gzip,deflate
Connection: Close
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Encoding: gzip, deflate
Accept-Language: de,en-US;q=0.7,en;q=0.3
Cookie: PHPSESSID=$sid
DNT: 1
Upgrade-Insecure-Requests: 1
Cookie: PHPSESSID=e2l44ae9do9esfpj8dmh9p83rd
Content-Length: 0
Content-Type: application/x-www-form-urlencoded

2018.11.10 23:07:56 4: https://www.solar-monitoring.net/ssp/Login/session_off.php: HTTP response code 200
2018.11.10 23:07:56 5: HttpUtils https://www.solar-monitoring.net/ssp/Login/session_off.php: Got data, length: 7186
2018.11.10 23:07:56 5: HttpUtils response header:
HTTP/1.1 200 OK
Server: nginx
Date: Sat, 10 Nov 2018 22:07:56 GMT
Content-Type: text/html; charset=UTF-8
Transfer-Encoding: chunked
Connection: close
Vary: Accept-Encoding
Set-Cookie: mc_lang=de
Strict-Transport-Security: max-age=31556926;
Content-Encoding: gzip
2018.11.10 23:07:56 4: HTTPSolarErtrag: Read callback: request type was auth1 retry 0,
Body:

<!doctype html>
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7" lang=""> <![endif]-->
<!--[if IE 7]>    <html class="no-js lt-ie9 lt-ie8" lang=""> <![endif]-->
<!--[if IE 8]>    <html class="no-js lt-ie9" lang=""> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang=""> <!--<![endif]-->
<head>
    <meta charset="UTF-8">
    <meta name="robots" content="noindex,nofollow,nosnippet">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">

    <title></title>

    <meta name="viewport" content="width=device-width">

    <link rel="stylesheet" type="text/css" href="../css/all/normalize.css?v=1513002467" />

    </body>
</html>
2018.11.10 23:07:56 5: HTTPSolarErtrag: GetCookies is looking for Cookies
2018.11.10 23:07:56 4: HTTPSolarErtrag: GetCookies parsed Cookie: mc_lang Wert de Rest
2018.11.10 23:07:56 5: HTTPSolarErtrag: ExtractSid called, context sid, num 1
2018.11.10 23:07:56 5: HTTPSolarErtrag: ExtractSid could not match buffer to IdRegex PHPSESSID=([0-9a-z]+)
2018.11.10 23:07:56 4: HTTPSolarErtrag: checking for redirects, code=200, ignore=0
2018.11.10 23:07:56 4: HTTPSolarErtrag: no redirects to handle
2018.11.10 23:07:56 5: HTTPSolarErtrag: HandleSendQueue called, qlen = 3
2018.11.10 23:07:56 5: HTTPSolarErtrag: HandleSendQueue is using Cookie PHPSESSID with path / and Value e2l44ae9do9esfpj8dmh9p83rd (key PHPSESSID;/, destination path is /ssp/Login/page3_21.php)
2018.11.10 23:07:56 5: HTTPSolarErtrag: HandleSendQueue is using Cookie mc_lang with path  and Value de (key mc_lang;, destination path is /ssp/Login/page3_21.php)
2018.11.10 23:07:56 5: HTTPSolarErtrag: HandleSendQueue is adding Cookie header: PHPSESSID=e2l44ae9do9esfpj8dmh9p83rd; mc_lang=de
2018.11.10 23:07:56 4: HTTPSolarErtrag: HandleSendQueue sends request type auth2 to URL https://www.solar-monitoring.net/ssp/Login/page3_21.php,
data: UTF-8=%E2%9C%93&login=ANMELDENAME&passwort=GEHEIM&bLoginTried=&bRedirect=1&sRedirect=&sent=1,
header: Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Encoding: gzip, deflate
Accept-Language: de,en-US;q=0.7,en;q=0.3
Content-Type: application/x-www-form-urlencoded
Cookie: PHPSESSID=$sid
DNT: 1
Referer: https://www.solar-monitoring.net/ssp/Login/session_off.php
Upgrade-Insecure-Requests: 1
Cookie: PHPSESSID=e2l44ae9do9esfpj8dmh9p83rd; mc_lang=de
timeout 2
2018.11.10 23:07:56 5: HttpUtils url=https://www.solar-monitoring.net/ssp/Login/page3_21.php
2018.11.10 23:07:57 5: HttpUtils request header:
POST /ssp/Login/page3_21.php HTTP/1.1
Host: www.solar-monitoring.net
User-Agent: fhem
Accept-Encoding: gzip,deflate
Connection: Close
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Encoding: gzip, deflate
Accept-Language: de,en-US;q=0.7,en;q=0.3
Content-Type: application/x-www-form-urlencoded
Cookie: PHPSESSID=$sid
DNT: 1
Referer: https://www.solar-monitoring.net/ssp/Login/session_off.php
Upgrade-Insecure-Requests: 1
Cookie: PHPSESSID=e2l44ae9do9esfpj8dmh9p83rd; mc_lang=de
Content-Length: 93

2018.11.10 23:07:57 4: https://www.solar-monitoring.net/ssp/Login/page3_21.php: HTTP response code 302
2018.11.10 23:07:57 5: HttpUtils https://www.solar-monitoring.net/ssp/Login/page3_21.php: Got data, length: 0
2018.11.10 23:07:57 5: HttpUtils response header:
HTTP/1.1 302 Found
Server: nginx
Date: Sat, 10 Nov 2018 22:07:57 GMT
Content-Type: text/html; charset=UTF-8
Transfer-Encoding: chunked
Connection: close
Set-Cookie: mc_lang=de
Set-Cookie: PHPSESSID=e2l44ae9do9esfpj8dmh9p83rd; path=/; secure; HttpOnly
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate
Pragma: no-cache
Location: ../anlage/anlageninfo.php?IDAnlage=1147330
Strict-Transport-Security: max-age=31556926;
2018.11.10 23:07:57 4: HTTPSolarErtrag: Read callback: request type was auth2 retry 0, body empty
2018.11.10 23:07:57 5: HTTPSolarErtrag: GetCookies is looking for Cookies
2018.11.10 23:07:57 4: HTTPSolarErtrag: GetCookies parsed Cookie: mc_lang Wert de Rest
2018.11.10 23:07:57 4: HTTPSolarErtrag: GetCookies parsed Cookie: PHPSESSID Wert e2l44ae9do9esfpj8dmh9p83rd Rest path=/; secure; HttpOnly
2018.11.10 23:07:57 5: HTTPSolarErtrag: ExtractSid called, context sid, num 2
2018.11.10 23:07:57 4: HTTPSolarErtrag: ExtractSid set sid to e2l44ae9do9esfpj8dmh9p83rd
2018.11.10 23:07:57 4: HTTPSolarErtrag: checking for redirects, code=302, ignore=0
2018.11.10 23:07:57 4: HTTPSolarErtrag: https://www.solar-monitoring.net/ssp/Login/page3_21.php: Redirect (1) to https://www.solar-monitoring.net:443/../anlage/anlageninfo.php?IDAnlage=1147330
2018.11.10 23:07:57 4: HTTPSolarErtrag: AddToQueue adds auth2, initial queue len: 2, prio
2018.11.10 23:07:57 5: HTTPSolarErtrag: AddToQueue prepends type auth2 to URL https://www.solar-monitoring.net:443/../anlage/anlageninfo.php?IDAnlage=1147330, no data, header Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Encoding: gzip, deflate
Accept-Language: de,en-US;q=0.7,en;q=0.3
Content-Type: application/x-www-form-urlencoded
Cookie: PHPSESSID=$sid
DNT: 1
Referer: https://www.solar-monitoring.net/ssp/Login/session_off.php
Upgrade-Insecure-Requests: 1, retry 0
2018.11.10 23:07:57 5: HTTPSolarErtrag: HandleSendQueue called, qlen = 3
2018.11.10 23:07:57 5: HTTPSolarErtrag: HandleSendQueue is using Cookie PHPSESSID with path / and Value e2l44ae9do9esfpj8dmh9p83rd (key PHPSESSID;/, destination path is /../anlage/anlageninfo.php?IDAnlage=1147330)
2018.11.10 23:07:57 5: HTTPSolarErtrag: HandleSendQueue is using Cookie mc_lang with path  and Value de (key mc_lang;, destination path is /../anlage/anlageninfo.php?IDAnlage=1147330)
2018.11.10 23:07:57 5: HTTPSolarErtrag: HandleSendQueue is adding Cookie header: PHPSESSID=e2l44ae9do9esfpj8dmh9p83rd; mc_lang=de
2018.11.10 23:07:57 4: HTTPSolarErtrag: HandleSendQueue sends request type auth2 to URL https://www.solar-monitoring.net:443/../anlage/anlageninfo.php?IDAnlage=1147330, No Data,
header: Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Encoding: gzip, deflate
Accept-Language: de,en-US;q=0.7,en;q=0.3
Content-Type: application/x-www-form-urlencoded
Cookie: PHPSESSID=e2l44ae9do9esfpj8dmh9p83rd
DNT: 1
Referer: https://www.solar-monitoring.net/ssp/Login/session_off.php
Upgrade-Insecure-Requests: 1
Cookie: PHPSESSID=e2l44ae9do9esfpj8dmh9p83rd; mc_lang=de
timeout 2
2018.11.10 23:07:57 5: HttpUtils url=https://www.solar-monitoring.net:443/../anlage/anlageninfo.php?IDAnlage=1147330
2018.11.10 23:07:57 5: HttpUtils request header:
GET /../anlage/anlageninfo.php?IDAnlage=1147330 HTTP/1.1
Host: www.solar-monitoring.net
User-Agent: fhem
Accept-Encoding: gzip,deflate
Connection: Close
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Encoding: gzip, deflate
Accept-Language: de,en-US;q=0.7,en;q=0.3
Content-Type: application/x-www-form-urlencoded
Cookie: PHPSESSID=e2l44ae9do9esfpj8dmh9p83rd
DNT: 1
Referer: https://www.solar-monitoring.net/ssp/Login/session_off.php
Upgrade-Insecure-Requests: 1
Cookie: PHPSESSID=e2l44ae9do9esfpj8dmh9p83rd; mc_lang=de
Content-Length: 0

2018.11.10 23:07:57 4: https://www.solar-monitoring.net:443/../anlage/anlageninfo.php?IDAnlage=1147330: HTTP response code 400
2018.11.10 23:07:57 5: HttpUtils https://www.solar-monitoring.net:443/../anlage/anlageninfo.php?IDAnlage=1147330: Got data, length: 166
2018.11.10 23:07:57 5: HttpUtils response header:
HTTP/1.1 400 Bad Request
Server: nginx
Date: Sat, 10 Nov 2018 22:07:57 GMT
Content-Type: text/html
Content-Length: 166
Connection: close
2018.11.10 23:07:57 4: HTTPSolarErtrag: Read callback: request type was auth2 retry 0,
Body: <html>
<head><title>400 Bad Request</title></head>
<body bgcolor="white">
<center><h1>400 Bad Request</h1></center>
<hr><center>nginx</center>
</body>
</html>

2018.11.10 23:07:57 5: HTTPSolarErtrag: GetCookies is looking for Cookies
2018.11.10 23:07:57 5: HTTPSolarErtrag: ExtractSid called, context sid, num 2
2018.11.10 23:07:57 5: HTTPSolarErtrag: ExtractSid could not match buffer to IdRegex PHPSESSID=([0-9a-z]+)
2018.11.10 23:07:57 4: HTTPSolarErtrag: checking for redirects, code=400, ignore=0
2018.11.10 23:07:57 4: HTTPSolarErtrag: no redirects to handle
2018.11.10 23:07:58 5: HTTPSolarErtrag: HandleSendQueue called, qlen = 2
2018.11.10 23:07:58 5: HTTPSolarErtrag: HandleSendQueue is using Cookie PHPSESSID with path / and Value e2l44ae9do9esfpj8dmh9p83rd (key PHPSESSID;/, destination path is /ssp/anlage/anlageninfo.php?IDAnlage=1147330)
2018.11.10 23:07:58 5: HTTPSolarErtrag: HandleSendQueue is using Cookie mc_lang with path  and Value de (key mc_lang;, destination path is /ssp/anlage/anlageninfo.php?IDAnlage=1147330)
2018.11.10 23:07:58 5: HTTPSolarErtrag: HandleSendQueue is adding Cookie header: PHPSESSID=e2l44ae9do9esfpj8dmh9p83rd; mc_lang=de
2018.11.10 23:07:58 4: HTTPSolarErtrag: HandleSendQueue sends request type auth3 to URL https://www.solar-monitoring.net/ssp/anlage/anlageninfo.php?IDAnlage=1147330, No Data,
header: Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Encoding: gzip, deflate
Accept-Language: de,en-US;q=0.7,en;q=0.3
Cookie: PHPSESSID=e2l44ae9do9esfpj8dmh9p83rd; path=/; secure; HttpOnly
DNT: 1
Upgrade-Insecure-Requests: 1
Cookie: PHPSESSID=e2l44ae9do9esfpj8dmh9p83rd; mc_lang=de
timeout 2
2018.11.10 23:07:58 5: HttpUtils url=https://www.solar-monitoring.net/ssp/anlage/anlageninfo.php?IDAnlage=1147330
2018.11.10 23:07:58 5: HttpUtils request header:
GET /ssp/anlage/anlageninfo.php?IDAnlage=1147330 HTTP/1.1
Host: www.solar-monitoring.net
User-Agent: fhem
Accept-Encoding: gzip,deflate
Connection: Close
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Encoding: gzip, deflate
Accept-Language: de,en-US;q=0.7,en;q=0.3
Cookie: PHPSESSID=e2l44ae9do9esfpj8dmh9p83rd; path=/; secure; HttpOnly
DNT: 1
Upgrade-Insecure-Requests: 1
Cookie: PHPSESSID=e2l44ae9do9esfpj8dmh9p83rd; mc_lang=de
Content-Length: 0
Content-Type: application/x-www-form-urlencoded

2018.11.10 23:07:58 4: https://www.solar-monitoring.net/ssp/anlage/anlageninfo.php?IDAnlage=1147330: HTTP response code 302
2018.11.10 23:07:58 5: HttpUtils https://www.solar-monitoring.net/ssp/anlage/anlageninfo.php?IDAnlage=1147330: Got data, length: 0
2018.11.10 23:07:58 5: HttpUtils response header:
HTTP/1.1 302 Found
Server: nginx
Date: Sat, 10 Nov 2018 22:07:58 GMT
Content-Type: text/html; charset=UTF-8
Transfer-Encoding: chunked
Connection: close
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate
Pragma: no-cache
Location: anlageninfo_portlet.php?IDAnlage=1147330
Strict-Transport-Security: max-age=31556926;
2018.11.10 23:07:58 4: HTTPSolarErtrag: Read callback: request type was auth3 retry 0, body empty
2018.11.10 23:07:58 5: HTTPSolarErtrag: GetCookies is looking for Cookies
2018.11.10 23:07:58 5: HTTPSolarErtrag: ExtractSid called, context sid, num 3
2018.11.10 23:07:58 5: HTTPSolarErtrag: ExtractSid could not match buffer to IdRegex PHPSESSID=([0-9a-z]+)
2018.11.10 23:07:58 4: HTTPSolarErtrag: checking for redirects, code=302, ignore=0
2018.11.10 23:07:58 4: HTTPSolarErtrag: https://www.solar-monitoring.net/ssp/anlage/anlageninfo.php?IDAnlage=1147330: Redirect (1) to https://www.solar-monitoring.net:443/anlageninfo_portlet.php?IDAnlage=1147330
2018.11.10 23:07:58 4: HTTPSolarErtrag: AddToQueue adds auth3, initial queue len: 1, prio
2018.11.10 23:07:58 5: HTTPSolarErtrag: AddToQueue prepends type auth3 to URL https://www.solar-monitoring.net:443/anlageninfo_portlet.php?IDAnlage=1147330, no data, header Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Encoding: gzip, deflate
Accept-Language: de,en-US;q=0.7,en;q=0.3
Cookie: PHPSESSID=$sid; path=/; secure; HttpOnly
DNT: 1
Upgrade-Insecure-Requests: 1, retry 0
2018.11.10 23:07:58 5: HTTPSolarErtrag: HandleSendQueue called, qlen = 2
2018.11.10 23:07:58 5: HTTPSolarErtrag: HandleSendQueue - minSendDelay not over, rescheduling
2018.11.10 23:07:59 5: HTTPSolarErtrag: HandleSendQueue called, qlen = 2
2018.11.10 23:07:59 5: HTTPSolarErtrag: HandleSendQueue is using Cookie PHPSESSID with path / and Value e2l44ae9do9esfpj8dmh9p83rd (key PHPSESSID;/, destination path is /anlageninfo_portlet.php?IDAnlage=1147330)
2018.11.10 23:07:59 5: HTTPSolarErtrag: HandleSendQueue is using Cookie mc_lang with path  and Value de (key mc_lang;, destination path is /anlageninfo_portlet.php?IDAnlage=1147330)
2018.11.10 23:07:59 5: HTTPSolarErtrag: HandleSendQueue is adding Cookie header: PHPSESSID=e2l44ae9do9esfpj8dmh9p83rd; mc_lang=de
2018.11.10 23:07:59 4: HTTPSolarErtrag: HandleSendQueue sends request type auth3 to URL https://www.solar-monitoring.net:443/anlageninfo_portlet.php?IDAnlage=1147330, No Data,
header: Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Encoding: gzip, deflate
Accept-Language: de,en-US;q=0.7,en;q=0.3
Cookie: PHPSESSID=e2l44ae9do9esfpj8dmh9p83rd; path=/; secure; HttpOnly
DNT: 1
Upgrade-Insecure-Requests: 1
Cookie: PHPSESSID=e2l44ae9do9esfpj8dmh9p83rd; mc_lang=de
timeout 2
2018.11.10 23:07:59 5: HttpUtils url=https://www.solar-monitoring.net:443/anlageninfo_portlet.php?IDAnlage=1147330
2018.11.10 23:07:59 5: HttpUtils request header:
GET /anlageninfo_portlet.php?IDAnlage=1147330 HTTP/1.1
Host: www.solar-monitoring.net
User-Agent: fhem
Accept-Encoding: gzip,deflate
Connection: Close
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Encoding: gzip, deflate
Accept-Language: de,en-US;q=0.7,en;q=0.3
Cookie: PHPSESSID=e2l44ae9do9esfpj8dmh9p83rd; path=/; secure; HttpOnly
DNT: 1
Upgrade-Insecure-Requests: 1
Cookie: PHPSESSID=e2l44ae9do9esfpj8dmh9p83rd; mc_lang=de
Content-Length: 0
Content-Type: application/x-www-form-urlencoded

2018.11.10 23:07:59 4: https://www.solar-monitoring.net:443/anlageninfo_portlet.php?IDAnlage=1147330: HTTP response code 404
2018.11.10 23:07:59 5: HttpUtils https://www.solar-monitoring.net:443/anlageninfo_portlet.php?IDAnlage=1147330: Got data, length: 16
2018.11.10 23:07:59 5: HttpUtils response header:
HTTP/1.1 404 Not Found
Server: nginx
Date: Sat, 10 Nov 2018 22:07:59 GMT
Content-Type: text/html; charset=UTF-8
Transfer-Encoding: chunked
Connection: close
Vary: Accept-Encoding
Content-Encoding: gzip
2018.11.10 23:07:59 4: HTTPSolarErtrag: Read callback: request type was auth3 retry 0,
Body: File not found.

2018.11.10 23:07:59 5: HTTPSolarErtrag: GetCookies is looking for Cookies
2018.11.10 23:07:59 5: HTTPSolarErtrag: ExtractSid called, context sid, num 3
2018.11.10 23:07:59 5: HTTPSolarErtrag: ExtractSid could not match buffer to IdRegex PHPSESSID=([0-9a-z]+)
2018.11.10 23:07:59 4: HTTPSolarErtrag: checking for redirects, code=404, ignore=0
2018.11.10 23:07:59 4: HTTPSolarErtrag: no redirects to handle
2018.11.10 23:08:00 5: HTTPSolarErtrag: HandleSendQueue called, qlen = 1
2018.11.10 23:08:00 5: HTTPSolarErtrag: HandleSendQueue is using Cookie PHPSESSID with path / and Value e2l44ae9do9esfpj8dmh9p83rd (key PHPSESSID;/, destination path is /../Login/session_off.php)
2018.11.10 23:08:00 5: HTTPSolarErtrag: HandleSendQueue is using Cookie mc_lang with path  and Value de (key mc_lang;, destination path is /../Login/session_off.php)
2018.11.10 23:08:00 5: HTTPSolarErtrag: HandleSendQueue is adding Cookie header: PHPSESSID=e2l44ae9do9esfpj8dmh9p83rd; mc_lang=de
2018.11.10 23:08:00 4: HTTPSolarErtrag: HandleSendQueue sends request type update to URL https://www.solar-monitoring.net:443/../Login/session_off.php, No Data,
header: Cookie: PHPSESSID=e2l44ae9do9esfpj8dmh9p83rd; mc_lang=de
timeout 2
2018.11.10 23:08:00 5: HttpUtils url=https://www.solar-monitoring.net:443/../Login/session_off.php
2018.11.10 23:08:00 5: HttpUtils request header:
GET /../Login/session_off.php HTTP/1.1
Host: www.solar-monitoring.net
User-Agent: fhem
Accept-Encoding: gzip,deflate
Connection: Close
Cookie: PHPSESSID=e2l44ae9do9esfpj8dmh9p83rd; mc_lang=de
Content-Length: 0
Content-Type: application/x-www-form-urlencoded

2018.11.10 23:08:00 4: https://www.solar-monitoring.net:443/../Login/session_off.php: HTTP response code 400
2018.11.10 23:08:00 5: HttpUtils https://www.solar-monitoring.net:443/../Login/session_off.php: Got data, length: 166
2018.11.10 23:08:00 5: HttpUtils response header:
HTTP/1.1 400 Bad Request
Server: nginx
Date: Sat, 10 Nov 2018 22:08:00 GMT
Content-Type: text/html
Content-Length: 166
Connection: close
2018.11.10 23:08:00 4: HTTPSolarErtrag: Read callback: request type was update retry 1,
Body: <html>
<head><title>400 Bad Request</title></head>
<body bgcolor="white">
<center><h1>400 Bad Request</h1></center>
<hr><center>nginx</center>
</body>
</html>

2018.11.10 23:08:00 5: HTTPSolarErtrag: GetCookies is looking for Cookies
2018.11.10 23:08:00 5: HTTPSolarErtrag: ExtractSid called, context reading, num
2018.11.10 23:08:00 4: HTTPSolarErtrag: checking for redirects, code=400, ignore=0
2018.11.10 23:08:00 4: HTTPSolarErtrag: no redirects to handle
2018.11.10 23:08:00 5: HTTPSolarErtrag: CheckAuth is checking buffer with ReAuthRegex Login|400 Bad Request
2018.11.10 23:08:00 4: HTTPSolarErtrag: CheckAuth decided new authentication required
2018.11.10 23:08:00 4: HTTPSolarErtrag: Authentication still required but no retries left - did last authentication fail?
2018.11.10 23:08:00 5: HTTPSolarErtrag: UpdateReadingList created list of reading.* nums to parse during getUpdate as 01 02 03 04 05
2018.11.10 23:08:00 5: HTTPSolarErtrag: Read starts parsing response to update with defined readings: 01,02,03,04,05
2018.11.10 23:08:00 5: HTTPSolarErtrag: ExtractReading kWhHeute with regex /energie_tag\.php\?.*\n.*\>(\d+[0-9\.]+)/...
2018.11.10 23:08:00 5: HTTPSolarErtrag: ExtractReading kWhHeute did not match
2018.11.10 23:08:00 5: HTTPSolarErtrag: ExtractReading kWhMonat with regex /energie_monat\.php\?.*\n.*\>(\d+[0-9\.]+)/...
2018.11.10 23:08:00 5: HTTPSolarErtrag: ExtractReading kWhMonat did not match
2018.11.10 23:08:00 5: HTTPSolarErtrag: ExtractReading VerguetungGesamt with regex /solarkonto\.jpg.*\n.*\n.*\>(\d+[0-9\.]+)/...
2018.11.10 23:08:00 5: HTTPSolarErtrag: ExtractReading VerguetungGesamt did not match
2018.11.10 23:08:00 5: HTTPSolarErtrag: ExtractReading tCO2Ersparnis with regex /(\d+[0-9\.]+)+.*kg.*CO/...
2018.11.10 23:08:00 5: HTTPSolarErtrag: ExtractReading tCO2Ersparnis did not match
2018.11.10 23:08:00 5: HTTPSolarErtrag: ExtractReading AktuelleAlarme with regex /Alarme.*\n.*(\d+)/...
2018.11.10 23:08:00 5: HTTPSolarErtrag: ExtractReading AktuelleAlarme did not match
2018.11.10 23:08:00 3: HTTPSolarErtrag: Read response to update didn't match any Reading
2018.11.10 23:08:00 5: HTTPSolarErtrag: HandleSendQueue called, qlen = 0

Zur Information könnte ich auch einmal das LOG von heute Vormittag anfügen, wo es einmal ging:
2018.11.10 10:02:04 4: HTTPSolarErtrag: GetUpdate called (update)
2018.11.10 10:02:04 4: HTTPSolarErtrag: update timer modified: will call GetUpdate in 3600.0 seconds at 2018-11-10 11:02:04
2018.11.10 10:02:04 4: HTTPSolarErtrag: AddToQueue adds update, initial queue len: 0
2018.11.10 10:02:04 5: HTTPSolarErtrag: AddToQueue adds type update to URL https://www.solar-monitoring.net/ssp/anlage/anlageninfo_portlet.php?IDAnlage=1147330, no data, no headers, retry 0
2018.11.10 10:02:04 5: HTTPSolarErtrag: HandleSendQueue called, qlen = 1
2018.11.10 10:02:04 5: HTTPSolarErtrag: HandleSendQueue is using Cookie PHPSESSID with path / and Value c77eiavbpvhk8hv6u4bpni4fsr (key PHPSESSID;/, destination path is /ssp/anlage/anlageninfo_portlet.php?IDAnlage=1147330)
2018.11.10 10:02:04 5: HTTPSolarErtrag: HandleSendQueue is using Cookie mc_lang with path  and Value de
 (key mc_lang;, destination path is /ssp/anlage/anlageninfo_portlet.php?IDAnlage=1147330)
2018.11.10 10:02:04 5: HTTPSolarErtrag: HandleSendQueue is adding Cookie header: PHPSESSID=c77eiavbpvhk8hv6u4bpni4fsr; mc_lang=de
2018.11.10 10:02:04 4: HTTPSolarErtrag: HandleSendQueue sends request type update to URL https://www.solar-monitoring.net/ssp/anlage/anlageninfo_portlet.php?IDAnlage=1147330, No Data,
header: Cookie: PHPSESSID=c77eiavbpvhk8hv6u4bpni4fsr; mc_lang=de

timeout 2
2018.11.10 10:02:04 5: HttpUtils url=https://www.solar-monitoring.net/ssp/anlage/anlageninfo_portlet.php?IDAnlage=1147330
2018.11.10 10:02:04 5: HttpUtils request header:
GET /ssp/anlage/anlageninfo_portlet.php?IDAnlage=1147330 HTTP/1.1
Host: www.solar-monitoring.net
User-Agent: fhem
Accept-Encoding: gzip,deflate
Connection: Close
Cookie: PHPSESSID=c77eiavbpvhk8hv6u4bpni4fsr; mc_lang=de

Content-Length: 0
Content-Type: application/x-www-form-urlencoded

2018.11.10 10:02:04 4: https://www.solar-monitoring.net/ssp/anlage/anlageninfo_portlet.php?IDAnlage=1147330: HTTP response code 200
2018.11.10 10:02:04 5: HttpUtils https://www.solar-monitoring.net/ssp/anlage/anlageninfo_portlet.php?IDAnlage=1147330: Got data, length: 26062
2018.11.10 10:02:04 5: HttpUtils response header:
HTTP/1.1 200 OK
Server: nginx
Date: Sat, 10 Nov 2018 09:02:04 GMT
Content-Type: text/html; charset=UTF-8
Transfer-Encoding: chunked
Connection: close
Vary: Accept-Encoding
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate
Pragma: no-cache
Strict-Transport-Security: max-age=31556926;
Content-Encoding: gzip
2018.11.10 10:02:04 4: HTTPSolarErtrag: Read callback: request type was update retry 0,
Body:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
        "http://www.w3.org/TR/html4/loose.dtd">
<html lang="de">
<head>
    <title>IBC Solar AG</title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta name="robots" content="noindex, nofollow">
    <link rel="stylesheet" type="text/css" href="../css/all/normalize.css?v=1513002467" />
    <link rel="stylesheet" type="text/css" href="../vendor/bower_components/jquery-ui/themes/base/minified/jquery-ui.min.css?v=1513002472" />
    <link rel="stylesheet" type="text/css" href="../css/all/jquery-ui-customizations.css?v=1513002467" />
    <link rel="stylesheet" type="text/css" href="../css/all/standard.css?v=1531822502" />
    <link rel="stylesheet" type="text/css" href="../vendor/bower_components/jqueryui-timepicker-addon/dist/jquery-ui-timepicker-addon.min.css?v=1513002472" />
            <link rel="stylesheet" type="text/css" href="../css/13/formate.css?v=1513002467" />
            <script type="text/javascript" src="../js/jquery.js?v=1513002472"></script>
<script type="text/javascript" src="../js/jquery/mc.js?v=1513002472"></script>

    <script type="text/javascript">


</body>
</html>
2018.11.10 10:02:04 5: HTTPSolarErtrag: GetCookies is looking for Cookies
2018.11.10 10:02:04 5: HTTPSolarErtrag: ExtractSid called, context reading, num
2018.11.10 10:02:04 4: HTTPSolarErtrag: checking for redirects, code=200, ignore=0
2018.11.10 10:02:04 4: HTTPSolarErtrag: no redirects to handle
2018.11.10 10:02:04 5: HTTPSolarErtrag: CheckAuth is checking buffer with ReAuthRegex Login|400 Bad Request
2018.11.10 10:02:04 4: HTTPSolarErtrag: CheckAuth decided new authentication required
2018.11.10 10:02:04 4: HTTPSolarErtrag: Auth called with Steps: 1 2 3
2018.11.10 10:02:04 4: HTTPSolarErtrag: AddToQueue adds auth3, initial queue len: 0, prio
2018.11.10 10:02:04 5: HTTPSolarErtrag: AddToQueue prepends type auth3 to URL https://www.solar-monitoring.net/ssp/anlage/anlageninfo.php?IDAnlage=1147330, no data, header Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Encoding: gzip, deflate
Accept-Language: de,en-US;q=0.7,en;q=0.3
Cookie: PHPSESSID=$sid; path=/; secure; HttpOnly
DNT: 1
Upgrade-Insecure-Requests: 1, retry 0
2018.11.10 10:02:04 4: HTTPSolarErtrag: AddToQueue adds auth2, initial queue len: 1, prio
2018.11.10 10:02:04 5: HTTPSolarErtrag: AddToQueue prepends type auth2 to URL https://www.solar-monitoring.net/ssp/Login/page3_21.php, data UTF-8=%E2%9C%93&login=ANMELDENAME&passwort=GEHEIM&bLoginTried=&bRedirect=1&sRedirect=&sent=1, header Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Encoding: gzip, deflate
Accept-Language: de,en-US;q=0.7,en;q=0.3
Content-Type: application/x-www-form-urlencoded
Cookie: PHPSESSID=$sid
DNT: 1
Referer: https://www.solar-monitoring.net/ssp/Login/session_off.php
Upgrade-Insecure-Requests: 1, retry 0
2018.11.10 10:02:04 4: HTTPSolarErtrag: AddToQueue adds auth1, initial queue len: 2, prio
2018.11.10 10:02:04 5: HTTPSolarErtrag: AddToQueue prepends type auth1 to URL https://www.solar-monitoring.net/ssp/Login/session_off.php, no data, header Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Encoding: gzip, deflate
Accept-Language: de,en-US;q=0.7,en;q=0.3
Cookie: PHPSESSID=$sid
DNT: 1
Upgrade-Insecure-Requests: 1, retry 0
2018.11.10 10:02:04 5: HTTPSolarErtrag: HandleSendQueue called, qlen = 3
2018.11.10 10:02:04 5: HTTPSolarErtrag: HandleSendQueue is using Cookie PHPSESSID with path / and Value c77eiavbpvhk8hv6u4bpni4fsr (key PHPSESSID;/, destination path is /ssp/Login/session_off.php)
2018.11.10 10:02:04 5: HTTPSolarErtrag: HandleSendQueue is using Cookie mc_lang with path  and Value de
 (key mc_lang;, destination path is /ssp/Login/session_off.php)
2018.11.10 10:02:04 5: HTTPSolarErtrag: HandleSendQueue is adding Cookie header: PHPSESSID=c77eiavbpvhk8hv6u4bpni4fsr; mc_lang=de
2018.11.10 10:02:04 4: HTTPSolarErtrag: HandleSendQueue sends request type auth1 to URL https://www.solar-monitoring.net/ssp/Login/session_off.php, No Data,
header: Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Encoding: gzip, deflate
Accept-Language: de,en-US;q=0.7,en;q=0.3
Cookie: PHPSESSID=c77eiavbpvhk8hv6u4bpni4fsr
DNT: 1
Upgrade-Insecure-Requests: 1
Cookie: PHPSESSID=c77eiavbpvhk8hv6u4bpni4fsr; mc_lang=de

timeout 2
2018.11.10 10:02:04 5: HttpUtils url=https://www.solar-monitoring.net/ssp/Login/session_off.php
2018.11.10 10:02:04 4: HTTPSolarErtrag: AddToQueue adds update, initial queue len: 2
2018.11.10 10:02:04 5: HTTPSolarErtrag: AddToQueue adds type update to URL https://www.solar-monitoring.net/ssp/anlage/anlageninfo_portlet.php?IDAnlage=1147330, no data, no headers, retry 1
2018.11.10 10:02:04 5: HTTPSolarErtrag: HandleSendQueue called, qlen = 3
2018.11.10 10:02:04 5: HTTPSolarErtrag: HandleSendQueue - still waiting for reply to last request, delay sending from queue
2018.11.10 10:02:04 4: HTTPSolarErtrag: CheckAuth requeued request update after auth, retryCount 0 ...
2018.11.10 10:02:04 5: HttpUtils request header:
GET /ssp/Login/session_off.php HTTP/1.1
Host: www.solar-monitoring.net
User-Agent: fhem
Accept-Encoding: gzip,deflate
Connection: Close
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Encoding: gzip, deflate
Accept-Language: de,en-US;q=0.7,en;q=0.3
Cookie: PHPSESSID=c77eiavbpvhk8hv6u4bpni4fsr
DNT: 1
Upgrade-Insecure-Requests: 1
Cookie: PHPSESSID=c77eiavbpvhk8hv6u4bpni4fsr; mc_lang=de

Content-Length: 0
Content-Type: application/x-www-form-urlencoded

2018.11.10 10:02:04 4: https://www.solar-monitoring.net/ssp/Login/session_off.php: HTTP response code 200
2018.11.10 10:02:04 5: HttpUtils https://www.solar-monitoring.net/ssp/Login/session_off.php: Got data, length: 7186
2018.11.10 10:02:04 5: HttpUtils response header:
HTTP/1.1 200 OK
Server: nginx
Date: Sat, 10 Nov 2018 09:02:04 GMT
Content-Type: text/html; charset=UTF-8
Transfer-Encoding: chunked
Connection: close
Vary: Accept-Encoding
Set-Cookie: mc_lang=de
Strict-Transport-Security: max-age=31556926;
Content-Encoding: gzip
2018.11.10 10:02:04 4: HTTPSolarErtrag: Read callback: request type was auth1 retry 0,
Body:

<!doctype html>
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7" lang=""> <![endif]-->
<!--[if IE 7]>    <html class="no-js lt-ie9 lt-ie8" lang=""> <![endif]-->
<!--[if IE 8]>    <html class="no-js lt-ie9" lang=""> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang=""> <!--<![endif]-->
<head>
    <meta charset="UTF-8">
    <meta name="robots" content="noindex,nofollow,nosnippet">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">

    <title></title>

    <meta name="viewport" content="width=device-width">

    <link rel="stylesheet" type="text/css" href="../css/all/normalize.css?v=1513002467" />

        </script>
    </body>
</html>
2018.11.10 10:02:04 5: HTTPSolarErtrag: GetCookies is looking for Cookies
2018.11.10 10:02:04 4: HTTPSolarErtrag: GetCookies parsed Cookie: mc_lang Wert de
 Rest
2018.11.10 10:02:04 5: HTTPSolarErtrag: ExtractSid called, context sid, num 1
2018.11.10 10:02:04 5: HTTPSolarErtrag: ExtractSid could not match buffer to IdRegex PHPSESSID=([0-9a-z]+)
2018.11.10 10:02:04 4: HTTPSolarErtrag: checking for redirects, code=200, ignore=0
2018.11.10 10:02:04 4: HTTPSolarErtrag: no redirects to handle
2018.11.10 10:02:05 5: HTTPSolarErtrag: HandleSendQueue called, qlen = 3
2018.11.10 10:02:05 5: HTTPSolarErtrag: HandleSendQueue is using Cookie PHPSESSID with path / and Value c77eiavbpvhk8hv6u4bpni4fsr (key PHPSESSID;/, destination path is /ssp/Login/page3_21.php)
2018.11.10 10:02:05 5: HTTPSolarErtrag: HandleSendQueue is using Cookie mc_lang with path  and Value de
 (key mc_lang;, destination path is /ssp/Login/page3_21.php)
2018.11.10 10:02:05 5: HTTPSolarErtrag: HandleSendQueue is adding Cookie header: PHPSESSID=c77eiavbpvhk8hv6u4bpni4fsr; mc_lang=de
2018.11.10 10:02:05 4: HTTPSolarErtrag: HandleSendQueue sends request type auth2 to URL https://www.solar-monitoring.net/ssp/Login/page3_21.php,
data: UTF-8=%E2%9C%93&login=ANMELDENAME&passwort=GEHEIM&bLoginTried=&bRedirect=1&sRedirect=&sent=1,
header: Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Encoding: gzip, deflate
Accept-Language: de,en-US;q=0.7,en;q=0.3
Content-Type: application/x-www-form-urlencoded
Cookie: PHPSESSID=c77eiavbpvhk8hv6u4bpni4fsr
DNT: 1
Referer: https://www.solar-monitoring.net/ssp/Login/session_off.php
Upgrade-Insecure-Requests: 1
Cookie: PHPSESSID=c77eiavbpvhk8hv6u4bpni4fsr; mc_lang=de

timeout 2
2018.11.10 10:02:05 5: HttpUtils url=https://www.solar-monitoring.net/ssp/Login/page3_21.php
2018.11.10 10:02:05 5: HttpUtils request header:
POST /ssp/Login/page3_21.php HTTP/1.1
Host: www.solar-monitoring.net
User-Agent: fhem
Accept-Encoding: gzip,deflate
Connection: Close
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Encoding: gzip, deflate
Accept-Language: de,en-US;q=0.7,en;q=0.3
Content-Type: application/x-www-form-urlencoded
Cookie: PHPSESSID=c77eiavbpvhk8hv6u4bpni4fsr
DNT: 1
Referer: https://www.solar-monitoring.net/ssp/Login/session_off.php
Upgrade-Insecure-Requests: 1
Cookie: PHPSESSID=c77eiavbpvhk8hv6u4bpni4fsr; mc_lang=de

Content-Length: 93

2018.11.10 10:02:05 4: https://www.solar-monitoring.net/ssp/Login/page3_21.php: HTTP response code 302
2018.11.10 10:02:05 5: HttpUtils https://www.solar-monitoring.net/ssp/Login/page3_21.php: Got data, length: 0
2018.11.10 10:02:05 5: HttpUtils response header:
HTTP/1.1 302 Found
Server: nginx
Date: Sat, 10 Nov 2018 09:02:05 GMT
Content-Type: text/html; charset=UTF-8
Transfer-Encoding: chunked
Connection: close
Set-Cookie: mc_lang=de
Set-Cookie: PHPSESSID=c77eiavbpvhk8hv6u4bpni4fsr; path=/; secure; HttpOnly
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate
Pragma: no-cache
Location: ../anlage/anlageninfo.php?IDAnlage=1147330
Strict-Transport-Security: max-age=31556926;
2018.11.10 10:02:05 4: HTTPSolarErtrag: Read callback: request type was auth2 retry 0, body empty
2018.11.10 10:02:05 5: HTTPSolarErtrag: GetCookies is looking for Cookies
2018.11.10 10:02:05 4: HTTPSolarErtrag: GetCookies parsed Cookie: mc_lang Wert de
 Rest
2018.11.10 10:02:05 4: HTTPSolarErtrag: GetCookies parsed Cookie: PHPSESSID Wert c77eiavbpvhk8hv6u4bpni4fsr Rest path=/; secure; HttpOnly
2018.11.10 10:02:05 5: HTTPSolarErtrag: ExtractSid called, context sid, num 2
2018.11.10 10:02:05 4: HTTPSolarErtrag: ExtractSid set sid to c77eiavbpvhk8hv6u4bpni4fsr
2018.11.10 10:02:05 4: HTTPSolarErtrag: checking for redirects, code=302, ignore=0
2018.11.10 10:02:05 4: HTTPSolarErtrag: https://www.solar-monitoring.net/ssp/Login/page3_21.php: Redirect (1) to https://www.solar-monitoring.net:443/../anlage/anlageninfo.php?IDAnlage=1147330
2018.11.10 10:02:05 4: HTTPSolarErtrag: AddToQueue adds auth2, initial queue len: 2, prio
2018.11.10 10:02:05 5: HTTPSolarErtrag: AddToQueue prepends type auth2 to URL https://www.solar-monitoring.net:443/../anlage/anlageninfo.php?IDAnlage=1147330, no data, header Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Encoding: gzip, deflate
Accept-Language: de,en-US;q=0.7,en;q=0.3
Content-Type: application/x-www-form-urlencoded
Cookie: PHPSESSID=$sid
DNT: 1
Referer: https://www.solar-monitoring.net/ssp/Login/session_off.php
Upgrade-Insecure-Requests: 1, retry 0
2018.11.10 10:02:05 5: HTTPSolarErtrag: HandleSendQueue called, qlen = 3
2018.11.10 10:02:05 5: HTTPSolarErtrag: HandleSendQueue is using Cookie PHPSESSID with path / and Value c77eiavbpvhk8hv6u4bpni4fsr (key PHPSESSID;/, destination path is /../anlage/anlageninfo.php?IDAnlage=1147330)
2018.11.10 10:02:05 5: HTTPSolarErtrag: HandleSendQueue is using Cookie mc_lang with path  and Value de
 (key mc_lang;, destination path is /../anlage/anlageninfo.php?IDAnlage=1147330)
2018.11.10 10:02:05 5: HTTPSolarErtrag: HandleSendQueue is adding Cookie header: PHPSESSID=c77eiavbpvhk8hv6u4bpni4fsr; mc_lang=de
2018.11.10 10:02:05 4: HTTPSolarErtrag: HandleSendQueue sends request type auth2 to URL https://www.solar-monitoring.net:443/../anlage/anlageninfo.php?IDAnlage=1147330, No Data,
header: Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Encoding: gzip, deflate
Accept-Language: de,en-US;q=0.7,en;q=0.3
Content-Type: application/x-www-form-urlencoded
Cookie: PHPSESSID=c77eiavbpvhk8hv6u4bpni4fsr
DNT: 1
Referer: https://www.solar-monitoring.net/ssp/Login/session_off.php
Upgrade-Insecure-Requests: 1
Cookie: PHPSESSID=c77eiavbpvhk8hv6u4bpni4fsr; mc_lang=de

timeout 2
2018.11.10 10:02:05 5: HttpUtils url=https://www.solar-monitoring.net:443/../anlage/anlageninfo.php?IDAnlage=1147330
2018.11.10 10:02:06 5: HttpUtils request header:
GET /../anlage/anlageninfo.php?IDAnlage=1147330 HTTP/1.1
Host: www.solar-monitoring.net
User-Agent: fhem
Accept-Encoding: gzip,deflate
Connection: Close
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Encoding: gzip, deflate
Accept-Language: de,en-US;q=0.7,en;q=0.3
Content-Type: application/x-www-form-urlencoded
Cookie: PHPSESSID=c77eiavbpvhk8hv6u4bpni4fsr
DNT: 1
Referer: https://www.solar-monitoring.net/ssp/Login/session_off.php
Upgrade-Insecure-Requests: 1
Cookie: PHPSESSID=c77eiavbpvhk8hv6u4bpni4fsr; mc_lang=de

Content-Length: 0

2018.11.10 10:02:06 4: https://www.solar-monitoring.net:443/../anlage/anlageninfo.php?IDAnlage=1147330: HTTP response code 400
2018.11.10 10:02:06 5: HttpUtils https://www.solar-monitoring.net:443/../anlage/anlageninfo.php?IDAnlage=1147330: Got data, length: 166
2018.11.10 10:02:06 5: HttpUtils response header:
HTTP/1.1 400 Bad Request
Server: nginx
Date: Sat, 10 Nov 2018 09:02:06 GMT
Content-Type: text/html
Content-Length: 166
Connection: close
2018.11.10 10:02:06 4: HTTPSolarErtrag: Read callback: request type was auth2 retry 0,
Body: <html>
<head><title>400 Bad Request</title></head>
<body bgcolor="white">
<center><h1>400 Bad Request</h1></center>
<hr><center>nginx</center>
</body>
</html>

2018.11.10 10:02:06 5: HTTPSolarErtrag: GetCookies is looking for Cookies
2018.11.10 10:02:06 5: HTTPSolarErtrag: ExtractSid called, context sid, num 2
2018.11.10 10:02:06 5: HTTPSolarErtrag: ExtractSid could not match buffer to IdRegex PHPSESSID=([0-9a-z]+)
2018.11.10 10:02:06 4: HTTPSolarErtrag: checking for redirects, code=400, ignore=0
2018.11.10 10:02:06 4: HTTPSolarErtrag: no redirects to handle
2018.11.10 10:02:06 5: HTTPSolarErtrag: HandleSendQueue called, qlen = 2
2018.11.10 10:02:06 5: HTTPSolarErtrag: HandleSendQueue is using Cookie PHPSESSID with path / and Value c77eiavbpvhk8hv6u4bpni4fsr (key PHPSESSID;/, destination path is /ssp/anlage/anlageninfo.php?IDAnlage=1147330)
2018.11.10 10:02:06 5: HTTPSolarErtrag: HandleSendQueue is using Cookie mc_lang with path  and Value de
 (key mc_lang;, destination path is /ssp/anlage/anlageninfo.php?IDAnlage=1147330)
2018.11.10 10:02:06 5: HTTPSolarErtrag: HandleSendQueue is adding Cookie header: PHPSESSID=c77eiavbpvhk8hv6u4bpni4fsr; mc_lang=de
2018.11.10 10:02:06 4: HTTPSolarErtrag: HandleSendQueue sends request type auth3 to URL https://www.solar-monitoring.net/ssp/anlage/anlageninfo.php?IDAnlage=1147330, No Data,
header: Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Encoding: gzip, deflate
Accept-Language: de,en-US;q=0.7,en;q=0.3
Cookie: PHPSESSID=c77eiavbpvhk8hv6u4bpni4fsr; path=/; secure; HttpOnly
DNT: 1
Upgrade-Insecure-Requests: 1
Cookie: PHPSESSID=c77eiavbpvhk8hv6u4bpni4fsr; mc_lang=de

timeout 2
2018.11.10 10:02:06 5: HttpUtils url=https://www.solar-monitoring.net/ssp/anlage/anlageninfo.php?IDAnlage=1147330
2018.11.10 10:02:07 5: HttpUtils request header:
GET /ssp/anlage/anlageninfo.php?IDAnlage=1147330 HTTP/1.1
Host: www.solar-monitoring.net
User-Agent: fhem
Accept-Encoding: gzip,deflate
Connection: Close
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Encoding: gzip, deflate
Accept-Language: de,en-US;q=0.7,en;q=0.3
Cookie: PHPSESSID=c77eiavbpvhk8hv6u4bpni4fsr; path=/; secure; HttpOnly
DNT: 1
Upgrade-Insecure-Requests: 1
Cookie: PHPSESSID=c77eiavbpvhk8hv6u4bpni4fsr; mc_lang=de

Content-Length: 0
Content-Type: application/x-www-form-urlencoded

2018.11.10 10:02:07 4: https://www.solar-monitoring.net/ssp/anlage/anlageninfo.php?IDAnlage=1147330: HTTP response code 302
2018.11.10 10:02:07 5: HttpUtils https://www.solar-monitoring.net/ssp/anlage/anlageninfo.php?IDAnlage=1147330: Got data, length: 0
2018.11.10 10:02:07 5: HttpUtils response header:
HTTP/1.1 302 Found
Server: nginx
Date: Sat, 10 Nov 2018 09:02:07 GMT
Content-Type: text/html; charset=UTF-8
Transfer-Encoding: chunked
Connection: close
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate
Pragma: no-cache
Location: anlageninfo_portlet.php?IDAnlage=1147330
Strict-Transport-Security: max-age=31556926;
2018.11.10 10:02:07 4: HTTPSolarErtrag: Read callback: request type was auth3 retry 0, body empty
2018.11.10 10:02:07 5: HTTPSolarErtrag: GetCookies is looking for Cookies
2018.11.10 10:02:07 5: HTTPSolarErtrag: ExtractSid called, context sid, num 3
2018.11.10 10:02:07 5: HTTPSolarErtrag: ExtractSid could not match buffer to IdRegex PHPSESSID=([0-9a-z]+)
2018.11.10 10:02:07 4: HTTPSolarErtrag: checking for redirects, code=302, ignore=0
2018.11.10 10:02:07 4: HTTPSolarErtrag: https://www.solar-monitoring.net/ssp/anlage/anlageninfo.php?IDAnlage=1147330: Redirect (1) to https://www.solar-monitoring.net:443/anlageninfo_portlet.php?IDAnlage=1147330
2018.11.10 10:02:07 4: HTTPSolarErtrag: AddToQueue adds auth3, initial queue len: 1, prio
2018.11.10 10:02:07 5: HTTPSolarErtrag: AddToQueue prepends type auth3 to URL https://www.solar-monitoring.net:443/anlageninfo_portlet.php?IDAnlage=1147330, no data, header Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Encoding: gzip, deflate
Accept-Language: de,en-US;q=0.7,en;q=0.3
Cookie: PHPSESSID=$sid; path=/; secure; HttpOnly
DNT: 1
Upgrade-Insecure-Requests: 1, retry 0
2018.11.10 10:02:07 5: HTTPSolarErtrag: HandleSendQueue called, qlen = 2
2018.11.10 10:02:07 5: HTTPSolarErtrag: HandleSendQueue - minSendDelay not over, rescheduling
2018.11.10 10:02:08 5: HTTPSolarErtrag: HandleSendQueue called, qlen = 2
2018.11.10 10:02:08 5: HTTPSolarErtrag: HandleSendQueue is using Cookie PHPSESSID with path / and Value c77eiavbpvhk8hv6u4bpni4fsr (key PHPSESSID;/, destination path is /anlageninfo_portlet.php?IDAnlage=1147330)
2018.11.10 10:02:08 5: HTTPSolarErtrag: HandleSendQueue is using Cookie mc_lang with path  and Value de
 (key mc_lang;, destination path is /anlageninfo_portlet.php?IDAnlage=1147330)
2018.11.10 10:02:08 5: HTTPSolarErtrag: HandleSendQueue is adding Cookie header: PHPSESSID=c77eiavbpvhk8hv6u4bpni4fsr; mc_lang=de
2018.11.10 10:02:08 4: HTTPSolarErtrag: HandleSendQueue sends request type auth3 to URL https://www.solar-monitoring.net:443/anlageninfo_portlet.php?IDAnlage=1147330, No Data,
header: Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Encoding: gzip, deflate
Accept-Language: de,en-US;q=0.7,en;q=0.3
Cookie: PHPSESSID=c77eiavbpvhk8hv6u4bpni4fsr; path=/; secure; HttpOnly
DNT: 1
Upgrade-Insecure-Requests: 1
Cookie: PHPSESSID=c77eiavbpvhk8hv6u4bpni4fsr; mc_lang=de

timeout 2
2018.11.10 10:02:08 5: HttpUtils url=https://www.solar-monitoring.net:443/anlageninfo_portlet.php?IDAnlage=1147330
2018.11.10 10:02:08 5: HttpUtils request header:
GET /anlageninfo_portlet.php?IDAnlage=1147330 HTTP/1.1
Host: www.solar-monitoring.net
User-Agent: fhem
Accept-Encoding: gzip,deflate
Connection: Close
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Encoding: gzip, deflate
Accept-Language: de,en-US;q=0.7,en;q=0.3
Cookie: PHPSESSID=c77eiavbpvhk8hv6u4bpni4fsr; path=/; secure; HttpOnly
DNT: 1
Upgrade-Insecure-Requests: 1
Cookie: PHPSESSID=c77eiavbpvhk8hv6u4bpni4fsr; mc_lang=de

Content-Length: 0
Content-Type: application/x-www-form-urlencoded

2018.11.10 10:02:08 4: https://www.solar-monitoring.net:443/anlageninfo_portlet.php?IDAnlage=1147330: HTTP response code 404
2018.11.10 10:02:08 5: HttpUtils https://www.solar-monitoring.net:443/anlageninfo_portlet.php?IDAnlage=1147330: Got data, length: 16
2018.11.10 10:02:08 5: HttpUtils response header:
HTTP/1.1 404 Not Found
Server: nginx
Date: Sat, 10 Nov 2018 09:02:08 GMT
Content-Type: text/html; charset=UTF-8
Transfer-Encoding: chunked
Connection: close
Vary: Accept-Encoding
Content-Encoding: gzip
2018.11.10 10:02:08 4: HTTPSolarErtrag: Read callback: request type was auth3 retry 0,
Body: File not found.

2018.11.10 10:02:08 5: HTTPSolarErtrag: GetCookies is looking for Cookies
2018.11.10 10:02:08 5: HTTPSolarErtrag: ExtractSid called, context sid, num 3
2018.11.10 10:02:08 5: HTTPSolarErtrag: ExtractSid could not match buffer to IdRegex PHPSESSID=([0-9a-z]+)
2018.11.10 10:02:08 4: HTTPSolarErtrag: checking for redirects, code=404, ignore=0
2018.11.10 10:02:08 4: HTTPSolarErtrag: no redirects to handle
2018.11.10 10:02:09 5: HTTPSolarErtrag: HandleSendQueue called, qlen = 1
2018.11.10 10:02:09 5: HTTPSolarErtrag: HandleSendQueue is using Cookie PHPSESSID with path / and Value c77eiavbpvhk8hv6u4bpni4fsr (key PHPSESSID;/, destination path is /ssp/anlage/anlageninfo_portlet.php?IDAnlage=1147330)
2018.11.10 10:02:09 5: HTTPSolarErtrag: HandleSendQueue is using Cookie mc_lang with path  and Value de
 (key mc_lang;, destination path is /ssp/anlage/anlageninfo_portlet.php?IDAnlage=1147330)
2018.11.10 10:02:09 5: HTTPSolarErtrag: HandleSendQueue is adding Cookie header: PHPSESSID=c77eiavbpvhk8hv6u4bpni4fsr; mc_lang=de
2018.11.10 10:02:09 4: HTTPSolarErtrag: HandleSendQueue sends request type update to URL https://www.solar-monitoring.net/ssp/anlage/anlageninfo_portlet.php?IDAnlage=1147330, No Data,
header: Cookie: PHPSESSID=c77eiavbpvhk8hv6u4bpni4fsr; mc_lang=de

timeout 2
2018.11.10 10:02:09 5: HttpUtils url=https://www.solar-monitoring.net/ssp/anlage/anlageninfo_portlet.php?IDAnlage=1147330
2018.11.10 10:02:09 5: HttpUtils request header:
GET /ssp/anlage/anlageninfo_portlet.php?IDAnlage=1147330 HTTP/1.1
Host: www.solar-monitoring.net
User-Agent: fhem
Accept-Encoding: gzip,deflate
Connection: Close
Cookie: PHPSESSID=c77eiavbpvhk8hv6u4bpni4fsr; mc_lang=de

Content-Length: 0
Content-Type: application/x-www-form-urlencoded

2018.11.10 10:02:09 4: https://www.solar-monitoring.net/ssp/anlage/anlageninfo_portlet.php?IDAnlage=1147330: HTTP response code 200
2018.11.10 10:02:09 5: HttpUtils https://www.solar-monitoring.net/ssp/anlage/anlageninfo_portlet.php?IDAnlage=1147330: Got data, length: 26062
2018.11.10 10:02:09 5: HttpUtils response header:
HTTP/1.1 200 OK
Server: nginx
Date: Sat, 10 Nov 2018 09:02:09 GMT
Content-Type: text/html; charset=UTF-8
Transfer-Encoding: chunked
Connection: close
Vary: Accept-Encoding
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate
Pragma: no-cache
Strict-Transport-Security: max-age=31556926;
Content-Encoding: gzip
2018.11.10 10:02:09 4: HTTPSolarErtrag: Read callback: request type was update retry 1,
Body:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
        "http://www.w3.org/TR/html4/loose.dtd">
<html lang="de">
<head>
    <title>IBC Solar AG</title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta name="robots" content="noindex, nofollow">
    <link rel="stylesheet" type="text/css" href="../css/all/normalize.css?v=1513002467" />



</body>
</html>
2018.11.10 10:02:09 5: HTTPSolarErtrag: GetCookies is looking for Cookies
2018.11.10 10:02:09 5: HTTPSolarErtrag: ExtractSid called, context reading, num
2018.11.10 10:02:09 4: HTTPSolarErtrag: checking for redirects, code=200, ignore=0
2018.11.10 10:02:09 4: HTTPSolarErtrag: no redirects to handle
2018.11.10 10:02:09 5: HTTPSolarErtrag: CheckAuth is checking buffer with ReAuthRegex Login|400 Bad Request
2018.11.10 10:02:09 4: HTTPSolarErtrag: CheckAuth decided new authentication required
2018.11.10 10:02:09 4: HTTPSolarErtrag: Authentication still required but no retries left - did last authentication fail?
2018.11.10 10:02:09 5: HTTPSolarErtrag: Read starts parsing response to update with defined readings: 01,02,03,04,05
2018.11.10 10:02:09 5: HTTPSolarErtrag: ExtractReading kWhHeute with regex /energie_tag\.php\?.*\n.*\>(\d+[0-9\.]+)/...
2018.11.10 10:02:09 5: HTTPSolarErtrag: 1 capture group(s), matchlist = 47
2018.11.10 10:02:09 5: HTTPSolarErtrag: FormatReading changed value with Expr $val =~ s/[^0-9]+//gs; $val; from 1 to 1
2018.11.10 10:02:09 4: HTTPSolarErtrag: ExtractReading for reading01-1 sets kWhHeute to 1
2018.11.10 10:02:09 5: HTTPSolarErtrag: ExtractReading kWhMonat with regex /energie_monat\.php\?.*\n.*\>(\d+[0-9\.]+)/...
2018.11.10 10:02:09 5: HTTPSolarErtrag: 1 capture group(s), matchlist = 43
2018.11.10 10:02:09 5: HTTPSolarErtrag: FormatReading changed value with Expr $val =~ s/[^0-9]+//gs; $val; from 43 to 43
2018.11.10 10:02:09 4: HTTPSolarErtrag: ExtractReading for reading02-1 sets kWhMonat to 43
2018.11.10 10:02:09 5: HTTPSolarErtrag: ExtractReading VerguetungGesamt with regex /solarkonto\.jpg.*\n.*\n.*\>(\d+[0-9\.]+)/...
2018.11.10 10:02:09 5: HTTPSolarErtrag: 1 capture group(s), matchlist = 41
2018.11.10 10:02:09 5: HTTPSolarErtrag: FormatReading changed value with Expr $val =~ s/[^0-9]+//gs; $val; from 41 to 41
2018.11.10 10:02:09 4: HTTPSolarErtrag: ExtractReading for reading03-1 sets VerguetungGesamt to 41
2018.11.10 10:02:09 5: HTTPSolarErtrag: ExtractReading tCO2Ersparnis with regex /(\d+[0-9\.]+)+.*kg.*CO/...
2018.11.10 10:02:09 5: HTTPSolarErtrag: 1 capture group(s), matchlist = 1208
2018.11.10 10:02:09 5: HTTPSolarErtrag: FormatReading changed value with Expr $val =~ s/[^0-9]+//gs; $val; from 1208 to 1208
2018.11.10 10:02:09 4: HTTPSolarErtrag: ExtractReading for reading04-1 sets tCO2Ersparnis to 1208
2018.11.10 10:02:09 5: HTTPSolarErtrag: ExtractReading AktuelleAlarme with regex /Alarme.*\n.*(\d+)/...
2018.11.10 10:02:09 5: HTTPSolarErtrag: 1 capture group(s), matchlist = 0
2018.11.10 10:02:09 4: HTTPSolarErtrag: ExtractReading for reading05-1 sets AktuelleAlarme to 0
2018.11.10 10:02:09 4: HTTPSolarErtrag: Read response to update matched Reading(s) kWhHeute kWhMonat VerguetungGesamt tCO2Ersparnis AktuelleAlarme
2018.11.10 10:02:09 5: HTTPSolarErtrag: HandleSendQueue called, qlen = 0

Ich probiere weiter...

Viele Grüße
Marco

Offline kilderman

  • New Member
  • *
  • Beiträge: 11
Antw:HTTPMOD für www.solar-monitoring.net
« Antwort #5 am: 11 November 2018, 11:26:58 »
Hallo Stefan,

vielleicht war ich gestern etwas voreilig. Heute geht es wieder. Einen Grund kann ich leider nicht mitliefern. Vielleicht hatte er gestern noch eine alte SId, mit der er nicht weiterkam. Ich beobachte es weiter.

Viele Grüße und schönen Sonntag.
Marco