neues Log:
2019.03.21 22:20:50 5: miele_waschmaschine: set called with reread
2019.03.21 22:20:50 4: miele_waschmaschine: GetUpdate called (reread)
2019.03.21 22:20:50 4: miele_waschmaschine: AddToQueue adds update, initial queue len: 0
2019.03.21 22:20:50 5: miele_waschmaschine: AddToQueue adds type update to URL https://api.mcs3.miele.com/v1/devices/X/?language=de, no data, header Authorization: Bearer $sid
Content-Type: application/json, retry 0
2019.03.21 22:20:50 5: miele_waschmaschine: HandleSendQueue called, qlen = 1
2019.03.21 22:20:50 4: miele_waschmaschine: HandleSendQueue sends request type update to URL https://api.mcs3.miele.com/v1/devices/X/?language=de, No Data,
header: Authorization: Bearer $sid
Content-Type: application/json
timeout 2
2019.03.21 22:20:50 5: HttpUtils url=https://api.mcs3.miele.com/v1/devices/X/?language=de
2019.03.21 22:20:50 4: IP: api.mcs3.miele.com -> 157.97.106.171
2019.03.21 22:20:50 5: HttpUtils request header:
GET /v1/devices/X/?language=de HTTP/1.0
Host: api.mcs3.miele.com
User-Agent: fhem
Accept-Encoding: gzip,deflate
Authorization: Bearer $sid
Content-Type: application/json
Content-Length: 0
2019.03.21 22:20:50 4: https://api.mcs3.miele.com/v1/devices/X/?language=de: HTTP response code 401
2019.03.21 22:20:50 5: HttpUtils https://api.mcs3.miele.com/v1/devices/X/?language=de: Got data, length: 188
2019.03.21 22:20:50 5: HttpUtils response header:
HTTP/1.1 401 Unauthorized
Date: Thu, 21 Mar 2019 21:20:50 GMT
Content-Type: text/html
Content-Length: 188
Connection: close
Access-Control-Allow-Origin: *
Access-Control-Allow-Credentials: true
Access-Control-Allow-Methods: GET, PUT, POST, DELETE, PATCH, OPTIONS
Access-Control-Allow-Headers: DNT,X-CustomHeader,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Authorization
Strict-Transport-Security: max-age=15724800; includeSubDomains
2019.03.21 22:20:50 4: miele_waschmaschine: Read callback: request type was update retry 0,
Body: <html>
<head><title>401 Authorization Required</title></head>
<body bgcolor="white">
<center><h1>401 Authorization Required</h1></center>
<hr><center>nginx</center>
</body>
</html>
2019.03.21 22:20:50 3: miele_waschmaschine: error while parsing JSON data: malformed JSON string, neither tag, array, object, number, string or atom, at character offset 0 (before "<html>\r\n<head><tit...") at (eval 4378) line 1.
2019.03.21 22:20:50 5: miele_waschmaschine: ExtractSid called, context reading, num
2019.03.21 22:20:50 5: miele_waschmaschine: CheckAuth is checking buffer with ReAuthRegex Unauthorized
2019.03.21 22:20:50 4: miele_waschmaschine: CheckAuth decided new authentication required
2019.03.21 22:20:50 4: miele_waschmaschine: Auth called with Steps: 1 2 3
2019.03.21 22:20:50 4: miele_waschmaschine: AddToQueue adds auth3, initial queue len: 0, prio
2019.03.21 22:20:50 5: miele_waschmaschine: AddToQueue prepends type auth3 to URL https://api.mcs3.miele.com/thirdparty/token/, data grant_type=authorization_code&code=$sid&redirect_uri=https%3A%2F%2Fapi.mcs3.miele.com%2Fthirdparty%2Flogin%2F&client_id=X&client_secret=X, no headers, retry 0
2019.03.21 22:20:50 4: miele_waschmaschine: AddToQueue adds auth2, initial queue len: 1, prio
2019.03.21 22:20:50 5: miele_waschmaschine: AddToQueue prepends type auth2 to URL https://api.mcs3.miele.com/oauth/auth, data email=X&password=X&redirect_uri=https%3A%2F%2Fapi.mcs3.miele.com%2Fthirdparty%2Flogin%2F&state=login&response_type=code&client_id=X&vgInformationSelector=de-DE, no headers, ignore redirects, retry 0
2019.03.21 22:20:50 4: miele_waschmaschine: AddToQueue adds auth1, initial queue len: 2, prio
2019.03.21 22:20:50 5: miele_waschmaschine: AddToQueue prepends type auth1 to URL https://api.mcs3.miele.com/thirdparty/login/?response_type=code&state=login&client_id=X&scope=&redirect_uri=https%3A%2F%2Fapi.mcs3.miele.com%2Fthirdparty%2Flogin%2F, no data, no headers, retry 0
2019.03.21 22:20:50 5: miele_waschmaschine: HandleSendQueue called, qlen = 3
2019.03.21 22:20:50 4: miele_waschmaschine: HandleSendQueue sends request type auth1 to URL https://api.mcs3.miele.com/thirdparty/login/?response_type=code&state=login&client_id=X&scope=&redirect_uri=https%3A%2F%2Fapi.mcs3.miele.com%2Fthirdparty%2Flogin%2F, No Data, No Header
timeout 2
2019.03.21 22:20:50 5: HttpUtils url=https://api.mcs3.miele.com/thirdparty/login/?response_type=code&state=login&client_id=X&scope=&redirect_uri=https%3A%2F%2Fapi.mcs3.miele.com%2Fthirdparty%2Flogin%2F
2019.03.21 22:20:51 4: IP: api.mcs3.miele.com -> 157.97.106.171
2019.03.21 22:20:51 4: miele_waschmaschine: AddToQueue adds update, initial queue len: 2
2019.03.21 22:20:51 5: miele_waschmaschine: AddToQueue adds type update to URL https://api.mcs3.miele.com/v1/devices/X/?language=de, no data, header Authorization: Bearer $sid
Content-Type: application/json, retry 1
2019.03.21 22:20:51 5: miele_waschmaschine: HandleSendQueue called, qlen = 3
2019.03.21 22:20:51 5: miele_waschmaschine: HandleSendQueue - still waiting for reply to last request, delay sending from queue
2019.03.21 22:20:51 4: miele_waschmaschine: CheckAuth requeued request update after auth, retryCount 0 ...
2019.03.21 22:20:51 5: HttpUtils request header:
GET /thirdparty/login/?response_type=code&state=login&client_id=X&scope=&redirect_uri=https%3A%2F%2Fapi.mcs3.miele.com%2Fthirdparty%2Flogin%2F HTTP/1.0
Host: api.mcs3.miele.com
User-Agent: fhem
Accept-Encoding: gzip,deflate
Content-Length: 0
Content-Type: application/x-www-form-urlencoded
2019.03.21 22:20:51 4: https://api.mcs3.miele.com/thirdparty/login/?response_type=code&state=login&client_id=X&scope=&redirect_uri=https%3A%2F%2Fapi.mcs3.miele.com%2Fthirdparty%2Flogin%2F: HTTP response code 200
2019.03.21 22:20:51 5: HttpUtils https://api.mcs3.miele.com/thirdparty/login/?response_type=code&state=login&client_id=X&scope=&redirect_uri=https%3A%2F%2Fapi.mcs3.miele.com%2Fthirdparty%2Flogin%2F: Got data, length: 7388
2019.03.21 22:20:51 5: HttpUtils response header:
HTTP/1.1 200 OK
Date: Thu, 21 Mar 2019 21:20:51 GMT
Content-Type: text/html
Content-Length: 2163
Connection: close
Vary: Accept-Encoding
Content-Encoding: gzip
Strict-Transport-Security: max-age=15724800; includeSubDomains
2019.03.21 22:20:51 4: miele_waschmaschine: Read callback: request type was auth1 retry 0,
Body: <html lang="de">
<head>
<!--Import Google Icon Font-->
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<!--Import materialize.css-->
<link type="text/css" rel="stylesheet" href="/assets/css/materialize.min.css" media="screen,projection"/>
<!--Import own css-->
<link type="text/css" rel="stylesheet" href="/assets/css/mieleStyle.css" media="screen,projection"/>
<!-- Suppress favicon request-->
<link rel="shortcut icon" type="image/x-icon" href="data:image/x-icon;base64,AAABAAEAEBAAAAEAIABoBAAAFgAAACgAAAAQAAAAIAAAAAEAIAAAAAAAAAQAABILAAASCwAAAAAAAAAAAAAUAIz/FACM/xQAjP8UAIz/FACM/xQAjP8UAIz/FACM/xQAjP8UAIz/FACM/xQAjP8UAIz/FACM/xQAjP8UAIz/FACM/xQAjP8UAIz/FACM/xQAjP8UAIz/FACM/xQAjP8UAIz/FACM/xQAjP8UAIz/FACM/xQAjP8UAIz/FACM/xQAjP8UAIz/FACM/xQAjP8UAIz/FACM/xQAjP8UAIz/FACM/xQAjP8UAIz/FACM/xQAjP8UAIz/FACM/xQAjP8UAIz/FACM/xQAjP8UAIz/FACM/xQAjP8UAIz/FACM/xQAjP8UAIz/FACM/xQAjP8UAIz/FACM/xQAjP8UAIz/FACM/xQAjP8UAIz/FACM/xQAjP8UAIz/FACM/xQAjP8UAIz/FACM/xQAjP8UAIz/FACM/xQAjP8UAIz/FACM/xQAjP8UAIz/EwCL/xMAjP8TAIv/EgCL/xIAi/8TAIv/EgCL/xMAi/8SAIv/EwCL/xIAi/8TAIv/FACM/xQAjP8UAIz/FwON/yYUlf8bCY//KBaW/ysZmP8tG5j/JhSV/y4dmf8mFJX/KxmX/ygVlv8tG5j/JxSV/xQAjP8UAIz/EwCM/x4Lkf+BdsH/nJPO/7Ot2v+aks7/s63a/6Wd0/+9t9//lo3M/7Wv2/+noNT/vbff/5mQzf8mFJX/EwCL/xMAjP8cCJD/qaLV/8C64P+9uN//mpLO/4+GyP9pXLX/hnvE/3Fluv+1rtv/iH/F/4B2wf9zaLv/HQqR/xMAjP8UAIz/FwOO/zMhm/8mFZX/JxaV/y0bmP8fDZL/FwWO/xIAi/8VBI3/MiCa/yIRk/8SAIv/EgCL/xMAjP8UAIz/FACM/xQAjP8SAIv/EwCL/xMAi/8SAIv/EwCM/xQAjP8UAIz/FACM/xIAi/8TAIz/FACM/xQAjP8UAIz/FACM/xQAjP8UAIz/FACM/xQAjP8UAIz/FACM/xQAjP8UAIz/FACM/xQAjP8UAIz/FACM/xQAjP8UAIz/FACM/xQAjP8UAIz/FACM/xQAjP8UAIz/FACM/xQAjP8UAIz/FACM/xQAjP8UAIz/FACM/xQAjP8UAIz/FACM/xQAjP8UAIz/FACM/xQAjP8UAIz/FACM/xQAjP8UAIz/FACM/xQAjP8UAIz/FACM/xQAjP8UAIz/FACM/xQAjP8UAIz/FACM/xQAjP8UAIz/FACM/xQAjP8UAIz/FACM/xQAjP8UAIz/FACM/xQAjP8UAIz/FACM/xQAjP8UAIz/FACM/xQAjP8UAIz/FACM/xQAjP8UAIz/FACM/xQAjP8UAIz/FACM/xQAjP8UAIz/FACM/xQAjP8UAIz/FACM/xQAjP8UAIz/AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==">
<!--Let browser know website is optimized for mobile-->
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<meta charset="utf-8">
</head>
<body id="mieleLoginSite">
<div class="mediumBox">
<div class="center-btn">
<img class="responsive-img"
src="/assets/images/miele_logo.svg" width="150">
</div>
<h1 class="center-btn mediumFont">Login</h1>
<form method="post" action="/oauth/auth">
<div class="input-field">
<i class="material-icons prefix">account_circle</i>
<input required id="e-mail" type="email" name="email">
<label for="e-mail">Email Adress</label>
</div>
<div class="input-field">
<i class="material-icons prefix">https</i>
<input required id="password" type="password" name="password">
<label for="password">Password</label>
</div>
<input type="hidden" name="redirect_uri" value="https://api.mcs3.miele.com/thirdparty/login/">
<input type="hidden" name="state" value="login">
<input type="hidden" name="response_type" value="code">
<input type="hidden" name="client_id" value="X">
<div class="input-field">
<i class="material-icons prefix">language</i>
<select required name="vgInformationSelector" size="5">
<option value="" disabled>Please select your country</option>
<option value="et-EE">Miele Eesti</option>
<option value="de-DE">Miele Deutschland</option>
<option value="no-NO">Miele Norge</option>
<option value="sr-RS">Miele Србија</option>
<option value="nl-BE">Miele België</option>
<option value="fi-FI">Miele Suomi</option>
<option value="zh-HK">Miele Hong Kong</option>
<option value="ru-RU">Miele Россия</option>
<option value="en-AE">Miele United Arab Emirates</option>
<option value="pt-PT">Miele Portugual</option>
<option value="bg-BG">Miele България</option>
<option value="de-CH">Miele Schweiz</option>
<option value="en-IN">Miele India</option>
<option value="de-SX">Miele Semi Pro</option>
<option value="ja-JP">Miele Nihon</option>
<option value="da-DK">Miele Danmark</option>
<option value="ko-KR">Miele Hanguk</option>
<option value="en-ZA">Miele South Africa</option>
<option value="lt-LT">Miele Lietuva</option>
<option value="es-CL">Miele Chile</option>
<option value="de-LU">Miele Luxemburg</option>
<option value="hr-HR">Miele Croatia</option>
<option value="lv-LV">Miele Latvija</option>
<option value="zh-CN">Miele Zhōngguó</option>
<option value="el-GR">Miele Ελλάδα</option>
<option value="it-IT">Miele Italia</option>
<option value="es-MX">Miele México</option>
<option value="fr-FR">Miele France</option>
<option value="en-MY">Miele Malaysia</option>
<option value="en-NZ">Miele New Zealand</option>
<option value="ru-UA">Miele Україна</option>
<option value="hu-HU">Miele Magyarország</option>
<option value="es-ES">Miele España</option>
<option value="ru-KZ">Miele Казахстан</option>
<option value="sv-SE">Miele Sverige</option>
<option value="de-AT">Miele Österreich</option>
<option value="en-AU">Miele Australia</option>
<option value="en-SG">Miele Singapore</option>
<option value="en-TH">Miele Thailand</option>
<option value="el-CY">Miele Kypros</option>
<option value="sl-SI">Miele Slovenia</option>
<option value="ru-BY">Miele Беларуси</option>
<option value="cs-CZ">Miele Czechia</option>
<option value="sk-SK">Miele Slovensko</option>
<option value="en-GB">Miele UK</option>
<option value="en-IE">Miele Ireland</option>
<option value="pl-PL">Miele Polska</option>
<option value="ro-RO">Miele România</option>
<option value="en-CA">Miele Canada</option>
<option value="nl-NL">Miele Nederland</option>
<option value="tr-TR">Miele Türkiye</option>
<option value="en-US">Miele USA</option>
</select>
<label>Country</label>
</div>
<br>
<div class="center-btn">
<input class="waves-effect waves-light btn redButton" type="submit" value="SUBMIT">
</div>
</form>
</div>
<!--Import jQuery before materialize.js-->
<script type="text/javascript" src="https://code.jquery.com/jquery-3.2.1.min.js"></script>
<script type="text/javascript" src="/assets/js/materialize.min.js"></script>
<script>
$(document).ready(function () {
$('select').material_select();
});
</script>
</body>
</html>
2019.03.21 22:20:51 3: miele_waschmaschine: error while parsing JSON data: malformed JSON string, neither tag, array, object, number, string or atom, at character offset 0 (before "<html lang="de">\n<h...") at (eval 4382) line 1.
2019.03.21 22:20:51 5: miele_waschmaschine: ExtractSid called, context sid, num 1
2019.03.21 22:20:52 5: miele_waschmaschine: HandleSendQueue called, qlen = 3
2019.03.21 22:20:52 4: miele_waschmaschine: HandleSendQueue sends request type auth2 to URL https://api.mcs3.miele.com/oauth/auth,
data: email=X&password=X&redirect_uri=https%3A%2F%2Fapi.mcs3.miele.com%2Fthirdparty%2Flogin%2F&state=login&response_type=code&client_id=X&vgInformationSelector=de-DE, No Header
timeout 2
2019.03.21 22:20:52 5: HttpUtils url=https://api.mcs3.miele.com/oauth/auth
2019.03.21 22:20:52 4: IP: api.mcs3.miele.com -> 157.97.106.171
2019.03.21 22:20:52 5: HttpUtils request header:
POST /oauth/auth HTTP/1.0
Host: api.mcs3.miele.com
User-Agent: fhem
Accept-Encoding: gzip,deflate
Content-Length: 214
Content-Type: application/x-www-form-urlencoded
2019.03.21 22:20:52 4: https://api.mcs3.miele.com/oauth/auth: HTTP response code 401
2019.03.21 22:20:52 5: HttpUtils https://api.mcs3.miele.com/oauth/auth: Got data, length: 2991
2019.03.21 22:20:52 5: HttpUtils response header:
HTTP/1.1 401 Unauthorized
Date: Thu, 21 Mar 2019 21:20:52 GMT
Content-Type: text/plain
Content-Length: 2991
Connection: close
Strict-Transport-Security: max-age=15724800; includeSubDomains
2019.03.21 22:20:52 4: miele_waschmaschine: Read callback: request type was auth2 retry 0,
Body: <html lang="de">
<head>
<!--Import Google Icon Font-->
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<!--Import materialize.css-->
<link type="text/css" rel="stylesheet" href="/assets/css/materialize.min.css" media="screen,projection"/>
<!--Import own css-->
<link type="text/css" rel="stylesheet" href="/assets/css/mieleStyle.css" media="screen,projection"/>
<!-- Suppress favicon request-->
<link rel="shortcut icon" type="image/x-icon" href="data:image/x-icon;base64,AAABAAEAEBAAAAEAIABoBAAAFgAAACgAAAAQAAAAIAAAAAEAIAAAAAAAAAQAABILAAASCwAAAAAAAAAAAAAUAIz/FACM/xQAjP8UAIz/FACM/xQAjP8UAIz/FACM/xQAjP8UAIz/FACM/xQAjP8UAIz/FACM/xQAjP8UAIz/FACM/xQAjP8UAIz/FACM/xQAjP8UAIz/FACM/xQAjP8UAIz/FACM/xQAjP8UAIz/FACM/xQAjP8UAIz/FACM/xQAjP8UAIz/FACM/xQAjP8UAIz/FACM/xQAjP8UAIz/FACM/xQAjP8UAIz/FACM/xQAjP8UAIz/FACM/xQAjP8UAIz/FACM/xQAjP8UAIz/FACM/xQAjP8UAIz/FACM/xQAjP8UAIz/FACM/xQAjP8UAIz/FACM/xQAjP8UAIz/FACM/xQAjP8UAIz/FACM/xQAjP8UAIz/FACM/xQAjP8UAIz/FACM/xQAjP8UAIz/FACM/xQAjP8UAIz/FACM/xQAjP8UAIz/EwCL/xMAjP8TAIv/EgCL/xIAi/8TAIv/EgCL/xMAi/8SAIv/EwCL/xIAi/8TAIv/FACM/xQAjP8UAIz/FwON/yYUlf8bCY//KBaW/ysZmP8tG5j/JhSV/y4dmf8mFJX/KxmX/ygVlv8tG5j/JxSV/xQAjP8UAIz/EwCM/x4Lkf+BdsH/nJPO/7Ot2v+aks7/s63a/6Wd0/+9t9//lo3M/7Wv2/+noNT/vbff/5mQzf8mFJX/EwCL/xMAjP8cCJD/qaLV/8C64P+9uN//mpLO/4+GyP9pXLX/hnvE/3Fluv+1rtv/iH/F/4B2wf9zaLv/HQqR/xMAjP8UAIz/FwOO/zMhm/8mFZX/JxaV/y0bmP8fDZL/FwWO/xIAi/8VBI3/MiCa/yIRk/8SAIv/EgCL/xMAjP8UAIz/FACM/xQAjP8SAIv/EwCL/xMAi/8SAIv/EwCM/xQAjP8UAIz/FACM/xIAi/8TAIz/FACM/xQAjP8UAIz/FACM/xQAjP8UAIz/FACM/xQAjP8UAIz/FACM/xQAjP8UAIz/FACM/xQAjP8UAIz/FACM/xQAjP8UAIz/FACM/xQAjP8UAIz/FACM/xQAjP8UAIz/FACM/xQAjP8UAIz/FACM/xQAjP8UAIz/FACM/xQAjP8UAIz/FACM/xQAjP8UAIz/FACM/xQAjP8UAIz/FACM/xQAjP8UAIz/FACM/xQAjP8UAIz/FACM/xQAjP8UAIz/FACM/xQAjP8UAIz/FACM/xQAjP8UAIz/FACM/xQAjP8UAIz/FACM/xQAjP8UAIz/FACM/xQAjP8UAIz/FACM/xQAjP8UAIz/FACM/xQAjP8UAIz/FACM/xQAjP8UAIz/FACM/xQAjP8UAIz/FACM/xQAjP8UAIz/FACM/xQAjP8UAIz/FACM/xQAjP8UAIz/AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==">
<!--Let browser know website is optimized for mobile-->
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<meta charset="utf-8">
</head>
<body id="mieleLoginSite">
<div class="mediumBox">
<!--I tried to move the ugly base64 conversion to java but it didn't work out; original image: images/miele-logo-immer-besser.png-->
<div class="center-btn">
<img class="responsive-img"
src="/assets/images/miele_logo.svg" width="150">
<h1 class="mediumFont">Kontoverknüpfung fehlgeschlagen!</h1>
Bitte überprüfen Sie ihre Zugangsdaten.
</div>
</div>
<!--Import jQuery before materialize.js integrity browser checks with hash if script was modified-->
<script type="text/javascript" src="https://code.jquery.com/jquery-3.2.1.min.js"></script>
<script type="text/javascript" src="/assets/js/materialize.min.js"></script>
</body>
</html>
2019.03.21 22:20:52 3: miele_waschmaschine: error while parsing JSON data: malformed JSON string, neither tag, array, object, number, string or atom, at character offset 0 (before "<html lang="de">\n<h...") at (eval 4384) line 1.
2019.03.21 22:20:52 5: miele_waschmaschine: ExtractSid called, context sid, num 2
2019.03.21 22:20:52 5: miele_waschmaschine: ExtractSid could not match buffer to IdRegex (?s)code=(DE_[0-9a-f]+)
2019.03.21 22:20:53 5: miele_waschmaschine: HandleSendQueue called, qlen = 2
2019.03.21 22:20:53 4: miele_waschmaschine: HandleSendQueue sends request type auth3 to URL https://api.mcs3.miele.com/thirdparty/token/,
data: grant_type=authorization_code&code=$sid&redirect_uri=https%3A%2F%2Fapi.mcs3.miele.com%2Fthirdparty%2Flogin%2F&client_id=X&client_secret=X, No Header
timeout 2
2019.03.21 22:20:53 5: HttpUtils url=https://api.mcs3.miele.com/thirdparty/token/
2019.03.21 22:20:53 4: IP: api.mcs3.miele.com -> 157.97.106.171
2019.03.21 22:20:53 5: HttpUtils request header:
POST /thirdparty/token/ HTTP/1.0
Host: api.mcs3.miele.com
User-Agent: fhem
Accept-Encoding: gzip,deflate
Content-Length: 203
Content-Type: application/x-www-form-urlencoded
2019.03.21 22:20:53 4: https://api.mcs3.miele.com/thirdparty/token/: HTTP response code 500
2019.03.21 22:20:53 5: HttpUtils https://api.mcs3.miele.com/thirdparty/token/: Got data, length: 112
2019.03.21 22:20:53 5: HttpUtils response header:
HTTP/1.1 500 Internal Server Error
Date: Thu, 21 Mar 2019 21:20:53 GMT
Content-Type: application/json
Content-Length: 112
Connection: close
Strict-Transport-Security: max-age=15724800; includeSubDomains
2019.03.21 22:20:53 4: miele_waschmaschine: Read callback: request type was auth3 retry 0,
Body: {"status":500,"message":"There was an error processing your request. It has been logged (ID 4e6e9250a141ebdc)."}
2019.03.21 22:20:53 5: miele_waschmaschine: JSON Flatter called : prefix , ref is HASH(0x438c7a8)
2019.03.21 22:20:53 5: miele_waschmaschine: JSON Flatter sets status to 500
2019.03.21 22:20:53 5: miele_waschmaschine: JSON Flatter sets message to There was an error processing your request. It has been logged (ID 4e6e9250a141ebdc).
2019.03.21 22:20:53 4: miele_waschmaschine: extracted JSON values to internal
2019.03.21 22:20:53 5: miele_waschmaschine: ExtractSid called, context sid, num 3
2019.03.21 22:20:53 5: miele_waschmaschine: Checking SID with JSON access_token
2019.03.21 22:20:54 5: miele_waschmaschine: HandleSendQueue called, qlen = 1
2019.03.21 22:20:54 4: miele_waschmaschine: HandleSendQueue sends request type update to URL https://api.mcs3.miele.com/v1/devices/X/?language=de, No Data,
header: Authorization: Bearer $sid
Content-Type: application/json
timeout 2
2019.03.21 22:20:54 5: HttpUtils url=https://api.mcs3.miele.com/v1/devices/X/?language=de
2019.03.21 22:20:54 4: IP: api.mcs3.miele.com -> 157.97.106.171
2019.03.21 22:20:54 5: HttpUtils request header:
GET /v1/devices/X/?language=de HTTP/1.0
Host: api.mcs3.miele.com
User-Agent: fhem
Accept-Encoding: gzip,deflate
Authorization: Bearer $sid
Content-Type: application/json
Content-Length: 0
2019.03.21 22:20:54 4: https://api.mcs3.miele.com/v1/devices/X/?language=de: HTTP response code 401
2019.03.21 22:20:54 5: HttpUtils https://api.mcs3.miele.com/v1/devices/X/?language=de: Got data, length: 188
2019.03.21 22:20:54 5: HttpUtils response header:
HTTP/1.1 401 Unauthorized
Date: Thu, 21 Mar 2019 21:20:54 GMT
Content-Type: text/html
Content-Length: 188
Connection: close
Access-Control-Allow-Origin: *
Access-Control-Allow-Credentials: true
Access-Control-Allow-Methods: GET, PUT, POST, DELETE, PATCH, OPTIONS
Access-Control-Allow-Headers: DNT,X-CustomHeader,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Authorization
Strict-Transport-Security: max-age=15724800; includeSubDomains
2019.03.21 22:20:54 4: miele_waschmaschine: Read callback: request type was update retry 1,
Body: <html>
<head><title>401 Authorization Required</title></head>
<body bgcolor="white">
<center><h1>401 Authorization Required</h1></center>
<hr><center>nginx</center>
</body>
</html>
2019.03.21 22:20:54 3: miele_waschmaschine: error while parsing JSON data: malformed JSON string, neither tag, array, object, number, string or atom, at character offset 0 (before "<html>\r\n<head><tit...") at (eval 4388) line 1.
2019.03.21 22:20:54 5: miele_waschmaschine: ExtractSid called, context reading, num
2019.03.21 22:20:54 5: miele_waschmaschine: CheckAuth is checking buffer with ReAuthRegex Unauthorized
2019.03.21 22:20:54 4: miele_waschmaschine: CheckAuth decided new authentication required
2019.03.21 22:20:54 4: miele_waschmaschine: Authentication still required but no retries left - did last authentication fail?
2019.03.21 22:20:54 5: miele_waschmaschine: Read starts parsing response to update with defined readings: 01,02,03,04,05,06
2019.03.21 22:20:54 5: miele_waschmaschine: ExtractReading remainigtime_h with json state_remainingTime_0 ...
2019.03.21 22:20:54 5: miele_waschmaschine: ExtractReading remainigtime_h did not match
2019.03.21 22:20:54 5: miele_waschmaschine: ExtractReading remainigtime_m with json state_remainingTime_1 ...
2019.03.21 22:20:54 5: miele_waschmaschine: ExtractReading remainigtime_m did not match
2019.03.21 22:20:54 5: miele_waschmaschine: ExtractReading elapsedtime_h with json state_elapsedTime_0 ...
2019.03.21 22:20:54 5: miele_waschmaschine: ExtractReading elapsedtime_h did not match
2019.03.21 22:20:54 5: miele_waschmaschine: ExtractReading elapsedtime_m with json state_elapsedTime_1 ...
2019.03.21 22:20:54 5: miele_waschmaschine: ExtractReading elapsedtime_m did not match
2019.03.21 22:20:54 5: miele_waschmaschine: ExtractReading spinningspeed with json state_spinningSpeed ...
2019.03.21 22:20:54 5: miele_waschmaschine: ExtractReading spinningspeed did not match
2019.03.21 22:20:54 5: miele_waschmaschine: ExtractReading state with json state_status_value_raw ...
2019.03.21 22:20:54 5: miele_waschmaschine: ExtractReading state did not match
2019.03.21 22:20:54 3: miele_waschmaschine: Read response to update didn't match any Reading
2019.03.21 22:20:54 5: miele_waschmaschine: HandleSendQueue called, qlen = 0
Hatte in der sid02 bei Mail und Passwort versucht Sonderzeichen (@ und #) zu maskieren, habs jetzt wieder rückgängig gemacht. Es funktioniert aber trotzdem nicht (siehe log oben).