Constantly restarting - Missing Scheme Error in Log
Hi,
I am using the latest version and noticed that my instance is not running anymore, but I cant say since when.... In the log I find the following error:
vwsfriend | Traceback (most recent call last):
vwsfriend | File "/opt/venv/bin/vwsfriend", line 8, in <module>
vwsfriend | sys.exit(main())
vwsfriend | ^^^^^^
vwsfriend | File "/opt/venv/lib/python3.12/site-packages/vwsfriend/vwsfriend_base.py", line 329, in main
vwsfriend | weConnect = weconnect.WeConnect(username=weConnectUsername, password=weConnectPassword, spin=weConnectSpin, tokenfile=tokenfile,
vwsfriend | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
vwsfriend | File "/opt/venv/lib/python3.12/site-packages/weconnect/weconnect.py", line 114, in __init__
vwsfriend | self.__session.login()
vwsfriend | File "/opt/venv/lib/python3.12/site-packages/weconnect/auth/we_connect_session.py", line 76, in login
vwsfriend | response = self.doWebAuth(authorizationUrl)
vwsfriend | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
vwsfriend | File "/opt/venv/lib/python3.12/site-packages/weconnect/auth/we_connect_session.py", line 123, in doWebAuth
vwsfriend | loginFormResponse: requests.Response = websession.get(authorizationUrl, allow_redirects=False)
vwsfriend | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
vwsfriend | File "/opt/venv/lib/python3.12/site-packages/requests/sessions.py", line 602, in get
vwsfriend | return self.request("GET", url, **kwargs)
vwsfriend | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
vwsfriend | File "/opt/venv/lib/python3.12/site-packages/requests/sessions.py", line 575, in request
vwsfriend | prep = self.prepare_request(req)
vwsfriend | ^^^^^^^^^^^^^^^^^^^^^^^^^
vwsfriend | File "/opt/venv/lib/python3.12/site-packages/requests/sessions.py", line 484, in prepare_request
vwsfriend | p.prepare(
vwsfriend | File "/opt/venv/lib/python3.12/site-packages/requests/models.py", line 367, in prepare
vwsfriend | self.prepare_url(url, params)
vwsfriend | File "/opt/venv/lib/python3.12/site-packages/requests/models.py", line 438, in prepare_url
vwsfriend | raise MissingSchema(
vwsfriend | requests.exceptions.MissingSchema: Invalid URL '/u/login?state=hKFo2SBPQ0tFXy1vWk43ZTFZmREDACTEDJhNjMtMzRiMy00ZDQzLWIxODEtOTQyMTExZTZiZGE4QGFwcHNfdnctZGlsYWJfY29t': No scheme supplied. Perhaps you meant https:///u/login?state=hKFo2SBPQ0tFXy1vWk43ZTFNTDREDACTEDVD0ZmJhNjMtMzRiMy00ZDQzLWIxODEtOTQyMTExZTZiZGE4QGFwcHNfdnctZGlsYWJfY29t?
vwsfriend exited with code 1 (restarting)
I tried logging out and in again in the app, but that also didnt fix the issue....
Any idea what could be the cause?
Thanks, Michael
maybe related to the same error as here: https://github.com/robinostlund/homeassistant-volkswagencarnet/issues/778
Just found this
Same here, VwsFriend stopped working yesterday due to this problem. According to the linked issue, the login form seems to have changed
Is this still the case? I heard this was a temporary proble
Still not working for me with the same error
hmmm, I cannot reproduce it with my user right now.
At the moment it also works here again - previously I couldn't even restart the container
Now it's working also again for me. I just get an error message from the car in the VW app when I send any command (e.g. Turn AC on). Not sure if this is related... but I get the following warning constantly in the log ... WARNING:vehicle:/vehicles/WVWZZZED4RE510963: Vehicle data for XXXXXXXXX is empty, this can happen when there are too many requests ...
After testing with a few trips, I see that I dont get any updated data, but also no errors ins the log, only warnings like: WARNING:access_status:/vehicles/XXXXXX/domains/access/accessStatus/windows/frontLeft: Unknown attribute windowOpen_pct with value 0 2025-11-21T16:41:32+0000:WARNING:access_status:/vehicles/XXXXXX/domains/access/accessStatus/windows/frontRight: Unknown attribute windowOpen_pct with value 0 2025-11-21T16:41:32+0000:WARNING:access_status:/vehicles/XXXXXX/domains/access/accessStatus/windows/rearLeft: Unknown attribute windowOpen_pct with value 0 2025-11-21T16:41:32+0000:WARNING:access_status:/vehicles/XXXXXX/domains/access/accessStatus/windows/rearRight: Unknown attribute windowOpen_pct with value 0
any idea?
Just had to restart my NAS, now the container again does not start up anymore with this error `requests.exceptions.MissingSchema: Invalid URL '/u/login?state=hKFo2SB1SnZOS...': No scheme supplied. Perhaps you meant https:///u/login?state=hKFo2SB1SnZOS...?
same here
Thanks for the fix, 0.24.8 seems to work just fine again!