Page 1 of 2

[RESOLVED] WAPT enterprise - external repository error

Published: July 21, 2021 - 2:18 PM
by celine18
Hello,

We have just upgraded our community version to the enterprise version.
Everything seems to be updating gradually.
However, access to the external repository store.wapt.fr/wapt is no longer working (see attached error message).
We are using a proxy, and all the settings appear to have been transferred, but the console refuses to access the package list.

Do you have any ideas?

Wapt server: Debian 10
Wapt console: Windows 10
Wapt enterprise 2.0

If you need any further information, please don't hesitate to ask.
Thank you in advance for your help.
Best regards,
Céline

Re: WAPT company - external repository error

Published: July 23, 2021 - 08:19
by Gaetan
Hello,
has the console also been updated to the enterprise version?

Re: WAPT company - external repository error

Published: July 23, 2021 - 09:54
by celine18
Hello,

Yes, the console was successfully updated to version 2.0 Enterprise Edition.
I recovered everything except access to the external repository.

Regards

Re: WAPT company - external repository error

Published: July 23, 2021 - 10:17 AM
by Gaetan

Re: WAPT company - external repository error

Published: July 23, 2021 - 10:34 AM
by celine18
By default, the repository settings were as shown in the image.
I added the proxy: no luck.

Regards

Re: WAPT company - external repository error

Published: July 23, 2021 - 10:43 AM
by Gaetan
In your case, you need to put the proxy on the repository side and not on the console.

Re: WAPT company - external repository error

Published: July 23, 2021 - 11:15 AM
by celine18
It's still not working.
However, the error message has changed.
Here is the error when attempting to update a package from the console (function: update-package).
I have a settings problem but I can't see where, even though everything worked perfectly before the server migration from the community server.
________________________________________________________________________________________________

Code: Select all

Downloading/Updating package content from upstream binary sources
URL used is: https://www.7-zip.org/download.html
CRITICAL:waptcore:Fatal error in update_package function: None : None:
Traceback (most recent call last):
  File "C:\Program Files (x86)\wapt\lib\site-packages\urllib3\connection.py", line 169, in _new_conn
    conn = connection.create_connection(
  File "C:\Program Files (x86)\wapt\lib\site-packages\urllib3\util\connection.py", line 73, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "socket.py", line 918, in getaddrinfo
socket.gaierror: [Errno 11002] getaddrinfo failed

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Program Files (x86)\wapt\lib\site-packages\urllib3\connectionpool.py", line 699, in urlopen
    httplib_response = self._make_request(
  File "C:\Program Files (x86)\wapt\lib\site-packages\urllib3\connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "C:\Program Files (x86)\wapt\lib\site-packages\urllib3\connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "C:\Program Files (x86)\wapt\lib\site-packages\urllib3\connection.py", line 353, in connect
    conn = self._new_conn()
  File "C:\Program Files (x86)\wapt\lib\site-packages\urllib3\connection.py", line 181, in _new_conn
    raise NewConnectionError(
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x0A21D928>: Failed to establish a new connection: [Errno 11002] getaddrinfo failed

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Program Files (x86)\wapt\lib\site-packages\requests\adapters.py", line 439, in send
    resp = conn.urlopen(
  File "C:\Program Files (x86)\wapt\lib\site-packages\urllib3\connectionpool.py", line 755, in urlopen
    retries = retries.increment(
  File "C:\Program Files (x86)\wapt\lib\site-packages\urllib3\util\retry.py", line 573, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.7-zip.org', port=443): Max retries exceeded with url: /download.html (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x0A21D928>: Failed to establish a new connecti
on: [Errno 11002] getaddrinfo failed'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Program Files (x86)\wapt\waptpackage.py", line 2928, in call_setup_hook
    hookdata = hook_func()
  File "C:\Users\AB3028~1\AppData\Local\Temp\wapt-20210723-11124700000.tmp\asb-7zip_x64-wapt\setup.py", line 50, in update_package
    version = bs_find_all(url, 'b', proxies=proxies)[1].text.split('Zip ')[-1].split(' (')[0]
  File "C:\Users\AB3028~1\AppData\Local\Temp\wapt-20210723-11124700000.tmp\asb-7zip_x64-wapt\setup.py", line 119, in bs_find_all
    page = requests.get(url, proxies=proxies, headers=headers, **kwargs).text
  File "C:\Program Files (x86)\wapt\lib\site-packages\requests\api.py", line 76, in get
    return request('get', url, params=params, **kwargs)
  File "C:\Program Files (x86)\wapt\lib\site-packages\requests\api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "C:\Program Files (x86)\wapt\lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Program Files (x86)\wapt\lib\site-packages\requests\sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "C:\Program Files (x86)\wapt\lib\site-packages\requests\adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.7-zip.org', port=443): Max retries exceeded with url: /download.html (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x0A21D928>: Failed to establish a new conne
ction: [Errno 11002] getaddrinfo failed'))

Traceback (most recent call last):
  File "C:\Program Files (x86)\wapt\lib\site-packages\urllib3\connection.py", line 169, in _new_conn
    conn = connection.create_connection(
  File "C:\Program Files (x86)\wapt\lib\site-packages\urllib3\util\connection.py", line 73, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "socket.py", line 918, in getaddrinfo
socket.gaierror: [Errno 11002] getaddrinfo failed

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Program Files (x86)\wapt\lib\site-packages\urllib3\connectionpool.py", line 699, in urlopen
    httplib_response = self._make_request(
  File "C:\Program Files (x86)\wapt\lib\site-packages\urllib3\connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "C:\Program Files (x86)\wapt\lib\site-packages\urllib3\connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "C:\Program Files (x86)\wapt\lib\site-packages\urllib3\connection.py", line 353, in connect
    conn = self._new_conn()
  File "C:\Program Files (x86)\wapt\lib\site-packages\urllib3\connection.py", line 181, in _new_conn
    raise NewConnectionError(
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x0A21D928>: Failed to establish a new connection: [Errno 11002] getaddrinfo failed

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Program Files (x86)\wapt\lib\site-packages\requests\adapters.py", line 439, in send
    resp = conn.urlopen(
  File "C:\Program Files (x86)\wapt\lib\site-packages\urllib3\connectionpool.py", line 755, in urlopen
    retries = retries.increment(
  File "C:\Program Files (x86)\wapt\lib\site-packages\urllib3\util\retry.py", line 573, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.7-zip.org', port=443): Max retries exceeded with url: /download.html (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x0A21D928>: Failed to establish a new connecti
on: [Errno 11002] getaddrinfo failed'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Program Files (x86)\wapt\waptpackage.py", line 2932, in call_setup_hook
    raise e
  File "C:\Program Files (x86)\wapt\waptpackage.py", line 2928, in call_setup_hook
    hookdata = hook_func()
  File "C:\Users\AB3028~1\AppData\Local\Temp\wapt-20210723-11124700000.tmp\asb-7zip_x64-wapt\setup.py", line 50, in update_package
    version = bs_find_all(url, 'b', proxies=proxies)[1].text.split('Zip ')[-1].split(' (')[0]
  File "C:\Users\AB3028~1\AppData\Local\Temp\wapt-20210723-11124700000.tmp\asb-7zip_x64-wapt\setup.py", line 119, in bs_find_all
    page = requests.get(url, proxies=proxies, headers=headers, **kwargs).text
  File "C:\Program Files (x86)\wapt\lib\site-packages\requests\api.py", line 76, in get
    return request('get', url, params=params, **kwargs)
  File "C:\Program Files (x86)\wapt\lib\site-packages\requests\api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "C:\Program Files (x86)\wapt\lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Program Files (x86)\wapt\lib\site-packages\requests\sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "C:\Program Files (x86)\wapt\lib\site-packages\requests\adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.7-zip.org', port=443): Max retries exceeded with url: /download.html (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x0A21D928>: Failed to establish a new conne
ction: [Errno 11002] getaddrinfo failed'))

Re: WAPT company - external repository error

Published: July 23, 2021 - 2:52 PM
by Gaetan
Does it give the same error when opening the blind?

Re: WAPT company - external repository error

Published: August 23, 2021 - 4:54 PM
by celine18
Hello,

sorry for the wait, I was on vacation!
Yes, the message is similar, here it is:

Regards

Re: WAPT company - external repository error

Published: August 23, 2021 - 4:58 PM
by Gaetan
Hello,
updates for version 2.0 are available. Could you install them and try again?