Hier mein List:
Internals:
BUSY 0
DEF https://api.nibeuplink.com/api/v1/systems 60
FUUID 5e2ed3d4-f33f-f92b-ab5a-c553351977df6adb
Interval 60
JSONEnabled 1
LASTSEND 1580896059.41056
LastAuthTry 2020-02-05 10:47:36
MainURL https://api.nibeuplink.com/api/v1/systems
ModuleVersion 3.5.21 - 27.12.2019
NAME Nibe
NOTIFYDEV global
NR 92
NTFY_ORDER 50-Nibe
STATE https://api.nibeuplink.com
TRIGGERTIME 1580896116.00936
TRIGGERTIME_FMT 2020-02-05 10:48:36
TYPE HTTPMOD
addr https://api.nibeuplink.com:443
auth 0
buf
code 500
compress 1
conn
data
displayurl https://api.nibeuplink.com/api/v1/systems
header Authorization: Bearer $sid
Content-Type: application/json
Cookie: ARRAffinity=accb56b11a90a4702d647cd2d4723b9f5bf047e842fd6b00942ec9964ba3b291
host api.nibeuplink.com
httpheader HTTP/1.1 500 Internal Server Error
Cache-Control: no-cache
Pragma: no-cache
Content-Length: 164
Content-Type: application/json; charset=utf-8
Expires: -1
Server: Microsoft-IIS/10.0
X-AspNet-Version: 4.0.30319
X-Powered-By: ASP.NET
Date: Wed, 05 Feb 2020 09:47:38 GMT
Connection: close
httpversion 1.0
hu_blocking 0
hu_filecount 395
hu_port 443
hu_portSfx
ignoreredirects 1
loglevel 4
path /api/v1/systems
protocol https
redirects 0
timeout 2
url https://api.nibeuplink.com/api/v1/systems
value 0
CompiledRegexes:
HTTPCookieHash:
ARRAffinity;:
Name ARRAffinity
Options Path=/;HttpOnly;Domain=api.nibeuplink.com
Path
Value accb56b11a90a4702d647cd2d4723b9f5bf047e842fd6b00942ec9964ba3b291
QUEUE:
READINGS:
2020-02-05 10:47:39 details_0 Internal Server Error
2020-02-05 10:47:39 errorCode 0
2020-02-05 10:47:39 httpStatusCode 500
2020-01-27 14:11:36 message
2020-02-05 10:47:39 timestamp 2020-02-05T09:47:39.5451323Z
REQUEST:
data
header Authorization: Bearer $sid
Content-Type: application/json
ignoreredirects 0
retryCount 1
type update
url https://api.nibeuplink.com/api/v1/systems
value 0
defptr:
readingBase:
details_0 reading
errorCode reading
httpStatusCode reading
timestamp reading
readingNum:
details_0
errorCode
httpStatusCode
timestamp
readingOutdated:
requestReadings:
update:
details_0 reading
errorCode reading
httpStatusCode reading
timestamp reading
sslargs:
Attributes:
devStateStyle style="text-align:right;;"
enableControlSet 1
enableCookies 1
extractAllJSON 1
reAuthJSON message
reAuthRegex 500.Internal.Server.Error|Unauthorized|default.backend...401
requestHeader01 Authorization: Bearer $sid
requestHeader02 Content-Type: application/json
sid1Data response_type=code&state=login&client_id=XXXX&scope=READSYSTEM&redirect_uri=http://192.168.1.106/nibe/
sid1Header01 Content-Type: application/json
sid1URL https://api.nibeuplink.com/Account/LogIn
sid2Data response_type=code&client_id=XXXX&scope=READSYSTEM&redirect_uri=http://192.168.1.106/nibe/&state=STATE
sid2IgnoreRedirects 1
sid2URL https://api.nibeuplink.com/oauth/authorize
sid3Data grant_type=authorization_code&code=client_id=XXXX&client_secret=YYYY&code=$sid&redirect_uri=http://192.168.1.106/nibe/&scope=READSYSTEM
sid3IdJSON token
sid3URL https://api.nibeuplink.com/oauth/token
stateFormat https://api.nibeuplink.com
userattr requestData03 requestHeader01 requestHeader02 requestHeader1 sid1Data sid1Header01 sid1IdJSON sid1IgnoreRedirects:0,1 sid1URL sid2Data sid2IdRegex sid2IgnoreRedirects:0,1 sid2URL sid3Data sid3IdJSON sid3URL
verbose 5
Der Auszug aus dem LogFile:
2020.02.05 11:40:41 5: Nibe: GetUpdate called (update)
2020.02.05 11:40:41 5: Nibe: update timer modified: will call GetUpdate in 60.0 seconds at 2020-02-05 11:41:41
2020.02.05 11:40:41 5: Nibe: AddToQueue adds type update to URL https://api.nibeuplink.com/api/v1/systems, no data, header Authorization: Bearer $sid
Content-Type: application/json, retry 0, initial queue len: 0
2020.02.05 11:40:41 5: Nibe: HandleSendQueue called, qlen = 1
2020.02.05 11:40:41 5: Nibe: HandleSendQueue is using Cookie ARRAffinity with path and Value accb56b11a90a4702d647cd2d4723b9f5bf047e842fd6b00942ec9964ba3b291 (key ARRAffinity;, destination path is /api/v1/systems)
2020.02.05 11:40:41 5: Nibe: HandleSendQueue is adding Cookie header: ARRAffinity=accb56b11a90a4702d647cd2d4723b9f5bf047e842fd6b00942ec9964ba3b291
2020.02.05 11:40:41 4: Nibe: HandleSendQueue sends update with timeout 2 to https://api.nibeuplink.com/api/v1/systems, No Data,
header: Authorization: Bearer $sid
Content-Type: application/json
Cookie: ARRAffinity=accb56b11a90a4702d647cd2d4723b9f5bf047e842fd6b00942ec9964ba3b291
2020.02.05 11:40:41 5: HttpUtils url=https://api.nibeuplink.com/api/v1/systems
2020.02.05 11:40:41 4: IP: api.nibeuplink.com -> 13.95.125.246
2020.02.05 11:40:41 5: HttpUtils request header:
GET /api/v1/systems HTTP/1.0
Host: api.nibeuplink.com
User-Agent: fhem
Accept-Encoding: gzip,deflate
Authorization: Bearer $sid
Content-Type: application/json
Cookie: ARRAffinity=accb56b11a90a4702d647cd2d4723b9f5bf047e842fd6b00942ec9964ba3b291
2020.02.05 11:40:41 4: https://api.nibeuplink.com/api/v1/systems: HTTP response code 500
2020.02.05 11:40:41 5: HttpUtils https://api.nibeuplink.com/api/v1/systems: Got data, length: 164
2020.02.05 11:40:41 5: HttpUtils response header:
HTTP/1.1 500 Internal Server Error
Cache-Control: no-cache
Pragma: no-cache
Content-Length: 164
Content-Type: application/json; charset=utf-8
Expires: -1
Server: Microsoft-IIS/10.0
X-AspNet-Version: 4.0.30319
X-Powered-By: ASP.NET
Date: Wed, 05 Feb 2020 10:40:40 GMT
Connection: close
2020.02.05 11:40:41 4: Nibe: Read callback: request type was update retry 0,
header: HTTP/1.1 500 Internal Server Error
Cache-Control: no-cache
Pragma: no-cache
Content-Length: 164
Content-Type: application/json; charset=utf-8
Expires: -1
Server: Microsoft-IIS/10.0
X-AspNet-Version: 4.0.30319
X-Powered-By: ASP.NET
Date: Wed, 05 Feb 2020 10:40:40 GMT
Connection: close, body length 164
2020.02.05 11:40:41 5: Nibe: Read callback: body
{
"httpStatusCode": 500,
"errorCode": 0,
"timestamp": "2020-02-05T10:40:41.1994573Z",
"details": [
"Internal Server Error"
],
"data": null
}
2020.02.05 11:40:41 4: Nibe: Read found charset header and set decoding to utf-8 (bodyDecode was set to auto)
2020.02.05 11:40:41 4: Nibe: Read is decoding the buffer as utf-8
2020.02.05 11:40:41 5: Nibe: JSON Flatter called : prefix , ref is HASH(0x5614b5070fe8)
2020.02.05 11:40:41 5: Nibe: JSON Flatter sets errorCode to 0
2020.02.05 11:40:41 5: Nibe: JSON Flatter sets timestamp to 2020-02-05T10:40:41.1994573Z
2020.02.05 11:40:41 5: Nibe: JSON Flatter doing recursion because value is a ARRAY
2020.02.05 11:40:41 5: Nibe: JSON Flatter called : prefix details_, ref is ARRAY(0x5614b57d71b8)
2020.02.05 11:40:41 5: Nibe: JSON Flatter sets details_0 to Internal Server Error
2020.02.05 11:40:41 5: Nibe: JSON Flatter sets httpStatusCode to 500
2020.02.05 11:40:41 4: Nibe: extracted JSON values to internal
2020.02.05 11:40:41 5: Nibe: GetCookies is looking for Cookies
2020.02.05 11:40:41 5: Nibe: ExtractSid called, context reading, num
2020.02.05 11:40:41 4: Nibe: checking for redirects, code=500, ignore=0
2020.02.05 11:40:41 4: Nibe: no redirects to handle
2020.02.05 11:40:41 5: Nibe: GetRegex found precompiled reAuthRegex for as (?^:500.Internal.Server.Error|Unauthorized|default.backend...401)
2020.02.05 11:40:41 5: Nibe: Checking Auth with JSON message
2020.02.05 11:40:41 5: Nibe: CheckAuth is checking buffer with ReAuthRegex (?^:500.Internal.Server.Error|Unauthorized|default.backend...401)
2020.02.05 11:40:41 4: Nibe: CheckAuth decided new authentication required
2020.02.05 11:40:41 4: Nibe: Auth called with Steps: 1 2 3
2020.02.05 11:40:41 5: Nibe: AddToQueue prepends type auth3 to URL https://api.nibeuplink.com/oauth/token, data grant_type=authorization_code&code=client_id=XXXX&client_secret=YYYY&code=$sid&redirect_uri=http://192.168.1.106/nibe/&scope=READSYSTEM, no headers, retry 0, initial queue len: 0
2020.02.05 11:40:41 5: Nibe: AddToQueue prepends type auth2 to URL https://api.nibeuplink.com/oauth/authorize, data response_type=code&client_id=XXXX&scope=READSYSTEM&redirect_uri=http://192.168.1.106/nibe/&state=STATE, no headers, ignore redirects, retry 0, initial queue len: 1
2020.02.05 11:40:41 5: Nibe: AddToQueue prepends type auth1 to URL https://api.nibeuplink.com/Account/LogIn, data response_type=code&state=login&client_id=XXXX&scope=READSYSTEM&redirect_uri=http://192.168.1.106/nibe/, header Content-Type: application/json, retry 0, initial queue len: 2
2020.02.05 11:40:41 5: Nibe: HandleSendQueue called, qlen = 3
2020.02.05 11:40:41 5: Nibe: HandleSendQueue - minSendDelay not over, rescheduling
2020.02.05 11:40:41 5: Nibe: AddToQueue adds type update to URL https://api.nibeuplink.com/api/v1/systems, no data, header Authorization: Bearer $sid
Content-Type: application/json, retry 1, initial queue len: 3
2020.02.05 11:40:41 5: Nibe: HandleSendQueue called, qlen = 4
2020.02.05 11:40:41 5: Nibe: HandleSendQueue - minSendDelay not over, rescheduling
2020.02.05 11:40:41 4: Nibe: CheckAuth requeued request update after auth, retryCount 0 ...
2020.02.05 11:40:42 5: Nibe: HandleSendQueue called, qlen = 4
2020.02.05 11:40:42 5: Nibe: HandleSendQueue is using Cookie ARRAffinity with path and Value accb56b11a90a4702d647cd2d4723b9f5bf047e842fd6b00942ec9964ba3b291 (key ARRAffinity;, destination path is /Account/LogIn)
2020.02.05 11:40:42 5: Nibe: HandleSendQueue is adding Cookie header: ARRAffinity=accb56b11a90a4702d647cd2d4723b9f5bf047e842fd6b00942ec9964ba3b291
2020.02.05 11:40:42 4: Nibe: HandleSendQueue sends auth1 with timeout 2 to https://api.nibeuplink.com/Account/LogIn,
data: response_type=code&state=login&client_id=XXXX&scope=READSYSTEM&redirect_uri=http://192.168.1.106/nibe/,
header: Content-Type: application/json
Cookie: ARRAffinity=accb56b11a90a4702d647cd2d4723b9f5bf047e842fd6b00942ec9964ba3b291
2020.02.05 11:40:42 5: HttpUtils url=https://api.nibeuplink.com/Account/LogIn
2020.02.05 11:40:42 4: IP: api.nibeuplink.com -> 13.95.125.246
2020.02.05 11:40:42 5: HttpUtils request header:
POST /Account/LogIn HTTP/1.0
Host: api.nibeuplink.com
User-Agent: fhem
Accept-Encoding: gzip,deflate
Content-Type: application/json
Cookie: ARRAffinity=accb56b11a90a4702d647cd2d4723b9f5bf047e842fd6b00942ec9964ba3b291
Content-Length: 130
2020.02.05 11:40:42 4: https://api.nibeuplink.com/Account/LogIn: HTTP response code 500
2020.02.05 11:40:42 5: HttpUtils https://api.nibeuplink.com/Account/LogIn: Got data, length: 2768
2020.02.05 11:40:42 5: HttpUtils response header:
HTTP/1.1 500 Internal Server Error
Cache-Control: private
Content-Length: 2768
Content-Type: text/html; charset=utf-8
Server: Microsoft-IIS/10.0
X-AspNetMvc-Version: 5.2
X-AspNet-Version: 4.0.30319
X-Powered-By: ASP.NET
Date: Wed, 05 Feb 2020 10:40:42 GMT
Connection: close
2020.02.05 11:40:42 4: Nibe: Read callback: request type was auth1 retry 0,
header: HTTP/1.1 500 Internal Server Error
Cache-Control: private
Content-Length: 2768
Content-Type: text/html; charset=utf-8
Server: Microsoft-IIS/10.0
X-AspNetMvc-Version: 5.2
X-AspNet-Version: 4.0.30319
X-Powered-By: ASP.NET
Date: Wed, 05 Feb 2020 10:40:42 GMT
Connection: close, body length 2768
2020.02.05 11:40:42 5: Nibe: Read callback: body
<!DOCTYPE html>
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!-->
<html class="no-js">
<!--<![endif]-->
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>Error 500: Internal Server Error - NIBE Uplink™ API</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />
<link href="/Content/css?v=8-RQ-3oGItP3xx7qOWrv24qTFezA58K07jGd7iKzfu81" rel="stylesheet"/>
<script src="/bundles/modernizr-respond?v=CqXYebK4-IyZhhv6CMVr3JbOHRqcPPoHkVZsC-ng0ZA1"></script>
<!--[if !IE 7]>
<style type="text/css">
#wrap {display:table;height:100%}
</style>
<![endif]-->
</head>
<body>
<input type="checkbox" id="show-menu" role="button">
<nav class="header-menu">
<ul>
<li><a href="/Home/About">ABOUT</a></li>
<li><a href="/Account/LogIn?mobile=False">LOG IN</a></li>
</ul>
</nav>
<div id="wrap">
<!--[if lt IE 7]>
<p class="browsehappy">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> to improve your experience.</p>
<![endif]-->
<div class="header-container">
<header class="wrapper clearfix">
<label for="show-menu" class="show-menu">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</label>
<div class="img-container">
<a href="/"><img src="/Content/Images/nibe-uplink-api-238px-grey.png" alt="NIBE Uplink™" /></a>
</div>
</header>
</div>
<div class="main-container">
<div class="main wrapper clearfix">
<article>
<header>
<div class="content-wrapper">
<div class="float-left">
<h1>Unable to fulfil your request</h1>
<p>The server could not fulfil your request.</p>
</div>
</div>
</header>
<section>
<p><i>Error 500: Internal Server Error</i></p>
</section>
</article>
</div> <!-- #main -->
</div> <!-- #main-container -->
</div>
<div class="footer-container">
<footer class="wrapper">
<img src="/Content/Images/nibe-energy-systems-90px-white.png" alt="NIBE Energy Systems" />
<p>© NIBE Energy Systems</p>
</footer>
</div>
<script src="/bundles/jquery?v=DilzeZuJxdbQsfc_JOwsWB4VFDhTPM73urYeggaKdL81"></script>
</body>
</html>
2020.02.05 11:40:42 4: Nibe: Read found charset header and set decoding to utf-8 (bodyDecode was set to auto)
2020.02.05 11:40:42 4: Nibe: Read is decoding the buffer as utf-8
2020.02.05 11:40:42 3: Nibe: error while parsing JSON data: malformed JSON string, neither tag, array, object, number, string or atom, at character offset 2 (before "<!DOCTYPE html>\r\n<...") at (eval 21554) line 1.
2020.02.05 11:40:42 5: Nibe: GetCookies is looking for Cookies
2020.02.05 11:40:42 5: Nibe: ExtractSid called, context sid, num 1
2020.02.05 11:40:42 4: Nibe: checking for redirects, code=500, ignore=0
2020.02.05 11:40:42 4: Nibe: no redirects to handle
2020.02.05 11:40:43 5: Nibe: HandleSendQueue called, qlen = 3
2020.02.05 11:40:43 5: Nibe: HandleSendQueue is using Cookie ARRAffinity with path and Value accb56b11a90a4702d647cd2d4723b9f5bf047e842fd6b00942ec9964ba3b291 (key ARRAffinity;, destination path is /oauth/authorize)
2020.02.05 11:40:43 5: Nibe: HandleSendQueue is adding Cookie header: ARRAffinity=accb56b11a90a4702d647cd2d4723b9f5bf047e842fd6b00942ec9964ba3b291
2020.02.05 11:40:43 4: Nibe: HandleSendQueue sends auth2 with timeout 2 to https://api.nibeuplink.com/oauth/authorize,
data: response_type=code&client_id=XXXX&scope=READSYSTEM&redirect_uri=http://192.168.1.106/nibe/&state=STATE,
header: Cookie: ARRAffinity=accb56b11a90a4702d647cd2d4723b9f5bf047e842fd6b00942ec9964ba3b291
2020.02.05 11:40:43 5: HttpUtils url=https://api.nibeuplink.com/oauth/authorize
2020.02.05 11:40:43 4: IP: api.nibeuplink.com -> 13.95.125.246
2020.02.05 11:40:43 5: HttpUtils request header:
POST /oauth/authorize HTTP/1.0
Host: api.nibeuplink.com
User-Agent: fhem
Accept-Encoding: gzip,deflate
Cookie: ARRAffinity=accb56b11a90a4702d647cd2d4723b9f5bf047e842fd6b00942ec9964ba3b291
Content-Length: 130
Content-Type: application/x-www-form-urlencoded
2020.02.05 11:40:43 4: https://api.nibeuplink.com/oauth/authorize: HTTP response code 302
2020.02.05 11:40:43 5: HttpUtils https://api.nibeuplink.com/oauth/authorize: Got data, length: 178
2020.02.05 11:40:43 5: HttpUtils response header:
HTTP/1.1 302 Found
Cache-Control: private
Content-Length: 178
Content-Type: text/html; charset=utf-8
Location: /Account/LogIn?mobile=true&ReturnUrl=%2foauth%2fauthorize
Server: Microsoft-IIS/10.0
X-AspNetMvc-Version: 5.2
X-AspNet-Version: 4.0.30319
X-Powered-By: ASP.NET
Date: Wed, 05 Feb 2020 10:40:42 GMT
Connection: close
2020.02.05 11:40:43 4: Nibe: Read callback: request type was auth2 retry 0,
header: HTTP/1.1 302 Found
Cache-Control: private
Content-Length: 178
Content-Type: text/html; charset=utf-8
Location: /Account/LogIn?mobile=true&ReturnUrl=%2foauth%2fauthorize
Server: Microsoft-IIS/10.0
X-AspNetMvc-Version: 5.2
X-AspNet-Version: 4.0.30319
X-Powered-By: ASP.NET
Date: Wed, 05 Feb 2020 10:40:42 GMT
Connection: close, body length 178
2020.02.05 11:40:43 5: Nibe: Read callback: body
<html><head><title>Object moved</title></head><body>
<h2>Object moved to <a href="/Account/LogIn?mobile=true&ReturnUrl=%2foauth%2fauthorize">here</a>.</h2>
</body></html>
2020.02.05 11:40:43 4: Nibe: Read found charset header and set decoding to utf-8 (bodyDecode was set to auto)
2020.02.05 11:40:43 4: Nibe: Read is decoding the buffer as utf-8
2020.02.05 11:40:43 3: Nibe: error while parsing JSON data: malformed JSON string, neither tag, array, object, number, string or atom, at character offset 0 (before "<html><head><title>O...") at (eval 21556) line 1.
2020.02.05 11:40:43 5: Nibe: GetCookies is looking for Cookies
2020.02.05 11:40:43 5: Nibe: ExtractSid called, context sid, num 2
2020.02.05 11:40:43 4: Nibe: checking for redirects, code=302, ignore=1
2020.02.05 11:40:43 4: Nibe: ignoring redirect to https://api.nibeuplink.com:443/Account/LogIn?mobile=true&ReturnUrl=%2foauth%2fauthorize
2020.02.05 11:40:44 5: Nibe: HandleSendQueue called, qlen = 2
2020.02.05 11:40:44 5: Nibe: HandleSendQueue is using Cookie ARRAffinity with path and Value accb56b11a90a4702d647cd2d4723b9f5bf047e842fd6b00942ec9964ba3b291 (key ARRAffinity;, destination path is /oauth/token)
2020.02.05 11:40:44 5: Nibe: HandleSendQueue is adding Cookie header: ARRAffinity=accb56b11a90a4702d647cd2d4723b9f5bf047e842fd6b00942ec9964ba3b291
2020.02.05 11:40:44 4: Nibe: HandleSendQueue sends auth3 with timeout 2 to https://api.nibeuplink.com/oauth/token,
data: grant_type=authorization_code&code=client_id=XXXX&client_secret=YYYY&code=$sid&redirect_uri=http://192.168.1.106/nibe/&scope=READSYSTEM,
header: Cookie: ARRAffinity=accb56b11a90a4702d647cd2d4723b9f5bf047e842fd6b00942ec9964ba3b291
2020.02.05 11:40:44 5: HttpUtils url=https://api.nibeuplink.com/oauth/token
2020.02.05 11:40:44 4: IP: api.nibeuplink.com -> 13.95.125.246
2020.02.05 11:40:44 5: HttpUtils request header:
POST /oauth/token HTTP/1.0
Host: api.nibeuplink.com
User-Agent: fhem
Accept-Encoding: gzip,deflate
Cookie: ARRAffinity=accb56b11a90a4702d647cd2d4723b9f5bf047e842fd6b00942ec9964ba3b291
Content-Length: 203
Content-Type: application/x-www-form-urlencoded
2020.02.05 11:40:44 4: https://api.nibeuplink.com/oauth/token: HTTP response code 400
2020.02.05 11:40:44 5: HttpUtils https://api.nibeuplink.com/oauth/token: Got data, length: 27
2020.02.05 11:40:44 5: HttpUtils response header:
HTTP/1.1 400 Bad Request
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Pragma: no-cache
Content-Length: 27
Content-Type: application/json; charset=utf-8
Server: Microsoft-IIS/10.0
X-AspNetMvc-Version: 5.2
X-AspNet-Version: 4.0.30319
X-Powered-By: ASP.NET
Date: Wed, 05 Feb 2020 10:40:43 GMT
Connection: close
2020.02.05 11:40:44 4: Nibe: Read callback: request type was auth3 retry 0,
header: HTTP/1.1 400 Bad Request
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Pragma: no-cache
Content-Length: 27
Content-Type: application/json; charset=utf-8
Server: Microsoft-IIS/10.0
X-AspNetMvc-Version: 5.2
X-AspNet-Version: 4.0.30319
X-Powered-By: ASP.NET
Date: Wed, 05 Feb 2020 10:40:43 GMT
Connection: close, body length 27
2020.02.05 11:40:44 5: Nibe: Read callback: body
{"error":"invalid_request"}
2020.02.05 11:40:44 4: Nibe: Read found charset header and set decoding to utf-8 (bodyDecode was set to auto)
2020.02.05 11:40:44 4: Nibe: Read is decoding the buffer as utf-8
2020.02.05 11:40:44 5: Nibe: JSON Flatter called : prefix , ref is HASH(0x5614b5649748)
2020.02.05 11:40:44 5: Nibe: JSON Flatter sets error to invalid_request
2020.02.05 11:40:44 4: Nibe: extracted JSON values to internal
2020.02.05 11:40:44 5: Nibe: GetCookies is looking for Cookies
2020.02.05 11:40:44 5: Nibe: ExtractSid called, context sid, num 3
2020.02.05 11:40:44 5: Nibe: Checking SID with JSON token
2020.02.05 11:40:44 4: Nibe: checking for redirects, code=400, ignore=0
2020.02.05 11:40:44 4: Nibe: no redirects to handle
2020.02.05 11:40:45 5: Nibe: HandleSendQueue called, qlen = 1
2020.02.05 11:40:45 5: Nibe: HandleSendQueue is using Cookie ARRAffinity with path and Value accb56b11a90a4702d647cd2d4723b9f5bf047e842fd6b00942ec9964ba3b291 (key ARRAffinity;, destination path is /api/v1/systems)
2020.02.05 11:40:45 5: Nibe: HandleSendQueue is adding Cookie header: ARRAffinity=accb56b11a90a4702d647cd2d4723b9f5bf047e842fd6b00942ec9964ba3b291
2020.02.05 11:40:45 4: Nibe: HandleSendQueue sends update with timeout 2 to https://api.nibeuplink.com/api/v1/systems, No Data,
header: Authorization: Bearer $sid
Content-Type: application/json
Cookie: ARRAffinity=accb56b11a90a4702d647cd2d4723b9f5bf047e842fd6b00942ec9964ba3b291
2020.02.05 11:40:45 5: HttpUtils url=https://api.nibeuplink.com/api/v1/systems
2020.02.05 11:40:45 4: IP: api.nibeuplink.com -> 13.95.125.246
2020.02.05 11:40:45 5: HttpUtils request header:
GET /api/v1/systems HTTP/1.0
Host: api.nibeuplink.com
User-Agent: fhem
Accept-Encoding: gzip,deflate
Authorization: Bearer $sid
Content-Type: application/json
Cookie: ARRAffinity=accb56b11a90a4702d647cd2d4723b9f5bf047e842fd6b00942ec9964ba3b291
2020.02.05 11:40:45 4: https://api.nibeuplink.com/api/v1/systems: HTTP response code 500
2020.02.05 11:40:45 5: HttpUtils https://api.nibeuplink.com/api/v1/systems: Got data, length: 164
2020.02.05 11:40:45 5: HttpUtils response header:
HTTP/1.1 500 Internal Server Error
Cache-Control: no-cache
Pragma: no-cache
Content-Length: 164
Content-Type: application/json; charset=utf-8
Expires: -1
Server: Microsoft-IIS/10.0
X-AspNet-Version: 4.0.30319
X-Powered-By: ASP.NET
Date: Wed, 05 Feb 2020 10:40:44 GMT
Connection: close
2020.02.05 11:40:45 4: Nibe: Read callback: request type was update retry 1,
header: HTTP/1.1 500 Internal Server Error
Cache-Control: no-cache
Pragma: no-cache
Content-Length: 164
Content-Type: application/json; charset=utf-8
Expires: -1
Server: Microsoft-IIS/10.0
X-AspNet-Version: 4.0.30319
X-Powered-By: ASP.NET
Date: Wed, 05 Feb 2020 10:40:44 GMT
Connection: close, body length 164
2020.02.05 11:40:45 5: Nibe: Read callback: body
{
"httpStatusCode": 500,
"errorCode": 0,
"timestamp": "2020-02-05T10:40:45.4143015Z",
"details": [
"Internal Server Error"
],
"data": null
}
2020.02.05 11:40:45 4: Nibe: Read found charset header and set decoding to utf-8 (bodyDecode was set to auto)
2020.02.05 11:40:45 4: Nibe: Read is decoding the buffer as utf-8
2020.02.05 11:40:45 5: Nibe: JSON Flatter called : prefix , ref is HASH(0x5614b56a46b0)
2020.02.05 11:40:45 5: Nibe: JSON Flatter doing recursion because value is a ARRAY
2020.02.05 11:40:45 5: Nibe: JSON Flatter called : prefix details_, ref is ARRAY(0x5614ae368490)
2020.02.05 11:40:45 5: Nibe: JSON Flatter sets details_0 to Internal Server Error
2020.02.05 11:40:45 5: Nibe: JSON Flatter sets httpStatusCode to 500
2020.02.05 11:40:45 5: Nibe: JSON Flatter sets errorCode to 0
2020.02.05 11:40:45 5: Nibe: JSON Flatter sets timestamp to 2020-02-05T10:40:45.4143015Z
2020.02.05 11:40:45 4: Nibe: extracted JSON values to internal
2020.02.05 11:40:45 5: Nibe: GetCookies is looking for Cookies
2020.02.05 11:40:45 5: Nibe: ExtractSid called, context reading, num
2020.02.05 11:40:45 4: Nibe: checking for redirects, code=500, ignore=0
2020.02.05 11:40:45 4: Nibe: no redirects to handle
2020.02.05 11:40:45 5: Nibe: GetRegex found precompiled reAuthRegex for as (?^:500.Internal.Server.Error|Unauthorized|default.backend...401)
2020.02.05 11:40:45 5: Nibe: Checking Auth with JSON message
2020.02.05 11:40:45 5: Nibe: CheckAuth is checking buffer with ReAuthRegex (?^:500.Internal.Server.Error|Unauthorized|default.backend...401)
2020.02.05 11:40:45 4: Nibe: CheckAuth decided new authentication required
2020.02.05 11:40:45 4: Nibe: Authentication still required but no retries left - did last authentication fail?
2020.02.05 11:40:45 5: Nibe: Read sets reading errorCode to value 0 of JSON errorCode
2020.02.05 11:40:45 5: Nibe: Read sets reading details_0 to value Internal Server Error of JSON details_0
2020.02.05 11:40:45 5: Nibe: Read sets reading timestamp to value 2020-02-05T10:40:45.4143015Z of JSON timestamp
2020.02.05 11:40:45 5: Nibe: Read sets reading httpStatusCode to value 500 of JSON httpStatusCode
2020.02.05 11:40:45 5: Nibe: Read starts parsing response to update with defined readings:
2020.02.05 11:40:45 4: Nibe: Read response matched 4, unmatch 0 Reading(s)
2020.02.05 11:40:45 5: Nibe: Read response to update matched errorCode details_0 timestamp httpStatusCode
2020.02.05 11:40:45 5: Nibe: HandleSendQueue called, qlen = 0