Erreur client -- socket.gaierror: [Errno 11001] getaddrinfo failed

23 views
Skip to first unread message

con...@dguillem.fr

unread,
Mar 22, 2026, 7:33:55 PMMar 22
to updatengine-ng
Bonjour,

Je rencontre un problème étrange avec le client updatengine.
Le téléchargement des packages échoue avec l'erreur suivante :
socket.gaierror: [Errno 11001] getaddrinfo failed

Mes recherches m'ont mené sur un pb de résolution DNS mais tout semble pourtant bien de ce côté, j'ai également retiré l'IPv6 pour test, sans effet. Le package se télécharge bien en passant par le navigateur.

Ci-dessous le log complet :

INFO:root:*********************************

INFO:root:Start: 2026-03-23-00:27:53
INFO:root:Inventory built
INFO:root:Inventory sent to https://updatengine.xxxxxx.fr:1980/post/
INFO:root:Package: Java 32bits
INFO:root:Ready to download and execute
ERROR:root:Error download_tmp
Traceback (most recent call last):
  File "urllib\request.py", line 1319, in do_open
  File "http\client.py", line 1252, in request
  File "http\client.py", line 1298, in _send_request
  File "http\client.py", line 1247, in endheaders
  File "http\client.py", line 1026, in _send_output
  File "http\client.py", line 966, in send
  File "http\client.py", line 1414, in connect
  File "http\client.py", line 938, in connect
  File "socket.py", line 707, in create_connection
  File "socket.py", line 752, in getaddrinfo
socket.gaierror: [Errno 11001] getaddrinfo failed

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "UE-Windows\uedownload.py", line 397, in download_tmp
  File "urllib\request.py", line 222, in urlopen
  File "urllib\request.py", line 525, in open
  File "urllib\request.py", line 543, in _open
  File "urllib\request.py", line 503, in _call_chain
  File "urllib\request.py", line 1362, in https_open
  File "urllib\request.py", line 1321, in do_open
urllib.error.URLError: <urlopen error [Errno 11001] getaddrinfo failed>
ERROR:root:Error when downloading: C:\WINDOWS\TEMP/updatengine/t07zjj4m/Java_8u481.zip
Traceback (most recent call last):
  File "urllib\request.py", line 1319, in do_open
  File "http\client.py", line 1252, in request
  File "http\client.py", line 1298, in _send_request
  File "http\client.py", line 1247, in endheaders
  File "http\client.py", line 1026, in _send_output
  File "http\client.py", line 966, in send
  File "http\client.py", line 1414, in connect
  File "http\client.py", line 938, in connect
  File "socket.py", line 707, in create_connection
  File "socket.py", line 752, in getaddrinfo
socket.gaierror: [Errno 11001] getaddrinfo failed

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "UE-Windows\uedownload.py", line 248, in download_action
  File "UE-Windows\uedownload.py", line 397, in download_tmp
  File "urllib\request.py", line 222, in urlopen
  File "urllib\request.py", line 525, in open
  File "urllib\request.py", line 543, in _open
  File "urllib\request.py", line 503, in _call_chain
  File "urllib\request.py", line 1362, in https_open
  File "urllib\request.py", line 1321, in do_open
urllib.error.URLError: <urlopen error [Errno 11001] getaddrinfo failed>
ERROR:root:Error detected when lauching download_action
Traceback (most recent call last):
  File "urllib\request.py", line 1319, in do_open
  File "http\client.py", line 1252, in request
  File "http\client.py", line 1298, in _send_request
  File "http\client.py", line 1247, in endheaders
  File "http\client.py", line 1026, in _send_output
  File "http\client.py", line 966, in send
  File "http\client.py", line 1414, in connect
  File "http\client.py", line 938, in connect
  File "socket.py", line 707, in create_connection
  File "socket.py", line 752, in getaddrinfo
socket.gaierror: [Errno 11001] getaddrinfo failed

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "UE-Windows\uedownload.py", line 248, in download_action
  File "UE-Windows\uedownload.py", line 397, in download_tmp
  File "urllib\request.py", line 222, in urlopen
  File "urllib\request.py", line 525, in open
  File "urllib\request.py", line 543, in _open
  File "urllib\request.py", line 503, in _call_chain
  File "urllib\request.py", line 1362, in https_open
  File "urllib\request.py", line 1321, in do_open
urllib.error.URLError: <urlopen error [Errno 11001] getaddrinfo failed>
ERROR:root:Error on download_action function
Traceback (most recent call last):
  File "urllib\request.py", line 1319, in do_open
  File "http\client.py", line 1252, in request
  File "http\client.py", line 1298, in _send_request
  File "http\client.py", line 1247, in endheaders
  File "http\client.py", line 1026, in _send_output
  File "http\client.py", line 966, in send
  File "http\client.py", line 1414, in connect
  File "http\client.py", line 938, in connect
  File "socket.py", line 707, in create_connection
  File "socket.py", line 752, in getaddrinfo
socket.gaierror: [Errno 11001] getaddrinfo failed

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "UE-Windows\updatengine-client.py", line 247, in main
  File "UE-Windows\uedownload.py", line 248, in download_action
  File "UE-Windows\uedownload.py", line 397, in download_tmp
  File "urllib\request.py", line 222, in urlopen
  File "urllib\request.py", line 525, in open
  File "urllib\request.py", line 543, in _open
  File "urllib\request.py", line 503, in _call_chain
  File "urllib\request.py", line 1362, in https_open
  File "urllib\request.py", line 1321, in do_open
urllib.error.URLError: <urlopen error [Errno 11001] getaddrinfo failed>
INFO:root:End: 2026-03-23-00:28:01
INFO:root:Waiting 60 minute(s) until next inventory


Si quelqu'un à une idée je suis preneur ...
Merci par avance pour votre aide !

sebastien

unread,
Mar 23, 2026, 6:29:03 AMMar 23
to updatengine-ng
Bonjour, est ce que dans le settings du serveur il y a bien le nom également ? (est ce que lui aussi arrive a resoudre)

con...@dguillem.fr

unread,
Mar 23, 2026, 7:55:18 PMMar 23
to updatengine-ng
J'ai bien les entrées suivantes dans mon settings.py :

PROJECT_URL = 'https://updatengine.xxx.fr:1980'
ALLOWED_HOSTS = ['updatengine.xxx.fr']
CSRF_TRUSTED_ORIGINS = ['https://updatengine.xxx.fr:1980']

La résolution fonctionne :

# ping updatengine.xxx.fr
PING updatengine.xxx.fr (x.x.x.x) 56(84) bytes of data.
64 bytes from srv.xxx.fr ( x.x.x.x ): icmp_seq=1 ttl=64 time=0.016 ms
64 bytes from srv.xxx.fr ( x.x.x.x ): icmp_seq=2 ttl=64 time=0.065 ms

con...@dguillem.fr

unread,
Mar 29, 2026, 1:23:47 PMMar 29
to updatengine-ng
Problème résolu ...


La variable "MEDIA_URL" a été modifiée dans  settings.py.in :
-  MEDIA_URL = PROJECT_URL + '/media/'
+ MEDIA_URL = '/media/'

Mon fichier settings.py ne contenait pas la modification appropriée, ce qui a engendré le dysfonctionnement rencontré !
Merci pour votre aide !
Reply all
Reply to author
Forward
0 new messages