SOC BMW

Alles rund um SoC (Ladezustand des Fahrzeuges). Probleme, Fragen, Fehlfunktionen gehören hier hin
gdfde
Beiträge: 133
Registriert: So Mär 10, 2019 1:05 pm
Has thanked: 6 times
Been thanked: 3 times

Re: SOC BMW

Beitrag von gdfde »

Nein, das funktioniert nicht.
Vor allem nicht, wenn man mit dynamischen Ladeleistungen mit PV Überschuss lädt.
Tronity aktualisert nur, nachdem der Ladevorgang beendet wurde.
rleidner
Beiträge: 1292
Registriert: Mo Nov 02, 2020 9:50 am
Has thanked: 26 times
Been thanked: 96 times

Re: SOC BMW

Beitrag von rleidner »

OK, wir schweifen aber vom Thema ab.
Bisher bist Du seit längerer Zeit der erste, der Authentisierungs-Probleme mit dem BMW&Mini SoC-Modul meldet.
Ich kann es wie gesagt in meinem Umfeld nicht nachvollziehen und daher auch wenig machen.
openWB-2 Standard+ | openWB EVU Kit v2 MID| 9,9kWp mit Kostal Plenticore 8.5 plus | VW ID.3, Kia EV6, Smart EQ forfour
gdfde
Beiträge: 133
Registriert: So Mär 10, 2019 1:05 pm
Has thanked: 6 times
Been thanked: 3 times

Re: SOC BMW

Beitrag von gdfde »

verstehe ich, no offend gegen dich :-)
Was ist die letzte aktuelle Version, wo die BMW Themen mit dem SOC gelöst sein sollten?
rleidner
Beiträge: 1292
Registriert: Mo Nov 02, 2020 9:50 am
Has thanked: 26 times
Been thanked: 96 times

Re: SOC BMW

Beitrag von rleidner »

gdfde hat geschrieben: Fr Mai 23, 2025 8:34 pm Was ist die letzte aktuelle Version, wo die BMW Themen mit dem SOC gelöst sein sollten?
Der letzte PR war https://github.com/openWB/core/pull/2208 und ist seit 24.März im master enthalten.
Doku im Wiki: https://github.com/openWB/core/wiki/SoC-BMW-Mini
openWB-2 Standard+ | openWB EVU Kit v2 MID| 9,9kWp mit Kostal Plenticore 8.5 plus | VW ID.3, Kia EV6, Smart EQ forfour
aiole
Beiträge: 8231
Registriert: Mo Okt 08, 2018 4:51 pm
Has thanked: 101 times
Been thanked: 104 times

Re: SOC BMW

Beitrag von aiole »

Die neuen Nutzungsbedingungen hast du aber bestätigt, oder?
Bei mir waren kürzlich täglich SoC-Neuregistrierungen erforderlich, bis ich bemerkte, dass die (selten genutzte) BMW-APP ihrer "Verstanden"-Bestätigung benötigte.
Extrahirn
Beiträge: 39
Registriert: Fr Dez 04, 2020 8:13 pm
Been thanked: 2 times

Re: SOC BMW

Beitrag von Extrahirn »

Hi,

aus meiner Erfahrung heraus, mussi ch alle 2-3 Tage das captcha für meinen Mini erneuern.

Heute trat wieder dieser Fehler auf:

Code: Alles auswählen


2025-05-24 09:38:15,988 - {httpcore.http11:85} - {DEBUG:fetch soc_ev0} - response_closed.started
2025-05-24 09:38:15,991 - {httpcore.http11:85} - {DEBUG:fetch soc_ev0} - response_closed.complete
2025-05-24 09:38:15,995 - {bimmer_connected.api.client:86} - {ERROR:fetch soc_ev0} - MyBMWAPIError due to HTTPStatusError: {"message":"Request Timeout","statusCode":408}
2025-05-24 09:38:15,999 - {httpcore.connection:85} - {DEBUG:fetch soc_ev0} - close.started
2025-05-24 09:38:16,004 - {httpcore.connection:85} - {DEBUG:fetch soc_ev0} - close.complete
2025-05-24 09:38:16,007 - {bimmer_connected.account:130} - {ERROR:fetch soc_ev0} - Unable to get details for vehicle WMWXP310302P05872 - (MyBMWAPIError) HTTPStatusError: {"message":"Request Timeout","statusCode":408}
2025-05-24 09:38:16,010 - {modules.vehicles.bmwbc.api:336} - {ERROR:fetch soc_ev0} - bmwbc.fetch_soc: requestData Error, vehicle_id: 0 err=MyBMWAPIError('HTTPStatusError: {"message":"Request Timeout","statusCode":408}'), type(err)=<class 'bimmer_connected.models.MyBMWAPIError'>
2025-05-24 09:38:16,041 - {modules.common.fault_state:49} - {ERROR:fetch soc_ev0} - BMW (Bimmer): FaultState FaultStateLevel.ERROR, FaultStr <class 'modules.vehicles.bmwbc.api.RequestFailed'> ('SoC Request failed:\nHTTPStatusError: {"message":"Request Timeout","statusCode":408}',), Traceback: 
Traceback (most recent call last):
  File "/home/openwb/.local/lib/python3.9/site-packages/bimmer_connected/api/client.py", line 77, in raise_for_status_event_handler
    response.raise_for_status()
  File "/home/openwb/.local/lib/python3.9/site-packages/httpx/_models.py", line 761, in raise_for_status
    raise HTTPStatusError(message, request=request, response=self)
httpx.HTTPStatusError: Client error '408 Request Timeout' for url 'https://cocoapi.bmwgroup.com/eadrax-vcs/v4/vehicles/state?apptimezone=0&appDateTime=1748072275000'
For more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/408

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/var/www/html/openWB/packages/modules/vehicles/bmwbc/api.py", line 291, in _fetch_soc
    await self._account[user_id].get_vehicles()
  File "/home/openwb/.local/lib/python3.9/site-packages/bimmer_connected/account.py", line 134, in get_vehicles
    raise ex
  File "/home/openwb/.local/lib/python3.9/site-packages/bimmer_connected/account.py", line 120, in get_vehicles
    await vehicle.get_vehicle_state()
  File "/home/openwb/.local/lib/python3.9/site-packages/bimmer_connected/vehicle/vehicle.py", line 108, in get_vehicle_state
    state_response = await client.get(
  File "/home/openwb/.local/lib/python3.9/site-packages/httpx/_client.py", line 1801, in get
    return await self.request(
  File "/home/openwb/.local/lib/python3.9/site-packages/httpx/_client.py", line 1574, in request
    return await self.send(request, auth=auth, follow_redirects=follow_redirects)
  File "/home/openwb/.local/lib/python3.9/site-packages/httpx/_client.py", line 1661, in send
    response = await self._send_handling_auth(
  File "/home/openwb/.local/lib/python3.9/site-packages/httpx/_client.py", line 1689, in _send_handling_auth
    response = await self._send_handling_redirects(
  File "/home/openwb/.local/lib/python3.9/site-packages/httpx/_client.py", line 1747, in _send_handling_redirects
    raise exc
  File "/home/openwb/.local/lib/python3.9/site-packages/httpx/_client.py", line 1729, in _send_handling_redirects
    await hook(response)
  File "/home/openwb/.local/lib/python3.9/site-packages/bimmer_connected/api/client.py", line 79, in raise_for_status_event_handler
    await handle_httpstatuserror(ex, log_handler=_LOGGER)
  File "/home/openwb/.local/lib/python3.9/site-packages/bimmer_connected/api/utils.py", line 89, in handle_httpstatuserror
    raise _ex_to_raise(_err_message) from ex
bimmer_connected.models.MyBMWAPIError: HTTPStatusError: {"message":"Request Timeout","statusCode":408}

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/var/www/html/openWB/packages/modules/common/configurable_vehicle.py", line 66, in update
    car_state = self._get_carstate_by_source(vehicle_update_data, source)
  File "/var/www/html/openWB/packages/modules/common/configurable_vehicle.py", line 117, in _get_carstate_by_source
    return self.__component_updater(vehicle_update_data)
  File "/var/www/html/openWB/packages/modules/vehicles/bmwbc/soc.py", line 20, in updater
    return api.fetch_soc(
  File "/var/www/html/openWB/packages/modules/vehicles/bmwbc/api.py", line 358, in fetch_soc
    soc, range, soc_tsX = loop.run_until_complete(api._fetch_soc(user_id, password, vin, captcha_token, vehicle_id))
  File "/usr/lib/python3.9/asyncio/base_events.py", line 642, in run_until_complete
    return future.result()
  File "/var/www/html/openWB/packages/modules/vehicles/bmwbc/api.py", line 344, in _fetch_soc
    raise RequestFailed("SoC Request failed:\n" + str(err))
modules.vehicles.bmwbc.api.RequestFailed: SoC Request failed:
HTTPStatusError: {"message":"Request Timeout","statusCode":408}

2025-05-24 09:42:58,037 - {modules.common.configurable_vehicle:56} - {DEBUG:fetch soc_ev0} - Vehicle Instance <class 'modules.vehicles.bmwbc.config.BMWbc'>
2025-05-24 09:42:58,050 - {modules.common.configurable_vehicle:57} - {DEBUG:fetch soc_ev0} - Calculated SoC-State CalculatedSocState(imported_start=None, manual_soc=None, soc_start=92)
2025-05-24 09:42:58,055 - {modules.common.configurable_vehicle:58} - {DEBUG:fetch soc_ev0} - Vehicle Update Data VehicleUpdateData(plug_state=False, charge_state=False, imported=None, battery_capacity=30000, efficiency=90, soc_from_cp=None, timestamp_soc_from_cp=None, soc_timestamp=1747999618.0)
2025-05-24 09:42:58,061 - {modules.common.configurable_vehicle:59} - {DEBUG:fetch soc_ev0} - General Config GeneralVehicleConfig(use_soc_from_cp=False, request_interval_charging=300, request_interval_not_charging=3600, request_only_plugged=False)
2025-05-24 09:42:58,066 - {modules.common.component_context:31} - {DEBUG:fetch soc_ev0} - Update Komponente ['BMW (Bimmer)']
2025-05-24 09:42:58,072 - {asyncio:59} - {DEBUG:fetch soc_ev0} - Using selector: EpollSelector
2025-05-24 09:42:58,077 - {modules.vehicles.bmwbc.api:153} - {DEBUG:fetch soc_ev0} - #  Reuse api _instance
2025-05-24 09:42:58,081 - {modules.vehicles.bmwbc.api:166} - {DEBUG:fetch soc_ev0} - dataPath=/var/www/html/openWB/data/modules/bmwbc
2025-05-24 09:42:58,090 - {modules.vehicles.bmwbc.api:214} - {DEBUG:fetch soc_ev0} - captcha token unchanged
2025-05-24 09:42:58,095 - {modules.vehicles.bmwbc.api:222} - {INFO:fetch soc_ev0} - authenticate via current token set
2025-05-24 09:42:58,100 - {modules.vehicles.bmwbc.api:250} - {DEBUG:fetch soc_ev0} - # Create _clconf instance
2025-05-24 09:42:58,104 - {modules.vehicles.bmwbc.api:257} - {DEBUG:fetch soc_ev0} - # Create _account instance
2025-05-24 09:42:58,108 - {modules.vehicles.bmwbc.api:282} - {DEBUG:fetch soc_ev0} - # Proactive login to force refresh token before get_vehicles
2025-05-24 09:42:58,113 - {modules.vehicles.bmwbc.api:283} - {DEBUG:fetch soc_ev0} - # before proactive login:2025-05-24 07:36:55.373930+00:00/Usxs5J3UV492j7eGyetHFMzGmks
2025-05-24 09:42:58,172 - {bimmer_connected.api.authentication:257} - {DEBUG:fetch soc_ev0} - Authenticating with refresh token for North America & Rest of World.
2025-05-24 09:42:58,178 - {httpcore.connection:85} - {DEBUG:fetch soc_ev0} - connect_tcp.started host='cocoapi.bmwgroup.com' port=443 local_address=None timeout=30.0 socket_options=None
2025-05-24 09:42:58,216 - {httpcore.connection:85} - {DEBUG:fetch soc_ev0} - connect_tcp.complete return_value=<httpcore._backends.anyio.AnyIOStream object at 0x6afdf5c8>
2025-05-24 09:42:58,219 - {httpcore.connection:85} - {DEBUG:fetch soc_ev0} - start_tls.started ssl_context=<ssl.SSLContext object at 0x6ea2fa48> server_hostname='cocoapi.bmwgroup.com' timeout=30.0
2025-05-24 09:42:58,265 - {httpcore.connection:85} - {DEBUG:fetch soc_ev0} - start_tls.complete return_value=<httpcore._backends.anyio.AnyIOStream object at 0x6afdf568>
2025-05-24 09:42:58,269 - {httpcore.http11:85} - {DEBUG:fetch soc_ev0} - send_request_headers.started request=<Request [b'GET']>
2025-05-24 09:42:58,273 - {httpcore.http11:85} - {DEBUG:fetch soc_ev0} - send_request_headers.complete
2025-05-24 09:42:58,276 - {httpcore.http11:85} - {DEBUG:fetch soc_ev0} - send_request_body.started request=<Request [b'GET']>
2025-05-24 09:42:58,279 - {httpcore.http11:85} - {DEBUG:fetch soc_ev0} - send_request_body.complete
2025-05-24 09:42:58,281 - {httpcore.http11:85} - {DEBUG:fetch soc_ev0} - receive_response_headers.started request=<Request [b'GET']>
2025-05-24 09:42:58,314 - {httpcore.http11:85} - {DEBUG:fetch soc_ev0} - receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'OK', [(b'Date', b'Sat, 24 May 2025 07:42:58 GMT'), (b'Content-Type', b'application/json; charset=utf-8'), (b'Content-Length', b'580'), (b'Connection', b'keep-alive'), (b'x-correlation-id', b'a699010b-7050-40b6-8b5e-e01edf423ba6'), (b'bmw-correlation-id', b'a699010b-7050-40b6-8b5e-e01edf423ba6'), (b'x-cluster-mock-used', b'false'), (b'Strict-Transport-Security', b'max-age=31536000; includeSubDomains'), (b'X-Content-Type-Options', b'nosniff'), (b'Content-Security-Policy', b"default-src 'self'"), (b'Request-Context', b'appId=cid-v1:24f34ad2-7e62-4399-93db-3071c599c619'), (b'x-azure-ref', b'20250524T074258Z-17cf4485d46phrgghC1FRA0s9w00000001ag000000009kmu'), (b'X-Cache', b'CONFIG_NOCACHE'), (b'Accept-Ranges', b'bytes')])
2025-05-24 09:42:58,321 - {httpcore.http11:85} - {DEBUG:fetch soc_ev0} - receive_response_body.started request=<Request [b'GET']>
2025-05-24 09:42:58,324 - {httpcore.http11:85} - {DEBUG:fetch soc_ev0} - receive_response_body.complete
2025-05-24 09:42:58,326 - {httpcore.http11:85} - {DEBUG:fetch soc_ev0} - response_closed.started
2025-05-24 09:42:58,329 - {httpcore.http11:85} - {DEBUG:fetch soc_ev0} - response_closed.complete
2025-05-24 09:42:58,335 - {httpcore.connection:85} - {DEBUG:fetch soc_ev0} - connect_tcp.started host='customer.bmwgroup.com' port=443 local_address=None timeout=30.0 socket_options=None
2025-05-24 09:42:58,370 - {httpcore.connection:85} - {DEBUG:fetch soc_ev0} - connect_tcp.complete return_value=<httpcore._backends.anyio.AnyIOStream object at 0x6aff8f88>
2025-05-24 09:42:58,373 - {httpcore.connection:85} - {DEBUG:fetch soc_ev0} - start_tls.started ssl_context=<ssl.SSLContext object at 0x6ea2fa48> server_hostname='customer.bmwgroup.com' timeout=30.0
2025-05-24 09:42:58,400 - {httpcore.connection:85} - {DEBUG:fetch soc_ev0} - start_tls.complete return_value=<httpcore._backends.anyio.AnyIOStream object at 0x6afed268>
2025-05-24 09:42:58,404 - {httpcore.http11:85} - {DEBUG:fetch soc_ev0} - send_request_headers.started request=<Request [b'POST']>
2025-05-24 09:42:58,407 - {httpcore.http11:85} - {DEBUG:fetch soc_ev0} - send_request_headers.complete
2025-05-24 09:42:58,410 - {httpcore.http11:85} - {DEBUG:fetch soc_ev0} - send_request_body.started request=<Request [b'POST']>
2025-05-24 09:42:58,413 - {httpcore.http11:85} - {DEBUG:fetch soc_ev0} - send_request_body.complete
2025-05-24 09:42:58,415 - {httpcore.http11:85} - {DEBUG:fetch soc_ev0} - receive_response_headers.started request=<Request [b'POST']>
2025-05-24 09:42:58,453 - {httpcore.http11:85} - {DEBUG:fetch soc_ev0} - receive_response_headers.complete return_value=(b'HTTP/1.1', 400, b'Bad Request', [(b'date', b'Sat, 24 May 2025 07:42:58 GMT'), (b'content-type', b'application/json'), (b'Content-Length', b'304'), (b'x-frame-options', b'SAMEORIGIN'), (b'x-content-type-options', b'nosniff'), (b'cache-control', b'no-store'), (b'pragma', b'no-cache'), (b'strict-transport-security', b'max-age=31536000; includeSubDomains'), (b'access-control-allow-headers', b'Authorization, Origin, X-c2b-Authorization, X-c2b-mTAN, X-Requested-With, X-c2b-Sender-Id, X-c2b-External-Id, Content-Type, Accept, Cache-Control, KeyId, x-dtc, deviceName, loginId, clientId, X-C2b-Api-Key, hcaptchatoken'), (b'access-control-max-age', b'3628800'), (b'access-control-allow-credentials', b'true'), (b'access-control-allow-methods', b'POST, GET, OPTIONS, PUT, DELETE, HEAD'), (b'referrer-policy', b'same-origin'), (b'x-xss-protection', b'0'), (b'x-c2b-request-id', b'81f4df4f-6b98-4ba3-9a97-8ffe084b5ea313993631'), (b'x-request-id', b'0b5f66fa-8016-4b27-a4e8-c98ef084dec6'), (b'via', b'1.1 google'), (b'Alt-Svc', b'h3=":443"; ma=2592000,h3-29=":443"; ma=2592000')])
2025-05-24 09:42:58,464 - {httpcore.http11:85} - {DEBUG:fetch soc_ev0} - receive_response_body.started request=<Request [b'POST']>
2025-05-24 09:42:58,482 - {httpcore.http11:85} - {DEBUG:fetch soc_ev0} - receive_response_body.complete
2025-05-24 09:42:58,490 - {httpcore.http11:85} - {DEBUG:fetch soc_ev0} - response_closed.started
2025-05-24 09:42:58,499 - {httpcore.http11:85} - {DEBUG:fetch soc_ev0} - response_closed.complete
2025-05-24 09:42:58,525 - {bimmer_connected.api.authentication:86} - {ERROR:fetch soc_ev0} - MyBMWAuthError due to HTTPStatusError: invalid_request - The request is missing a required parameter, includes an unsupported parameter value (other than grant type), repeats a parameter, includes multiple credentials, utilizes more than one mechanism for authenticating the client, or is otherwise malformed
2025-05-24 09:42:58,530 - {httpcore.connection:85} - {DEBUG:fetch soc_ev0} - close.started
2025-05-24 09:42:58,536 - {httpcore.connection:85} - {DEBUG:fetch soc_ev0} - close.complete
2025-05-24 09:42:58,542 - {httpcore.connection:85} - {DEBUG:fetch soc_ev0} - close.started
2025-05-24 09:42:58,549 - {httpcore.connection:85} - {DEBUG:fetch soc_ev0} - close.complete
2025-05-24 09:42:58,552 - {bimmer_connected.api.authentication:288} - {DEBUG:fetch soc_ev0} - Unable to get access token using refresh token, falling back to username/password.
2025-05-24 09:42:58,609 - {bimmer_connected.api.authentication:156} - {DEBUG:fetch soc_ev0} - Authenticating with MyBMW flow for North America & Rest of World.
2025-05-24 09:42:58,612 - {modules.vehicles.bmwbc.api:336} - {ERROR:fetch soc_ev0} - bmwbc.fetch_soc: requestData Error, vehicle_id: 0 err=MyBMWCaptchaMissingError('Missing hCaptcha token for login. See https://bimmer-connected.readthedocs.io/en/stable/captcha.html'), type(err)=<class 'bimmer_connected.models.MyBMWCaptchaMissingError'>
2025-05-24 09:42:58,623 - {modules.common.fault_state:49} - {ERROR:fetch soc_ev0} - BMW (Bimmer): FaultState FaultStateLevel.ERROR, FaultStr <class 'modules.vehicles.bmwbc.api.RequestFailed'> ('SoC Request failed:\nMissing hCaptcha token for login. See https://bimmer-connected.readthedocs.io/en/stable/captcha.html',), Traceback: 
Traceback (most recent call last):
  File "/var/www/html/openWB/packages/modules/vehicles/bmwbc/api.py", line 285, in _fetch_soc
    await self._auth[user_id].login()
  File "/home/openwb/.local/lib/python3.9/site-packages/bimmer_connected/api/authentication.py", line 137, in login
    token_data = await self._login_row_na()
  File "/home/openwb/.local/lib/python3.9/site-packages/bimmer_connected/api/authentication.py", line 159, in _login_row_na
    raise MyBMWCaptchaMissingError(
bimmer_connected.models.MyBMWCaptchaMissingError: Missing hCaptcha token for login. See https://bimmer-connected.readthedocs.io/en/stable/captcha.html

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/var/www/html/openWB/packages/modules/common/configurable_vehicle.py", line 66, in update
    car_state = self._get_carstate_by_source(vehicle_update_data, source)
  File "/var/www/html/openWB/packages/modules/common/configurable_vehicle.py", line 117, in _get_carstate_by_source
    return self.__component_updater(vehicle_update_data)
  File "/var/www/html/openWB/packages/modules/vehicles/bmwbc/soc.py", line 20, in updater
    return api.fetch_soc(
  File "/var/www/html/openWB/packages/modules/vehicles/bmwbc/api.py", line 358, in fetch_soc
    soc, range, soc_tsX = loop.run_until_complete(api._fetch_soc(user_id, password, vin, captcha_token, vehicle_id))
  File "/usr/lib/python3.9/asyncio/base_events.py", line 642, in run_until_complete
    return future.result()
  File "/var/www/html/openWB/packages/modules/vehicles/bmwbc/api.py", line 344, in _fetch_soc
    raise RequestFailed("SoC Request failed:\n" + str(err))
modules.vehicles.bmwbc.api.RequestFailed: SoC Request failed:
Missing hCaptcha token for login. See https://bimmer-connected.readthedocs.io/en/stable/captcha.html

2025-05-24 09:48:01,312 - {modules.common.configurable_vehicle:56} - {DEBUG:fetch soc_ev0} - Vehicle Instance <class 'modules.vehicles.bmwbc.config.BMWbc'>
2025-05-24 09:48:01,317 - {modules.common.configurable_vehicle:57} - {DEBUG:fetch soc_ev0} - Calculated SoC-State CalculatedSocState(imported_start=None, manual_soc=None, soc_start=92)
2025-05-24 09:48:01,328 - {modules.common.configurable_vehicle:58} - {DEBUG:fetch soc_ev0} - Vehicle Update Data VehicleUpdateData(plug_state=False, charge_state=False, imported=None, battery_capacity=30000, efficiency=90, soc_from_cp=None, timestamp_soc_from_cp=None, soc_timestamp=1747999618.0)
2025-05-24 09:48:01,331 - {modules.common.configurable_vehicle:59} - {DEBUG:fetch soc_ev0} - General Config GeneralVehicleConfig(use_soc_from_cp=False, request_interval_charging=300, request_interval_not_charging=3600, request_only_plugged=False)
2025-05-24 09:48:01,340 - {modules.common.component_context:31} - {DEBUG:fetch soc_ev0} - Update Komponente ['BMW (Bimmer)']
2025-05-24 09:48:01,344 - {asyncio:59} - {DEBUG:fetch soc_ev0} - Using selector: EpollSelector
2025-05-24 09:48:01,366 - {modules.vehicles.bmwbc.api:153} - {DEBUG:fetch soc_ev0} - #  Reuse api _instance
2025-05-24 09:48:01,372 - {modules.vehicles.bmwbc.api:166} - {DEBUG:fetch soc_ev0} - dataPath=/var/www/html/openWB/data/modules/bmwbc
2025-05-24 09:48:01,384 - {modules.vehicles.bmwbc.api:214} - {DEBUG:fetch soc_ev0} - captcha token unchanged
2025-05-24 09:48:01,398 - {modules.vehicles.bmwbc.api:222} - {INFO:fetch soc_ev0} - authenticate via current token set
2025-05-24 09:48:01,410 - {modules.vehicles.bmwbc.api:250} - {DEBUG:fetch soc_ev0} - # Create _clconf instance
2025-05-24 09:48:01,420 - {modules.vehicles.bmwbc.api:257} - {DEBUG:fetch soc_ev0} - # Create _account instance
2025-05-24 09:48:01,427 - {modules.vehicles.bmwbc.api:282} - {DEBUG:fetch soc_ev0} - # Proactive login to force refresh token before get_vehicles
2025-05-24 09:48:01,430 - {modules.vehicles.bmwbc.api:283} - {DEBUG:fetch soc_ev0} - # before proactive login:2025-05-24 07:36:55.373930+00:00/Usxs5J3UV492j7eGyetHFMzGmks
2025-05-24 09:48:01,489 - {bimmer_connected.api.authentication:257} - {DEBUG:fetch soc_ev0} - Authenticating with refresh token for North America & Rest of World.
2025-05-24 09:48:01,500 - {httpcore.connection:85} - {DEBUG:fetch soc_ev0} - connect_tcp.started host='cocoapi.bmwgroup.com' port=443 local_address=None timeout=30.0 socket_options=None
2025-05-24 09:48:01,570 - {httpcore.connection:85} - {DEBUG:fetch soc_ev0} - connect_tcp.complete return_value=<httpcore._backends.anyio.AnyIOStream object at 0x6afec7d8>
2025-05-24 09:48:01,573 - {httpcore.connection:85} - {DEBUG:fetch soc_ev0} - start_tls.started ssl_context=<ssl.SSLContext object at 0x6ade39b8> server_hostname='cocoapi.bmwgroup.com' timeout=30.0
2025-05-24 09:48:01,661 - {httpcore.connection:85} - {DEBUG:fetch soc_ev0} - start_tls.complete return_value=<httpcore._backends.anyio.AnyIOStream object at 0x6af1cac0>
2025-05-24 09:48:01,668 - {httpcore.http11:85} - {DEBUG:fetch soc_ev0} - send_request_headers.started request=<Request [b'GET']>
2025-05-24 09:48:01,677 - {httpcore.http11:85} - {DEBUG:fetch soc_ev0} - send_request_headers.complete
2025-05-24 09:48:01,681 - {httpcore.http11:85} - {DEBUG:fetch soc_ev0} - send_request_body.started request=<Request [b'GET']>
2025-05-24 09:48:01,686 - {httpcore.http11:85} - {DEBUG:fetch soc_ev0} - send_request_body.complete
2025-05-24 09:48:01,694 - {httpcore.http11:85} - {DEBUG:fetch soc_ev0} - receive_response_headers.started request=<Request [b'GET']>
2025-05-24 09:48:01,732 - {httpcore.http11:85} - {DEBUG:fetch soc_ev0} - receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'OK', [(b'Date', b'Sat, 24 May 2025 07:48:01 GMT'), (b'Content-Type', b'application/json; charset=utf-8'), (b'Content-Length', b'580'), (b'Connection', b'keep-alive'), (b'x-correlation-id', b'4b7c5965-12fb-4a83-a153-5203a221dfc9'), (b'bmw-correlation-id', b'4b7c5965-12fb-4a83-a153-5203a221dfc9'), (b'x-cluster-mock-used', b'false'), (b'Strict-Transport-Security', b'max-age=31536000; includeSubDomains'), (b'X-Content-Type-Options', b'nosniff'), (b'Content-Security-Policy', b"default-src 'self'"), (b'Request-Context', b'appId=cid-v1:24f34ad2-7e62-4399-93db-3071c599c619'), (b'x-azure-ref', b'20250524T074801Z-15bd97cbc59hj8b7hC1DUS5p300000000ceg00000000nyhs'), (b'X-Cache', b'CONFIG_NOCACHE'), (b'Accept-Ranges', b'bytes')])
2025-05-24 09:48:01,747 - {httpcore.http11:85} - {DEBUG:fetch soc_ev0} - receive_response_body.started request=<Request [b'GET']>
2025-05-24 09:48:01,768 - {httpcore.http11:85} - {DEBUG:fetch soc_ev0} - receive_response_body.complete
2025-05-24 09:48:01,772 - {httpcore.http11:85} - {DEBUG:fetch soc_ev0} - response_closed.started
2025-05-24 09:48:01,776 - {httpcore.http11:85} - {DEBUG:fetch soc_ev0} - response_closed.complete
2025-05-24 09:48:01,810 - {httpcore.connection:85} - {DEBUG:fetch soc_ev0} - connect_tcp.started host='customer.bmwgroup.com' port=443 local_address=None timeout=30.0 socket_options=None
2025-05-24 09:48:01,876 - {httpcore.connection:85} - {DEBUG:fetch soc_ev0} - connect_tcp.complete return_value=<httpcore._backends.anyio.AnyIOStream object at 0x6a8c6ad8>
2025-05-24 09:48:01,879 - {httpcore.connection:85} - {DEBUG:fetch soc_ev0} - start_tls.started ssl_context=<ssl.SSLContext object at 0x6ade39b8> server_hostname='customer.bmwgroup.com' timeout=30.0
2025-05-24 09:48:01,915 - {httpcore.connection:85} - {DEBUG:fetch soc_ev0} - start_tls.complete return_value=<httpcore._backends.anyio.AnyIOStream object at 0x6afd5868>
2025-05-24 09:48:01,920 - {httpcore.http11:85} - {DEBUG:fetch soc_ev0} - send_request_headers.started request=<Request [b'POST']>
2025-05-24 09:48:01,928 - {httpcore.http11:85} - {DEBUG:fetch soc_ev0} - send_request_headers.complete
2025-05-24 09:48:01,931 - {httpcore.http11:85} - {DEBUG:fetch soc_ev0} - send_request_body.started request=<Request [b'POST']>
2025-05-24 09:48:01,951 - {httpcore.http11:85} - {DEBUG:fetch soc_ev0} - send_request_body.complete
2025-05-24 09:48:01,954 - {httpcore.http11:85} - {DEBUG:fetch soc_ev0} - receive_response_headers.started request=<Request [b'POST']>
2025-05-24 09:48:02,028 - {httpcore.http11:85} - {DEBUG:fetch soc_ev0} - receive_response_headers.complete return_value=(b'HTTP/1.1', 400, b'Bad Request', [(b'date', b'Sat, 24 May 2025 07:48:01 GMT'), (b'content-type', b'application/json'), (b'Content-Length', b'304'), (b'x-frame-options', b'SAMEORIGIN'), (b'x-content-type-options', b'nosniff'), (b'cache-control', b'no-store'), (b'pragma', b'no-cache'), (b'strict-transport-security', b'max-age=31536000; includeSubDomains'), (b'access-control-allow-headers', b'Authorization, Origin, X-c2b-Authorization, X-c2b-mTAN, X-Requested-With, X-c2b-Sender-Id, X-c2b-External-Id, Content-Type, Accept, Cache-Control, KeyId, x-dtc, deviceName, loginId, clientId, X-C2b-Api-Key, hcaptchatoken'), (b'access-control-max-age', b'3628800'), (b'access-control-allow-credentials', b'true'), (b'access-control-allow-methods', b'POST, GET, OPTIONS, PUT, DELETE, HEAD'), (b'referrer-policy', b'same-origin'), (b'x-xss-protection', b'0'), (b'x-c2b-request-id', b'7e278c29-60ee-4a3c-8cf0-541c27d70d711526238'), (b'x-request-id', b'9baad77a-f9d7-4c52-9d64-ec33f0df6e48'), (b'via', b'1.1 google'), (b'Alt-Svc', b'h3=":443"; ma=2592000,h3-29=":443"; ma=2592000')])
2025-05-24 09:48:02,086 - {httpcore.http11:85} - {DEBUG:fetch soc_ev0} - receive_response_body.started request=<Request [b'POST']>
2025-05-24 09:48:02,096 - {httpcore.http11:85} - {DEBUG:fetch soc_ev0} - receive_response_body.complete
2025-05-24 09:48:02,100 - {httpcore.http11:85} - {DEBUG:fetch soc_ev0} - response_closed.started
2025-05-24 09:48:02,107 - {httpcore.http11:85} - {DEBUG:fetch soc_ev0} - response_closed.complete
2025-05-24 09:48:02,111 - {bimmer_connected.api.authentication:86} - {ERROR:fetch soc_ev0} - MyBMWAuthError due to HTTPStatusError: invalid_request - The request is missing a required parameter, includes an unsupported parameter value (other than grant type), repeats a parameter, includes multiple credentials, utilizes more than one mechanism for authenticating the client, or is otherwise malformed
2025-05-24 09:48:02,119 - {httpcore.connection:85} - {DEBUG:fetch soc_ev0} - close.started
2025-05-24 09:48:02,129 - {httpcore.connection:85} - {DEBUG:fetch soc_ev0} - close.complete
2025-05-24 09:48:02,132 - {httpcore.connection:85} - {DEBUG:fetch soc_ev0} - close.started
2025-05-24 09:48:02,141 - {httpcore.connection:85} - {DEBUG:fetch soc_ev0} - close.complete
2025-05-24 09:48:02,146 - {bimmer_connected.api.authentication:288} - {DEBUG:fetch soc_ev0} - Unable to get access token using refresh token, falling back to username/password.
2025-05-24 09:48:02,211 - {bimmer_connected.api.authentication:156} - {DEBUG:fetch soc_ev0} - Authenticating with MyBMW flow for North America & Rest of World.
2025-05-24 09:48:02,214 - {modules.vehicles.bmwbc.api:336} - {ERROR:fetch soc_ev0} - bmwbc.fetch_soc: requestData Error, vehicle_id: 0 err=MyBMWCaptchaMissingError('Missing hCaptcha token for login. See https://bimmer-connected.readthedocs.io/en/stable/captcha.html'), type(err)=<class 'bimmer_connected.models.MyBMWCaptchaMissingError'>
2025-05-24 09:48:02,235 - {modules.common.fault_state:49} - {ERROR:fetch soc_ev0} - BMW (Bimmer): FaultState FaultStateLevel.ERROR, FaultStr <class 'modules.vehicles.bmwbc.api.RequestFailed'> ('SoC Request failed:\nMissing hCaptcha token for login. See https://bimmer-connected.readthedocs.io/en/stable/captcha.html',), Traceback: 
Traceback (most recent call last):
  File "/var/www/html/openWB/packages/modules/vehicles/bmwbc/api.py", line 285, in _fetch_soc
    await self._auth[user_id].login()
  File "/home/openwb/.local/lib/python3.9/site-packages/bimmer_connected/api/authentication.py", line 137, in login
    token_data = await self._login_row_na()
  File "/home/openwb/.local/lib/python3.9/site-packages/bimmer_connected/api/authentication.py", line 159, in _login_row_na
    raise MyBMWCaptchaMissingError(
bimmer_connected.models.MyBMWCaptchaMissingError: Missing hCaptcha token for login. See https://bimmer-connected.readthedocs.io/en/stable/captcha.html

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/var/www/html/openWB/packages/modules/common/configurable_vehicle.py", line 66, in update
    car_state = self._get_carstate_by_source(vehicle_update_data, source)
  File "/var/www/html/openWB/packages/modules/common/configurable_vehicle.py", line 117, in _get_carstate_by_source
    return self.__component_updater(vehicle_update_data)
  File "/var/www/html/openWB/packages/modules/vehicles/bmwbc/soc.py", line 20, in updater
    return api.fetch_soc(
  File "/var/www/html/openWB/packages/modules/vehicles/bmwbc/api.py", line 358, in fetch_soc
    soc, range, soc_tsX = loop.run_until_complete(api._fetch_soc(user_id, password, vin, captcha_token, vehicle_id))
  File "/usr/lib/python3.9/asyncio/base_events.py", line 642, in run_until_complete
    return future.result()
  File "/var/www/html/openWB/packages/modules/vehicles/bmwbc/api.py", line 344, in _fetch_soc
    raise RequestFailed("SoC Request failed:\n" + str(err))
modules.vehicles.bmwbc.api.RequestFailed: SoC Request failed:
Missing hCaptcha token for login. See https://bimmer-connected.readthedocs.io/en/stable/captcha.html


VG,

Thomas
OpenWB standard Series 2+ | MINI SE
Extrahirn
Beiträge: 39
Registriert: Fr Dez 04, 2020 8:13 pm
Been thanked: 2 times

Re: SOC BMW

Beitrag von Extrahirn »

zur Ergänzung:

openWB- Version: 2.1.8-Alpha.1 Master
OpenWB standard Series 2+ | MINI SE
rleidner
Beiträge: 1292
Registriert: Mo Nov 02, 2020 9:50 am
Has thanked: 26 times
Been thanked: 96 times

Re: SOC BMW

Beitrag von rleidner »

Extrahirn hat geschrieben: Sa Mai 24, 2025 6:33 pm Hi,

aus meiner Erfahrung heraus, mussi ch alle 2-3 Tage das captcha für meinen Mini erneuern.

Heute trat wieder dieser Fehler auf:

Code: Alles auswählen

2025-05-24 09:38:15,995 - {bimmer_connected.api.client:86} - {ERROR:fetch soc_ev0} - MyBMWAPIError due to HTTPStatusError: {"message":"Request Timeout","statusCode":408}
Danke für das Log - das ist hilfreich.
Der primäre Fehler ist hier ein 408 Request Timeout - das hatte ich bisher in keinem Log gesehen.
Danach versucht bimmer_connected eine neue Anmeldung, die ohne neuen captche-Token natürlich schief geht.

Der Timeout (408) kann diverse Ursachen haben: Netzwerk, Server-Problem, ...
Ich schau mal, ob der Fehler 408 im Modul abgefangen werden kann und eine Wiederholung des Request ohne Neuanmeldung möglich ist.
openWB-2 Standard+ | openWB EVU Kit v2 MID| 9,9kWp mit Kostal Plenticore 8.5 plus | VW ID.3, Kia EV6, Smart EQ forfour
gdfde
Beiträge: 133
Registriert: So Mär 10, 2019 1:05 pm
Has thanked: 6 times
Been thanked: 3 times

Re: SOC BMW

Beitrag von gdfde »

aiole hat geschrieben: Fr Mai 23, 2025 10:03 pm Die neuen Nutzungsbedingungen hast du aber bestätigt, oder?
Bei mir waren kürzlich täglich SoC-Neuregistrierungen erforderlich, bis ich bemerkte, dass die (selten genutzte) BMW-APP ihrer "Verstanden"-Bestätigung benötigte.
Die BMW CD App funktioniert unverändert, ich habe da auch schon länger nichts mehr bestätigen müssen.
Extrahirn hat geschrieben: Sa Mai 24, 2025 6:33 pm aus meiner Erfahrung heraus, mussi ch alle 2-3 Tage das captcha für meinen Mini erneuern.
Bei mir leider auch alle 1-2 Tage, heute nachmittag auch wieder.
Folgendes steht im SOC Log, vielleicht hilfts ja bei der Fehlersuche:

Code: Alles auswählen

2025-05-26 15:56:49,054 - {bimmer_connected.api.authentication:86} - {ERROR:fetch soc_ev3} - MyBMWAuthError due to HTTPStatusError: invalid_request - The request is missing a required parameter, includes an unsupported parameter value (other than grant type), repeats a parameter, includes multiple credentials, utilizes more than one mechanism for authenticating the client, or is otherwise malformed
2025-05-26 15:56:49,128 - {modules.vehicles.bmwbc.api:336} - {ERROR:fetch soc_ev3} - bmwbc.fetch_soc: requestData Error, vehicle_id: 3 err=MyBMWCaptchaMissingError('Missing hCaptcha token for login. See https://bimmer-connected.readthedocs.io/en/stable/captcha.html'), type(err)=<class 'bimmer_connected.models.MyBMWCaptchaMissingError'>
2025-05-26 15:56:49,147 - {modules.common.fault_state:49} - {ERROR:fetch soc_ev3} - BMW (Bimmer): FaultState FaultStateLevel.ERROR, FaultStr <class 'modules.vehicles.bmwbc.api.RequestFailed'> ('SoC Request failed:\nMissing hCaptcha token for login. See https://bimmer-connected.readthedocs.io/en/stable/captcha.html',), Traceback: 
Traceback (most recent call last):
  File "/var/www/html/openWB/packages/modules/vehicles/bmwbc/api.py", line 285, in _fetch_soc
    await self._auth[user_id].login()
  File "/home/openwb/.local/lib/python3.9/site-packages/bimmer_connected/api/authentication.py", line 137, in login
    token_data = await self._login_row_na()
  File "/home/openwb/.local/lib/python3.9/site-packages/bimmer_connected/api/authentication.py", line 159, in _login_row_na
    raise MyBMWCaptchaMissingError(
bimmer_connected.models.MyBMWCaptchaMissingError: Missing hCaptcha token for login. See https://bimmer-connected.readthedocs.io/en/stable/captcha.html

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/var/www/html/openWB/packages/modules/common/configurable_vehicle.py", line 66, in update
    car_state = self._get_carstate_by_source(vehicle_update_data, source)
  File "/var/www/html/openWB/packages/modules/common/configurable_vehicle.py", line 117, in _get_carstate_by_source
    return self.__component_updater(vehicle_update_data)
  File "/var/www/html/openWB/packages/modules/vehicles/bmwbc/soc.py", line 20, in updater
    return api.fetch_soc(
  File "/var/www/html/openWB/packages/modules/vehicles/bmwbc/api.py", line 358, in fetch_soc
    soc, range, soc_tsX = loop.run_until_complete(api._fetch_soc(user_id, password, vin, captcha_token, vehicle_id))
  File "/usr/lib/python3.9/asyncio/base_events.py", line 642, in run_until_complete
    return future.result()
  File "/var/www/html/openWB/packages/modules/vehicles/bmwbc/api.py", line 344, in _fetch_soc
    raise RequestFailed("SoC Request failed:\n" + str(err))
modules.vehicles.bmwbc.api.RequestFailed: SoC Request failed:
Missing hCaptcha token for login. See https://bimmer-connected.readthedocs.io/en/stable/captcha.html

2025-05-26 16:56:48,923 - {bimmer_connected.api.authentication:86} - {ERROR:fetch soc_ev3} - MyBMWAuthError due to HTTPStatusError: invalid_request - The request is missing a required parameter, includes an unsupported parameter value (other than grant type), repeats a parameter, includes multiple credentials, utilizes more than one mechanism for authenticating the client, or is otherwise malformed
2025-05-26 16:56:48,985 - {modules.vehicles.bmwbc.api:336} - {ERROR:fetch soc_ev3} - bmwbc.fetch_soc: requestData Error, vehicle_id: 3 err=MyBMWCaptchaMissingError('Missing hCaptcha token for login. See https://bimmer-connected.readthedocs.io/en/stable/captcha.html'), type(err)=<class 'bimmer_connected.models.MyBMWCaptchaMissingError'>
2025-05-26 16:56:48,995 - {modules.common.fault_state:49} - {ERROR:fetch soc_ev3} - BMW (Bimmer): FaultState FaultStateLevel.ERROR, FaultStr <class 'modules.vehicles.bmwbc.api.RequestFailed'> ('SoC Request failed:\nMissing hCaptcha token for login. See https://bimmer-connected.readthedocs.io/en/stable/captcha.html',), Traceback: 
Traceback (most recent call last):
  File "/var/www/html/openWB/packages/modules/vehicles/bmwbc/api.py", line 285, in _fetch_soc
    await self._auth[user_id].login()
  File "/home/openwb/.local/lib/python3.9/site-packages/bimmer_connected/api/authentication.py", line 137, in login
    token_data = await self._login_row_na()
  File "/home/openwb/.local/lib/python3.9/site-packages/bimmer_connected/api/authentication.py", line 159, in _login_row_na
    raise MyBMWCaptchaMissingError(
bimmer_connected.models.MyBMWCaptchaMissingError: Missing hCaptcha token for login. See https://bimmer-connected.readthedocs.io/en/stable/captcha.html

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/var/www/html/openWB/packages/modules/common/configurable_vehicle.py", line 66, in update
    car_state = self._get_carstate_by_source(vehicle_update_data, source)
  File "/var/www/html/openWB/packages/modules/common/configurable_vehicle.py", line 117, in _get_carstate_by_source
    return self.__component_updater(vehicle_update_data)
  File "/var/www/html/openWB/packages/modules/vehicles/bmwbc/soc.py", line 20, in updater
    return api.fetch_soc(
  File "/var/www/html/openWB/packages/modules/vehicles/bmwbc/api.py", line 358, in fetch_soc
    soc, range, soc_tsX = loop.run_until_complete(api._fetch_soc(user_id, password, vin, captcha_token, vehicle_id))
  File "/usr/lib/python3.9/asyncio/base_events.py", line 642, in run_until_complete
    return future.result()
  File "/var/www/html/openWB/packages/modules/vehicles/bmwbc/api.py", line 344, in _fetch_soc
    raise RequestFailed("SoC Request failed:\n" + str(err))
modules.vehicles.bmwbc.api.RequestFailed: SoC Request failed:
Missing hCaptcha token for login. See https://bimmer-connected.readthedocs.io/en/stable/captcha.html

2025-05-26 17:56:48,833 - {bimmer_connected.api.authentication:86} - {ERROR:fetch soc_ev3} - MyBMWAuthError due to HTTPStatusError: invalid_request - The request is missing a required parameter, includes an unsupported parameter value (other than grant type), repeats a parameter, includes multiple credentials, utilizes more than one mechanism for authenticating the client, or is otherwise malformed
2025-05-26 17:56:48,899 - {modules.vehicles.bmwbc.api:336} - {ERROR:fetch soc_ev3} - bmwbc.fetch_soc: requestData Error, vehicle_id: 3 err=MyBMWCaptchaMissingError('Missing hCaptcha token for login. See https://bimmer-connected.readthedocs.io/en/stable/captcha.html'), type(err)=<class 'bimmer_connected.models.MyBMWCaptchaMissingError'>
2025-05-26 17:56:48,908 - {modules.common.fault_state:49} - {ERROR:fetch soc_ev3} - BMW (Bimmer): FaultState FaultStateLevel.ERROR, FaultStr <class 'modules.vehicles.bmwbc.api.RequestFailed'> ('SoC Request failed:\nMissing hCaptcha token for login. See https://bimmer-connected.readthedocs.io/en/stable/captcha.html',), Traceback: 
Traceback (most recent call last):
  File "/var/www/html/openWB/packages/modules/vehicles/bmwbc/api.py", line 285, in _fetch_soc
    await self._auth[user_id].login()
  File "/home/openwb/.local/lib/python3.9/site-packages/bimmer_connected/api/authentication.py", line 137, in login
    token_data = await self._login_row_na()
  File "/home/openwb/.local/lib/python3.9/site-packages/bimmer_connected/api/authentication.py", line 159, in _login_row_na
    raise MyBMWCaptchaMissingError(
bimmer_connected.models.MyBMWCaptchaMissingError: Missing hCaptcha token for login. See https://bimmer-connected.readthedocs.io/en/stable/captcha.html

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/var/www/html/openWB/packages/modules/common/configurable_vehicle.py", line 66, in update
    car_state = self._get_carstate_by_source(vehicle_update_data, source)
  File "/var/www/html/openWB/packages/modules/common/configurable_vehicle.py", line 117, in _get_carstate_by_source
    return self.__component_updater(vehicle_update_data)
  File "/var/www/html/openWB/packages/modules/vehicles/bmwbc/soc.py", line 20, in updater
    return api.fetch_soc(
  File "/var/www/html/openWB/packages/modules/vehicles/bmwbc/api.py", line 358, in fetch_soc
    soc, range, soc_tsX = loop.run_until_complete(api._fetch_soc(user_id, password, vin, captcha_token, vehicle_id))
  File "/usr/lib/python3.9/asyncio/base_events.py", line 642, in run_until_complete
    return future.result()
  File "/var/www/html/openWB/packages/modules/vehicles/bmwbc/api.py", line 344, in _fetch_soc
    raise RequestFailed("SoC Request failed:\n" + str(err))
modules.vehicles.bmwbc.api.RequestFailed: SoC Request failed:
Missing hCaptcha token for login. See https://bimmer-connected.readthedocs.io/en/stable/captcha.html

rleidner
Beiträge: 1292
Registriert: Mo Nov 02, 2020 9:50 am
Has thanked: 26 times
Been thanked: 96 times

Re: SOC BMW

Beitrag von rleidner »

gdfde hat geschrieben: Mo Mai 26, 2025 4:30 pm
aiole hat geschrieben: Fr Mai 23, 2025 10:03 pm Die neuen Nutzungsbedingungen hast du aber bestätigt, oder?
Bei mir waren kürzlich täglich SoC-Neuregistrierungen erforderlich, bis ich bemerkte, dass die (selten genutzte) BMW-APP ihrer "Verstanden"-Bestätigung benötigte.
Die BMW CD App funktioniert unverändert, ich habe da auch schon länger nichts mehr bestätigen müssen.
Ich stochere hier im Nebel.
Melde Dich bitte mal per Browser am CD-Server an, vielleicht ist dort etwas zu bestätigen.

Das Log zeigt leider nur den Zustand, wenn der Fehler schon passiert ist.
Ich benötige das Log zu dem Zeitpunkt, wenn nach einer Phase des Funktionierens zum ersten Mal die Abfrage nicht mehr funktioniert.
Extrahirn hat das gestern gut eingefangen (->Fehler 408).
Interessant wäre ob das in den anderen Fällen auch der Grund ist.

Der Fehler 408 wird von CD-Server zurückgemeldet ist aber leider nicht sehr spezifisch.
Das log referenziert dies: https://developer.mozilla.org/en-US/doc ... Status/408
Ob man je herausfindet warum der CD-Server mit 408 antwortet weiß ich nicht. Ich vermute es hat mit der Häufigkeit der Abfragen aller angemeldeten Clients/Apps zu tun.

Die aktuelle Fehlerbehandlung im SoC-Modul endet in diesem Fall mit einer Anmeldung mit neuem captcha-Token.
Ich plane jetzt in dieser Situation zusätzlich ein login mit den bestehenden Token zu versuchen.
openWB-2 Standard+ | openWB EVU Kit v2 MID| 9,9kWp mit Kostal Plenticore 8.5 plus | VW ID.3, Kia EV6, Smart EQ forfour
Antworten