fordpass-ha icon indicating copy to clipboard operation
fordpass-ha copied to clipboard

Error fetching fordpass data: Error communicating with FordPass

Open jdisom013 opened this issue 3 years ago • 9 comments

Not sure if this is a bug or application issue, however, I'm not able to fetch fordpass data in the latest application update. Can you look into/identify issue blocking the communication?

2021-12-20 10:01:57 ERROR (MainThread) [custom_components.fordpass] Error fetching fordpass data: Error communicating with FordPass 2021-12-20 10:02:14 ERROR (stream_worker) [homeassistant.components.stream] Error from stream worker: Stream ended; no additional packets 2021-12-20 10:02:14 ERROR (stream_worker) [homeassistant.components.stream] Error from stream worker: Stream ended; no additional packets

jdisom013 avatar Dec 20 '21 16:12 jdisom013

I'm getting similar errors. Started today around 12:55:00 UTC time. All my entities are unavailable.

2021-12-20 18:02:40 WARNING (MainThread) [custom_components.fordpass] Error communicating with FordPass for VINNUMBER 2021-12-20 18:02:40 ERROR (MainThread) [custom_components.fordpass] Error fetching fordpass data: Error communicating with FordPass for VINNUMBER

I had version 1.23 installed when the errors started, but it's the same with version 1.28. I have the latest HA (2021.12.3) with HassOS 7.0.

Sjoerdfc avatar Dec 20 '21 17:12 Sjoerdfc

I’m having exactly the same issue.

rickgartner avatar Dec 20 '21 18:12 rickgartner

I enabled debugging, here is the log. Maybe related to #124?

It has been working fine for months, and today suddenly stopped working completely.

2021-12-20 20:43:50 DEBUG (MainThread) [custom_components.fordpass] vin 2021-12-20 20:43:50 DEBUG (MainThread) [custom_components.fordpass] username 2021-12-20 20:43:50 DEBUG (MainThread) [custom_components.fordpass] password 2021-12-20 20:43:50 DEBUG (MainThread) [custom_components.fordpass] region 2021-12-20 20:43:50 DEBUG (MainThread) [custom_components.fordpass] UK&Europe 2021-12-20 20:43:50 DEBUG (MainThread) [custom_components.fordpass.fordpass_new] /config/custom_components/fordpass/fordpass_token.txt 2021-12-20 20:43:50 DEBUG (SyncWorker_8) [custom_components.fordpass.fordpass_new] Token is valid, continuing 2021-12-20 20:43:51 DEBUG (SyncWorker_6) [custom_components.fordpass.fordpass_new] Token is valid, continuing 2021-12-20 20:44:20 WARNING (MainThread) [custom_components.fordpass] 2021-12-20 20:44:20 WARNING (MainThread) [custom_components.fordpass] Error communicating with FordPass for VINNUMBER 2021-12-20 20:44:20 ERROR (MainThread) [custom_components.fordpass] Error fetching fordpass data: Error communicating with FordPass for VINNUMBER 2021-12-20 20:44:20 DEBUG (MainThread) [custom_components.fordpass] Finished fetching fordpass data in 30.001 seconds (success: False) 2021-12-20 20:44:20 WARNING (MainThread) [homeassistant.config_entries] Config entry 'Vehicle (VINNUMBER)' for fordpass integration not ready yet: None; Retrying in background

People in #124 are saying its acting up again today for them too. Is it just related to Ford then? Or is it something with the integration?

Sjoerdfc avatar Dec 20 '21 19:12 Sjoerdfc

Me too

pivlersmom avatar Dec 20 '21 20:12 pivlersmom

Please try the latest release #147

itchannel avatar Dec 20 '21 20:12 itchannel

Please try the latest release #147

Yes, fixed! Instantly works again. Thanks!

Sjoerdfc avatar Dec 20 '21 20:12 Sjoerdfc

I upgraded to #147 and it works again but odometer, ignition switch, elveh (and guardmode_switch just disabled) are not available. Is it right..? Thanks a lot!

dxdx65 avatar Dec 21 '21 06:12 dxdx65

@dxdx65 Try 1.3. Guard mode won't work for now until I have time to see what API changes have been made. In the meantime I've pushed a new branch which should fix the error for the other sensors

itchannel avatar Dec 21 '21 06:12 itchannel

uploaded and tested #148 , it works now for all sensors (excpet guardmode of course). Thanks a lot!

dxdx65 avatar Dec 21 '21 08:12 dxdx65

Closing old issue for housekeeping

Please reopen if the issue is still present :)

itchannel avatar Oct 14 '23 09:10 itchannel