misenhower / homebridge-wyze-connected-home

Wyze Connected Home plugin for Homebridge
MIT License
70 stars 52 forks source link

Request failed: Error with Wyze API / Access Tokens #20

Open jeanofthedead opened 3 years ago

jeanofthedead commented 3 years ago

Hello, there seems to be a timeout with my access token becoming invalid every day, multiple times a day. Rebooting the HomeBridge instance fixes the error, but it eventually comes up again. Any tips?

Here's my log: [11/3/2020, 02:00:32] [Wyze] Request failed: Error: getaddrinfo EAI_AGAIN api.wyzecam.com [11/3/2020, 02:00:32] [Wyze] Error, refreshing access token and trying again

Running: RaspPi 3B+ with official HomeBridgeOS v.1.1.6

Thanks!

beetlewigs commented 3 years ago

Hi, I’m having the same issue. My Wyze bulbs are controllable and do work fine with Home, which is all I care about. My Wyze cams do not work via Home, which I think is what the error is about, but I use the Wyze app to view those.

[11/24/2020, 6:37:19 PM] [Wyze] Request failed: Error: getaddrinfo EAI_AGAIN api.wyzecam.com [11/24/2020, 6:37:19 PM] [Wyze] Error, refreshing access token and trying again [11/24/2020, 6:37:19 PM] [Wyze] Request failed: Error: getaddrinfo EAI_AGAIN api.wyzecam.com [11/24/2020, 6:37:19 PM] [Wyze] Error, logging in and trying again [11/24/2020, 6:37:19 PM] [Wyze] Request failed: Error: getaddrinfo EAI_AGAIN auth-prod.api.wyze.com [11/24/2020, 6:37:19 PM] [Wyze] Error getting devices: Error: getaddrinfo EAI_AGAIN auth-prod.api.wyze.com

Raspberry Pi Zero

mateo-ca commented 2 years ago

Anybody find a solution to this? I've just installed Homebridge (1.4.0) and cannot get the Wyze plugin to connect. I get the same error messages:

[1/24/2022, 4:02:43 PM] [Wyze] Error, logging in and trying again [1/24/2022, 4:02:48 PM] [Wyze] Request failed: Error: getaddrinfo EAI_AGAIN auth-prod.api.wyze.com [1/24/2022, 4:02:48 PM] [Wyze] Error getting devices: Error: getaddrinfo EAI_AGAIN auth-prod.api.wyze.com

I've changed the timeout, removed 2AF, yet I still get this.

Any help?