Brandawg93 / homebridge-fordpass

Control your Ford vehicle in HomeKit using Homebridge.
GNU General Public License v3.0
61 stars 15 forks source link

[Bug]: Auth failed with error: 401 #186

Closed jaxonashton closed 2 years ago

jaxonashton commented 2 years ago

Describe the bug

Getting error 401 again with the plugin after updating to the latest version. This issue was previously reported by other users under #162 and #165.

Debug Output

[21/06/2022, 12:02:57] [homebridge-fordpass] Launched child bridge with PID 10715
[21/06/2022, 12:02:57] [homebridge-fordpass] Loaded homebridge-fordpass v1.6.1 child bridge successfully
[21/06/2022, 12:00:28] [homebridge-fordpass] Auth failed with error: 401

Steps to reproduce

Not sure exactly how to reproduce. My login credentials are working on the website and the native Fordpass app, just not with the plugin. I attempted to remove and re-add my credentials, but no joy so far.

Device Type

Raspi 4B

iOS Version

15.5

Bug Persistence

Consistently

Last Working Version

1.5.3

jaxonashton commented 2 years ago

When I roll back to the last known working version of the plugin (v1.5.3), I get [21/06/2022, 12:08:42] [homebridge-fordpass] Auth failed with error: 404 which makes sense if the API was updated by Ford, re: #185.

Upon upgrading to the latest version of the plugin again (v1.6.1), I get:

[21/06/2022, 12:10:34] [homebridge-fordpass] New vehicle found: Goliath
[21/06/2022, 12:10:34] [homebridge-fordpass] Configuring accessory Goliath
[21/06/2022, 12:10:35] [homebridge-fordpass] Updating info for Goliath
Brandawg93 commented 2 years ago

So it seems to be working for you now?

jaxonashton commented 2 years ago

@Brandawg93 -- Correct. I am able to lock/unlock and remote start from the HomeKit with no issues.

I think what happened was a bad rollback I did last night that somehow borked the authentication path, even though I rolled back to v1.6.1. I had to wind up re-installing some other plugins as well.

It's been a huge PITA getting this IPv6 tunnel to cooperate with my whole network. I'll close this out.