Re: Die Authentifizierung zur Tesla API funktioniert nicht mehr!
Verfasst: Mo Feb 01, 2021 6:58 pm
Evcc geht jetzt mit und ohne Mfa, Token Refresh fehlt immer noch.
Die modulare Wallbox
https://forum.openwb.de/
Code: Alles auswählen
2021-02-03 17:52:01: **** Regulation loop start **** (LV1) at 50 main /var/www/html/openWB/regel.sh
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='auth.tesla.com', port=443): Max retries exceeded with url: /oauth2/v3/authorize?client_id=ownerapi&code_challenge=RGHcRiBUpRrFkxOnAWhNPutPCE1cxt-4tCsvvO4iV2A&code_challenge_method=S256&redirect_uri=https%3A%2F%2Fauth.tesla.com%2Fvoid%2Fcallback&response_type=code&scope=openid+email+offline_access&state=40vqGzRK9k9wOX7Rvu0zsw (Caused by NewConnectionError('<requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x75d759b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution',))
raise ConnectionError(e, request=request)
File "/usr/lib/python3/dist-packages/requests/adapters.py", line 487, in send
r = adapter.send(request, **kwargs)
File "/usr/lib/python3/dist-packages/requests/sessions.py", line 609, in send
resp = self.send(prep, **send_kwargs)
File "/usr/lib/python3/dist-packages/requests/sessions.py", line 488, in request
return self.request('GET', url, **kwargs)
File "/usr/lib/python3/dist-packages/requests/sessions.py", line 501, in get
resp = session.get("https://auth.tesla.com/oauth2/v3/authorize", headers=headers, params=params)
File "/var/www/html/openWB/modules/soc_tesla/tesla.py", line 79, in login
login(args.email, args.password, args.mfapasscode)
File "/var/www/html/openWB/modules/soc_tesla/tesla.py", line 343, in <module>
Traceback (most recent call last):
During handling of the above exception, another exception occurred:
requests.packages.urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='auth.tesla.com', port=443): Max retries exceeded with url: /oauth2/v3/authorize?client_id=ownerapi&code_challenge=RGHcRiBUpRrFkxOnAWhNPutPCE1cxt-4tCsvvO4iV2A&code_challenge_method=S256&redirect_uri=https%3A%2F%2Fauth.tesla.com%2Fvoid%2Fcallback&response_type=code&scope=openid+email+offline_access&state=40vqGzRK9k9wOX7Rvu0zsw (Caused by NewConnectionError('<requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x75d759b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution',))
raise MaxRetryError(_pool, url, error or ResponseError(cause))
File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 363, in increment
_stacktrace=sys.exc_info()[2])
File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 643, in urlopen
timeout=timeout
File "/usr/lib/python3/dist-packages/requests/adapters.py", line 423, in send
Traceback (most recent call last):
During handling of the above exception, another exception occurred:
requests.packages.urllib3.exceptions.NewConnectionError: <requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x75d759b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution
self, "Failed to establish a new connection: %s" % e)
File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 147, in _new_conn
conn = self._new_conn()
File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 281, in connect
conn.connect()
File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 837, in _validate_conn
self._validate_conn(conn)
File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 350, in _make_request
chunked=chunked)
File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 594, in urlopen
Traceback (most recent call last):
During handling of the above exception, another exception occurred:
socket.gaierror: [Errno -3] Temporary failure in name resolution
for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
File "/usr/lib/python3.5/socket.py", line 733, in getaddrinfo
for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 75, in create_connection
(self.host, self.port), self.timeout, **extra_kw)
File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 138, in _new_conn
Traceback (most recent call last)
Das sieht für mich nach einem Netzwerkproblem aus. Kann die Box ins Internet?Temporary failure in name resolution
Die gibts schon seit heute Vormittag.Solarspion hat geschrieben: ↑Mi Feb 03, 2021 5:49 pm Hallo Lutz,
sollte Sie... eigentlich...habe nicht gepüft-
Na dann warte ich erst die nächste nightly ab wenn es darin gefixt sein sollte, und probiere es noch mal. Vorher checke ich dann Interwebs Verbindung. Ich werde berichten
Danke!