brbeaird / SmartThings-MyQ-Edge

SmartThings/MyQ Integration via Edge
62 stars 16 forks source link

Consistent authentication errors #47

Closed nmrs closed 11 months ago

nmrs commented 11 months ago

I've been getting consistent authentication errors for a while enow (11848 times in a row). I've had this running successfully for months but these errors just started recently. These auth errors have happened periodically in the past but have resolved themselves quickly (the only way I even knew they were even happening was from looking at the logs). I haven't changed anything about the credentials on my end and verified I can still use these credentials to log into the MyQ app so I know they are working. I'm running the latest docker container -- I just updated it again this morning to see if that would resolve it but it didn't.

2023-10-18T14:11:45.587151531+00:00 INFO MyQ Connector Failure count 11847 2023-10-18T14:11:45.587831990+00:00 INFO MyQ Connector 401 2023-10-18T14:11:45.598853573+00:00 ERROR MyQ Connector Refresh Failed. 2023-10-18T14:11:45.601224323+00:00 DEBUG MyQ Connector MyQ-Controller device thread event handled 2023-10-18T14:11:55.281678369+00:00 INFO MyQ Connector Unable to login to MyQ with credentials. Will try again after a delay. Updating credentials will trigger an instant retry. 2023-10-18T14:11:55.282353615+00:00 DEBUG MyQ Connector MyQ-Controller device thread event handled 2023-10-18T14:12:05.286782983+00:00 INFO MyQ Connector Unable to login to MyQ with credentials. Will try again after a delay. Updating credentials will trigger an instant retry. 2023-10-18T14:12:05.287355197+00:00 DEBUG MyQ Connector MyQ-Controller device thread event handled 2023-10-18T14:12:15.301684143+00:00 INFO MyQ Connector Unable to login to MyQ with credentials. Will try again after a delay. Updating credentials will trigger an instant retry. 2023-10-18T14:12:15.302363476+00:00 DEBUG MyQ Connector MyQ-Controller device thread event handled 2023-10-18T14:12:25.301705190+00:00 INFO MyQ Connector Unable to login to MyQ with credentials. Will try again after a delay. Updating credentials will trigger an instant retry. 2023-10-18T14:12:25.302382815+00:00 DEBUG MyQ Connector MyQ-Controller device thread event handled 2023-10-18T14:12:35.301666778+00:00 INFO MyQ Connector Unable to login to MyQ with credentials. Will try again after a delay. Updating credentials will trigger an instant retry. 2023-10-18T14:12:35.302339236+00:00 DEBUG MyQ Connector MyQ-Controller device thread event handled 2023-10-18T14:12:45.476128366+00:00 ERROR MyQ Connector Non-200 response calling: http://192.168.2.247:8090/devices - 401 - body: Unauthorized 2023-10-18T14:12:45.478031408+00:00 INFO MyQ Connector Failure count 11848

brbeaird commented 11 months ago

MyQ is a LOT more aggressive now with their errors. You likely got locked out. Leave it off for 60-90 minutes and try again. Now that you're running the latest version, it should be good after that.

nmrs commented 11 months ago

It's magically working again this morning, so maybe the update fixed it once the lock out expired. Thanks for the response!