Closed al3xzo closed 2 years ago
Did you press the button on the bridge?
Hello Erik,
Yes I did. I restarted Homebridge several times, waited for the bridge to light up and pressed the button. Then the error message (error 401) occurred.
Best
Alexander Zöchling
Am 06.04.2022 um 07:28 schrieb Erik Baauw @.***>:
Did you press the button on the bridge?
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.
Is the system clock on the server running Homebridge correct? The Nuki bridge API hashes the token combined with the current time to guard against replay attacks. If the client (Homebridge) and Nuki bridge clocks are out of sync, the bridge won't accept the request.
Hello,
you were correct. The container was set to the right time zone, but my server was set incorrectly. I corrected the mistake - nevertheless I couldn’t connect my nuki devices. Now homebridge puts out the following: “error: 0.0.0.0:8080: cannot listen: EADDRINUSE”
Mit freundlichen Grüßen
Alexander Zöchling
Am 06.04.2022 um 12:06 schrieb Erik Baauw @.***>: Is the system clock on the server running Homebridge correct? The Nuki bridge API hashes the token combined with the current time to guard against replay attacks. If the client (Homebridge) and Nuki bridge clocks are out of sync, the bridge won't accept the request.
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.
EADDRINUSE means that the port cannot be opened, because another process already uses it. This typically happens if you try and start another instance of Homebridge, while it’s already running.