When trying to install wo stack on ubuntu 18.04 it fails with
wo stack install
WP-CLI is already installed
Start : wo-kernel [OK]
Adding repository for MySQL, please wait...
Adding repository for NGINX, please wait...
Adding repository for PHP, please wait...
Updating apt-cache [OK]
Installing APT packages [OK]
Applying Nginx configuration templates
Testing Nginx configuration [OK]
Restarting Nginx [OK]
Testing Nginx configuration [OK]
Restarting Nginx [OK]
Configuring php7.3-fpm
Restarting php7.3-fpm [OK]
Tuning MariaDB configuration
Stop : mysql [OK]
Start : mysql [OK]
Restarting fail2ban [OK]
Configuring Fail2Ban
Reloading fail2ban [OK]
Downloading PHPMyAdmin Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/urllib3/connection.py", line 160, in _new_conn
(self._dns_host, self.port), self.timeout, **extra_kw
File "/usr/local/lib/python3.6/dist-packages/urllib3/util/connection.py", line 84, in create_connection
raise err
File "/usr/local/lib/python3.6/dist-packages/urllib3/util/connection.py", line 74, in create_connection
sock.connect(sa)
socket.timeout: timed out
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/urllib3/connectionpool.py", line 677, in urlopen
chunked=chunked,
File "/usr/local/lib/python3.6/dist-packages/urllib3/connectionpool.py", line 381, in _make_request
self._validate_conn(conn)
File "/usr/local/lib/python3.6/dist-packages/urllib3/connectionpool.py", line 976, in _validate_conn
conn.connect()
File "/usr/local/lib/python3.6/dist-packages/urllib3/connection.py", line 308, in connect
conn = self._new_conn()
File "/usr/local/lib/python3.6/dist-packages/urllib3/connection.py", line 167, in _new_conn
% (self.host, self.timeout),
urllib3.exceptions.ConnectTimeoutError: (<urllib3.connection.HTTPSConnection object at 0x7fc1797f1c18>, 'Connection to files.phpmyadmin.net timed out. (connect timeout=5)' )
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 449, in send
timeout=timeout
File "/usr/local/lib/python3.6/dist-packages/urllib3/connectionpool.py", line 725, in urlopen
method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
File "/usr/local/lib/python3.6/dist-packages/urllib3/util/retry.py", line 439, in increment
raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='files.phpmyadmin.net', port=443): Max retries exceeded with url: /phpMyAdmin/5.0.2/phpMyAdmin-5.0.2-all-languag es.tar.gz (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x7fc1797f1c18>, 'Connection to files.phpmyadmin.net timed out. (connect timeout=5)' ))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/wo/core/download.py", line 26, in download
req = requests.get(url, timeout=(5, 30))
File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 76, in get
return request('get', url, params=params, **kwargs)
File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
return session.request(method=method, url=url, **kwargs)
File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 530, in request
resp = self.send(prep, **send_kwargs)
File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 665, in send
history = [resp for resp in gen]
File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 665, in <listcomp>
history = [resp for resp in gen]
File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects
**adapter_kwargs
File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 643, in send
r = adapter.send(request, **kwargs)
File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 504, in send
raise ConnectTimeout(e, request=request)
requests.exceptions.ConnectTimeout: HTTPSConnectionPool(host='files.phpmyadmin.net', port=443): Max retries exceeded with url: /phpMyAdmin/5.0.2/phpMyAdmin-5.0.2-all-langu ages.tar.gz (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x7fc1797f1c18>, 'Connection to files.phpmyadmin.net timed out. (connect timeout=5 )'))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/bin/wo", line 8, in <module>
sys.exit(main())
File "/usr/local/lib/python3.6/dist-packages/wo/cli/main.py", line 102, in main
app.run()
File "/usr/local/lib/python3.6/dist-packages/cement/core/foundation.py", line 882, in run
return_val = self.controller._dispatch()
File "/usr/local/lib/python3.6/dist-packages/cement/core/controller.py", line 471, in _dispatch
return func()
File "/usr/local/lib/python3.6/dist-packages/cement/core/controller.py", line 477, in _dispatch
return func()
File "/usr/local/lib/python3.6/dist-packages/wo/cli/plugins/stack.py", line 534, in install
WODownload.download(self, packages)
File "/usr/local/lib/python3.6/dist-packages/wo/core/download.py", line 33, in download
Log.debug(self, "[{err}]".format(err=str(e.reason)))
AttributeError: 'ConnectTimeout' object has no attribute 'reason'
Any ideas what the problem could be?