[RESOLVED] WAPT enterprise - external repository error

Share your tips or issues concerning the WAPT Console or WAPT Agent here
Forum Rules
Community Forum Rules
* English support on www.reddit.com/r/wapt
* French community support is available on this forum
* Please prefix the topic title with [RESOLVED] if it is resolved.
* Please do not edit a topic that is tagged [RESOLVED]. Open a new topic referencing the old one.
* Specify the installed WAPT version, full version, and build number (2.2.1.11957 / 2.2.2.12337 / etc.) as well as the Enterprise/Discovery edition.
* Versions 1.8.2 and earlier are no longer supported. The only questions accepted regarding version 1.8.2 are related to upgrading to a supported version (2.1, 2.2, etc.).
* Specify the server OS (Linux/Windows) and version (Debian Buster/Bullseye - CentOS 7 - Windows Server 2012/2016/2019).
* Specify the OS of the administration/package creation machine and the machine with the problematic agent, if applicable (Windows 7/10/11/Debian 11/etc.).
* Avoid asking multiple questions when opening a topic, otherwise it may be ignored. If there are multiple topics, open separate topics, preferably one after the other and not all at the same time (i.e., do not spam the forum).
* Include code snippets, screenshots, and other images directly in the post. Links to Pastebin, Bitly, and other third-party sites will be systematically removed.
* As with any community forum, support is provided voluntarily by members. If you require commercial support, you can contact Tranquil IT's sales department at 02.40.97.57.55
celine18
Messages: 22
Registration: Oct 03, 2018 - 3:14 p.m.

July 21, 2021 - 2:18 PM

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
Attachments
external repository.JPG
external repository.JPG (27.51 KB) Viewed 6893 times
Last edited by celine18 on August 25, 2021 - 2:54 PM, edited 1 time.
User avatar
Gaetan
Messages: 169
Registration: August 8, 2019 - 10:16
Location: Toulouse

July 23, 2021 - 08:19

Hello,
has the console also been updated to the enterprise version?
celine18
Messages: 22
Registration: Oct 03, 2018 - 3:14 p.m.

July 23, 2021 - 09:54

Hello,

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

Regards
User avatar
Gaetan
Messages: 169
Registration: August 8, 2019 - 10:16
Location: Toulouse

July 23, 2021 - 10:17

celine18
Messages: 22
Registration: Oct 03, 2018 - 3:14 p.m.

July 23, 2021 - 10:34

By default, the repository settings were as shown in the image.
I added the proxy: no luck.

Regards
Attachments
param depot ext.JPG
param depot ext.JPG (27.75 KB) Viewed 6862 times
param avance.JPG
param avance.JPG (43.61 KB) Viewed 6862 times
User avatar
Gaetan
Messages: 169
Registration: August 8, 2019 - 10:16
Location: Toulouse

July 23, 2021 - 10:43

In your case, you need to put the proxy on the repository side and not on the console.
celine18
Messages: 22
Registration: Oct 03, 2018 - 3:14 p.m.

July 23, 2021 - 11:15

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'))
User avatar
Gaetan
Messages: 169
Registration: August 8, 2019 - 10:16
Location: Toulouse

July 23, 2021 - 2:52 PM

Does it give the same error when opening the blind?
celine18
Messages: 22
Registration: Oct 03, 2018 - 3:14 p.m.

August 23, 2021 - 4:54 PM

Hello,

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

Regards
Attachments
Capture.JPG
Capture.JPG (27.92 KB) Viewed 6724 times
User avatar
Gaetan
Messages: 169
Registration: August 8, 2019 - 10:16
Location: Toulouse

August 23, 2021 - 4:58 PM

Hello,
updates for version 2.0 are available. Could you install them and try again?
Locked