Hi,
We have been working with Nuki for some time now through the HTTP API integration. We have never had any issues with the authentication before.
Since two weeks ago approximately, we are facing consistant failure during pairing with 401 Unauthorized error message. We haven’t changed the hashing method which used to work well before.
Conditions: Bridge fw 1.11.4 and Lock paired together. Using the API with the hashed secure method only, not raw token. The time in the bridge and in our system seems to be equal.
Steps:
- discover bridge: OK
- authentication: OK
- /list call with hashed token: Fails all the time
- retrying /list after a few seconds fails as well
Has there been an update recently that could have impacted that? Do you see any reason why the bridge returns 401?
Here are the bridge logs during the process described above.
{
“timestamp”: “2019-06-26T15:24:24+00:00”,
“type”: “WLAN-SocketDisconnected”,
“connection”: 0
},
{
“timestamp”: “2019-06-26T15:24:24+00:00”,
“type”: “Button-Pressed”,
“time”: 2000
},
{
“timestamp”: “2019-06-26T15:24:24+00:00”,
“type”: “HTTP-AuthSession”,
“status”: “done”,
“success”: true
},
{
“timestamp”: “2019-06-26T15:24:19+00:00”,
“type”: “HTTP-AuthSession”,
“status”: “started”
},
Thanks,
Alex