De HWA-hulpserver is een Raspberry4B met Bookworm als O.S.
Denk je dat daarbovenop Python3.x een stevige basis is voor het hulpserverbedrijf voor draaien van alle vertaalscripts, maar helaas .......
Voor
alle Python-scripts treedt (zonder herkenbare aanleiding) sinds gistermiddag de volgende foutmelding op (of vergelijkbaar)
Code: Selecteer alles[size=85]Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 174, in _new_conn
conn = connection.create_connection(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection
for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/socket.py", line 962, in getaddrinfo
for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
socket.gaierror: [Errno -3] Temporary failure in name resolution
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 705, in urlopen
httplib_response = self._make_request(
^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 388, in _make_request
self._validate_conn(conn)
File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 1050, in _validate_conn
conn.connect()
File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 358, in connect
self.sock = conn = self._new_conn()
^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 186, in _new_conn
raise NewConnectionError(
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f9edf9510>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/requests/adapters.py", line 489, in send
resp = conn.urlopen(
^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 789, in urlopen
retries = retries.increment(
^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 594, in increment
raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='data.api.xweather.com', port=443): Max retries exceeded with url: /conditions/EBBR?format=json&plimit=1&filter=1min&client_id=tJdJnGkJDbThC25ycIMBn&client_secret=nRmHmNZCA2jKm2BzoTpQm5wZYAPaBBaRzK6ryF1H (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9edf9510>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/pi/Python_scripts/URL_JSON_PWSW_to_HWA_EBBR_00_2184.py", line 212, in <module>
page1 = requests.get(URL1)
^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/requests/api.py", line 73, in get
return request("get", url, params=params, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/requests/api.py", line 59, in request
return session.request(method=method, url=url, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/requests/sessions.py", line 587, in request
resp = self.send(prep, **send_kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/requests/sessions.py", line 701, in send
r = adapter.send(request, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/requests/adapters.py", line 565, in send
raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='data.api.xweather.com', port=443): Max retries exceeded with url: /conditions/EBBR?format=json&plimit=1&filter=1min&client_id=tJdJnGkJDbThC25ycIMBn&client_secret=nRmHmNZCA2jKm2BzoTpQm5wZYAPaBBaRzK6ryF1H (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9edf9510>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
[/size]
.
Oftewel: Python3.x van de HWA-hulpserver is grondig ingestort en dat treft vooral de uitlezing van AWEKAS_API, XWeather_API, CWOP_API, Skyz_API en KNMI_API.
Tenzij ergens een ei van Columbus wordt gevonden, gaat het geruime tijd duren voordat alles in die sector weer op gang gaat komen .........
Ongestoorde werking voor 'conventionele' uitlezing naar de HWA-server
voor manieren 1. en 2. en voor uitlezing van de WU_API volgens manier 3., zoals
dit forumbericht genoemd:
Wil je dus zekerheid van verbinding, blijf dan cq ga over naar een van die manieren van data-upload naar HWA.
Ook reden voor HWA-Moderatie&Beheer om met spoed
- het nieuwste script van VincentLammens voor Skyz-uitlezing> HWA-file te bekijken.
- de CustomUpload voor WU-protocol cq Ecowitt-protocol te gaan activeren volgens manier 4. van
genoemd bericht.
Daaropvolgend actiepunt is de clones van de WU_API-uitlezing t.b.v. AWEKAS_API en XWeather_API, en installeren daarvan op de HWA-hoofdserver.
Config = TFA_Nexus/WS7000/Tempest/Ecowitt + WsWin/Domoticz/GW1000/Meteobridge + DHZ
WS Hengelo_Slangenbeek
Kwaliteitsstreven, maar pragmatisch/KISS, ook voor deze liefhebberij!
Moderator = ondersteunend, vrijwillig, zover als passend in vrije tijd ....