Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Repeating log entries reporting 'failed downloading picture' for ID. Buzz #154

Open
simeon-simsoft opened this issue Oct 10, 2023 · 9 comments
Assignees
Labels
bug Something isn't working

Comments

@simeon-simsoft
Copy link

Using this component within Home Assistant the log is filling with messages relating to being unable to download pictures.

Logger: weconnect
Source: /usr/local/lib/python3.11/site-packages/weconnect/elements/vehicle.py:458
First occurred: 9 October 2023 at 16:32:11 (442 occurrences)
Last logged: 08:59:55

Failed downloading picture door_right_front with status code 403 will try again in next update
Failed downloading picture window_right_front_overlay with status code 403 will try again in next update
Failed downloading picture door_right_back_overlay with status code 403 will try again in next update
Failed downloading picture window_left_back_overlay with status code 403 will try again in next update
Failed downloading picture car_birdview with status code 403 will try again in next update

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/weconnect/weconnect.py", line 193, in update
self.updateVehicles(updateCapabilities=updateCapabilities, updatePictures=updatePictures, force=force, selective=selective)
File "/usr/local/lib/python3.11/site-packages/weconnect/weconnect.py", line 202, in updateVehicles
data = self.fetchData(url, force)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/weconnect/weconnect.py", line 393, in fetchData
raise RetrievalError(f'Could not fetch data. Status Code was: {statusResponse.status_code}')
weconnect.errors.RetrievalError: Could not fetch data. Status Code was: 403

  • Version used [0.58.3]
@simeon-simsoft simeon-simsoft added the bug Something isn't working label Oct 10, 2023
@tillsteinbach
Copy link
Owner

is this still the case, or was it a temporary problem?

@simeon-simsoft
Copy link
Author

Hi, yes. still ongoing as of just now.. Are the list of pictures passed in from the server or do you hard code them per vehicle?

@tillsteinbach
Copy link
Owner

the list is coming from the server. What is strange is that it is a 403 error. Does it work in the app?

@simeon-simsoft
Copy link
Author

hard to tell.. im not very used to the app.. new car.. I get a picture of the car, but its just one.. my wife has the car today so not sure if its dynamic if i were to open a door etc.

@simeon-simsoft
Copy link
Author

im happy to share my app details if it makes it any easier to debug locally.

@legantois
Copy link

same here (ID.4 in garage charging and connected...)

Failed downloading picture door_right_front_overlay with status code 429 will try again in next update
Failed downloading picture sunroof with status code 429 will try again in next update
Failed downloading picture bonnet_overlay with status code 429 will try again in next update
Failed downloading picture car_birdview with status code 429 will try again in next update
Failed downloading picture door_right_front with status code 429 will try again in next update
Failed downloading picture light_left with status code 429 will try again in next update
Failed downloading picture light_right with status code 429 will try again in next update
Failed downloading picture trunk_overlay with status code 429 will try again in next update
Failed downloading picture window_left_front_overlay with status code 429 will try again in next update
Failed downloading picture window_right_front_overlay with status code 429 will try again in next update

@tillsteinbach
Copy link
Owner

429 is a different error. It means too many requests.

@legantois
Copy link

Sorry for the bad report. these errors occured several times in one block (i checked and they did not occur in the last 12 h)

but looking on the log i see the following error occuring (but not in one block, one or two at a time every 2/3 hours)

Failed downloading picture window_left_back_overlay with status code 403 will try again in next update
Failed downloading picture door_left_front_overlay with status code 403 will try again in next update
Failed downloading picture window_left_front_overlay with status code 403 will try again in next update

@DEVIDTR
Copy link
Contributor

DEVIDTR commented Dec 7, 2023

I submitted a commit that should solve the issue with images.

#161

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants