This is what the command returns:
{'http': 'http://cache-etu.univ-artois.fr:3128', 'https': 'https://cache-etu.univ-artois.fr:3128', 'ftp': 'ftp://cache-etu.univ-artois.fr:3128'}
[SOLVED] Package tis-template-microsoft-store
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
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
-
Christophe
- Messages: 85
- Registration: June 5, 2018 - 8:31 AM
- Location: Arras (62)
- Contact :
- sfonteneau
- WAPT Expert
- Messages: 2318
- Registered: July 10, 2014 - 11:52 PM
- Contact :
The package will first use `
from urllib.request import getproxies`
before using the console configuration.
In your case, `'https': 'https://cache-etu.univ-artois.fr:3128'` is not valid.
It should be `'https': '//cache-etu.univ-artois.fr.
In my opinion, this value is retrieved from the machine's system variables.
from urllib.request import getproxies`
before using the console configuration.
In your case, `'https': 'https://cache-etu.univ-artois.fr:3128'` is not valid.
It should be `'https': '//cache-etu.univ-artois.fr.
In my opinion, this value is retrieved from the machine's system variables.
-
Christophe
- Messages: 85
- Registration: June 5, 2018 - 8:31 AM
- Location: Arras (62)
- Contact :
Do you know where to change this setting?
-
Christophe
- Messages: 85
- Registration: June 5, 2018 - 8:31 AM
- Location: Arras (62)
- Contact :
Okay, it works.
I do indeed need to disable the proxy server in Windows settings
The download now completes correctly, but then I get this error:
I do indeed need to disable the proxy server in Windows settings
The download now completes correctly, but then I get this error:
Code: Select all
CRITICAL:waptcore:Fatal error in update_package 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 96, in create_connection
raise err
File "C:\Program Files (x86)\wapt\lib\site-packages\urllib3\util\connection.py", line 86, in create_connection
sock.connect(sa)
TimeoutError: [WinError 10060] Une tentative de connexion a échoué car le parti connecté n’a pas répondu convenablement au-delà d’une certaine durée ou une connexion établie a échoué car l’hôte de connexion n’a pas répondu
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 0x0C419808>: Failed to establish a new connection: [WinError 10060] Une tentative de connexion a échoué car le parti connecté n’a pas répondu convenablement au-delà d’une c
ertaine durée ou une connexion établie a échoué car l’hôte de connexion n’a pas répondu
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 574, in increment
raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='apps.microsoft.com', port=443): Max retries exceeded with url: /store/detail/9PB2MZ1ZMB1S?gl=US&hl=en-US (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x0C419808>: Fa
iled to establish a new connection: [WinError 10060] Une tentative de connexion a échoué car le parti connecté n’a pas répondu convenablement au-delà d’une certaine durée ou une connexion établie a échoué car l’hôte de connexion n’a pas répondu'))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Program Files (x86)\wapt\common.py", line 8546, in call_python_code
hookdata = hook_func()
File "C:\Users\ADMINI~1\AppData\Local\Temp\wapt-20231025-15434000000.tmp\dsi-template-microsoft-store-app_0-56_windows_10.0_PROD\update_package.py", line 203, in update_package
bs_name = bs_find(microsoft_store_url + "?gl=US&hl=en-US", "meta", "property", "og:title", allow_redirects=True)["content"]
File "<string>", line 102, in bs_find
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='apps.microsoft.com', port=443): Max retries exceeded with url: /store/detail/9PB2MZ1ZMB1S?gl=US&hl=en-US (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x0C419808>:
Failed to establish a new connection: [WinError 10060] Une tentative de connexion a échoué car le parti connecté n’a pas répondu convenablement au-delà d’une certaine durée ou une connexion établie a échoué car l’hôte de connexion n’a pas répondu'))
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 96, in create_connection
raise err
File "C:\Program Files (x86)\wapt\lib\site-packages\urllib3\util\connection.py", line 86, in create_connection
sock.connect(sa)
TimeoutError: [WinError 10060] Une tentative de connexion a échoué car le parti connecté n’a pas répondu convenablement au-delà d’une certaine durée ou une connexion établie a échoué car l’hôte de connexion n’a pas répondu
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 0x0C419808>: Failed to establish a new connection: [WinError 10060] Une tentative de connexion a échoué car le parti connecté n’a pas répondu convenablement au-delà d’une c
ertaine durée ou une connexion établie a échoué car l’hôte de connexion n’a pas répondu
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 574, in increment
raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='apps.microsoft.com', port=443): Max retries exceeded with url: /store/detail/9PB2MZ1ZMB1S?gl=US&hl=en-US (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x0C419808>: Fa
iled to establish a new connection: [WinError 10060] Une tentative de connexion a échoué car le parti connecté n’a pas répondu convenablement au-delà d’une certaine durée ou une connexion établie a échoué car l’hôte de connexion n’a pas répondu'))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Program Files (x86)\wapt\common.py", line 8550, in call_python_code
raise e
File "C:\Program Files (x86)\wapt\common.py", line 8546, in call_python_code
hookdata = hook_func()
File "C:\Users\ADMINI~1\AppData\Local\Temp\wapt-20231025-15434000000.tmp\dsi-template-microsoft-store-app_0-56_windows_10.0_PROD\update_package.py", line 203, in update_package
bs_name = bs_find(microsoft_store_url + "?gl=US&hl=en-US", "meta", "property", "og:title", allow_redirects=True)["content"]
File "<string>", line 102, in bs_find
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='apps.microsoft.com', port=443): Max retries exceeded with url: /store/detail/9PB2MZ1ZMB1S?gl=US&hl=en-US (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x0C419808>:
Failed to establish a new connection: [WinError 10060] Une tentative de connexion a échoué car le parti connecté n’a pas répondu convenablement au-delà d’une certaine durée ou une connexion établie a échoué car l’hôte de connexion n’a pas répondu'))-
Christophe
- Messages: 85
- Registration: June 5, 2018 - 8:31 AM
- Location: Arras (62)
- Contact :
Before this error, I get this message and I don't know what to do (except click "OK")
- Attachments
-
- Screenshot 2023-10-25 1556267.png (14.33 KB) Viewed 7080 times
- sfonteneau
- WAPT Expert
- Messages: 2318
- Registered: July 10, 2014 - 11:52 PM
- Contact :
here :
Your new message apparently doesn't work without a proxy
- Attachments
-
- Capture.PNG (29.14 KB) Viewed 7068 times
-
Christophe
- Messages: 85
- Registration: June 5, 2018 - 8:31 AM
- Location: Arras (62)
- Contact :
I have no information regarding proxy settings in the "environment variables"
- Attachments
-
- Screenshot 2023-10-26 080720.png (50.11 KB) Viewed 7060 times
-
Christophe
- Messages: 85
- Registration: June 5, 2018 - 8:31 AM
- Location: Arras (62)
- Contact :
So, I added the proxy settings for HTTP and HTTPS to the Windows environment variables.
Now, with `getproxies`, I have the correct settings.
However, it still doesn't work.
We observed that the software downloads correctly through the proxy at the address "store.rg-adguard.net".
Once the download is complete, we ran `netstat` and noticed a connection on two IPs (see screenshot) that doesn't go through our proxy. That's why I'm getting an error.
Now, with `getproxies`, I have the correct settings.
However, it still doesn't work.
We observed that the software downloads correctly through the proxy at the address "store.rg-adguard.net".
Once the download is complete, we ran `netstat` and noticed a connection on two IPs (see screenshot) that doesn't go through our proxy. That's why I'm getting an error.
- Attachments
-
- Screenshot 2023-10-26 151719.png (28.28 KB) Viewed 7030 times
-
- Screenshot 2023-10-26 151623.png (5.5 KB) Viewed 7030 times
- sfonteneau
- WAPT Expert
- Messages: 2318
- Registered: July 10, 2014 - 11:52 PM
- Contact :
Thank you for your feedback.
I've just pushed a new version of the package to the store.
There was indeed a proxy issue; it wasn't working for all calls.
I also prioritized the console proxy configuration over the system one.
I've just pushed a new version of the package to the store.
There was indeed a proxy issue; it wasn't working for all calls.
I also prioritized the console proxy configuration over the system one.
-
Christophe
- Messages: 85
- Registration: June 5, 2018 - 8:31 AM
- Location: Arras (62)
- Contact :
Indeed, with this new version of the package, the download completes correctly.
I manage to create my package entirely, but it doesn't install on the PC.
I think I'm forgetting to do something, but what?
I manage to create my package entirely, but it doesn't install on the PC.
I think I'm forgetting to do something, but what?
- Attachments
-
- Screenshot 2023-10-27 083418.png (20.09 KB) Viewed 7013 times
-
- Screenshot 2023-10-27 083448.png (13.13 KB) Viewed 7013 times
