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

Unable to configure after update from 17.x to 18.1 #564

Closed
reineo opened this issue Jan 13, 2025 · 7 comments
Closed

Unable to configure after update from 17.x to 18.1 #564

reineo opened this issue Jan 13, 2025 · 7 comments
Labels
bug Something isn't working wontfix This will not be worked on

Comments

@reineo
Copy link

reineo commented Jan 13, 2025

Updated from version 17.x to 18.1 and get this error on startup.

connectivityGenerations=MOD1&connectivityGenerations=MOD2&connectivityGenerations=MOD3&connectivityGenerations=MOD4: 500
Traceback (most recent call last):
  File "/usr/local/lib/python3.13/site-packages/myskoda/rest_api.py", line 98, in _make_request
    response.raise_for_status()
    ~~~~~~~~~~~~~~~~~~~~~~~~~^^
  File "/usr/local/lib/python3.13/site-packages/aiohttp/client_reqrep.py", line 1161, in raise_for_status
    raise ClientResponseError(
    ...<5 lines>...
    )
aiohttp.client_exceptions.ClientResponseError: 500, message='Internal Server Error', url='https://mysmob.api.connect.skoda-auto.cz/api/v2/garage?connectivityGenerations=MOD1&connectivityGenerations=MOD2&connectivityGenerations=MOD3&connectivityGenerations=MOD4'
2025-01-13 13:15:30.141 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry [redacted] for myskoda
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 640, in __async_setup_with_context
    result = await component.async_setup_entry(hass, self)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/myskoda/__init__.py", line 87, in async_setup_entry
    vehicles = await myskoda.list_vehicle_vins()
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.13/site-packages/myskoda/myskoda.py", line 361, in list_vehicle_vins
    garage = (await self.rest_api.get_garage()).result
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.13/site-packages/myskoda/rest_api.py", line 276, in get_garage
    data=await self._make_get_request(url),
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.13/site-packages/myskoda/rest_api.py", line 108, in _make_get_request
    return await self._make_request(url=url, method="GET")
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.13/site-packages/myskoda/rest_api.py", line 98, in _make_request
    response.raise_for_status()
    ~~~~~~~~~~~~~~~~~~~~~~~~~^^
  File "/usr/local/lib/python3.13/site-packages/aiohttp/client_reqrep.py", line 1161, in raise_for_status
    raise ClientResponseError(
    ...<5 lines>...
    )
aiohttp.client_exceptions.ClientResponseError: 500, message='Internal Server Error', url='https://mysmob.api.connect.skoda-auto.cz/api/v2/garage?connectivityGenerations=MOD1&connectivityGenerations=MOD2&connectivityGenerations=MOD3&connectivityGenerations=MOD4'
@reineo reineo added the bug Something isn't working label Jan 13, 2025
@reineo
Copy link
Author

reineo commented Jan 13, 2025

Vehicle is a Skoda Octavia iV RS (hybrid)

@reineo
Copy link
Author

reineo commented Jan 13, 2025

Hmm.. If I wait for a couple of minutes everything seems to restore to working state?

@prvakt
Copy link
Collaborator

prvakt commented Jan 13, 2025

Hi, this problem is related to MySkoda API.. Most likely there was some intermittent error on their API and their server did not responded with expected data...

@nils512
Copy link

nils512 commented Jan 13, 2025

Yes, VW WeConnect is down (again).

https://allestörungen.de/stoerung/we-connect-go/ will detected if the API is down.
As a workaround i added the tile below to my dashboard.
You can use any entity, that is published by MySkoda.

type: tile
tap_action:
  action: url
  url_path: https://allestörungen.de/stoerung/we-connect-go/
visibility:
  - condition: state
    entity: image.skoda_enyaq_hauptansicht_des_fahrzeugs
    state: unavailable
entity: image.skoda_enyaq_hauptansicht_des_fahrzeugs
name: Error. Check connection?
hide_state: true
icon: mdi:cancel
color: red
grid_options:
  columns: 12
  rows: 1

@WebSpider
Copy link
Contributor

We will add a more graceful error in the next version, however we are dependent on the MySkoda API to operate, else this integration cannot work.

@WebSpider WebSpider added the wontfix This will not be worked on label Jan 13, 2025
@WebSpider
Copy link
Contributor

Yes, VW WeConnect is down (again).

https://allestörungen.de/stoerung/we-connect-go/ will detected if the API is down. As a workaround i added the tile below to my dashboard. You can use any entity, that is published by MySkoda.

Thank you for the suggestion. We may add an additional sensor that triggers if we know there are API problems at the moment.

@WebSpider
Copy link
Contributor

WebSpider commented Jan 14, 2025

This request is #569

@WebSpider WebSpider closed this as not planned Won't fix, can't repro, duplicate, stale Jan 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

4 participants