i just created a new project with wordpress Deploy in aapnel .
version i have on aapanel :
Aapanel Version : 6.8.32
PHP : 8.0
DB : Mysql 5.7.43
Nginx : 1.21.4
and i got this error :
requests.exceptions.ConnectionError: HTTPConnectionPool(host='wordpress.org', port=80): Max retries exceeded with url: /download/ (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -5] No address associated with hostname'))
this is the Traceback :
`Traceback (most recent call last):
File "/www/server/panel/pyenv/lib/python3.7/site-packages/urllib3/connection.py", line 175, in new_conn
(self.dns_host, self.port), self.timeout, **extra_kw
File "/www/server/panel/pyenv/lib/python3.7/site-packages/urllib3/util/connection.py", line 72, in create_connection
for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
File "/www/server/panel/pyenv/lib/python3.7/site-packages/gevent/socketcommon.py", line 247, in getaddrinfo
addrlist = get_hub().resolver.getaddrinfo(host, port, family, type, proto, flags)
File "/www/server/panel/pyenv/lib/python3.7/site-packages/gevent/resolver/thread.py", line 63, in getaddrinfo
return self.pool.apply(socket.getaddrinfo, args, kwargs)
File "/www/server/panel/pyenv/lib/python3.7/site-packages/gevent/pool.py", line 161, in apply
return self.spawn(func, args, **kwds).get()
File "src/gevent/event.py", line 306, in gevent.gevent_cevent.AsyncResult.get
File "src/gevent/event.py", line 336, in gevent.gevent_cevent.AsyncResult.get
File "src/gevent/event.py", line 324, in gevent.gevent_cevent.AsyncResult.get
File "src/gevent/event.py", line 304, in gevent.gevent_cevent.AsyncResult.raise_exception
File "/www/server/panel/pyenv/lib/python3.7/site-packages/gevent/compat.py", line 65, in reraise
raise value.with_traceback(tb)
File "/www/server/panel/pyenv/lib/python3.7/site-packages/gevent/threadpool.py", line 167, in __run_task
thread_result.set(func(args, **kwargs))
socket.gaierror: [Errno -5] No address associated with hostname
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/www/server/panel/pyenv/lib/python3.7/site-packages/urllib3/connectionpool.py", line 710, in urlopen
chunked=chunked,
File "/www/server/panel/pyenv/lib/python3.7/site-packages/urllib3/connectionpool.py", line 398, in make_request
conn.request(method, url, **httplib_request_kw)
File "/www/server/panel/pyenv/lib/python3.7/site-packages/urllib3/connection.py", line 244, in request
super(HTTPConnection, self).request(method, url, body=body, headers=headers)
File "/www/server/panel/pyenv/lib/python3.7/http/client.py", line 1277, in request
self.send_request(method, url, body, headers, encode_chunked)
File "/www/server/panel/pyenv/lib/python3.7/http/client.py", line 1323, in send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "/www/server/panel/pyenv/lib/python3.7/http/client.py", line 1272, in endheaders
self.send_output(message_body, encode_chunked=encode_chunked)
File "/www/server/panel/pyenv/lib/python3.7/http/client.py", line 1032, in send_output
self.send(msg)
File "/www/server/panel/pyenv/lib/python3.7/http/client.py", line 972, in send
self.connect()
File "/www/server/panel/pyenv/lib/python3.7/site-packages/urllib3/connection.py", line 205, in connect
conn = self.new_conn()
File "/www/server/panel/pyenv/lib/python3.7/site-packages/urllib3/connection.py", line 187, in _new_conn
self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -5] No address associated with hostname
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/www/server/panel/pyenv/lib/python3.7/site-packages/requests/adapters.py", line 498, in send
chunked=chunked,
File "/www/server/panel/pyenv/lib/python3.7/site-packages/urllib3/connectionpool.py", line 788, in urlopen
method, url, error=e, _pool=self, stacktrace=sys.exc_info()[2]
File "/www/server/panel/pyenv/lib/python3.7/site-packages/urllib3/util/retry.py", line 592, in increment
raise MaxRetryError(pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='wordpress.org', port=80): Max retries exceeded with url: /download/ (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -5] No address associated with hostname'))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/www/server/panel/BTPanel/init.py", line 1812, in publicObject
return run_exec().run(toObject, defs, get)
File "/www/server/panel/BTPanel/init.py", line 1764, in run
result = getattr(toObject,get.action)(get)
File "/www/server/panel/class/panelSite.py", line 6000, in is_update
return one_key_wp.one_key_wp().is_update(get)
File "/www/server/panel/class/one_key_wp.py", line 534, in is_update
online_v = self.get_wp_version_online()
File "/www/server/panel/class/one_key_wp.py", line 520, in get_wp_version_online
result = requests.get(url,headers=headers)
File "/www/server/panel/pyenv/lib/python3.7/site-packages/requests/api.py", line 73, in get
return request("get", url, params=params, **kwargs)
File "/www/server/panel/pyenv/lib/python3.7/site-packages/requests/api.py", line 59, in request
return session.request(method=method, url=url, **kwargs)
File "/www/server/panel/pyenv/lib/python3.7/site-packages/requests/sessions.py", line 587, in request
resp = self.send(prep, **send_kwargs)
File "/www/server/panel/pyenv/lib/python3.7/site-packages/requests/sessions.py", line 701, in send
r = adapter.send(request, **kwargs)
File "/www/server/panel/pyenv/lib/python3.7/site-packages/requests/adapters.py", line 520, in send
raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='wordpress.org', port=80): Max retries exceeded with url: /download/ (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -5] No address associated with hostname'))`